Exetools

Exetools (https://forum.exetools.com/index.php)
-   General Discussion (https://forum.exetools.com/forumdisplay.php?f=2)
-   -   Extracting Codes From Executable files... (https://forum.exetools.com/showthread.php?t=6293)

omidgl 01-07-2005 19:52

Extracting Codes From Executable files...
 
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. :confused:

Can any one help me about that. or is there any tool that simplify this work?

Ragards
OMID

hajir 01-08-2005 16:23

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).

A.V 01-08-2005 18:11

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.

TQN 01-09-2005 09:39

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

atzplzw 01-10-2005 23:34

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...

McCool 01-12-2005 02:53

btw. wasn't there a coderipper plugin for olly?
cos the tmg ripper studio is still a bit buggy .. crashed a few times here..


All times are GMT +8. The time now is 11:57.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
Always Your Best Friend: Aaron, JMI, ahmadmansoor, ZeNiX