Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- .386
- .model flat, stdcall
- option casemap :none
- include \masm32\include\windows.inc
- include \masm32\include\kernel32.inc
- includelib \masm32\lib\kernel32.lib
- include \masm32\include\user32.inc
- includelib \masm32\lib\user32.lib
- .data
- Kernel32 db "kernel32.dll",0
- loadLibrary db "LoadLibraryA",0
- .code
- start:
- call GetCommandLine
- push 0
- lea ecx, Kernel32
- push ecx
- push eax
- push 0
- call MessageBox
- ret
- END start
Advertisement
Add Comment
Please, Sign In to add comment