Reputation: 37
For example, I have a piece of disassembled code at base address 0x77B50000, which is a base address of a dll, how can I know which dll it is from the assembly codes?
Upvotes: 1
Views: 27
Reputation: 62532
LoadLibrary
returns a HMODULE
, which is just the base address of the library, so if you've got the base address then you can cast it to a HMODULE
and call GetModuleFileName.
Upvotes: 1