joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6785ed80
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
call sym.MfcHlpr520.dll_protected:_int___thiscall_CMHPControl::IsCustomizeMode_void_const
test eax, eax
mov eax, dword [esp + 8]
je 0x6785edd1
test eax, eax
jne 0x6785ee4f
mov ecx, dword [esi + 0x108]
push 0
push 0xffffffffffffffff
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPCommandBar::SetPopuped_int__int_
mov ecx, dword [esi + 0x108]
push 0
push 0xffffffffffffffff
mov eax, dword [ecx]
call dword [eax + 0xcc]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esi]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x10c]
pop esi
ret 0xc
test eax, eax
jne 0x6785ee4f
mov ecx, dword [esi + 0x108]
push 0
push 0xffffffffffffffff
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPCommandBar::SetPopuped_int__int_
mov ecx, dword [esi + 0x108]
cmp dword [ecx + 0xcc], 2
jne 0x6785ee01
mov edx, dword [ecx]
push 0
push 0
push 1
call dword [edx + 0xc4]
mov ecx, dword [esi + 0x108]
mov edx, dword [esi + 0x84]
push 0
push edx
mov eax, dword [ecx]
call dword [eax + 0xcc]
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
xor ecx, ecx
lea edx, [esi + 0x180]
test ax, ax
mov eax, dword [esp + 0x10]
setl cl
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esi + 0x108]
push eax
push ecx
mov eax, dword [edx + 0x20]
lea ecx, [esi + 0x17c]
push eax
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPScrollBase::PerformTrackInit_struct_HWND_____class_CPoint__struct_CMHPScrollBase::SCROLLBARPOSINFO___int_
pop esi
ret 0xc
Function at 0x678671a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6798594b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [esp + 8], esi
mov dword [esi + 0x20], 0x679973a4
mov dword [esi + 0x24], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
mov dword [esp + 0x14], edi
call sym.MfcHlpr520.dll_class_CMHPResourceManager____cdecl_MHPResourceManager_void_
mov edx, dword [eax]
push 0x2393
mov ecx, eax
call dword [edx + 0x1c]
mov dword [esi + 0x38], eax
call sym.MfcHlpr520.dll_class_CMHPResourceManager____cdecl_MHPResourceManager_void_
mov edx, dword [eax]
push 0x2392
mov ecx, eax
call dword [edx + 0x1c]
mov dword [esi + 0x3c], eax
call sym.MfcHlpr520.dll_class_CMHPResourceManager____cdecl_MHPResourceManager_void_
mov edx, dword [eax]
push 0x2391
mov ecx, eax
call dword [edx + 0x1c]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x40], eax
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x14], edi
mov dword [esi + 0x34], eax
mov dword [esi], edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x67867af0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x679859d0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_4
xor esi, esi
mov dword [esp + 0x24], esi
call sym.MfcHlpr520.dll_class_CMHPResourceManager____cdecl_MHPResourceManager_void_
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push 0x23cb
push ecx
mov ecx, eax
call dword [edx + 8]
lea ecx, [esp + 0xc]
mov ebp, 1
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [esp + 0x10]
push ebp
lea eax, [esp + 0x10]
push edx
push eax
mov byte [esp + 0x30], 1
call sub.MFC42.DLL_CString::Format
mov ecx, dword [edi + 0x6c]
add esp, 0xc
mov eax, dword [ecx + 0x84]
cmp eax, esi
mov dword [esp + 0x18], eax
jle 0x67867bc8
push ebx
mov ecx, dword [edi + 0x6c]
push esi
call sym.MfcHlpr520.dll_public:_class_CMHPToolBar____thiscall_CMHPCommandBars::GetAt_int_const
test eax, eax
je 0x67867bc0
lea edx, [esp + 0x18]
mov ecx, eax
push edx
call sym.MfcHlpr520.dll_public:_class_CString___thiscall_CMHPCommandBar::GetTitle_void_
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0x18]
test eax, eax
sete bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x67867bc0
mov ecx, dword [esp + 0x14]
mov eax, ebp
push eax
lea edx, [esp + 0x14]
push ecx
push edx
inc ebp
call sub.MFC42.DLL_CString::Format
add esp, 0xc
xor esi, esi
jmp 0x67867bc1
inc esi
cmp esi, dword [esp + 0x1c]
jl 0x67867b6a
pop ebx
lea eax, [esp + 0xc]
lea ecx, [edi + 0x64]
push eax
call sub.MFC42.DLL_CString::operator_3
push 0
mov ecx, edi
call sub.MFC42.DLL_CWnd::UpdateData
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x678696d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67985a60
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov eax, 0xaa
mov ecx, 0x55
xor esi, esi
mov word [esp + 0x20], cx
mov word [esp + 0x22], ax
mov word [esp + 0x24], cx
mov word [esp + 0x26], ax
mov word [esp + 0x28], cx
mov word [esp + 0x2a], ax
mov word [esp + 0x2c], cx
mov word [esp + 0x2e], ax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], 0x67995a04
lea eax, [esp + 0x20]
mov dword [esp + 0x38], esi
push eax
push 1
push 1
push 8
push 8
call dword [sym.imp.GDI32.dll_CreateBitmap]
push eax
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CGdiObject::Attach
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], 0x67995aec
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
mov byte [esp + 0x38], 1
and eax, ecx
push eax
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
mov esi, dword [esp + 0x40]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_1
mov ebp, dword [esi]
push 0xf
mov ecx, edi
mov ebx, eax
call sym.MfcHlpr520.dll_public:_unsigned_long_int___thiscall_CMHPBarPaintManager::GetMfcHlprColor_unsigned_int_
push eax
mov ecx, esi
call dword [ebp + 0x34]
mov edx, dword [esi]
push 0x14
mov ecx, edi
mov ebp, eax
mov dword [esp + 0x44], edx
call sym.MfcHlpr520.dll_public:_unsigned_long_int___thiscall_CMHPBarPaintManager::GetMfcHlprColor_unsigned_int_
mov edx, dword [esp + 0x40]
push eax
mov ecx, esi
call dword [edx + 0x38]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x44]
push 0xf00021
mov edx, dword [eax + 4]
mov ecx, dword [eax + 0xc]
mov edi, dword [eax]
mov eax, dword [eax + 8]
sub ecx, edx
sub eax, edi
push ecx
push eax
mov eax, dword [esi + 4]
push edx
push edi
push eax
call dword [sym.imp.GDI32.dll_PatBlt]
push ebx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_1
mov edx, dword [esi]
push ebp
mov ecx, esi
call dword [edx + 0x34]
mov ecx, dword [esp + 0x40]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x38]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov esi, 0x67995a18
mov dword [esp + 0x10], esi
lea ecx, [esp + 0x10]
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov dword [esp + 0x10], 0x67995a40
mov dword [esp + 0x18], esi
lea ecx, [esp + 0x18]
mov dword [esp + 0x38], 3
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x30]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 8
Function at 0x6786fcf0
Capabilities:
Check if file exists
Create directory
Get common file path
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x67985e06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x11c
push ebx
push esi
mov dword [esp + 0xc], 0
call sym.MfcHlpr520.dll_class_CMHPSystemVersion____stdcall_MHPSystemVersion_void_
mov ecx, eax
call sym.MfcHlpr520.dll_public:_bool___thiscall_CMHPSystemVersion::IsWin2KOrGreater_void_const
test al, al
jne 0x6786fd3d
mov esi, dword [esp + 0x134]
push sym.MfcHlpr520.dll____C__00A___AA_
mov ecx, esi
call sub.MFC42.DLL_CString::CString_5
jmp 0x6786fed7
lea ecx, [esp + 8]
mov dword [esp + 0x10], 0
mov dword [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 0x18]
mov ebx, 1
push eax
mov dword [esp + 0x130], ebx
call dword [sym.imp.SHELL32.dll_SHGetMalloc]
test eax, eax
jl 0x6786fdbf
lea ecx, [esp + 0x10]
push ecx
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x6786fda6
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x6786fda6
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x14]
mov eax, dword [esp + 0x18]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x6786fde6
mov esi, dword [esp + 0x134]
push sym.MfcHlpr520.dll____C__00A___AA_
mov ecx, esi
call sub.MFC42.DLL_CString::CString_5
mov dword [esp + 0xc], ebx
jmp 0x6786fec6
call sub.MFC42.DLL_AfxGetModuleState
mov esi, dword [eax + 4]
push 0x67a72624
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_5
mov ecx, dword [esi + 0x7c]
lea edx, [esp + 0x1c]
push ecx
push eax
push edx
mov byte [esp + 0x138], 2
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x130], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x1c]
mov byte [esp + 0x12c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x12c], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 8]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x6786fe67
test al, 0x10
jne 0x6786fe80
mov esi, dword [esp + 0x134]
push sym.MfcHlpr520.dll____C__00A___AA_
mov ecx, esi
call sub.MFC42.DLL_CString::CString_5
mov dword [esp + 0xc], ebx
jmp 0x6786fec6
lea edx, [esp + 8]
push 0x67a72624
lea eax, [esp + 0x18]
push edx
push eax
call sub.MFC42.DLL_operator
mov ecx, dword [esp + 0x138]
mov esi, dword [esp + 0x134]
push ecx
push eax
push esi
mov byte [esp + 0x138], 4
call sub.MFC42.DLL_operator_2
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], ebx
mov byte [esp + 0x12c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x12c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x124]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x128
ret 8
Function at 0x67870460
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67985e9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
mov eax, dword [esp + 0xd4]
push ebx
push esi
xor ebx, ebx
push edi
push ebx
mov esi, ecx
push 0x1000
push 1
push eax
lea ecx, [esp + 0x54]
call fcn.6797db9e
lea ecx, [esp + 0x44]
mov dword [esp + 0xd8], ebx
push ecx
lea ecx, [esp + 0x8c]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPPropExchangeArchive::constructor_class_CArchive__
mov edi, dword [esp + 0xe4]
lea ecx, [esp + 0xc]
mov byte [esp + 0xd8], 1
mov dword [esp + 0xa8], edi
call fcn.6797d7b4
mov dword [esp + 0x30], 0x679973a4
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0xc], sym.MfcHlpr520.dll_const_CMHPCommandBarList::vftable
mov dword [esp + 0x2c], esi
mov edx, dword [esi]
lea eax, [esp + 0xc]
lea ecx, [esp + 0x88]
push eax
push ecx
mov ecx, esi
mov byte [esp + 0xe0], 2
call dword [edx + 0x90]
test eax, eax
je 0x6787052c
mov eax, dword [edi + 8]
mov edx, dword [esi]
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
call dword [edx + 0x98]
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CArchive::Close
lea ecx, [esp + 0xc]
mov byte [esp + 0xd8], 1
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPCommandBarList::destructor_void_
lea ecx, [esp + 0x88]
mov byte [esp + 0xd8], bl
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPPropExchange::destructor_void_
lea ecx, [esp + 0x44]
mov dword [esp + 0xd8], 0xffffffff
call sub.MFC42.DLL_CArchive::CArchive
mov ecx, dword [esp + 0xd0]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0xd0
ret 8
Function at 0x67877930
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
add ecx, 0x740
jmp sym.MfcHlpr520.dll_public:_void___thiscall_CMHPImageEditorPicture::Copy_void_

Function at 0x67877d10
Capabilities:
Log keystrokes via application hook

Disassembly:
mov eax, dword [esp + 4]
push esi
mov esi, ecx
test eax, eax
mov eax, dword [esi + 4]
je 0x67877d48
test eax, eax
jne 0x67877d5a
push edi
call sub.MFC42.DLL_AfxGetModuleState
mov edi, dword [eax + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push edi
push sym.MfcHlpr520.dll_protected:_static_long_int___stdcall_CMHPKeyboardManager::KeyboardProc_int__unsigned_int__long_int_
push 2
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [esi + 4], eax
pop edi
pop esi
ret 4
test eax, eax
je 0x67877d5a
push eax
call dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
mov dword [esi + 4], 0
pop esi
ret 4
Function at 0x6787c320
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x67986b5e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
xor eax, eax
mov dword [esi + 8], sym.MfcHlpr520.dll_const_CMHPMouseManager::CTrackArray::vftable
mov dword [esp + 0x10], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x38], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x2c], sym.MfcHlpr520.dll_const_CMHPMouseManager::CTrustedArray::vftable
push 1
mov byte [esp + 0x14], 2
mov dword [esi], sym.MfcHlpr520.dll_const_CMHPMouseManager::vftable
mov dword [esi + 0x1c], eax
mov dword [esi + 4], eax
mov dword [esi + 0x24], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x20], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
call sym.MfcHlpr520.dll_private:_void___thiscall_CMHPMouseManager::SetupHook_int_
mov ecx, dword [esp + 8]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x67883930
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x67986e52
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPHookManagerHookAble::constructor_void_
mov edi, dword [sym.imp.USER32.dll_RegisterWindowMessageA]
xor eax, eax
xor ebx, ebx
xor ecx, ecx
mov dword [esi + 0x20], eax
push str.WM_SKINFRAMEWORK_UPDATESTATE
mov dword [esp + 0x20], ebx
mov dword [esi], sym.MfcHlpr520.dll_const_CMHPOffice2007FrameHook::vftable
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], 1
mov dword [esi + 0x24], ecx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 8], ebx
call edi
push str.WM_SKINFRAMEWORK_QUERYSTATE
mov dword [esi + 0x4c], eax
call edi
mov dword [esi + 0x50], eax
mov eax, dword [sym.MfcHlpr520.dll_unsigned_int_CMHPOffice2007FrameHook::m_nMsgQueryFrameHook]
cmp eax, ebx
jne 0x678839c6
push str.WM_GETFRAMEHOOK
call edi
mov dword [sym.MfcHlpr520.dll_unsigned_int_CMHPOffice2007FrameHook::m_nMsgQueryFrameHook], eax
push 0x44
mov dword [esi + 0x48], ebx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x1c], 1
je 0x678839e9
mov ecx, eax
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPControls::constructor_void_
jmp 0x678839eb
xor eax, eax
push 0x14
push 0xf060
mov ecx, esi
mov byte [esp + 0x24], bl
mov dword [esi + 0x2c], eax
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPOffice2007FrameHook::AddCaptionButton_int__int_
push 9
push 0xf030
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPOffice2007FrameHook::AddCaptionButton_int__int_
push 9
push 0xf120
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPOffice2007FrameHook::AddCaptionButton_int__int_
push 8
push 0xf020
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPOffice2007FrameHook::AddCaptionButton_int__int_
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x67885610
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x67986f97
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0xc], esi
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPOffice2003Theme::constructor_void_
xor ebp, ebp
mov ebx, 1
mov dword [esp + 0x1c], ebp
mov dword [esi + 0x5e8], ebp
mov dword [esi + 0x5e4], 0x67997334
mov dword [esi + 0x5ec], ebx
lea ecx, [esi + 0x630]
mov byte [esp + 0x1c], bl
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPPaintManagerColorGradient::constructor_void_
lea ecx, [esi + 0x650]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPPaintManagerColorGradient::constructor_void_
lea ecx, [esi + 0x67c]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPPaintManagerColorGradient::constructor_void_
mov eax, dword [esi + 0x468]
mov dword [esi], sym.MfcHlpr520.dll_const_CMHPOffice2007Theme::vftable
mov dword [eax + 0x30], 3
mov ecx, dword [esi + 0xd8]
cmp ecx, ebp
mov dword [esi + 0x464], ebp
mov dword [esi + 0x68], ebx
mov dword [esi + 0x5e0], ebp
mov dword [esi + 0x8c], ebx
je 0x678856b3
mov eax, dword [ecx]
push ebx
call dword [eax]
push edi
push 0x44
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
cmp edi, ebp
mov byte [esp + 0x20], 2
je 0x678856dd
push esi
mov ecx, edi
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPControlGalleryPaintManager::constructor_class_CMHPBarPaintManager__
mov dword [edi], sym.MfcHlpr520.dll_const_CMHPControlGalleryOffice2007Theme::vftable
jmp 0x678856df
xor edi, edi
mov ecx, dword [esi + 0xdc]
mov byte [esp + 0x20], bl
cmp ecx, ebp
mov dword [esi + 0xd8], edi
je 0x678856f8
mov edx, dword [ecx]
push ebx
call dword [edx]
push 0x2c
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
mov dword [esp + 0x14], edi
cmp edi, ebp
mov byte [esp + 0x20], 3
je 0x67885721
push esi
mov ecx, edi
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPSliderPaintManager::constructor_class_CMHPBarPaintManager__
mov dword [edi], sym.MfcHlpr520.dll_const_CMHPSliderOffice2007Theme::vftable
jmp 0x67885723
xor edi, edi
mov ecx, dword [esi + 0xe0]
mov dword [esi + 0xdc], edi
cmp ecx, ebp
mov byte [esp + 0x20], bl
pop edi
je 0x6788573d
mov eax, dword [ecx]
push ebx
call dword [eax]
push 0x1c
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebp
mov byte [esp + 0x1c], 4
je 0x6788575e
push esi
mov ecx, eax
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPProgressOffice2007Theme::constructor_class_CMHPBarPaintManager__
jmp 0x67885760
xor eax, eax
mov byte [esp + 0x1c], bl
mov dword [esi + 0xe0], eax
call sym.MfcHlpr520.dll_class_CMHPOffice2007Images____cdecl_MHPOffice2007Images_void_
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x5f8], eax
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x67888c90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x679873c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
push edi
mov esi, ecx
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPControlGalleryPaintManager::RefreshMetrics_void_
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x15
call edi
push 3
mov dword [esi + 4], eax
call edi
push 2
mov dword [esi + 8], eax
call edi
push 0x14
mov dword [esi + 0x10], eax
call edi
mov edi, dword [esi + 0x28]
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push str.ControlGallerySelected
mov dword [esi + 0xc], eax
mov dword [esi + 0x2c], 0x15
mov dword [esi + 0x30], 0x13
call sub.MFC42.DLL_CString::CString_5
push ecx
mov dword [esp + 0x20], 0
mov ecx, esp
mov dword [esp + 0x14], esp
push str.Toolbar
call sub.MFC42.DLL_CString::CString_5
mov ecx, edi
mov dword [esp + 0x20], 0xffffffff
call sym.MfcHlpr520.dll_public:_class_CMHPOffice2007Images____thiscall_CMHPOffice2007Theme::GetImages_void_const
mov ecx, eax
call sym.MfcHlpr520.dll_public:_unsigned_long_int___thiscall_CMHPOffice2007Images::GetImageColor_class_CString__class_CString_
push ecx
mov dword [esi + 0x38], eax
mov ecx, esp
mov dword [esp + 0x10], esp
push str.ControlGalleryNormal
call sub.MFC42.DLL_CString::CString_5
push ecx
mov dword [esp + 0x20], 1
mov ecx, esp
mov dword [esp + 0x10], esp
push str.Toolbar
call sub.MFC42.DLL_CString::CString_5
mov ecx, edi
mov dword [esp + 0x20], 0xffffffff
call sym.MfcHlpr520.dll_public:_class_CMHPOffice2007Images____thiscall_CMHPOffice2007Theme::GetImages_void_const
mov ecx, eax
call sym.MfcHlpr520.dll_public:_unsigned_long_int___thiscall_CMHPOffice2007Images::GetImageColor_class_CString__class_CString_
push ecx
mov dword [esi + 0x3c], eax
mov ecx, esp
mov dword [esp + 0x10], esp
push str.ControlGalleryBorder
call sub.MFC42.DLL_CString::CString_5
push ecx
mov dword [esp + 0x20], 2
mov ecx, esp
mov dword [esp + 0x10], esp
push str.Toolbar
call sub.MFC42.DLL_CString::CString_5
mov ecx, edi
mov dword [esp + 0x20], 0xffffffff
call sym.MfcHlpr520.dll_public:_class_CMHPOffice2007Images____thiscall_CMHPOffice2007Theme::GetImages_void_const
mov ecx, eax
call sym.MfcHlpr520.dll_public:_unsigned_long_int___thiscall_CMHPOffice2007Images::GetImageColor_class_CString__class_CString_
mov ecx, dword [esp + 0x10]
mov dword [esi + 0x40], eax
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x14
ret
Function at 0x67893ed0
Capabilities:
Log keystrokes via polling

Disassembly:
push ecx
push esi
mov esi, dword [ecx + 0x60]
test esi, esi
push edi
mov dword [esp + 8], ecx
je 0x67893f7f
mov eax, dword [esp + 0x10]
mov edi, dword [esi + 0x34]
shr eax, 8
cmp al, 2
jne 0x67893f7f
test edi, edi
je 0x67893f7f
push ebx
mov ebx, dword [esp + 0x1c]
push ebp
mov ebp, dword [esp + 0x1c]
push ebx
lea ecx, [esi + 4]
push ebp
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x67893f2b
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
call dword [edx + 0x24]
mov ecx, dword [eax + 0x14]
test ecx, ecx
jne 0x67893f2b
mov eax, dword [edi + 0x2c]
jmp 0x67893f50
mov eax, dword [esi + 0x34]
mov ecx, dword [eax + 0x58]
test ecx, ecx
mov ecx, ebx
jne 0x67893f39
mov ecx, ebp
mov eax, dword [esi + 0x1c]
add eax, ecx
mov ecx, dword [edi + 0x40]
cmp eax, ecx
jl 0x67893f4e
mov edx, dword [edi + 0x3c]
add ecx, edx
cmp eax, ecx
jl 0x67893f50
mov eax, ecx
mov esi, dword [esp + 0x10]
push eax
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPScrollBase::MoveThumb_int_
mov eax, dword [esp + 0x18]
pop ebp
cmp eax, 0x202
pop ebx
je 0x67893f76
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x67893f7f
push 0
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPScrollBase::EndScroll_int_
pop edi
pop esi
pop ecx
ret 0xc