Code from my malware analysis article from Digital Whisper magazine