![]() |
|
|
|
#1
|
|||
|
|||
|
Hi.
I want to extract and use some functions from an executable file(not dll) in my programs. I've tried some about adding an internal function to Export table but it can't help me. Can any one help me about that. or is there any tool that simplify this work? Ragards OMID |
|
#2
|
|||
|
|||
|
There is one export table in each Win32 exe/dll file that has some functions to export.
If your file (with exe or dll extension or others) has some functions that listed in its export table, then it is a library (Dll) file. Otherwise it is not a library (Dll) and is executable. Real executable files (without export table) dont have any functions that you can use. If you want to extract & use some functions from exe file, it should be an interanlly library file (in spite of its extension). |
|
#3
|
|||
|
|||
|
Hi hajir !
An Exe can have a export table, can export functions and also export variables too (uses __declspec(dllexport) in VC++), not have to be a DLL. We can call the Exe's export functions with LoadLibrary and GetProcAddress. We can use IDA to decompile/extract the ASM code of the require function. Regards, TQN Last edited by TQN; 01-09-2005 at 09:45. |
|
#4
|
|||
|
|||
|
I use TMG Ripper Studio to give me a nice .asm file. Then I compile this file to a lib file and include it in my projects.
But be aware TMG Ripper Studio doesn't handle jmp tables... |
|
#5
|
|||
|
|||
|
btw. wasn't there a coderipper plugin for olly?
cos the tmg ripper studio is still a bit buggy .. crashed a few times here.. |
|
#6
|
|||
|
|||
|
if you want simply rip some part of exe to your code, you can use TMG Ripper Studio. it's not a powerfull tool, but is very useful when you want to rip a small part of code, to make a keygen f.e.
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How you inject codes? | Hero | General Discussion | 8 | 10-10-2005 20:11 |
| Extracting files from a temp directory | kade | General Discussion | 14 | 04-13-2003 08:08 |
| Self Extracting Exe | SLIM SLIM | General Discussion | 0 | 12-17-2002 04:34 |