October 2018
Beginner to intermediate
436 pages
9h 36m
English
In your text editor, write down the following code, or you can simply do a Git clone of the data at https://github.com/PacktPublishing/Mastering-Reverse-Engineering/blob/master/ch3/fasmhello.asm.
format PE CONSOLEentry startinclude '%include%\win32a.inc' section '.data' data readable writeable message db 'Hello World!',0 msgformat db '%s',0section '.code' code readable executable start: push message push msgformat call [printf] push 0 call [ExitProcess]section '.idata' import data readable writeable library kernel32, 'kernel32.dll', \ msvcrt, 'msvcrt.dll' import kernel32, ExitProcess, 'ExitProcess' import msvcrt, printf, 'printf'
Save it by clicking on File->Save as..., then click on Run->Compile:
The executable file will ...
Read now
Unlock full access