I'm trying to obtain the absolute address of LoadLibraryA func using following code:
This works good in Fasm, but in Masm it points to the jmp iat. Anyone know how it can be done in Masm? Without calling GetProcAddress.
mov reg32,
This works good in Fasm, but in Masm it points to the jmp iat. Anyone know how it can be done in Masm? Without calling GetProcAddress.
Well solved my own problem :p
could do:
But when you scroll down the code it is somewhat misleading without the @4, imo which emphasizes more that it is a symbol outside of the app.
__imp__LoadLibraryA@4 proto syscall
could do:
_imp__LoadLibraryA proto stdcall :DWORD
But when you scroll down the code it is somewhat misleading without the @4, imo which emphasizes more that it is a symbol outside of the app.