- Open main.exe in OllyDbg: when it finishes loading it stops on the Entry Point.
- If that Entry Point is the very first line, the main is packed: use an unpacked main.exe to hook the DLL.
- With an unpacked main the asker found the Entry Point and hooked the DLL.
OllyDbg: how to find the Entry Point of a 97d+99 main.exe before hooking a DLL
Tool: OllyDbg (main.exe)
The topic starter confirmed that this worked.
The topic starter, 2010-03-31 (original words)Original words (Portuguese)
“Cara concegui muito obrigado ja dei hook”