joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5887f0
Capabilities:
Access peb ldr_data
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x5e7546
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov esi, ecx
call sub.mfc90u.dll_CWnd::GetStyle
test eax, 0x4000
je 0x5889b7
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push str.TooltipLight
call dword [0x612678]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Window
mov dword [esp + 0x4c], 0
call dword [0x612678]
mov byte [esp + 0x48], 1
call fcn.0059a1a0
mov ecx, eax
mov dword [esp + 0x48], 0xffffffff
call fcn.00599a70
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.TooltipDark
mov esi, eax
call dword [0x612678]
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push str.Window
mov dword [esp + 0x4c], 2
call dword [0x612678]
mov ebx, 3
mov byte [esp + 0x48], bl
call fcn.0059a1a0
mov ecx, eax
mov dword [esp + 0x48], 0xffffffff
call fcn.00599a70
cmp esi, 0xffffffff
jne 0x5888c2
mov esi, 0xffffff
cmp eax, 0xffffffff
jne 0x5888cc
mov eax, 0xefd9c9
mov edi, dword [esp + 0x48]
push 0
push eax
push esi
lea eax, [esp + 0x5c]
push eax
push edi
call fcn.0055d540
mov ecx, eax
call fcn.0055d570
push str.TOOLTIPFRAME
call fcn.0059a1a0
mov ecx, eax
call fcn.0059a0b0
mov esi, eax
test esi, esi
je 0x588964
push 1
push 0
lea ecx, [esp + 0x30]
push ecx
mov ecx, esi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call fcn.00599170
push 0xff00ff
lea edx, [esp + 0x1c]
push edx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
lea ecx, [esp + 0x68]
push ecx
push edi
mov ecx, esi
call fcn.00599660
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x34
ret 0x18
push ecx
mov ecx, esp
mov dword [esp + 0x4c], esp
push str.TooltipBorder
call dword [0x612678]
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push str.Window
mov dword [esp + 0x4c], 4
call dword [0x612678]
mov byte [esp + 0x48], 5
call fcn.0059a1a0
mov ecx, eax
mov dword [esp + 0x48], 0xffffffff
call fcn.00599a70
cmp eax, 0xffffffff
jne 0x5889b3
mov eax, 0x767676
push eax
push eax
jmp 0x5889f2
mov ecx, dword [esi + 0x6c]
call fcn.00587ab0
mov edi, dword [esp + 0x48]
push eax
lea eax, [esp + 0x54]
push eax
mov ecx, edi
call sub.mfc90u.dll_CDC::FillSolidRect_1
mov ecx, esi
call sub.mfc90u.dll_CWnd::GetStyle
push 0
test eax, 0x1000
je 0x5889f0
push 0xf
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea ecx, [esp + 0x58]
push ecx
jmp 0x5889f7
push 0
lea edx, [esp + 0x58]
push edx
mov ecx, edi
call sub.mfc90u.dll_CDC::Draw3dRect_1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x34
ret 0x18
Function at 0x5898b0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5e76cd
mov eax, dword fs:[0]
push eax
sub esp, 0x1fc
mov eax, dword [0x72d630]
xor eax, esp
mov dword [esp + 0x1f8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x210]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.005dfbb2
xor ebx, ebx
lea edi, [esi + 0x98]
mov dword [esi], vtable.CXTPToolTipContext.0
mov dword [esp + 0x218], ebx
mov dword [edi + 4], ebx
mov dword [edi], vtable.CFont.0
lea ebp, [esi + 0xa0]
mov dword [ebp + 4], ebx
mov dword [ebp], vtable.CFont.0
push ebx
mov byte [esp + 0x21c], 2
mov dword [esi + 0x60], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], 1
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
push 0x2c
mov dword [esi + 0x3c], eax
lea eax, [esi + 0x64]
push ebx
push eax
call sub.MSVCR90.dll_memset
add esp, 0xc
call fcn.00552090
mov ecx, eax
call fcn.00552f30
push ebx
push ebx
push ebx
mov dword [esi + 0x34], eax
or eax, 0xffffffff
push ebx
lea ecx, [esi + 0x44]
push ecx
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], eax
mov dword [esi + 0x38], 1
mov dword [esi + 0x40], 2
call dword [sym.imp.USER32.dll_SetRect]
push 0x1f4
or eax, 0xffffffff
lea edx, [esp + 0x1c]
push ebx
push edx
mov dword [esi + 0x58], eax
mov dword [esi + 0x54], eax
mov dword [esi + 0x5c], eax
call sub.MSVCR90.dll_memset
add esp, 0xc
push ebx
lea eax, [esp + 0x1c]
push eax
push 0x1f4
push 0x29
mov dword [esp + 0x28], 0x1f4
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov ebx, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
lea ecx, [esp + 0x154]
push ecx
mov dword [esp + 0x168], 0x190
call ebx
push eax
mov ecx, edi
call sub.mfc90u.dll_CGdiObject::Attach
lea edx, [esp + 0x154]
push edx
mov dword [esp + 0x168], 0x2bc
call ebx
push eax
mov ecx, ebp
call sub.mfc90u.dll_CGdiObject::Attach
mov eax, esi
mov ecx, dword [esp + 0x210]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1f8]
xor ecx, esp
call fcn.005e038a
add esp, 0x208
ret
Function at 0x58a0b0
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x18
push ebp
push esi
mov esi, dword [sym.imp.USER32.dll_GetKeyState]
push 1
mov ebp, ecx
call esi
test ax, ax
jl 0x58a1bb
push 2
call esi
test ax, ax
jl 0x58a1bb
push 4
call esi
test ax, ax
jl 0x58a1bb
push ebx
push edi
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
xor edi, edi
cmp dword [ebp + 0x5c], edi
jle 0x58a1a2
mov ebx, dword [sym.imp.USER32.dll_IsWindow]
test edi, edi
jl 0x58a1b6
cmp edi, dword [ebp + 0x5c]
jge 0x58a1b6
mov ecx, dword [ebp + 0x58]
mov esi, dword [ecx + edi*4]
mov edx, dword [esi + 0x20]
push edx
call ebx
test eax, eax
je 0x58a198
mov eax, dword [esi + 0x20]
push eax
call sub.mfc90u.dll_CWnd::FromHandle
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x18], ecx
mov edx, dword [esi + 0x10]
mov dword [esp + 0x1c], edx
mov ecx, dword [esi + 0x14]
mov dword [esp + 0x20], ecx
mov edx, dword [esi + 0x18]
mov dword [esp + 0x24], edx
test byte [esi + 8], 1
lea ecx, [esp + 0x18]
push ecx
je 0x58a15f
mov edx, dword [eax + 0x20]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
jmp 0x58a166
mov ecx, eax
call sub.mfc90u.dll_CWnd::ClientToScreen
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push edx
push eax
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x58a198
test byte [esi + 8], 1
jne 0x58a1ac
lea edx, [esp + 0x10]
push edx
push 0
mov ecx, ebp
call fcn.00587560
cmp eax, dword [esi + 0x20]
je 0x58a1ac
inc edi
cmp edi, dword [ebp + 0x5c]
jl 0x58a102
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x18
ret
pop edi
pop ebx
mov eax, esi
pop esi
pop ebp
add esp, 0x18
ret
call fcn.005df2b2
pop esi
xor eax, eax
pop ebp
add esp, 0x18
ret
Function at 0x58b330
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e7866
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x30]
add eax, 0xfffffffe
cmp eax, 5
ja case.default.0x58b363
jmp dword [eax*4 + 0x58b504]
push 0x134
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 0
test eax, eax
je 0x58b4ee
push esi
mov ecx, eax
call fcn.00589cc0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
push 0x260
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 1
test eax, eax
je 0x58b4ee
push esi
mov ecx, eax
call fcn.0058afc0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
push 0x134
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 2
test eax, eax
je 0x58b4ee
push esi
mov ecx, eax
call fcn.0058ae70
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
push 0x134
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 3
jmp 0x58b383
push 0x19c
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 4
test eax, eax
je 0x58b4ee
push esi
mov ecx, eax
call fcn.0058b190
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
push 0x13c
call sub.mfc90u.dll_new_1
add esp, 4
mov dword [esp + 8], eax
mov dword [esp + 0x14], 5
test eax, eax
je 0x58b4ee
push esi
mov ecx, eax
call fcn.0058b080
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
push 0x70
call sub.mfc90u.dll_new_1
mov esi, eax
add esp, 4
mov dword [esp + 8], esi
mov dword [esp + 0x14], 6
test esi, esi
je 0x58b4ee
mov ecx, esi
call fcn.005dff8a
mov dword [esi], vtable.CXTPToolTipContext::CStandardToolTip.0
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret 4
Function at 0x58c000
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5e7958
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [esp + 0x38]
test edi, edi
je 0x58c0ce
mov ebx, vtable.CMenu.0
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0
movzx eax, di
push eax
push 4
push eax
mov dword [esp + 0x3c], 0
call sub.mfc90u.dll_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadMenuW]
push eax
lea ecx, [esp + 0x14]
call sub.mfc90u.dll_CMenu::Attach
lea ecx, [esp + 0x10]
test eax, eax
jne 0x58c09a
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x10], ebx
call sub.mfc90u.dll_CMenu::DestroyMenu
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
mov eax, dword [esi]
mov edx, dword [eax + 0x14c]
push 1
push ecx
mov ecx, esi
call edx
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0x10]
test eax, eax
je 0x58c07e
mov dword [esi + 0x1bc], edi
mov dword [esi + 0x1c0], edi
call sub.mfc90u.dll_CMenu::DestroyMenu
mov ecx, esi
call fcn.0058bd20
mov ecx, esi
mov dword [esp + 0x18], 0xf120
mov dword [esp + 0x1c], 0xf020
mov dword [esp + 0x20], 0xf030
mov dword [esp + 0x24], 0xf060
call fcn.00538eb0
test eax, eax
je 0x58c125
push 0
mov edx, 0x10
mov edi, edx
push edi
push edx
push 4
lea ecx, [esp + 0x28]
push ecx
push 0x238e
mov ecx, eax
call fcn.005283c0
mov ecx, eax
call fcn.0054ee40
mov ecx, esi
call fcn.0053b500
test eax, eax
je 0x58c133
mov eax, dword [eax + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetMenu]
mov ecx, esi
mov dword [esi + 0x1b8], eax
call fcn.0053b500
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x78]
push 0
call eax
mov eax, 1
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 4
Function at 0x58cc00
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
mov edi, ecx
cmp ebx, 0x112
ja 0x58ccf6
je 0x58cc4f
cmp ebx, 5
je 0x58cc2a
cmp ebx, 0x47
jne 0x58cdf4
mov eax, dword [esp + 0x14]
cmp eax, dword [edi + 0x160]
jne 0x58cdf4
mov ecx, dword [edi - 0x34]
push 0
push 0x2fbf
push 0x113
push ecx
jmp 0x58cdee
lea esi, [edi - 0x54]
mov ecx, esi
call fcn.0053ed50
test eax, eax
je 0x58cdf4
push 0x528450
mov ecx, 0x7409ac
call sub.mfc90u.dll_CThreadLocalObject::GetData
test eax, eax
jne 0x58cc79
call fcn.005df2b2
cmp dword [eax + 4], 0
jg 0x58cdf4
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jl 0x58cdf4
mov ecx, esi
call fcn.00538ee0
test eax, eax
jne 0x58cdf4
mov edx, dword [esp + 0x1c]
mov eax, dword [edx]
and eax, 0xfff0
cmp eax, 0xf100
jne 0x58cdf4
cmp dword [ebp], 0
jne 0x58cdf4
mov edx, dword [esi]
mov eax, dword [edx + 0x1f8]
push 0x12
mov ecx, esi
call eax
test eax, eax
jne 0x58ccea
mov ecx, esi
call fcn.00538eb0
test eax, eax
je 0x58ccea
push 0
push esi
mov ecx, eax
call fcn.0052ac80
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 0x14
cmp ebx, 0x220
jb 0x58cdf4
cmp ebx, 0x222
jbe 0x58cdde
cmp ebx, 0x230
jne 0x58cdf4
mov edx, dword [edi - 0x54]
mov eax, dword [edx + 0x168]
lea esi, [edi - 0x54]
mov ecx, esi
call eax
mov ecx, esi
test eax, eax
je 0x58cdba
call fcn.00538ee0
test eax, eax
je 0x58cd65
mov ecx, esi
call fcn.0053b500
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x78]
push 0
call eax
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword [ecx], 0
mov eax, 1
pop ebx
ret 0x14
test dword [edi + 0x98], 0x400
mov ebx, dword [esp + 0x1c]
jne 0x58cd8f
mov eax, dword [ebx]
test eax, eax
jne 0x58cd87
mov edi, dword [edi + 0x164]
test edi, edi
je 0x58cd8f
mov eax, edi
push eax
mov ecx, esi
call fcn.0058bfa0
mov ecx, esi
call fcn.0053b500
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x78]
push 0
call eax
mov ecx, esi
call fcn.0058be80
pop edi
pop esi
pop ebp
mov dword [ebx], 0
mov eax, 1
pop ebx
ret 0x14
call fcn.0053b500
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x74]
call eax
test eax, eax
jne 0x58cdf4
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
mov eax, 1
pop ebx
ret 0x14
mov edx, dword [edi - 0x34]
push 0
push 0x2fbf
push 0x113
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
push eax
push ebp
push ecx
push ebx
push edx
mov ecx, edi
call fcn.0053b220
pop edi
pop esi
pop ebp
pop ebx
ret 0x14
Function at 0x595550
Capabilities:
Create thread
Resume thread

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
push eax
push 4
push 0
push 0x5954e0
mov esi, ecx
push 0
push 0
mov dword [esi], 0
mov dword [esi + 0xc], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 8], eax
test eax, eax
je 0x595593
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 0x597c40
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x5e81c8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, ecx
mov dword [ebp + 8], 0
call sub.mfc90u.dll_CGdiObject::DeleteObject
mov esi, dword [esp + 0x50]
test esi, esi
je 0x597cdf
mov edi, dword [esp + 0x4c]
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push edi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x597cdf
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x597cdf
cmp ebx, 0xa
jb 0x597cdf
push 0
push ebx
push eax
lea ecx, [esp + 0x20]
call fcn.005dfdda
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
mov dword [esp + 0x48], 0
call fcn.00597a80
lea ecx, [esp + 0x14]
mov esi, eax
mov dword [esp + 0x44], 0xffffffff
call sub.mfc90u.dll_CMemFile::CMemFile
mov eax, esi
jmp 0x597ce1
xor eax, eax
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 8
Function at 0x5992a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x5e1219
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x24]
xor edi, edi
cmp eax, edi
je 0x5992dc
cmp dword [esi + 0x30], edi
je 0x5992dc
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ebp, dword [esp + 0x2c]
push ebp
lea ecx, [esp + 0x18]
call dword [0x612678]
lea ecx, [esp + 0x14]
mov dword [esp + 0x20], edi
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::IsEmpty]
test al, al
je 0x59930c
push 0x6a7ed8
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
push 0x5f
push 0x2e
lea ecx, [esp + 0x1c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Replace]
mov eax, dword [esp + 0x30]
mov ebx, dword [esp + 0x28]
mov ecx, esi
mov dword [esi + 0x24], ebx
mov dword [esi + 0x30], eax
mov dword [esi + 0x2c], edi
mov dword [esi + 0x28], edi
call fcn.005991f0
push 0x6a7ec4
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_]
mov ecx, dword [esi + 0x24]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x599363
test ebp, ebp
jne 0x599363
push ebx
mov ecx, esi
call fcn.00597e60
mov edi, eax
xor ebx, ebx
test edi, edi
je 0x599398
mov edx, dword [esi + 0x24]
push edi
push edx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x599398
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esi + 0x28], eax
mov eax, dword [esi + 0x24]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, dword [esi + 0x28]
mov ebx, 1
mov dword [esi + 0x2c], eax
mov ecx, dword [esi + 0x68]
test ecx, ecx
je 0x5993af
push 0
push 0
push 0
push 0x294f
call fcn.005c0a00
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, ebx
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x599890
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5e830a
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
call fcn.005dfbb2
xor ebx, ebx
lea ecx, [esi + 0x20]
mov dword [esp + 0x20], ebx
mov dword [esi], vtable.CXTPOffice2007Images.0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea edi, [esi + 0x4c]
mov ecx, edi
mov byte [esp + 0x20], 1
call sub.mfc90u.dll_CDC::CDC
mov dword [edi], vtable.CXTPOffice2007Images::CBitmapDC.0
mov dword [edi + 0x10], ebx
lea ebp, [esi + 0x6c]
push 0xa
mov ecx, ebp
mov byte [esp + 0x24], 2
call sub.mfc90u.dll_CMapStringToPtr::CMapStringToPtr
push ebx
push 0xc7
mov ecx, ebp
mov byte [esp + 0x28], 3
call sub.mfc90u.dll_CMapStringToPtr::InitHashTable
mov dword [esi + 0x30], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x68], ebx
call sub.mfc90u.dll_AfxGetModuleState
mov eax, dword [eax + 8]
push ebx
push ebx
push eax
mov ecx, esi
call fcn.005992a0
lea eax, [esi + 0x64]
push eax
push 0x200
push 0x200
push ebx
mov dword [eax], ebx
call fcn.005487f0
add esp, 0x10
push ebx
mov dword [esi + 0x60], eax
call dword [sym.imp.USER32.dll_GetDC]
mov ebp, eax
push ebp
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, edi
call sub.mfc90u.dll_CDC::Attach
push ebp
push ebx
call dword [sym.imp.USER32.dll_ReleaseDC]
lea eax, [esi + 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x599a70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e839b
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
push ecx
lea eax, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x1c], esp
push eax
mov dword [esp + 0x30], 1
call dword [0x612600]
push ecx
lea edx, [esp + 0x38]
mov ecx, esp
mov dword [esp + 0x24], esp
push edx
mov byte [esp + 0x34], 2
call dword [0x612600]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov byte [esp + 0x34], 1
call fcn.005993e0
lea ecx, [esp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::IsEmpty]
test al, al
je 0x599b1a
lea ecx, [esp + 8]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
or eax, 0xffffffff
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 8
xor eax, eax
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
push edx
lea eax, [esp + 0x1c]
push eax
push 0x6a7f5c
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_]
push eax
call dword [sym.imp.MSVCR90.dll_swscanf_s]
movzx esi, byte [esp + 0x20]
movzx ecx, byte [esp + 0x24]
movzx edx, byte [esp + 0x28]
shl esi, 8
or esi, ecx
shl esi, 8
add esp, 0x14
lea ecx, [esp + 8]
or esi, edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x34]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 8
Function at 0x599ba0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e83db
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], 0
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x10], esp
push eax
mov dword [esp + 0x24], 1
call dword [0x612600]
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x28], 2
call dword [0x612600]
mov edi, dword [esp + 0x2c]
push edi
mov ecx, esi
mov byte [esp + 0x28], 1
call fcn.005993e0
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x14
ret 0xc
Function at 0x5a8670
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5e8e6b
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x72d630]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
call fcn.005dfbb2
xor edi, edi
lea ecx, [esi + 0x54]
mov dword [esp + 0x18], edi
mov dword [esi], vtable.CXTPTabManagerItem.0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea ecx, [esi + 0x58]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea ecx, [esi + 0x6c]
call fcn.005a8610
mov ecx, esi
mov byte [esp + 0x18], 3
call sub.mfc90u.dll_CCmdTarget::EnableAutomation
or eax, 0xffffffff
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
lea eax, [esi + 0x44]
push eax
mov dword [esi + 0x34], 1
mov dword [esi + 0x30], 1
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 dword [esi + 0x64], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x68], 1
mov dword [esi + 0x60], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x80], edi
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret