I want to make a basic antivirus for my free time.
Basically I learned about the basic structure of the EXE(windows) file.
How do I extract the ASM code from the file and the PE header?
You can install Cygwin and use objdump to decompile an exe into asm. Be sure you select the binutils when installing cygwin. After installing cygwin, you can run the following from a bash shell:
A friend of mine downloaded some malware from Facebook, and I'm curious to see what it does without infecting myself. I know that you can't really decompile an .exe, but can I at least view it in Assembly or attach …