Добро пожаловать! Это — архивная версия форумов на «Хакер.Ru». Она работает в режиме read-only.
 

Исходный код EXE

Пользователи, просматривающие топик: none

Зашли как: Guest
Все форумы >> [Взлом программ] >> Исходный код EXE
Имя
Сообщение << Старые топики   Новые топики >>
Исходный код EXE - 2012-02-26 19:22:27.666666   
GiveMeRun

Сообщений: 2
Оценки: 0
Присоединился: 2012-02-26 19:15:24.020000
Всем привет.

Дело на миллион.

Учусь в Германии в универе, надо сделать проект по программированию С++,
я в нём сильно не шарю

Проф выслал .ЕХЕ как должна выглядить прога.

Ктонибудь может из .ЕХЕ вытащить исходный код?
Тем кто разбирается в Reverse engineering должно быть не сложно.

Проф программировал на Microsoft Visual C++ 6.0

EXE : http://www.2shared.com/file/K76A1Zn9/PR12.html



Заплачу 60$
Post #: 1
RE: Исходный код EXE - 2012-02-26 20:23:05.483333   
Flint_ta

Сообщений: 3720
Оценки: 1120
Присоединился: 2007-01-26 15:49:18.323333
вот что hex-rays выплюнул:
/* This file has been generated by the Hex-Rays decompiler. Copyright (c) 2009 Hex-Rays &lt;info@hex-rays.com&gt; Detected compiler: Visual C++ */ #include &lt;windows.h&gt; #include &lt;defs.h&gt; //------------------------------------------------------------------------- // Data declarations // extern void *CDialog__messageMap; weak // extern void *CDocument__messageMap; weak // extern void *CFormView__messageMap; weak // extern void *CFrameWnd__messageMap; weak // extern void *CWinApp__messageMap; weak extern int (*off_405418)(); // weak extern int (*off_405498)(); // weak extern int (*off_4054B8)(); // weak extern int (*off_40555C)(); // weak extern char *off_405638; // weak extern int (*off_405650)(); // weak extern char *off_405728; // weak extern int (*off_405740)(); // weak extern int (*off_405808)(); // weak extern int (*off_4059D0)(); // weak extern int (*off_4059E4)(); // weak extern int (*off_405A0C)(); // weak extern char *off_405AD0; // weak extern int (*off_405AE8)(); // weak extern int (*off_405B20)(); // weak extern char aLocalAppwizard[39]; // weak extern wchar_t a0[2]; // weak extern _UNKNOWN unk_407108; // weak //------------------------------------------------------------------------- // Function declarations #define __thiscall __cdecl // Test compile in C mode void *__cdecl sub_401000(); int (**__cdecl sub_40100A())(); void *__thiscall sub_40101A(void *this); void *__cdecl sub_40104A(); int __cdecl sub_401059(); int __cdecl sub_40106B(); signed int __thiscall sub_40107A(void *this); void *__thiscall sub_4011A4(void *this); int __stdcall sub_4011C7(int a1); void *__cdecl sub_4011E0(); int (**__cdecl sub_4011EA())(); void *__thiscall sub_401250(void *this, char a2); int __thiscall sub_401280(void *this); // int __thiscall CCommonDialog___CCommonDialog(_DWORD); weak void __stdcall sub_401300(void *a1); void *__stdcall sub_401320(unsigned int a1); BOOL __thiscall sub_401360(int this); // _DWORD __stdcall unknown_libname_3(_DWORD); weak BOOL __thiscall sub_401390(int this); BOOL __thiscall sub_4013B0(int this); char **__cdecl sub_40143E(); void *__cdecl sub_40144E(); int (**__cdecl sub_401458())(); signed int __thiscall sub_4014A3(void *this); bool __stdcall sub_4014C3(int a1); bool __thiscall sub_401510(int this); int __thiscall sub_401530(int this); int __thiscall sub_401550(int this, int a2); char **__cdecl sub_4015E1(); void *__cdecl sub_4015F1(); int (**__cdecl sub_4015FB())(); void *__thiscall sub_40160B(void *this); int __thiscall sub_4016A7(void *this); int __thiscall sub_4016FE(void *this, int a2); int __stdcall sub_401746(int a1); int __thiscall sub_40175F(void *this); int __stdcall sub_4017DF(int a1); void __stdcall sub_4017F8(int a1, int a2); void __stdcall sub_401805(int a1, int a2); void *__thiscall sub_402E80(void *this, char a2); // int __thiscall CFormView___CFormView(_DWORD); weak // int __thiscall unknown_libname_4(_DWORD); weak // int __thiscall _LocaleUpdate__GetLocaleT(_DWORD); weak int __thiscall sub_402EF0(int this); int __thiscall sub_402F10(int this); void *__thiscall sub_402F40(void *this); void *__thiscall sub_402F60(void *this); // int std__ios_base__ios_base(void); weak void *__thiscall sub_402FB0(void *this, char a2); // int __thiscall std__locale__facet___facet(_DWORD); weak void *__thiscall sub_403000(void *this, char a2); int __thiscall sub_403030(void *this); void *__thiscall sub_403090(void *this, char a2); int __thiscall sub_4030C0(void *this); int __thiscall sub_4030E0(void *this, int iStyle, int cWidth, COLORREF color); BOOL __thiscall sub_403110(int this, int a2); int __thiscall sub_403150(void *this, int a2, int a3, void *a4); int __thiscall sub_403190(void *this); int __thiscall sub_4031B0(void *this); BOOL __thiscall sub_4031D0(int this, LPRECT lpRect); BOOL __thiscall sub_4031F0(int this, const RECT *lpRect, BOOL bErase); void *__thiscall sub_403220(void *this); LRESULT __thiscall sub_403270(int this); LRESULT __thiscall sub_4032A0(int this, LPARAM lParam); LRESULT __thiscall sub_4032D0(int this, WPARAM wParam); char **__cdecl sub_403371(); void *__cdecl sub_403381(); int (**__cdecl sub_40338B())(); void *__thiscall sub_40339B(void *this); int __thiscall sub_403407(void *this); signed int __stdcall sub_403579(int a1); void *__thiscall sub_4035A0(void *this, char a2); int __thiscall sub_4035D0(int this, int a2, int a3, int a4, int a5); int __stdcall sub_403610(unsigned __int16 a1); // int __stdcall CWinApp__CWinApp(_DWORD); weak // int __cdecl CWinApp___CWinApp(_DWORD); weak // int __thiscall CWnd__ShowWindow(_DWORD, _DWORD); weak // int __thiscall CCommandLineInfo___CCommandLineInfo(_DWORD); weak // int __thiscall CWinApp__ProcessShellCommand(_DWORD, _DWORD); weak // int __thiscall CWinApp__ParseCommandLine(_DWORD, _DWORD); weak // int __thiscall CCommandLineInfo__CCommandLineInfo(_DWORD); weak // int __thiscall CWinApp__AddDocTemplate(_DWORD, _DWORD); weak // int __thiscall CSingleDocTemplate__CSingleDocTemplate(_DWORD, _DWORD, _DWORD, _DWORD, _DWORD); weak // int __thiscall CWinApp__LoadStdProfileSettings(_DWORD, _DWORD); weak // int __thiscall CWinApp__SetRegistryKey(_DWORD, _DWORD); weak // int __thiscall CWinApp__Enable3dControls(_DWORD); weak // int __cdecl AfxEnableControlContainer(_DWORD); weak // int __stdcall CDialog__CDialog(_DWORD, _DWORD); weak // void __cdecl operator delete(void *); idb // void *__cdecl operator new(unsigned int); idb // int __cdecl CDocument__OnNewDocument(_DWORD); weak // int __thiscall CSliderCtrl___CSliderCtrl(_DWORD); weak // int __stdcall CFormView__CFormView(_DWORD); weak // int __stdcall DDX_Check(_DWORD, _DWORD, _DWORD); weak // int __stdcall DDX_Control(_DWORD, _DWORD, _DWORD); weak // int __stdcall CView__PreCreateWindow(_DWORD); weak // int __thiscall CWnd__SetDlgItemTextA(_DWORD, _DWORD, _DWORD); weak // int __thiscall CSliderCtrl__SetRange(_DWORD, _DWORD, _DWORD, _DWORD); weak // int __thiscall CScrollView__ResizeParentToFit(_DWORD, _DWORD); weak // int __thiscall CWnd__GetParentFrame(_DWORD); weak // int CFormView__OnInitialUpdate(void); weak // int __stdcall CView__DoPreparePrinting(_DWORD); weak // int __thiscall CPaintDC___CPaintDC(_DWORD); weak // int __thiscall CString___CString(_DWORD); weak // int __cdecl CGdiObject__DeleteObject(_DWORD); weak // int __thiscall CGdiObject__Attach(_DWORD, _DWORD); weak // int CWnd__CWnd(void); weak // int __thiscall CStatusBar___CStatusBar(_DWORD); weak // int __thiscall CFrameWnd___CFrameWnd(_DWORD); weak // int __thiscall CToolBar__CToolBar(_DWORD); weak // int __thiscall CStatusBar__CStatusBar(_DWORD); weak // int CFrameWnd__CFrameWnd(void); weak // int __thiscall CToolBar___CToolBar(_DWORD); weak // int __stdcall CFrameWnd__PreCreateWindow(_DWORD); weak // int __stdcall CToolBar__LoadToolBar(_DWORD); weak // int __cdecl atexit(void (__cdecl *)()); // int _CxxFrameHandler(void); weak int __cdecl sub_403D5A(); // void __usercall sub_403DD0(int a1&lt;ebp&gt;); // int __usercall sub_403DDA&lt;eax&gt;(int a1&lt;ebp&gt;); int __cdecl SEH_40107A(); // int __usercall sub_403DED&lt;eax&gt;(int a1&lt;ebp&gt;); // void __usercall sub_403E00(int a1&lt;ebp&gt;); // void __usercall sub_403E20(int a1&lt;ebp&gt;); // int __usercall sub_403E34&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403E3D&lt;eax&gt;(int a1&lt;ebp&gt;); int __cdecl SEH_40160B(); // int __usercall sub_403E56&lt;eax&gt;(int a1&lt;ebp&gt;); int __cdecl SEH_4016A7(); // int __usercall sub_403E69&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403E75&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403E7E&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403E87&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403E90&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403E9C&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403EA8&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403EB4&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403EC0&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403ECC&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403ED8&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403EE4&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403EF0&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403EFC&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403F08&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403F14&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403F20&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403F2C&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403F38&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403F44&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403F50&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403F5C&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403F72&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403F90&lt;eax&gt;(int a1&lt;ebp&gt;); int __cdecl SEH_403030(); // void __usercall sub_403FB0(int a1&lt;ebp&gt;); // int __usercall sub_403FC4&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403FCD&lt;eax&gt;(int a1&lt;ebp&gt;); int __cdecl SEH_40339B(); // int __usercall sub_403FE6&lt;eax&gt;(int a1&lt;ebp&gt;); // int __usercall sub_403FEF&lt;eax&gt;(int a1&lt;ebp&gt;); int __cdecl SEH_403407(); // BOOL __stdcall Rectangle(HDC hdc, int left, int top, int right, int bottom); // HPEN __stdcall CreatePen(int iStyle, int cWidth, COLORREF color); // LRESULT __stdcall SendMessageA(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam); // BOOL __stdcall InvalidateRect(HWND hWnd, const RECT *lpRect, BOOL bErase); // BOOL __stdcall GetWindowRect(HWND hWnd, LPRECT lpRect); // BOOL __stdcall EnableWindow(HWND hWnd, BOOL bEnable); // BOOL __stdcall UpdateWindow(HWND hWnd); //----- (00401000) -------------------------------------------------------- void *__cdecl sub_401000() { return CWinApp__messageMap; } // 405388: using guessed type void *CWinApp__messageMap; //----- (0040100A) -------------------------------------------------------- int (**__cdecl sub_40100A())() { return &off_405418; } // 405418: using guessed type int (*off_405418)(); //----- (0040101A) -------------------------------------------------------- void *__thiscall sub_40101A(void *this) { void *v2; // ST04_4@1 v2 = this; CWinApp__CWinApp(0); *(_DWORD *)v2 = &off_4054B8; return v2; } // 403712: using guessed type int __stdcall CWinApp__CWinApp(_DWORD); // 4054B8: using guessed type int (*off_4054B8)(); //----- (0040104A) -------------------------------------------------------- void *__cdecl sub_40104A() { return sub_40101A(&unk_407108); } //----- (00401059) -------------------------------------------------------- int __cdecl sub_401059() { return atexit(sub_40106B); } //----- (0040106B) -------------------------------------------------------- int __cdecl sub_40106B() { return sub_401280(&unk_407108); } //----- (0040107A) -------------------------------------------------------- signed int __thiscall sub_40107A(void *this) { signed int result; // eax@5 int v2; // [sp+0h] [bp-4Ch]@2 void *v3; // [sp+4h] [bp-48h]@1 void *v4; // [sp+10h] [bp-3Ch]@1 char v5; // [sp+18h] [bp-34h]@4 int v6; // [sp+3Ch] [bp-10h]@4 int v7; // [sp+48h] [bp-4h]@1 v3 = this; AfxEnableControlContainer(0); CWinApp__Enable3dControls(v3); CWinApp__SetRegistryKey(v3, "Local AppWizard-Generated Applications"); CWinApp__LoadStdProfileSettings(v3, 4); v4 = sub_401320(0x6Cu); v7 = 0; if ( v4 ) v2 = CSingleDocTemplate__CSingleDocTemplate(v4, 128, &off_405638, &off_405AD0, &off_405728); else v2 = 0; v7 = -1; v6 = v2; CWinApp__AddDocTemplate(v3, v2); CCommandLineInfo__CCommandLineInfo(&v5); v7 = 1; CWinApp__ParseCommandLine(v3, &v5); if ( CWinApp__ProcessShellCommand(v3, &v5) ) { CWnd__ShowWindow(*((_DWORD *)v3 + 8), 5); sub_401360(*((_DWORD *)v3 + 8)); v7 = -1; CCommandLineInfo___CCommandLineInfo(&v5); result = 1; } else { v7 = -1; CCommandLineInfo___CCommandLineInfo(&v5); result = 0; } return result; } // 40371E: using guessed type int __thiscall CWnd__ShowWindow(_DWORD, _DWORD); // 403724: using guessed type int __thiscall CCommandLineInfo___CCommandLineInfo(_DWORD); // 40372A: using guessed type int __thiscall CWinApp__ProcessShellCommand(_DWORD, _DWORD); // 403730: using guessed type int __thiscall CWinApp__ParseCommandLine(_DWORD, _DWORD); // 403736: using guessed type int __thiscall CCommandLineInfo__CCommandLineInfo(_DWORD); // 40373C: using guessed type int __thiscall CWinApp__AddDocTemplate(_DWORD, _DWORD); // 403742: using guessed type int __thiscall CSingleDocTemplate__CSingleDocTemplate(_DWORD, _DWORD, _DWORD, _DWORD, _DWORD); // 403748: using guessed type int __thiscall CWinApp__LoadStdProfileSettings(_DWORD, _DWORD); // 40374E: using guessed type int __thiscall CWinApp__SetRegistryKey(_DWORD, _DWORD); // 403754: using guessed type int __thiscall CWinApp__Enable3dControls(_DWORD); // 40375A: using guessed type int __cdecl AfxEnableControlContainer(_DWORD); // 405638: using guessed type char *off_405638; // 405728: using guessed type char *off_405728; // 405AD0: using guessed type char *off_405AD0; //----- (004011A4) -------------------------------------------------------- void *__thiscall sub_4011A4(void *this) { void *v2; // ST08_4@1 v2 = this; CDialog__CDialog(100, 0); *(_DWORD *)v2 = &off_40555C; return v2; } // 403820: using guessed type int __stdcall CDialog__CDialog(_DWORD, _DWORD); // 40555C: using guessed type int (*off_40555C)(); //----- (004011C7) -------------------------------------------------------- int __stdcall sub_4011C7(int a1) { return unknown_libname_3(a1); } // 401380: using guessed type _DWORD __stdcall unknown_libname_3(_DWORD); //----- (004011E0) -------------------------------------------------------- void *__cdecl sub_4011E0() { return CDialog__messageMap; } // 405158: using guessed type void *CDialog__messageMap; //----- (004011EA) -------------------------------------------------------- int (**__cdecl sub_4011EA())() { return &off_405498; } // 405498: using guessed type int (*off_405498)(); //----- (00401250) -------------------------------------------------------- void *__thiscall sub_401250(void *this, char a2) { void *v3; // [sp+0h] [bp-4h]@1 v3 = this; sub_401280(this); if ( a2 & 1 ) sub_401300(v3); return v3; } //----- (00401280) -------------------------------------------------------- int __thiscall sub_401280(void *this) { return CWinApp___CWinApp(this); } // 403718: using guessed type int __cdecl CWinApp___CWinApp(_DWORD); //----- (00401300) -------------------------------------------------------- void __stdcall sub_401300(void *a1) { operator delete(a1); } //----- (00401320) -------------------------------------------------------- void *__stdcall sub_401320(unsigned int a1) { return operator new(a1); } //----- (00401360) -------------------------------------------------------- BOOL __thiscall sub_401360(int this) { return UpdateWindow(*(HWND *)(this + 32)); } //----- (00401390) -------------------------------------------------------- BOOL __thiscall sub_401390(int this) { return EnableWindow(*(HWND *)(this + 32), 0); } //----- (004013B0) -------------------------------------------------------- BOOL __thiscall sub_4013B0(int this) { return EnableWindow(*(HWND *)(this + 32), 1); } //----- (0040143E) -------------------------------------------------------- char **__cdecl sub_40143E() { return &off_405638; } // 405638: using guessed type char *off_405638; //----- (0040144E) -------------------------------------------------------- void *__cdecl sub_40144E() { return CDocument__messageMap; } // 405168: using guessed type void *CDocument__messageMap; //----- (00401458) -------------------------------------------------------- int (**__cdecl sub_401458())() { return &off_405650; } // 405650: using guessed type int (*off_405650)(); //----- (004014A3) -------------------------------------------------------- signed int __thiscall sub_4014A3(void *this) { signed int result; // eax@2 if ( CDocument__OnNewDocument(this) ) result = 1; else result = 0; return result; } // 4038CE: using guessed type int __cdecl CDocument__OnNewDocument(_DWORD); //----- (004014C3) -------------------------------------------------------- bool __stdcall sub_4014C3(int a1) { return sub_401510(a1); } //----- (00401510) -------------------------------------------------------- bool __thiscall sub_401510(int this) { return (*(_DWORD *)(this + 20) & 1) == 0; } //----- (00401530) -------------------------------------------------------- int __thiscall sub_401530(int this) { return *(_DWORD *)(this + 72); } //----- (00401550) -------------------------------------------------------- int __thiscall sub_401550(int this, int a2) { int result; // eax@1 result = this; *(_DWORD *)(this + 72) = a2; return result; } //----- (004015E1) -------------------------------------------------------- char **__cdecl sub_4015E1() { return &off_405728; } // 405728: using guessed type char *off_405728; //----- (004015F1) -------------------------------------------------------- void *__cdecl sub_4015F1() { return CFormView__messageMap; } // 4051E0: using guessed type void *CFormView__messageMap; //----- (004015FB) -------------------------------------------------------- int (**__cdecl sub_4015FB())() { return &off_405740; } // 405740: using guessed type int (*off_405740)(); //----- (0040160B) -------------------------------------------------------- void *__thiscall sub_40160B(void *this) { void *v2; // ST04_4@1 v2 = this; CFormView__CFormView(101); sub_403220((char *)v2 + 128); _LocaleUpdate__GetLocaleT((char *)v2 + 196); *(_DWORD *)v2 = &off_405808; *((_DWORD *)v2 + 48) = 0; *((_DWORD *)v2 + 54) = 0; *((_DWORD *)v2 + 55) = 0; *((_BYTE *)v2 + 224) = 0; return v2; } // 402EE0: using guessed type int __thiscall _LocaleUpdate__GetLocaleT(_DWORD); // 40396A: using guessed type int __stdcall CFormView__CFormView(_DWORD); // 405808: using guessed type int (*off_405808)(); //----- (004016A7) -------------------------------------------------------- int __thiscall sub_4016A7(void *this) { void *v2; // ST00_4@1 v2 = this; *(_DWORD *)this = &off_405808; CSliderCtrl___CSliderCtrl((char *)this + 128); return CFormView___CFormView(v2); } // 402EB0: using guessed type int __thiscall CFormView___CFormView(_DWORD); // 403964: using guessed type int __thiscall CSliderCtrl___CSliderCtrl(_DWORD); // 405808: using guessed type int (*off_405808)(); //----- (004016FE) -------------------------------------------------------- int __thiscall sub_4016FE(void *this, int a2) { void *v3; // ST0C_4@1 v3 = this; unknown_libname_3(a2); DDX_Control(a2, 1002, (char *)v3 + 128); return DDX_Check(a2, 1004, (char *)v3 + 192); } // 401380: using guessed type _DWORD __stdcall unknown_libname_3(_DWORD); // 403976: using guessed type int __stdcall DDX_Check(_DWORD, _DWORD, _DWORD); // 40397C: using guessed type int __stdcall DDX_Control(_DWORD, _DWORD, _DWORD); //----- (00401746) -------------------------------------------------------- int __stdcall sub_401746(int a1) { return CView__PreCreateWindow(a1); } // 403982: using guessed type int __stdcall CView__PreCreateWindow(_DWORD); //----- (0040175F) -------------------------------------------------------- int __thiscall sub_40175F(void *this) { void *v2; // ST10_4@1 int v3; // ST0C_4@1 v2 = this; CFormView__OnInitialUpdate(); v3 = CWnd__GetParentFrame(v2); (*(void (__thiscall **)(_DWORD, _DWORD))(*(_DWORD *)v3 + 208))(v3, 1); CScrollView__ResizeParentToFit(v2, 1); CSliderCtrl__SetRange((char *)v2 + 128, 0, 90, 0); sub_4032D0((int)((char *)v2 + 128), 5u); sub_4032A0((int)((char *)v2 + 128), 90); return CWnd__SetDlgItemTextA(v2, 1003, L"0"); } // 403988: using guessed type int __thiscall CWnd__SetDlgItemTextA(_DWORD, _DWORD, _DWORD); // 40398E: using guessed type int __thiscall CSliderCtrl__SetRange(_DWORD, _DWORD, _DWORD, _DWORD); // 403994: using guessed type int __thiscall CScrollView__ResizeParentToFit(_DWORD, _DWORD); // 40399A: using guessed type int __thiscall CWnd__GetParentFrame(_DWORD); // 4039A0: using guessed type int CFormView__OnInitialUpdate(void); // 407064: using guessed type wchar_t a0[2]; //----- (004017DF) -------------------------------------------------------- int __stdcall sub_4017DF(int a1) { return CView__DoPreparePrinting(a1); } // 4039A6: using guessed type int __stdcall CView__DoPreparePrinting(_DWORD); //----- (004017F8) -------------------------------------------------------- void __stdcall sub_4017F8(int a1, int a2) { ; } //----- (00401805) -------------------------------------------------------- void __stdcall sub_401805(int a1, int a2) { ; } //----- (00402E80) -------------------------------------------------------- void *__thiscall sub_402E80(void *this, char a2) { void *v3; // [sp+0h] [bp-4h]@1 v3 = this; sub_4016A7(this); if ( a2 & 1 ) sub_401300(v3); return v3; } //----- (00402EF0) -------------------------------------------------------- int __thiscall sub_402EF0(int this) { return *(_DWORD *)(this + 8) - *(_DWORD *)this; } //----- (00402F10) -------------------------------------------------------- int __thiscall sub_402F10(int this) { return *(_DWORD *)(this + 12) - *(_DWORD *)(this + 4); } //----- (00402F40) -------------------------------------------------------- void *__thiscall sub_402F40(void *this) { void *v2; // ST00_4@1 v2 = this; sub_402F60(this); *(_DWORD *)v2 = &off_4059D0; return v2; } // 4059D0: using guessed type int (*off_4059D0)(); //----- (00402F60) -------------------------------------------------------- void *__thiscall sub_402F60(void *this) { void *v2; // ST00_4@1 v2 = this; std__ios_base__ios_base(); *(_DWORD *)v2 = &off_4059E4; *((_DWORD *)v2 + 1) = 0; return v2; } // 402F90: using guessed type int std__ios_base__ios_base(void); // 4059E4: using guessed type int (*off_4059E4)(); //----- (00402FB0) -------------------------------------------------------- void *__thiscall sub_402FB0(void *this, char a2) { void *v3; // [sp+0h] [bp-4h]@1 v3 = this; std__locale__facet___facet(this); if ( a2 & 1 ) sub_401300(v3); return v3; } // 402FE0: using guessed type int __thiscall std__locale__facet___facet(_DWORD); //----- (00403000) -------------------------------------------------------- void *__thiscall sub_403000(void *this, char a2) { void *v3; // [sp+0h] [bp-4h]@1 v3 = this; sub_403030(this); if ( a2 & 1 ) sub_401300(v3); return v3; } //----- (00403030) -------------------------------------------------------- int __thiscall sub_403030(void *this) { int v2; // ST00_4@1 *(_DWORD *)this = &off_4059E4; CGdiObject__DeleteObject(this); return std__locale__facet___facet(v2); } // 402FE0: using guessed type int __thiscall std__locale__facet___facet(_DWORD); // 403A30: using guessed type int __cdecl CGdiObject__DeleteObject(_DWORD); // 4059E4: using guessed type int (*off_4059E4)(); //----- (00403090) -------------------------------------------------------- void *__thiscall sub_403090(void *this, char a2) { void *v3; // [sp+0h] [bp-4h]@1 v3 = this; sub_4030C0(this); if ( a2 & 1 ) sub_401300(v3); return v3; } //----- (004030C0) -------------------------------------------------------- int __thiscall sub_4030C0(void *this) { *(_DWORD *)this = &off_4059D0; return sub_403030(this); } // 4059D0: using guessed type int (*off_4059D0)(); //----- (004030E0) -------------------------------------------------------- int __thiscall sub_4030E0(void *this, int iStyle, int cWidth, COLORREF color) { void *v5; // ST0C_4@1 HPEN v6; // eax@1 v5 = this; v6 = CreatePen(iStyle, cWidth, color); return CGdiObject__Attach(v5, v6); } // 403A36: using guessed type int __thiscall CGdiObject__Attach(_DWORD, _DWORD); //----- (00403110) -------------------------------------------------------- BOOL __thiscall sub_403110(int this, int a2) { return Rectangle(*(HDC *)(this + 4), *(_DWORD *)a2, *(_DWORD *)(a2 + 4), *(_DWORD *)(a2 + 8), *(_DWORD *)(a2 + 12)); } //----- (00403150) -------------------------------------------------------- int __thiscall sub_403150(void *this, int a2, int a3, void *a4) { void *v5; // ST10_4@1 int v6; // ST0C_4@1 int v7; // eax@1 v5 = this; v6 = sub_403190(a4); v7 = unknown_libname_4(a4); return (*(int (__thiscall **)(void *, int, int, int, int))(*(_DWORD *)v5 + 100))(v5, a2, a3, v7, v6); } // 402ED0: using guessed type int __thiscall unknown_libname_4(_DWORD); //----- (00403190) -------------------------------------------------------- int __thiscall sub_403190(void *this) { return *(_DWORD *)(sub_4031B0(this) + 4); } //----- (004031B0) -------------------------------------------------------- int __thiscall sub_4031B0(void *this) { return *(_DWORD *)this - 12; } //----- (004031D0) -------------------------------------------------------- BOOL __thiscall sub_4031D0(int this, LPRECT lpRect) { return GetWindowRect(*(HWND *)(this + 32), lpRect); } //----- (004031F0) -------------------------------------------------------- BOOL __thiscall sub_4031F0(int this, const RECT *lpRect, BOOL bErase) { return InvalidateRect(*(HWND *)(this + 32), lpRect, bErase); } //----- (00403220) -------------------------------------------------------- void *__thiscall sub_403220(void *this) { void *v2; // ST00_4@1 v2 = this; CWnd__CWnd(); *(_DWORD *)v2 = &off_405A0C; return v2; } // 403A54: using guessed type int CWnd__CWnd(void); // 405A0C: using guessed type int (*off_405A0C)(); //----- (00403270) -------------------------------------------------------- LRESULT __thiscall sub_403270(int this) { return SendMessageA(*(HWND *)(this + 32), 0x400u, 0, 0); } //----- (004032A0) -------------------------------------------------------- LRESULT __thiscall sub_4032A0(int this, LPARAM lParam) { return SendMessageA(*(HWND *)(this + 32), 0x405u, 1u, lParam); } //----- (004032D0) -------------------------------------------------------- LRESULT __thiscall sub_4032D0(int this, WPARAM wParam) { return SendMessageA(*(HWND *)(this + 32), 0x414u, wParam, 0); } //----- (00403371) -------------------------------------------------------- char **__cdecl sub_403371() { return &off_405AD0; } // 405AD0: using guessed type char *off_405AD0; //----- (00403381) -------------------------------------------------------- void *__cdecl sub_403381() { return CFrameWnd__messageMap; } // 4052E4: using guessed type void *CFrameWnd__messageMap; //----- (0040338B) -------------------------------------------------------- int (**__cdecl sub_40338B())() { return &off_405AE8; } // 405AE8: using guessed type int (*off_405AE8)(); //----- (0040339B) -------------------------------------------------------- void *__thiscall sub_40339B(void *this) { void *v2; // ST00_4@1 v2 = this; CFrameWnd__CFrameWnd(); CStatusBar__CStatusBar((char *)v2 + 192); CToolBar__CToolBar((char *)v2 + 320); *(_DWORD *)v2 = &off_405B20; return v2; } // 403AEA: using guessed type int __thiscall CToolBar__CToolBar(_DWORD); // 403AF0: using guessed type int __thiscall CStatusBar__CStatusBar(_DWORD); // 403AF6: using guessed type int CFrameWnd__CFrameWnd(void); // 405B20: using guessed type int (*off_405B20)(); //----- (00403407) -------------------------------------------------------- int __thiscall sub_403407(void *this) { void *v2; // ST00_4@1 v2 = this; *(_DWORD *)this = &off_405B20; CToolBar___CToolBar((char *)this + 320); CStatusBar___CStatusBar((char *)v2 + 192); return CFrameWnd___CFrameWnd(v2); } // 403ADE: using guessed type int __thiscall CStatusBar___CStatusBar(_DWORD); // 403AE4: using guessed type int __thiscall CFrameWnd___CFrameWnd(_DWORD); // 403AFC: using guessed type int __thiscall CToolBar___CToolBar(_DWORD); // 405B20: using guessed type int (*off_405B20)(); //----- (00403579) -------------------------------------------------------- signed int __stdcall sub_403579(int a1) { signed int result; // eax@2 if ( CFrameWnd__PreCreateWindow(a1) ) result = 1; else result = 0; return result; } // 403B2C: using guessed type int __stdcall CFrameWnd__PreCreateWindow(_DWORD); //----- (004035A0) -------------------------------------------------------- void *__thiscall sub_4035A0(void *this, char a2) { void *v3; // [sp+0h] [bp-4h]@1 v3 = this; sub_403407(this); if ( a2 & 1 ) sub_401300(v3); return v3; } //----- (004035D0) -------------------------------------------------------- int __thiscall sub_4035D0(int this, int a2, int a3, int a4, int a5) { *(_DWORD *)this = a2; *(_DWORD *)(this + 4) = a3; *(_DWORD *)(this + 8) = a4; *(_DWORD *)(this + 12) = a5; return this; } //----- (00403610) -------------------------------------------------------- int __stdcall sub_403610(unsigned __int16 a1) { return CToolBar__LoadToolBar(a1); } // 403B32: using guessed type int __stdcall CToolBar__LoadToolBar(_DWORD); //----- (00403D5A) -------------------------------------------------------- int __cdecl sub_403D5A() { return 0; } //----- (00403DD0) -------------------------------------------------------- void __usercall sub_403DD0(int a1&lt;ebp&gt;) { sub_401300(*(void **)(a1 - 60)); } //----- (00403DDA) -------------------------------------------------------- int __usercall sub_403DDA&lt;eax&gt;(int a1&lt;ebp&gt;) { return CCommandLineInfo___CCommandLineInfo(a1 - 52); } // 403724: using guessed type int __thiscall CCommandLineInfo___CCommandLineInfo(_DWORD); //----- (00403DE3) -------------------------------------------------------- int __cdecl SEH_40107A() { return _CxxFrameHandler(); } // 403BB0: using guessed type int _CxxFrameHandler(void); //----- (00403DED) -------------------------------------------------------- int __usercall sub_403DED&lt;eax&gt;(int a1&lt;ebp&gt;) { return CCommonDialog___CCommonDialog(a1 - 108); } // 4012D0: using guessed type int __thiscall CCommonDialog___CCommonDialog(_DWORD); //----- (00403E00) -------------------------------------------------------- void __usercall sub_403E00(int a1&lt;ebp&gt;) { sub_401300(*(void **)(a1 - 20)); } //----- (00403E20) -------------------------------------------------------- vo
Post #: 2
RE: Исходный код EXE - 2012-02-26 20:38:52.230000   
GiveMeRun

Сообщений: 2
Оценки: 0
Присоединился: 2012-02-26 19:15:24.020000
Спасибо за помощь!
Но это не С++. это машиный код? а реально это вообще, вытащить С++? чтото я засомневался
Post #: 3
RE: Исходный код EXE - 2012-02-26 20:58:19.903333   
Flint_ta

Сообщений: 3720
Оценки: 1120
Присоединился: 2007-01-26 15:49:18.323333
С++ нереально. Вот почитайте http://www.xakep.ru/post/42769/
Post #: 4
RE: Исходный код EXE - 2012-03-01 01:07:43.170000   
13crek

Сообщений: 2
Оценки: 0
Присоединился: 2012-03-01 00:52:29.773333
Доброго времени суток!
Парни 0ч нужно с ехе файла вытащить исходник http://files.mail.ru/7BGRAD
ЗЫ Добавлю что создан он на "AutoIt v3 Script"
за ранние при много благодарен
Post #: 5
RE: Исходный код EXE - 2012-03-01 03:21:30.776666   
Ghostplus

Сообщений: 14
Оценки: 0
Присоединился: 2012-01-13 23:43:13.980000
quote:

ORIGINAL: 13crek

Доброго времени суток!
Парни 0ч нужно с ехе файла вытащить исходник http://files.mail.ru/7BGRAD
ЗЫ Добавлю что создан он на "AutoIt v3 sсriрt"
за ранние при много благодарен

Есть "декомпилятор" AutoIt, но для старых версий.
AutoIt Decompiler
Post #: 6
RE: Исходный код EXE - 2012-03-09 14:31:06.850000   
Аpathy^^

Сообщений: 504
Оценки: 10
Присоединился: 2011-08-02 18:35:14.340000

quote:

ORIGINAL: Flint_ta

С++ нереально. Вот почитайте http://www.xakep.ru/post/42769/

спс очень позновательно,не знал про hexrays =)
Post #: 7
Страниц:  [1]
Все форумы >> [Взлом программ] >> Исходный код EXE







Связаться:
Вопросы по сайту / xakep@glc.ru

Предупреждение: использование полученных знаний в противозаконных целях преследуется по закону.