Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Viewing all articles
Browse latest Browse all 3021

Incredible DLL decompiler: DLL to C

$
0
0
Recently I found an incredible DLL decompiler: DLL to C
This tool can convert a DLL into compilable code. It can generate data structures for all data sections and disassemble the code section.
Name:  dll2c.gif
Views: 27
Size:  15.4 KB

Part of the output code:
Code:

__declspec(naked) void Win32Dll_CodeStart()
{
__asm{
        MOV EAX, 0x00000001
        RETN 0x000C
}
}

__declspec(naked) void Win32Dll_TestFun()
{
__asm{
        MOV EAX,DWORD PTR [ESP+0x04]
        TEST EAX, EAX
        JZ loc_10001028
        PUSH 0x00
        PUSH offset [Win32Dll_rdata.m1280_str]
        PUSH EAX
        PUSH 0x00
        CALL_LONG(DWORD PTR [offset Win32Dll_rdata.mEC_MessageBoxA])
loc_10001028:
        RET
}
}

You can find this cool tool from http://www.dll-decompiler.com
What do you think about it?:cool:
Attached Images
 

Viewing all articles
Browse latest Browse all 3021

Trending Articles