Google security researcher Neel Mehta has famously identified code similarities between a sample of WannaCry and code used by North Korean hacker group Lazarus in 2015.
Around the same time, another security researcher, Matthieu Suiche, found the so called "kill switch" which stopped or slowed the initial version of the virus.
Where are these folks getting the code that they're analyzing? Is any part of it available publicly?
This is different from "Finding a specific malware sample for malware analysis purposes" because:
I just want to know if there's public access to this malware's code, as no one seems to know where the security researchers in the news are getting it from and that thread does absolutely nothing to answer that.
The top ranked answer there is a link to a (hardly authoritative-looking) blog that never touches the subject of WannaCry
There are no accepted answers to that question, thus per SO Meta it's not a valid question to use as a basis for marking this as a dupe.