joyce8/EMBER2024-capa huggingface dataset:
Function at 0x678b7da0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x104
mov eax, dword [esp + 0x10c]
mov byte [esp], 0
dec eax
je 0x678b7e15
dec eax
jne 0x678b7ea2
mov eax, dword [esp + 0x114]
test eax, eax
je 0x678b7ea2
test byte [eax + 0x14], 4
je 0x678b7ea2
mov ecx, dword [esp + 0x110]
lea eax, [esp]
push eax
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je 0x678b7ea2
mov eax, dword [esp + 0x108]
lea edx, [esp]
push edx
push 1
push 0x464
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
add esp, 0x104
ret 0x10
mov eax, dword [esp + 0x114]
push edi
test eax, eax
je 0x678b7e57
lea edx, [eax + 0x24]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x678b7e57
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebx
push esi
lea ebx, [esp + 0xc]
mov edx, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop esi
pop ebx
lea edi, [esp + 4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
jne 0x678b7e77
lea eax, [esp + 4]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edi, [esp + 4]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
je 0x678b7ea2
mov edx, dword [esp + 0x108]
lea ecx, [esp]
push ecx
push 1
push 0x466
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
xor eax, eax
add esp, 0x104
ret 0x10
Function at 0x678b8f20
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x67989366
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x130
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov byte [esi + 0x48], 1
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 4]
mov ecx, esi
push eax
mov dword [esp + 0x140], 0
call sub.MFC42.DLL_CWnd::GetWindowTextA
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x678b8f76
test al, 0x10
jne 0x678b8f8d
mov edx, dword [esi + 0x6c]
lea eax, [esi + 0x6c]
mov ecx, dword [edx - 8]
test ecx, ecx
je 0x678b8f8d
push eax
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_3
push 0
lea ecx, [esp + 0xc]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPBrowseDialog::constructor_class_CWnd__
mov eax, dword [esi + 0x20]
mov byte [esp + 0x13c], 1
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
test eax, eax
je 0x678b8fb7
mov eax, dword [eax + 0x20]
mov ecx, dword [esp + 4]
mov dword [esp + 0xc], eax
mov eax, dword [esi + 0x70]
push ecx
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], eax
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPBrowseDialog::SetSelPath_char_const__
lea ecx, [esp + 8]
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPBrowseDialog::DoModal_void_
cmp eax, 1
jne 0x678b8fea
lea edx, [esp + 0x2c]
mov ecx, esi
push edx
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 8]
mov byte [esi + 0x48], 0
mov byte [esp + 0x13c], 0
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPBrowseDialog::destructor_void_
lea ecx, [esp + 4]
mov dword [esp + 0x13c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x134]
pop esi
mov dword fs:[0], ecx
add esp, 0x13c
ret
Function at 0x678ba0b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x679894a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebp
mov ebp, ecx
push esi
push edi
lea ecx, [esp + 0x30]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPImageManagerIconHandle::constructor_void_
lea ecx, [esp + 0xc]
mov dword [esp + 0x5c], 0
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPImageManagerIconHandle::constructor_void_
mov esi, dword [esp + 0x68]
mov edi, dword [esp + 0x64]
mov eax, dword [esp + 0x6c]
push 1
push esi
push edi
push eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x6c], 1
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPImageManagerIconHandle::CreateIconFromResource_char_const___class_CSize__int_
lea ecx, [esp + 0x30]
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPImageManagerIconHandle::IsEmpty_void_const
test eax, eax
jne 0x678ba136
mov eax, dword [esp + 0x70]
test eax, eax
je 0x678ba16b
push 1
push esi
push edi
push eax
lea ecx, [esp + 0x1c]
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPImageManagerIconHandle::CreateIconFromResource_char_const___class_CSize__int_
lea ecx, [esp + 0xc]
call sym.MfcHlpr520.dll_public:_int___thiscall_CMHPImageManagerIconHandle::IsEmpty_void_const
test eax, eax
je 0x678ba16b
lea ecx, [esp + 0xc]
mov byte [esp + 0x5c], 0
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPImageManagerIconHandle::destructor_void_
lea ecx, [esp + 0x30]
mov dword [esp + 0x5c], 0xffffffff
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPImageManagerIconHandle::destructor_void_
xor eax, eax
mov ecx, dword [esp + 0x54]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
add esp, 0x54
ret 0x14
mov ecx, dword [esp + 0x74]
lea edx, [esp + 0xc]
push ecx
sub esp, 0x24
mov ecx, esp
mov dword [esp + 0x94], esp
push edx
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPImageManagerIconHandle::constructor_class_CMHPImageManagerIconHandle_const__
sub esp, 0x24
lea eax, [esp + 0x7c]
mov ecx, esp
mov dword [esp + 0xbc], esp
push eax
mov byte [esp + 0xac], 2
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPImageManagerIconHandle::constructor_class_CMHPImageManagerIconHandle_const__
push esi
push edi
mov ecx, ebp
mov byte [esp + 0xb0], 1
call sym.MfcHlpr520.dll_public_virtual:_int___thiscall_CMHPButton::SetIcon_class_CSize__class_CMHPImageManagerIconHandle__class_CMHPImageManagerIconHandle__int_
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x5c], 0
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPImageManagerIconHandle::destructor_void_
lea ecx, [esp + 0x30]
mov dword [esp + 0x5c], 0xffffffff
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPImageManagerIconHandle::destructor_void_
mov ecx, dword [esp + 0x54]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x54
ret 0x14
Function at 0x678c4420
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x67989d10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], 0
mov dword [esi], sym.MfcHlpr520.dll_const_CMHPCheckListBox::CCheckListState::vftable
mov dword [esp + 8], 0x67995a04
mov dword [esp + 0x30], 0
call sym.MfcHlpr520.dll_class_CMHPResourceManager____cdecl_MHPResourceManager_void_
mov edi, dword [esp + 0x38]
xor ecx, ecx
test edi, edi
mov edx, dword [eax]
setne cl
add ecx, 0x2459
push ecx
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x14]
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [esp + 8]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x18]
mov dword [esi + 0xc], edx
call sub.MFC42.DLL_CGdiObject::Detach
mov dword [esi + 4], eax
mov dword [esp + 8], 0x67995a18
lea ecx, [esp + 8]
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4

Function at 0x678c4438
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x67989d10
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], 0
mov dword [esi], sym.MfcHlpr520.dll_const_CMHPCheckListBox::CCheckListState::vftable
mov dword [esp + 8], 0x67995a04
mov dword [esp + 0x30], 0
call sym.MfcHlpr520.dll_class_CMHPResourceManager____cdecl_MHPResourceManager_void_
mov edi, dword [esp + 0x38]
xor ecx, ecx
test edi, edi
mov edx, dword [eax]
setne cl
add ecx, 0x2459
push ecx
lea ecx, [esp + 0xc]
push ecx
mov ecx, eax
call dword [edx + 0x14]
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x14]
mov eax, 0x55555556
imul ecx
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
lea ecx, [esp + 8]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x18]
mov dword [esi + 0xc], edx
call sub.MFC42.DLL_CGdiObject::Detach
mov dword [esi + 4], eax
mov dword [esp + 8], 0x67995a18
lea ecx, [esp + 8]
mov dword [esp + 0x30], 1
call sub.MFC42.DLL_CGdiObject::DeleteObject
mov ecx, dword [esp + 0x28]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x2c
ret 4
Function at 0x678cd760
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x6798a390
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
push esi
mov esi, dword [esp + 0x58]
push edi
mov eax, dword [esi + 8]
mov edx, dword [esi]
add eax, edx
mov edi, dword [esi + 4]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esi + 0xc]
add eax, edi
cdq
sar ecx, 1
sub eax, edx
mov dword [esp + 0x40], ecx
sar eax, 1
lea edx, [ecx - 4]
lea esi, [ecx + 4]
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x58]
lea edx, [eax - 2]
add eax, 2
mov dword [esp + 0x34], edx
test esi, esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x44], eax
jne 0x678cd7c9
xor eax, eax
jmp 0x678cd7cc
mov eax, dword [esi + 4]
mov edi, dword [esp + 0x60]
lea ecx, [esp + 0x1c]
push edi
push eax
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPBrushDC::constructor_struct_HDC_____unsigned_long_int_
test esi, esi
mov dword [esp + 0x50], 0
jne 0x678cd7eb
xor eax, eax
jmp 0x678cd7ee
mov eax, dword [esi + 4]
push edi
push eax
lea ecx, [esp + 0x10]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPPenDC::constructor_struct_HDC_____unsigned_long_int_
push 2
mov ecx, esi
mov byte [esp + 0x54], 1
call sub.MFC42.DLL_CDC::SetPolyFillMode
mov ecx, dword [esi + 4]
lea eax, [esp + 0x30]
push 3
push eax
push ecx
call dword [sym.imp.GDI32.dll_Polygon]
lea ecx, [esp + 8]
mov byte [esp + 0x50], 0
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPPenDC::destructor_void_
lea ecx, [esp + 0x1c]
mov dword [esp + 0x50], 0xffffffff
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPBrushDC::destructor_void_
mov ecx, dword [esp + 0x48]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x4c
ret 0xc

Function at 0x678ce7b0
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6798a448
push eax
mov dword fs:[0], esp
sub esp, 0x24
push esi
mov esi, ecx
call sym.MfcHlpr520.dll_public:_class_CMHPButtonTheme____thiscall_CMHPButton::GetTheme_void_const
mov eax, dword [eax + 8]
xor ecx, ecx
test eax, eax
setne cl
mov eax, ecx
test eax, eax
je 0x678ce859
push edi
push esi
lea ecx, [esp + 0x1c]
call fcn.6797d9ac
push 0x2b
mov dword [esp + 0x38], 0
call sym.MfcHlpr520.dll_private:_static_class_CMHPColorManager____cdecl_CMHPColorManager::Instance_void_
mov ecx, eax
call sym.MfcHlpr520.dll_public:_unsigned_long_int___thiscall_CMHPColorManager::GetColor_int_const
mov edi, eax
mov eax, dword [esi + 0x20]
lea edx, [esp + 8]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 8]
sub ecx, edx
push edi
sub eax, esi
push edi
push ecx
push eax
push 0
push 0
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CDC::Draw3dRect_1
lea ecx, [esp + 0x18]
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42.DLL_CWindowDC::CWindowDC
pop edi
pop esi
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
mov ecx, esi
call sub.MFC42.DLL_CWnd::Default
mov ecx, dword [esp + 0x28]
pop esi
mov dword fs:[0], ecx
add esp, 0x30
ret
Function at 0x678d19d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push ebp
push esi
mov ebx, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0x20]
push 0
push 0
push 0x407
push eax
call edi
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov ebp, dword [esp + 0x14]
mov esi, eax
test esi, esi
je case.0x678d1a46.69
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je case.0x678d1a46.69
cmp dword [ebp + 4], 0x100
jne case.0x678d1a46.69
push 0x11
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jge 0x678d1ac8
mov eax, dword [ebp + 8]
add eax, 0xffffffbf
cmp eax, 0x37
ja case.0x678d1a46.69
xor edx, edx
mov dl, byte [eax + 0x678d1b14]
jmp dword [edx*4 + 0x678d1b00]
mov eax, dword [esi + 0x20]
push 0xffffffffffffffff
push 0
push 0xb1
push eax
call edi
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0xb7
push ecx
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x301
push edx
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
mov eax, dword [esi + 0x20]
push 0
push 0
push 0x300
push eax
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0x302
push ecx
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
push 0xc
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
je case.0x678d1a46.69
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x303
push edx
call edi
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
push ebp
mov ecx, ebx
call sub.MFC42.DLL_CWnd::PreTranslateMessage
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x678d1c90
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6798a6a8
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
mov esi, dword [esp + 0x44]
push edi
mov edi, ecx
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov ebx, eax
test ebx, ebx
je 0x678d1cca
mov eax, dword [ebx + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x678d1df5
add edi, 0xc
test edi, edi
je 0x678d1cee
mov eax, dword [edi + 4]
test eax, eax
je 0x678d1cee
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::DeleteObject
push esi
lea ecx, [esp + 0x1c]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPWindowRect::constructor_class_CWnd_const__
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call sub.MFC42.DLL_CWnd::ScreenToClient
mov edx, dword [ebx + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call sub.MFC42.DLL_CDC::FromHandle
lea ecx, [esp + 0x28]
mov esi, eax
call fcn.6797d946
test esi, esi
mov dword [esp + 0x40], 0
jne 0x678d1d2f
xor eax, eax
jmp 0x678d1d32
mov eax, dword [esi + 4]
push ebp
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov ebp, dword [esp + 0x1c]
sub eax, ecx
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esi + 4]
sub ecx, ebp
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
lea ecx, [esp + 0x2c]
push edi
push ecx
lea ecx, [esp + 0x18]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPBitmapDC::constructor_class_CDC___class_CBitmap__
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
sub eax, edx
sub ecx, edi
test esi, esi
jne 0x678d1d97
xor ebp, ebp
jmp 0x678d1d9a
mov ebp, dword [esi + 4]
push 0xcc0020
push edx
mov edx, dword [esp + 0x38]
push edi
push ebp
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 4]
mov ecx, dword [ebx + 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x10]
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPBitmapDC::destructor_void_
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 4
mov ecx, dword [esp + 0x38]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret 4
Function at 0x678d1e10
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x6798a6c8
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, dword [esp + 0x44]
push edi
mov edi, ecx
test esi, esi
jne 0x678d1e38
xor eax, eax
jmp 0x678d1e3b
mov eax, dword [esi + 0x20]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
test al, 0x20
je 0x678d1f17
mov eax, dword [edi]
push esi
mov ecx, edi
call dword [eax + 8]
test eax, eax
je 0x678d1f17
push esi
lea ecx, [esp + 0x28]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPClientRect::constructor_class_CWnd_const__
lea ecx, [esp + 0x14]
call fcn.6797d946
mov esi, dword [esp + 0x44]
mov dword [esp + 0x3c], 0
test esi, esi
jne 0x678d1e83
xor eax, eax
jmp 0x678d1e86
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CDC::Attach
add edi, 0xc
lea ecx, [esp + 0x14]
push edi
push ecx
lea ecx, [esp + 0x10]
call sym.MfcHlpr520.dll_public:_void___thiscall_CMHPBitmapDC::constructor_class_CDC___class_CBitmap__
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
sub ecx, edx
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x18]
sub edx, eax
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edi
push 0
push 0
push eax
push ecx
push edx
mov edx, dword [esi + 4]
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
lea ecx, [esp + 8]
call sym.MfcHlpr520.dll_public_virtual:_void___thiscall_CMHPBitmapDC::destructor_void_
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CDC::CDC
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
add esp, 0x38
ret 8
mov ecx, dword [esp + 0x34]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8

Function at 0x678d4210
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edx, dword [esp + 4]
push edi
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
pop edi
jne 0x678d4227
ret 4
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x678d4237
test al, 0x10
jne 0x678d423c
xor eax, eax
ret 4
mov eax, 1
ret 4
Function at 0x678d5440
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x7c]
test eax, eax
je 0x678d5488
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x678d5488
mov edi, dword [esp + 0xc]
cmp dword [edi + 8], 9
jne 0x678d5477
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetFocus
push edi
mov ecx, esi
call sub.MFC42.DLL_CWnd::PreTranslateMessage
pop edi
pop esi
ret 4
mov ecx, dword [esi + 0x7c]
push edi
mov edx, dword [ecx]
call dword [edx + 0x98]
pop edi
pop esi
ret 4
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push ebx
mov ebx, dword [esp + 0x10]
push ebp
cmp dword [ebx + 4], 0x101
jne 0x678d54cb
cmp dword [ebx + 8], 0x2e
jne 0x678d54be
mov eax, dword [esi + 0x20]
push 0
push 0
push 0x188
push eax
call edi
cmp eax, 0xffffffff
je 0x678d54be
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPEditListBox::OnDeleteItem_void_
cmp dword [ebx + 8], 0x2d
jne 0x678d54cb
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPEditListBox::OnNewItem_void_
cmp dword [ebx + 4], 0x105
jne 0x678d5530
mov eax, dword [ebx + 8]
mov ebp, dword [sym.imp.USER32.dll_GetKeyState]
cmp eax, 0x26
jne 0x678d5506
push 0x12
call ebp
test ax, ax
jge 0x678d5506
mov ecx, dword [esi + 0x20]
push 0
push 0
push 0x188
push ecx
call edi
cmp eax, 0xffffffff
je 0x678d5506
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPEditListBox::OnMoveItemUp_void_
cmp dword [ebx + 8], 0x28
jne 0x678d5530
push 0x12
call ebp
test ax, ax
jge 0x678d5530
mov edx, dword [esi + 0x20]
push 0
push 0
push 0x188
push edx
call edi
cmp eax, 0xffffffff
je 0x678d5530
mov ecx, esi
call sym.MfcHlpr520.dll_protected:_void___thiscall_CMHPEditListBox::OnMoveItemDown_void_
push ebx
mov ecx, esi
call sub.MFC42.DLL_CWnd::PreTranslateMessage
pop ebp
pop ebx
pop edi
pop esi
ret 4
Function at 0x678de7c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x6798b390
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push ebp
push esi
mov ecx, 0x55
mov eax, 0xaa
xor esi, esi
push edi
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 esi, dword [esp + 0x1c]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
mov byte [esp + 0x38], 1
and eax, esi
push eax
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CGdiObject::Attach
lea ecx, [esp + 0x10]
mov esi, dword [esp + 0x40]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CDC::SelectObject_1
push 0xf
mov ebx, eax
call sym.MfcHlpr520.dll_private:_static_class_CMHPColorManager____cdecl_CMHPColorManager::Instance_void_
mov ecx, eax
call sym.MfcHlpr520.dll_public:_unsigned_long_int___thiscall_CMHPColorManager::GetColor_int_const
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x34]
push 0x14
mov ebp, eax
call sym.MfcHlpr520.dll_private:_static_class_CMHPColorManager____cdecl_CMHPColorManager::Instance_void_
mov ecx, eax
call sym.MfcHlpr520.dll_public:_unsigned_long_int___thiscall_CMHPColorManager::GetColor_int_const
mov edx, dword [esi]
push eax
mov ecx, esi
call dword [edx + 0x38]
push 0xf00021
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x48]
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 eax, dword [esi]
mov ecx, dword [esp + 0x40]
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