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?
+2
A:
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:
objdump -Slx yourpgm.exe
Todd Stout
2009-10-22 11:20:40
Yes, or run Linux on Virtual Machine and use objdump there. Sounds like a black humor ;)
zxcat
2009-10-27 15:11:15
+1
A:
You can use some free distrubuted disassembler.for example: ollydbg diassembler.
note: there is only some MS-DOS stub executeable code in the PE header.
Jichao
2009-10-22 23:26:17