- UID
- 1821
- 精华
- 积分
- 3087
- 威望
- 点
- 宅币
- 个
- 贡献
- 次
- 宅之契约
- 份
- 最后登录
- 1970-1-1
- 在线时间
- 小时
|
本帖最后由 AyalaRs 于 2024-8-15 00:06 编辑
有点懒,身体也不太好,把之前vb6逆向的一些东西发下,i64文件,msvbvm60的pdb文件等
- int __cdecl WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)
- {
- CFileRep *v4; // ebx
- int v5; // eax
- DWORD CurrentThreadId; // eax
- const void *inited; // eax
- int v9; // esi
- bool v10; // sf
- HANDLE v11; // esi
- t_heap *v12; // eax
- CFileRep *p_U; // eax
- HWND v14; // eax
- HWND ThreadHwndMain; // eax
- BOOL v16; // [esp+Ch] [ebp-4h]
- v16 = 0;
- v4 = 0;
- hmod = hInstance;
- gnShowCmd = nShowCmd;
- g_hinstExe = hInstance;
- if ( CThreadPool::InitRuntime(hInstance, lpCmdLine) )
- {
- WinMain_InitRuntime_After();
- if ( Cmd_ty == 1 )
- {
- v5 = XSignFilter_49_50_52(1, 1u);
- if ( g_tCmdLine.runexitset1 )
- {
- v16 = v5;
- if ( !v5 )
- {
- ThreadHwndMain = GetThreadHwndMain();
- PostMessageA(ThreadHwndMain, WM_CLOSE, 0, 0);
- }
- }
- }
- else if ( Cmd_ty == 2 )
- {
- Cmd_ty = 0;
- inited = (const void *)WinMain_InitRuntime_After_case2();
- v9 = (int)inited;
- if ( (int)inited < 0 )
- ErrorHr(inited);
- if ( g_tCmdLine.makedllset1 )
- {
- v10 = v9 < 0;
- v11 = process_heap;
- v16 = !v10;
- v12 = HeapAlloc(process_heap, HEAP_ZERO_MEMORY, 0x10u);
- if ( v12 && (v12->hheap = v11, (p_U = (CFileRep *)&v12->U__) != 0) )
- v4 = CFileRep::CFileRep(p_U);
- else
- v4 = 0;
- if ( v4 )
- {
- if ( (g_t_d14_p->flags & 4) != 0 )
- WinMain_InitRuntime_After_case2_d14(g_t_d14_p, v4);
- else
- WinMain_InitRuntime_After_case2_project(g_Project_p, v4);
- hInstance = (HINSTANCE)CFileRep::GetNonPrintFileNameExt(v4);
- }
- else
- {
- hInstance = 0;
- }
- }
- v14 = GetThreadHwndMain();
- SendMessageA(v14, WM_CLOSE, 0, 0);
- }
- if ( g_tCmdLine.makedllset1
- || (CurrentThreadId = GetCurrentThreadId(),
- PostThreadMessageA(CurrentThreadId, LVM_INSERTCOLUMNW|WM_KILLFOCUS, 0, 0),
- CMsoComponent::PushMsgLoop(&tgui.CMsoComponent_p->lpVtbl, -1),
- g_tCmdLine.makedllset1) )
- {
- sub_5001B3(v16, hInstance);
- }
- if ( v4 )
- CFileRep::`scalar deleting destructor'(v4, 1);
- CThreadPool::TerminateRuntime();
- if ( g_tCmdLine.makedllset1 || g_tCmdLine.runexitset1 )
- return !v16;
- }
- else if ( g_tCmdLine.makedllset1 || g_tCmdLine.runexitset1 )
- {
- return 1;
- }
- return 0;
- }
复制代码
vb6.i64.7z.002
(2 MB, 下载次数: 2)
vb6.i64.7z.003
(2 MB, 下载次数: 2)
vb6.i64.7z.004
(2 MB, 下载次数: 2)
vb6.i64.7z.005
(2 MB, 下载次数: 2)
vb6.i64.7z.006
(2 MB, 下载次数: 2)
vb6.i64.7z.006
(2 MB, 下载次数: 2)
vb6.i64.7z.007
(924.56 KB, 下载次数: 2)
Vb6.exe
(1.8 MB, 下载次数: 2)
|
|