format pe console
section '.code' code readable executable
push 0
push 0
push 0
push 0
call 0x77D7050B
ret
section '.idata' import data readable
dd 0,0,0,RVA user32_name,RVA user32_table
dd 0,0,0,0,0
user32_table:
dd rva 1
dd 0
user32_name db 'user32.dll',0
i imported 1 function under index 1, and call to messageboxa work. i understand that user32.dll is loaded only if is imported at least 1 function.
Can i use it in my shellcode, and call to kernel32 (wich is always loaded)?
or msvcrt for sprintf, it helps alot
