joyce8/EMBER2024-capa huggingface dataset:
Function at 0x678e58f0
Capabilities:
Open clipboard

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6798b968
push eax
mov dword fs:[0], esp
sub esp, 0x18
or eax, 0xffffffff
push ebx
push ebp
mov ebp, ecx
push esi
mov ecx, dword [esp + 0x38]
push edi
cmp ecx, eax
jne 0x678e5954
cmp dword [esp + 0x40], eax
jne 0x678e5954
mov ecx, dword [ebp + 0x20]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x18]
mov ecx, ebp
push edx
call sub.MFC42.DLL_CWnd::ClientToScreen
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
add eax, 5
add ecx, 5
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov edi, 0x67995d30
xor ebx, ebx
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x30], ebx
call sym.MfcHlpr520.dll_class_CMHPResourceManager____cdecl_MHPResourceManager_void_
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push 0x2464
push ecx
mov ecx, eax
call dword [edx + 0xc]
mov edx, dword [esp + 0x14]
push 1
push edx
call dword [sym.imp.USER32.dll_GetSubMenu]
push eax
call sub.MFC42.DLL_CMenu::FromHandle
mov esi, eax
cmp esi, ebx
jne 0x678e59a7
mov dword [esp + 0x10], edi
mov dword [esp + 0x30], 1
jmp 0x678e5a74
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_EnableMenuItem]
push 3
push 0xe12b
push eax
call edi
mov al, byte [ebp + 0x70]
cmp al, bl
jne 0x678e59db
mov ecx, dword [esi + 4]
push 3
push 0xe120
push ecx
call edi
mov edx, dword [esi + 4]
push 3
push 0xe123
push edx
call edi
cmp dword [ebp + 0x4c], 0xffffffff
jne 0x678e5a08
mov eax, dword [esi + 4]
push 3
push 0xe120
push eax
call edi
mov ecx, dword [esi + 4]
push 3
push 0xe123
push ecx
call edi
mov edx, dword [esi + 4]
push 3
push 0xe122
push edx
call edi
mov eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, ebx
je 0x678e5a4a
mov ebx, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
push 1
call ebx
test eax, eax
jne 0x678e5a44
mov ecx, dword [0x67a7be18]
and ecx, 0xffff
push ecx
call ebx
test eax, eax
jne 0x678e5a44
mov edx, dword [esi + 4]
push 3
push 0xe125
push edx
call edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push 1
push 0x245d
push ebp
push eax
push ecx
push 2
push esi
call sym.MfcHlpr520.dll_int___stdcall_MHPFuncContextMenu_class_CMenu___unsigned_int__int__int__class_CWnd___int__int_
mov dword [esp + 0x10], 0x67995d30
mov dword [esp + 0x30], 2
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CMenu::DestroyMenu
mov ecx, dword [esp + 0x28]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 0xc
Function at 0x678e5b00
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
sub esp, 0xc
push ebx
mov ebx, ecx
push ebp
push esi
mov eax, dword [ebx + 0x20]
push edi
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x678e5cb7
mov ecx, ebx
call sym.MfcHlpr520.dll_private:_void___thiscall_CMHPHexEdit::NormalizeSel_void_
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ebp, dword [ebx + 0x50]
mov edi, dword [ebx + 0x4c]
sub ebp, edi
push ebp
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [esp + 0x18], eax
je 0x678e5cb1
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x678e5cb7
mov esi, dword [ebx + 0x9c]
mov edx, dword [ebx + 0x4c]
mov ecx, ebp
add esi, edx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x18]
mov ecx, edx
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [ebx + 0xa0], 1
je 0x678e5c03
lea ecx, [ebp + ebp*2 + 1]
push ecx
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x678e5cb1
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x678e5cb7
xor esi, esi
test ebp, ebp
jle 0x678e5bf7
mov edx, dword [ebx + 0x9c]
mov ecx, dword [ebx + 0x4c]
add edx, ecx
xor ecx, ecx
mov cl, byte [edx + esi]
shr ecx, 4
inc eax
mov dl, byte [ecx + 0x679a96a8]
mov byte [eax - 1], dl
mov ecx, dword [ebx + 0x9c]
add ecx, dword [ebx + 0x4c]
mov dl, byte [ecx + esi]
and edx, 0xf
inc eax
inc eax
inc esi
mov cl, byte [edx + 0x679a96a8]
cmp esi, ebp
mov byte [eax - 2], cl
mov byte [eax - 1], 0x20
jl 0x678e5bb7
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
jmp 0x678e5c92
lea edx, [ebp + 1]
push edx
push 0x2042
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [esp + 0x14], eax
je 0x678e5cb1
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
mov dword [esp + 0x10], eax
je 0x678e5cb7
mov esi, dword [ebx + 0x9c]
mov edx, dword [ebx + 0x4c]
mov ecx, ebp
add esi, edx
mov edx, ecx
mov edi, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
test ebp, ebp
mov byte [eax + ebp], 0
jle 0x678e5c83
mov esi, dword [sym.imp.MSVCRT.dll_isprint]
jmp 0x678e5c62
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov cl, byte [eax]
push ecx
call esi
add esp, 4
test eax, eax
jne 0x678e5c77
mov edx, dword [esp + 0x10]
mov byte [edx], 0x2e
mov ecx, dword [esp + 0x10]
inc ecx
dec ebp
mov dword [esp + 0x10], ecx
jne 0x678e5c5e
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov edi, dword [esp + 0x14]
mov esi, dword [sym.imp.USER32.dll_SetClipboardData]
push edi
push 1
call esi
mov edx, dword [0x67a7be18]
mov ecx, dword [esp + 0x18]
and edx, 0xffff
push ecx
push edx
call esi
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
Function at 0x678e5d00
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 8
push ebx
mov ebx, ecx
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPHexEdit::IsReadOnly_void_const
test eax, eax
jne 0x678e5ea0
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x678e5ea0
mov ecx, dword [0x67a7be18]
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
and ecx, 0xffff
push edi
push ecx
call esi
test eax, eax
je 0x678e5d7e
mov edx, dword [0x67a7be18]
and edx, 0xffff
push edx
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x10], ebp
je 0x678e5d69
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
jmp 0x678e5d6b
xor esi, esi
test ebp, ebp
je 0x678e5d7a
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalSize]
mov edi, eax
jmp 0x678e5dc1
xor edi, edi
jmp 0x678e5dc1
push 1
call esi
test eax, eax
je 0x678e5e97
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
test eax, eax
mov dword [esp + 0x10], eax
je 0x678e5e97
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x678e5e88
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov ebp, dword [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov edi, ecx
test esi, esi
je 0x678e5e8c
test edi, edi
jbe 0x678e5e8c
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x48]
cmp ecx, eax
jle 0x678e5dde
mov dword [ebx + 0x48], eax
mov eax, dword [ebx + 0x48]
mov ecx, ebx
mov dword [esp + 0x14], eax
call sym.MfcHlpr520.dll_private:_void___thiscall_CMHPHexEdit::NormalizeSel_void_
mov ebp, dword [ebx + 0x4c]
cmp ebp, 0xffffffff
jne 0x678e5e1b
cmp dword [ebx + 0xa0], 3
jne 0x678e5e00
inc dword [ebx + 0x48]
mov eax, dword [ebx + 0x40]
mov ecx, dword [ebx + 0x48]
cmp ecx, eax
jle 0x678e5e0d
mov dword [ebx + 0x48], eax
mov ebp, dword [ebx + 0x48]
push edi
push ebp
mov ecx, ebx
call sym.MfcHlpr520.dll_private:_void___thiscall_CMHPHexEdit::SelInsert_int__int_
jmp 0x678e5e3b
mov ecx, dword [ebx + 0x50]
push ecx
push ebp
mov ecx, ebx
call sym.MfcHlpr520.dll_private:_void___thiscall_CMHPHexEdit::SelDelete_int__int_
push edi
push ebp
mov ecx, ebx
call sym.MfcHlpr520.dll_private:_void___thiscall_CMHPHexEdit::SelInsert_int__int_
push 0xffffffffffffffff
push 0xffffffffffffffff
mov ecx, ebx
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPHexEdit::SetSel_int__int_
mov eax, dword [ebx + 0x8c]
lea edx, [edi + ebp]
cmp edx, eax
jbe 0x678e5e4c
sub eax, ebp
mov edi, eax
mov ecx, edi
mov edi, dword [ebx + 0x9c]
mov eax, ecx
add edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0xc4]
mov ecx, dword [ebx + 0x20]
mov eax, dword [esp + 0x14]
push 0x105
push 0
push 0
push ecx
mov dword [ebx + 0x48], eax
call dword [sym.imp.USER32.dll_RedrawWindow]
mov ebp, dword [esp + 0x10]
test ebp, ebp
je 0x678e5e97
push ebp
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
Function at 0x678e92e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x6798bee7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
or edi, 0xffffffff
lea ecx, [esi + 0x18]
mov dword [esp + 0xc], esi
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
mov dword [esi + 0xc], edi
mov byte [esi + 0x10], bl
mov byte [esi + 0x11], bl
mov byte [esi + 0x12], bl
mov byte [esi + 0x13], bl
mov byte [esi + 0x14], bl
mov byte [esi + 0x15], 1
mov byte [esi + 0x16], bl
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x1c]
mov dword [esp + 0x18], ebx
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esi + 0x20]
mov byte [esp + 0x18], 1
call sub.MFC42.DLL_CString::CString_4
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], 0x679aa1f0
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], 0xa
lea ecx, [esi + 0x50]
mov byte [esp + 0x18], 3
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPFlatHeaderCtrl::constructor_void_
mov ecx, esi
mov byte [esp + 0x18], 4
mov dword [esi], sym.MfcHlpr520.dll_const_CMHPListBase::vftable
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPListBase::RefreshMetrics_void_
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x678ea2a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6798bfc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
push SysReAllocString
lea ecx, [esp + 0x10]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPRegistryManager::constructor_struct_HKEY____
mov eax, dword [esi + 0x20]
mov ecx, dword [esi + 0x1c]
mov esi, dword [esi + 0x18]
push eax
push ecx
lea eax, [esp + 0x10]
push esi
push eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0
call sym.MfcHlpr520.dll_public:_class_CString___thiscall_CMHPRegistryManager::GetProfileStringA_char_const___char_const___char_const__
lea ecx, [esp + 4]
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 8]
push 0x2c
push ecx
lea eax, [esp + 0xc]
push edx
push eax
mov byte [esp + 0x38], 2
call sub.MFC42.DLL_AfxExtractSubString
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
lea ecx, [esp + 4]
mov esi, eax
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x28], 0xffffffff
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPRegistryManager::destructor_void_
mov ecx, dword [esp + 0x20]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret 4
Function at 0x678ec8e0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6798c450
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x48]
test eax, eax
je 0x678ec91d
mov eax, dword [esi + 0x20]
test eax, eax
je 0x678ec91d
call sub.MFC42.DLL_CWnd::GetStyle
test ah, 8
jne 0x678ec91d
mov eax, dword [esi + 0x5c]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x678ec940
mov edx, dword [esi]
push 0
push 0
push 0x301
mov ecx, esi
call dword [edx + 0xa8]
pop esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov eax, dword [esi + 0x20]
push ebx
push ebp
push edi
test eax, eax
je 0x678ec9fa
lea ebx, [esi + 0x44]
lea ebp, [esi + 0x40]
push ebx
push ebp
push 0xb0
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea edi, [esi + 0x6c]
mov ecx, esi
push edi
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov eax, dword [esi + 0x70]
mov edx, dword [edi]
lea ecx, [esi + 0x70]
mov eax, dword [eax - 8]
mov edx, dword [edx - 8]
cmp edx, eax
jle 0x678ec9aa
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, edi
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::operator_3
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x14]
jmp 0x678ec9d6
jge 0x678ec9db
sub eax, edx
push eax
push edx
lea edx, [esp + 0x20]
push edx
call sub.MFC42.DLL_CString::Mid_1
push eax
mov ecx, edi
mov dword [esp + 0x28], 1
call sub.MFC42.DLL_CString::operator_1
mov dword [esp + 0x24], 0xffffffff
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
push 1
push ebp
mov ecx, esi
call fcn.678ee9e0
push 1
push ebx
mov ecx, esi
call fcn.678ee9e0
mov ebp, dword [ebp]
mov eax, dword [ebx]
cmp eax, ebp
jge 0x678ec9fa
mov dword [ebx], ebp
mov eax, dword [esi + 0x44]
mov ecx, dword [esi + 0x40]
push eax
lea edx, [esp + 0x14]
push ecx
push edx
mov ecx, esi
call fcn.678ee7d0
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x678eca79
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
inc eax
push eax
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
test ebx, ebx
je 0x678eca73
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, dword [esp + 0x10]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1c]
pop edi
pop ebp
pop ebx
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x678f1c70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6798c858
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push esi
mov esi, ecx
push eax
mov dword [esp + 0xc], esi
call fcn.6797dba4
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], ebx
call sub.MFC42.DLL_CFile::CFile
mov ecx, dword [esp + 0xc]
mov dword [esi], sym.MfcHlpr520.dll_const_CMHPMemFile::vftable
mov dword [esi + 0x34], ebx
mov byte [esi + 0x2c], bl
mov dword [esi + 0x28], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4

Function at 0x678f1d4f
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6798c878
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push ebx
push esi
mov esi, ecx
push eax
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xc], esi
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CMemFile::CMemFile_1
xor ebx, ebx
lea ecx, [esi + 0x30]
mov dword [esp + 0x14], ebx
call sub.MFC42.DLL_CFile::CFile
mov ecx, dword [esp + 0xc]
mov dword [esi], sym.MfcHlpr520.dll_const_CMHPMemFile::vftable
mov dword [esi + 0x34], ebx
mov byte [esi + 0x2c], bl
mov dword [esi + 0x28], ebx
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 0xc

Function at 0x678f27d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6798c978
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
mov eax, dword [esp + 0x20]
push esi
mov esi, ecx
push 0
push eax
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CFile::CFile_1
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi]
push eax
mov eax, dword [esp + 0x2c]
push ecx
lea ecx, [esp + 0xc]
push eax
push ecx
mov ecx, esi
mov dword [esp + 0x2c], 0
call dword [edx + 0x88]
lea ecx, [esp + 4]
mov esi, eax
call sub.MFC42.DLL_CFile::Close
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 0xffffffff
call fcn.6797dd48
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x10
Function at 0x678f8b60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [esp + 0x10]
sub esp, 0x20
test eax, eax
push ebx
push ebp
push esi
push edi
mov esi, ecx
je 0x678f8b8e
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0xc]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
jmp 0x678f8b9d
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call dword [eax + 0x168]
mov eax, dword [esp + 0x34]
mov edx, dword [esi]
mov edi, dword [esp + 0x24]
push eax
mov ecx, esi
xor ebp, ebp
call dword [edx + 0x13c]
test eax, eax
je 0x678f8bbf
mov ecx, dword [esi + 0x78]
mov dword [esp + 0x40], ecx
jmp 0x678f8bc6
mov edx, dword [esi + 0x74]
mov dword [esp + 0x40], edx
mov eax, dword [esp + 0x38]
xor ebx, ebx
test eax, eax
jle 0x678f8c11
mov ecx, dword [esp + 0x34]
mov eax, dword [esi]
push 3
push ebx
lea edx, [esp + 0x20]
push ecx
push edx
mov ecx, esi
call dword [eax + 0x19c]
mov ecx, dword [eax]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
mov eax, dword [eax + 4]
add eax, edx
add edi, eax
mov eax, dword [esi + 0x70]
dec eax
cmp ebx, eax
jne 0x678f8c08
mov eax, dword [esp + 0x24]
mov ebp, edi
sub ebp, eax
mov eax, dword [esp + 0x38]
inc ebx
cmp ebx, eax
jl 0x678f8bd0
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
mov edx, dword [esi]
add edi, eax
mov eax, dword [esp + 0x38]
push 1
push eax
lea eax, [esp + 0x20]
push ecx
push eax
mov ecx, esi
call dword [edx + 0x19c]
mov ebx, dword [eax]
mov edx, dword [esi]
mov ecx, dword [eax + 4]
mov eax, dword [esp + 0x34]
mov dword [esp + 0x14], ecx
push eax
mov ecx, esi
call dword [edx + 0x13c]
test eax, eax
je 0x678f8cbd
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
add ecx, edi
add ebx, eax
push ecx
push ebx
push edi
mov edi, dword [esp + 0x48]
push eax
push edi
call dword [sym.imp.USER32.dll_SetRect]
mov edx, dword [esi + 0xf0]
mov ebx, dword [edi]
mov ecx, dword [edi + 8]
add edx, 2
add ebx, edx
mov dword [edi], ebx
mov eax, dword [esi + 0xf0]
mov ebx, dword [edi + 4]
add eax, 2
add ecx, eax
mov dword [edi + 8], ecx
mov ecx, dword [esi + 0xf4]
sub ebx, ecx
mov dword [edi + 4], ebx
mov edx, dword [esi + 0xf4]
mov esi, dword [edi + 0xc]
mov ecx, ebx
sub esi, edx
sub ecx, ebp
mov eax, esi
mov dword [edi + 0xc], esi
sub eax, ebp
mov dword [edi + 4], ecx
mov dword [edi + 0xc], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x10
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
sub eax, ebx
mov esi, dword [esp + 0x3c]
sub eax, ecx
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
add edx, edi
push edx
lea edx, [eax + ebx]
add edx, ecx
add eax, ecx
push edx
push edi
push eax
push esi
call dword [sym.imp.USER32.dll_SetRect]
mov edi, dword [esi + 4]
mov eax, 0xfffffffd
sub eax, ebp
mov ecx, 0xfffffffe
add edi, eax
mov eax, dword [esi + 0xc]
sub ecx, ebp
mov dword [esi + 4], edi
add eax, ecx
pop edi
mov dword [esi + 0xc], eax
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 0x10
Function at 0x678fe850
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x6798d293
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
push ebx
push esi
mov esi, ecx
push edi
push esi
lea ecx, [esp + 0x50]
call fcn.6797db2c
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x68]
mov edi, dword [esp + 0x50]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x4c]
xor ebx, ebx
neg eax
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0xc]
sbb eax, eax
push ecx
and eax, edi
lea ecx, [esp + 0x20]
push eax
mov dword [esp + 0xb0], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPBufferDC::constructor_struct_HDC_____class_CRect_const__
mov edi, dword [esp + 0xc]
sub esp, 0x10
mov eax, esp
mov ecx, dword [esi + 0x40]
push esi
mov byte [esp + 0xbc], 1
mov dword [eax], edi
mov edi, dword [esp + 0x24]
mov edx, dword [ecx]
mov dword [eax + 4], edi
mov edi, dword [esp + 0x28]
mov dword [eax + 8], edi
mov edi, dword [esp + 0x2c]
mov dword [eax + 0xc], edi
lea eax, [esp + 0x30]
push eax
call dword [edx + 4]
mov ecx, esi
xor edi, edi
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPPopupControl::GetItemCount_void_const
test eax, eax
jle 0x678fe919
push edi
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_class_CMHPToolBar____thiscall_CMHPDockBar::GetDockedCommandBar_int_const
mov edx, dword [eax]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, eax
call dword [edx + 0x58]
mov ecx, esi
inc edi
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPPopupControl::GetItemCount_void_const
cmp edi, eax
jl 0x678fe8f9
lea ecx, [esp + 0x1c]
mov byte [esp + 0xa8], bl
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPBufferDC::destructor_void_
lea ecx, [esp + 0x4c]
mov dword [esp + 0xa8], 0xffffffff
call sub.MFC42.DLL_CPaintDC::CPaintDC
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xa0
ret
Function at 0x678ff678
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6798d3b8
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
mov esi, ecx
mov eax, dword [esi + 0x70]
test eax, eax
je 0x678ff6e9
push 0
lea ecx, [esp + 0x10]
call fcn.6797d9ac
mov eax, dword [esi + 0x30]
mov edx, dword [esi + 0x28]
sub eax, edx
lea ecx, [esp + 0xc]
push eax
lea edx, [esp + 8]
push ecx
mov ecx, dword [esi + 0x70]
push edx
mov dword [esp + 0x34], 0
call sym.MfcHlpr520.dll_public:_class_CSize___thiscall_CMHPRichRender::GetTextExtent_class_CDC___int_
mov eax, dword [esp + 4]
mov ecx, dword [esi + 0x28]
add eax, ecx
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 8]
add ecx, eax
mov dword [esp + 0x28], 0xffffffff
mov dword [esi + 0x34], ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CWindowDC::CWindowDC
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov eax, dword [esi + 0x74]
test eax, eax
je 0x678ff713
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x5c]
mov eax, dword [esi + 0x28]
mov ecx, dword [esi + 0x2c]
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ecx
pop esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
mov ecx, esi
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPPopupItem::CalculateWidth_void_
mov ecx, esi
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPPopupItem::CalculateHeight_void_
mov ecx, dword [esp + 0x20]
pop esi
mov dword fs:[0], ecx
add esp, 0x28
ret