don't click here

Changing entry points / functions in DLLs?

Discussion in 'Engineering & Reverse Engineering' started by Vangar, Apr 21, 2014.

  1. Vangar


    Hey guys, This isn't directly Sonic related but you guys are the only ones I know that have serious hacking skills.

    I have 3 DLL files.

    The first one, a.dll loads b.dll and c.dll. But B and C are from a later version than A. So the entry points / offsets are incorrect. Trying to start the Dlls result in 'Procedure entry point XCd229cc00001d could not be located in the dynamic link library b.dll'

    Using dependency walker I can see the function calls that are broken. I can also see the available functions in B if I load it.

    Can anyone help me out here? I'm not sure how I can remap the entry points. Any help would be greatly appreciated.
  2. You can try changing the names of the imports of a DLL, but if you don't know what name you should replace each import with, you're not going anywhere... Depending on what these DLLs are, there's no guarantee that there's a compatible export for your missing imports in the new DLLs. You can change the names in an hex editor (the imported names are in ASCII, hopefully you won't find too many occurrences).