I'm trying to obtain the absolute address of LoadLibraryA func using following code:


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.
Posted on 2007-04-19 02:06:44 by NullAlpha
Well solved my own problem :p


__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.
Posted on 2007-04-19 02:22:33 by NullAlpha