He Stopped a Global Cyberattack. Now He’s Pleading Guilty to Writing Malware.