The plea agreement he signed says he was still selling malware until late 2015 at least, and was arrested in 2017. If he had turned over a new leaf, it wasnt for very long. I think he probably had stopped, but only because of the attention he received from the strings wannacry.exe thing.