joyce8/EMBER2024-capa huggingface dataset:
Function at 0x67897a70
Capabilities:
Get keyboard layout
Log keystrokes via polling

Disassembly:
push 0xffffffffffffffff
push 0x67987a3f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push esi
mov esi, dword [esp + 0x54]
push edi
mov ecx, 0xc
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
cmp esi, 3
mov dword [esp + 0xc], 0
stosw word es:[edi], ax
jne 0x67897acd
mov esi, dword [esp + 0x54]
push sym.MfcHlpr520.dll____C__00A___AA_
mov ecx, esi
call sub.MFC42.DLL_CString::CString_5
mov eax, esi
pop edi
pop esi
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
add esp, 0x48
ret
push 0
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyExA]
shl eax, 0x10
or al, 1
cmp esi, 0x21
jb 0x67897af3
cmp esi, 0x2f
ja 0x67897af3
or eax, 0x1000000
push ebp
lea ecx, [esp + 0x14]
push 0x32
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
lea edx, [esp + 0x14]
lea ecx, [esp + 0x5c]
push edx
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x50], 1
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x67897b71
lea ecx, [esp + 0x5c]
call sub.MFC42.DLL_CString::MakeLower
mov eax, dword [esp + 0x5c]
xor esi, esi
mov ecx, dword [eax - 8]
test ecx, ecx
jle 0x67897b71
mov ebp, dword [sym.imp.USER32.dll_IsCharLowerA]
mov cl, byte [esi + eax]
mov byte [esp + 0xc], cl
mov edi, dword [esp + 0xc]
push edi
call ebp
test eax, eax
jne 0x67897b5d
mov eax, dword [esp + 0x5c]
inc esi
cmp esi, dword [eax - 8]
jl 0x67897b3f
jmp 0x67897b71
push edi
call sym.MfcHlpr520.dll_public:_static_char___cdecl_CMHPShortcutManager::ToUpper_char_
add esp, 4
lea ecx, [esp + 0x5c]
push eax
push esi
call sub.MFC42.DLL_CString::SetAt
mov esi, dword [esp + 0x58]
lea edx, [esp + 0x5c]
push edx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_6
lea ecx, [esp + 0x5c]
mov dword [esp + 0x10], 1
mov byte [esp + 0x50], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x48]
pop ebp
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x48
ret
Function at 0x678997f0
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
lea eax, [esp]
push esi
push eax
push 4
push 0
mov esi, ecx
push sym.MfcHlpr520.dll_private:_static_unsigned_long_int___stdcall_CMHPSoundManager::SoundThreadProc_void__
push 0
push 0
mov dword [esi], 0
mov dword [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi + 8], eax
je 0x67899833
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
pop esi
pop ecx
ret

Function at 0x67899840
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x678998bb
push ebp
lea ecx, [esp + 0xc]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push ecx
push eax
mov dword [esi + 0xc], 1
mov dword [esp + 0x18], ebx
call edi
test eax, eax
je 0x678998a8
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [esp + 0x10], 0x103
jne 0x678998a8
inc ebx
cmp ebx, 0xa
ja 0x6789989c
mov edx, dword [esi + 8]
push 0x64
push edx
call ebp
mov ecx, dword [esi + 8]
lea eax, [esp + 0x10]
push eax
push ecx
call edi
test eax, eax
jne 0x67899873
jmp 0x678998a8
mov edx, dword [esi + 8]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov dword [esi + 8], 0
pop ebp
pop esi
pop ebx
pop ecx
ret

Function at 0x67899900
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x67987d17
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.6797d7b4
xor edi, edi
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], edi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x40]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString_4
mov dword [esi + 0x6c], edi
mov dword [esi + 0x68], 0x67995c9c
lea ecx, [esi + 0xa4]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0xa8]
mov byte [esp + 0x18], 4
call sub.MFC42.DLL_CString::CString_4
mov ebp, dword [sym.imp.USER32.dll_SetRect]
or eax, 0xffffffff
push edi
mov dword [esi + 0x64], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x70], eax
push edi
push edi
lea eax, [esi + 0x84]
push edi
push eax
mov dword [esi], sym.MfcHlpr520.dll_const_CMHPStatusBarPane::vftable
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x5c], edi
call ebp
push 1
push 3
push 1
lea ecx, [esi + 0x74]
push 3
push ecx
call ebp
lea edx, [esi + 0x44]
mov dword [esi + 0x94], edi
push edx
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xa0], 1
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x67899917
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x67987d17
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.6797d7b4
xor edi, edi
lea ecx, [esi + 0x30]
mov dword [esp + 0x18], edi
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x40]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString_4
mov dword [esi + 0x6c], edi
mov dword [esi + 0x68], 0x67995c9c
lea ecx, [esi + 0xa4]
mov byte [esp + 0x18], 3
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0xa8]
mov byte [esp + 0x18], 4
call sub.MFC42.DLL_CString::CString_4
mov ebp, dword [sym.imp.USER32.dll_SetRect]
or eax, 0xffffffff
push edi
mov dword [esi + 0x64], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x70], eax
push edi
push edi
lea eax, [esi + 0x84]
push edi
push eax
mov dword [esi], sym.MfcHlpr520.dll_const_CMHPStatusBarPane::vftable
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0xac], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x5c], edi
call ebp
push 1
push 3
push 1
lea ecx, [esi + 0x74]
push 3
push ecx
call ebp
lea edx, [esi + 0x44]
mov dword [esi + 0x94], edi
push edx
mov dword [esi + 0x98], edi
mov dword [esi + 0x9c], edi
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xa0], 1
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x67899ec0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x67987d98
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x67899ef5
mov eax, dword [esi]
call dword [eax + 0x5c]
mov edi, dword [esi + 0x7c]
mov eax, dword [esi + 0x74]
add edi, eax
jmp 0x67899f60
mov ecx, dword [esi + 0x60]
push ecx
lea ecx, [esp + 0x24]
call fcn.6797db38
mov edx, dword [esi]
mov ecx, esi
mov dword [esp + 0x3c], 0
call dword [edx + 0x5c]
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x18]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPFontDC::constructor_class_CDC___class_CFont__
mov eax, dword [esi + 0x30]
lea edx, [esp + 8]
push edx
mov ecx, dword [eax - 8]
push ecx
push eax
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov edi, dword [esi + 0x7c]
mov ecx, dword [esi + 0x74]
mov eax, dword [esp + 8]
add edi, ecx
lea ecx, [esp + 0x10]
add edi, eax
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPFontDC::destructor_void_
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CClientDC::CClientDC
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
test eax, eax
je 0x67899fa0
mov ecx, dword [esi + 0x30]
xor edx, edx
mov esi, dword [ecx - 8]
mov ecx, eax
test esi, esi
sete dl
mov esi, edx
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPControlActions::GetCount_void_const
neg esi
sbb esi, esi
and esi, 0xfffffffe
add esi, 2
add esi, edi
pop edi
add eax, esi
pop esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret
mov ecx, dword [esp + 0x34]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x6789d0b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x67988028
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov edx, dword [esp + 0x20]
push ebx
mov ebx, ecx
push esi
mov ecx, dword [esp + 0x2c]
lea eax, [esp + 8]
push edi
push eax
xor esi, esi
push ecx
push edx
mov ecx, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call sym.MfcHlpr520.dll_public:_struct_CMHPStatusBarSwitchPane::SWITCH____thiscall_CMHPStatusBarSwitchPane::HitTest_class_CPoint__class_CRect__const
cmp eax, esi
jne 0x6789d110
or eax, 0xffffffff
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0xc
mov edi, dword [eax + 4]
push eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_6
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x24], esi
cmp dword [eax - 8], esi
jne 0x6789d152
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
or eax, 0xffffffff
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0xc
lea ecx, [esp + 0x2c]
mov eax, dword [esp + 0xc]
push ecx
push edi
mov ecx, dword [esp + 0x18]
sub esp, 0x10
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x2c]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x30]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov edx, dword [ebx + 0x60]
mov ecx, dword [esp + 0x4c]
mov eax, dword [edx + 0x20]
push eax
push ecx
call sym.MfcHlpr520.dll_public:_static_void___cdecl_CMHPToolTipContext::FillInToolInfo_struct_tagTOOLINFOA___struct_HWND_____class_CRect__int__class_CString_const__
add esp, 0x20
lea ecx, [esp + 0x2c]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x1c
ret 0xc

Function at 0x6789d770
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
lea edx, [esi + 0xb4]
test ax, ax
mov eax, dword [esp + 0xc]
setl cl
push ecx
mov ecx, dword [esp + 0xc]
push edx
mov edx, dword [esi + 0x60]
push eax
push ecx
mov eax, dword [edx + 0x20]
lea ecx, [esi + 0xb0]
push eax
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPScrollBase::PerformTrackInit_struct_HWND_____class_CPoint__struct_CMHPScrollBase::SCROLLBARPOSINFO___int_
pop esi
ret 8
Function at 0x678a1800
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x24
push ebx
push ebp
push esi
push edi
mov edi, ecx
call sym.MfcHlpr520.dll_public_virtual:_int___thiscall_CMHPOutBarCtrl::GetSelFolder_void_const
test eax, eax
je 0x678a18fc
mov eax, dword [edi + 0xa0]
test eax, eax
je 0x678a18fc
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x14]
push edx
mov eax, dword [ecx]
call dword [eax + 0x58]
mov ecx, edi
call sym.MfcHlpr520.dll_public_virtual:_int___thiscall_CMHPOutBarCtrl::GetSelFolder_void_const
mov ebx, eax
dec ebx
mov dword [esp + 0x3c], ebx
js 0x678a192b
push ebx
mov ecx, edi
call sym.MfcHlpr520.dll_public:_class_CMHPTabClientWnd::CWorkspace____thiscall_CMHPTabClientWnd::GetWorkspace_int_const
mov ebp, eax
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
lea esi, [ebp + 0x38]
push esi
push eax
push ecx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x678a18b1
mov ecx, edi
call sym.MfcHlpr520.dll_public:_class_CMHPTabPaintManager____thiscall_CMHPTabClientWnd::GetPaintManager_void_const
mov ecx, dword [esi]
sub esp, 0x10
mov ebx, eax
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 4]
mov edx, dword [ebx]
mov dword [eax + 4], ecx
mov ecx, dword [esi + 8]
mov dword [esp + 0x20], edx
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0xc]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
mov ecx, edi
call sym.MfcHlpr520.dll_public:_class_CMHPTabClientWnd::CWorkspace____thiscall_CMHPTabClientWnd::GetWorkspace_int_const
mov edx, dword [esp + 0x24]
push eax
mov ecx, ebx
call dword [edx + 0x58]
mov ebx, dword [esp + 0x3c]
lea esi, [ebp + 0xa8]
push esi
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x678a18e7
mov eax, dword [edi + 0x78]
mov ebp, dword [edi + 0x88]
mov ecx, dword [eax + 0xe4]
xor eax, eax
test ebp, ebp
mov edx, dword [ecx]
setne al
add eax, 2
push eax
mov eax, dword [esp + 0x3c]
push esi
push eax
call dword [edx + 0x38]
dec ebx
mov dword [esp + 0x3c], ebx
jns 0x678a1846
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x14
mov ecx, dword [esp + 0x3c]
sub esp, 0x10
mov eax, esp
mov edx, dword [edi]
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x54]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x58]
mov dword [eax + 0xc], ecx
mov eax, dword [esp + 0x48]
push eax
mov ecx, edi
call dword [edx + 0xc8]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret 0x14
Function at 0x678a53f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebp
mov ebp, ecx
push esi
mov esi, dword [esp + 0x10]
mov ecx, dword [ebp + 0xe8]
push edi
and esi, 0xffff
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPControls::RemoveAll_void_
test esi, esi
jne 0x678a5418
pop edi
pop esi
xor eax, eax
pop ebp
pop ecx
ret 8
push 0xf1
push esi
call sub.MFC42.DLL_AfxFindResourceHandle
mov edi, eax
test edi, edi
jne 0x678a5430
pop edi
pop esi
pop ebp
pop ecx
ret 8
push 0xf1
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x678a5448
pop edi
pop esi
pop ebp
pop ecx
ret 8
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x678a545b
pop edi
pop esi
pop ebp
pop ecx
ret 8
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x678a546f
pop edi
pop esi
pop ebp
pop ecx
ret 8
xor eax, eax
push ebx
mov ax, word [esi + 6]
shl eax, 2
push eax
call sub.MFC42.DLL_operatornew
xor edi, edi
add esp, 4
cmp word [esi + 6], di
mov dword [esp + 0x10], eax
jbe 0x678a54b1
mov ebx, eax
mov ecx, esi
call fcn.678a3e50
xor ecx, ecx
xor edx, edx
mov cx, word [eax + edi*2]
inc edi
mov dword [ebx], ecx
mov dx, word [esi + 6]
add ebx, 4
cmp edi, edx
jl 0x678a5490
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov cx, word [esi + 6]
push ecx
push eax
mov ecx, ebp
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPCommandBar::SetButtons_unsigned_int___int_
mov ebx, eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x678a5522
mov ecx, ebp
call sym.MfcHlpr520.dll_public:_class_CMHPImageManager____thiscall_CMHPCommandBar::GetImageManager_void_const
xor edi, edi
xor edx, edx
mov di, word [esi + 4]
mov dx, word [esi + 2]
mov ecx, dword [esp + 0x10]
push 0
push edi
push edx
xor edx, edx
mov dx, word [esi + 6]
push edx
mov edx, dword [esp + 0x28]
push ecx
push edx
mov ecx, eax
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPImageManager::SetIcons_unsigned_int__unsigned_int___int__class_CSize__enum_MHPImageState_
test eax, eax
jne 0x678a54ff
xor ebx, ebx
mov ax, word [esi + 2]
cmp ax, 0x10
je 0x678a5522
and eax, 0xffff
mov ecx, eax
xor eax, eax
mov ax, word [esi + 4]
mov dword [ebp + 0xf8], ecx
mov dword [ebp + 0xfc], eax
mov eax, dword [esp + 0x10]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, ebx
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret 8
Function at 0x678a7ce0
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov ecx, dword [esp + 0x14]
push eax
lea ebx, [edi + 0x40]
push ecx
mov ecx, ebx
call sym.MfcHlpr520.dll_protected:_class_CMHPTabManagerItem____thiscall_CMHPTabManager::AddItem_int__class_CMHPTabManagerItem__
mov edx, dword [esp + 0x18]
mov esi, eax
push edx
mov ecx, esi
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPTabManagerItem::SetCaption_char_const__
mov ebp, dword [esp + 0x1c]
mov ecx, esi
push ebp
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPControls::SetCommandBars_class_CMHPCommandBars__
mov eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x28]
cmp ecx, eax
je 0x678a7d2a
mov ecx, dword [esi + 0x60]
mov dword [esi + 0x28], eax
mov eax, dword [ecx]
call dword [eax + 4]
test ebp, ebp
je 0x678a7d37
push 0
push ebp
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [edi + 0x48]
test eax, eax
jne 0x678a7d47
push 0
mov ecx, ebx
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPTabManager::SetCurSel_int_
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 0x14

Function at 0x678a7f10
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0xc
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
mov esi, ecx
push edi
cmp dword [esi + 8], ebp
je 0x678a8014
lea edi, [esi - 0x40]
xor ebx, ebx
cmp edi, ebx
jne 0x678a7f35
mov dword [esp + 0x10], ebx
jmp 0x678a7f3c
mov eax, dword [edi + 0x20]
mov dword [esp + 0x10], eax
mov ecx, edi
call sub.MFC42.DLL_CWnd::GetDlgCtrlID
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x24]
cmp eax, ebx
mov dword [esp + 0x18], 0xfffffdd8
jne 0x678a7f60
mov ecx, dword [edi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov edi, eax
cmp edi, ebx
je 0x678a7f9b
mov edx, dword [edi + 0x20]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x678a7f9b
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x10]
mov dword [esi + 4], ebp
mov edx, dword [edi + 0x20]
push eax
push ecx
push 0x4e
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 1
mov dword [esi + 4], ebx
je 0x678a8014
mov eax, dword [esi + 0x9c]
cmp eax, ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
je 0x678a7fb0
push 0
push eax
call ebx
test ebp, ebp
je 0x678a7fc3
mov ecx, ebp
call sym.MfcHlpr520.dll_public:_struct_HWND______thiscall_CMHPTabManagerItem::GetHandle_void_const
mov dword [esi + 0x9c], eax
jmp 0x678a7fcd
mov dword [esi + 0x9c], 0
push ebp
mov ecx, esi
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPTabManager::SetSelectedItem_class_CMHPTabManagerItem__
mov esi, dword [esi + 0x9c]
test esi, esi
je 0x678a7fe4
push 5
push esi
call ebx
test edi, edi
mov dword [esp + 0x18], 0xfffffdd9
je 0x678a8014
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x678a8014
mov edx, dword [esp + 0x14]
mov eax, dword [edi + 0x20]
lea ecx, [esp + 0x10]
push ecx
push edx
push 0x4e
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x678a86d0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x67988999
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.6797d7b4
xor edi, edi
lea ecx, [esi + 0x54]
mov dword [esp + 0x18], edi
call sub.MFC42.DLL_CString::CString_4
mov ebx, 1
lea ecx, [esi + 0x58]
mov byte [esp + 0x18], bl
call sub.MFC42.DLL_CString::CString_4
mov dword [esi + 0x6c], 0x679a48e8
mov dword [esi + 0x70], edi
mov dword [esi + 0x7c], edi
mov dword [esi + 0x78], edi
mov dword [esi + 0x74], edi
mov ecx, esi
mov byte [esp + 0x18], 3
mov dword [esi], sym.MfcHlpr520.dll_const_CMHPTabManagerItem::vftable
call sub.MFC42.DLL_CCmdTarget::EnableAutomation
or eax, 0xffffffff
mov dword [esi + 0x34], ebx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
lea eax, [esi + 0x44]
mov dword [esi + 0x30], ebx
push eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x40], edi
call dword [sym.imp.USER32.dll_SetRectEmpty]
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x64], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x68], ebx
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x678a9170
Capabilities:
Check for time delay via gettickcount

Disassembly:
sub esp, 0x24
push esi
mov esi, ecx
call dword [sym.imp.USER32.dll_GetCapture]
test eax, eax
jne 0x678a92d6
mov eax, dword [esi + 0x20]
test eax, eax
je 0x678a92d6
mov eax, dword [esp + 0x2c]
push ebx
push ebp
push edi
push eax
call dword [sym.imp.USER32.dll_SetCapture]
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebp, dword [esp + 0x40]
mov ebx, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x20]
test eax, eax
je 0x678a91de
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
sub eax, dword [esp + 0x10]
cmp eax, 0x14
jbe 0x678a91de
call edi
mov edx, dword [esi]
push 1
mov ecx, esi
mov dword [esp + 0x14], eax
call dword [edx + 0x18]
lea edi, [esi + 0x10]
push ebp
push ebx
push edi
call dword [sym.imp.USER32.dll_PtInRect]
cmp eax, dword [esi + 0x24]
je 0x678a91fd
mov ecx, dword [esi + 0xc]
mov dword [esi + 0x24], eax
push 1
push edi
mov eax, dword [ecx]
call dword [eax + 0x34]
push 0
push 0
push 0
lea ecx, [esp + 0x24]
push 0
push ecx
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x678a91b7
push 0
push 0
lea edx, [esp + 0x20]
push 0
push edx
call dword [sym.imp.USER32.dll_GetMessageA]
call dword [sym.imp.USER32.dll_GetCapture]
mov edi, dword [esp + 0x38]
cmp eax, edi
jne 0x678a928a
mov eax, dword [esp + 0x1c]
cmp eax, 0x200
ja 0x678a926e
je 0x678a9258
cmp eax, 0x1f
je 0x678a929e
cmp eax, 0x100
jne 0x678a927a
cmp dword [esp + 0x20], 0x1b
je 0x678a929e
jmp 0x678a91b7
mov eax, dword [esp + 0x24]
movsx ecx, ax
shr eax, 0x10
movsx eax, ax
mov ebx, ecx
mov ebp, eax
jmp 0x678a91b7
sub eax, 0x202
je 0x678a9297
sub eax, 2
je 0x678a929e
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x678a91b7
lea ecx, [esp + 0x18]
push ecx
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x678a929e
mov edx, dword [esi + 0x24]
mov dword [esp + 0x14], edx
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esi + 0xc]
push ebp
push ebx
push edi
mov dword [esi + 0x24], 0
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPTabManager::PerformMouseMove_struct_HWND_____class_CPoint_
mov ecx, dword [esi + 0xc]
push 0
push 0
mov eax, dword [ecx]
call dword [eax + 0x34]
mov eax, dword [esp + 0x14]
pop edi
pop ebp
pop ebx
test eax, eax
je 0x678a92d6
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x18]
pop esi
add esp, 0x24
ret 0xc