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

Disassembly:
push 0xffffffffffffffff
push 0x1004ed72
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x10080e78]
xor eax, esp
mov dword [esp + 0x4c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10080e78]
xor eax, esp
push eax
lea eax, [esp + 0x64]
mov dword fs:[0], eax
mov edi, dword [esp + 0x74]
xor ebp, ebp
push ebp
mov ebx, ecx
push 9
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_2480]
cmp eax, ebp
jle 0x10004116
push eax
lea eax, [esp + 0x18]
push eax
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_4392]
push eax
mov ecx, edi
mov dword [esp + 0x70], ebp
call dword [sym.imp.mfc90.dll_Ordinal_817]
lea ecx, [esp + 0x14]
mov dword [esp + 0x6c], 0xffffffff
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov edx, dword [esp + 0x78]
lea ecx, [esp + 0x14]
push ecx
push edx
lea ecx, [ebx + 0x5c]
call sub.mfc90.dll_Ordinal_4465
mov esi, eax
neg esi
sbb esi, esi
and esi, dword [esp + 0x14]
je 0x10004227
jmp 0x10004140
mov eax, 0x1005602c
test ebp, ebp
jne 0x1000414e
mov eax, 0x10056028
push eax
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_945]
test byte [esi], 0x10
je 0x10004169
push str.Alt
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_945]
test byte [esi], 8
je 0x1000417b
push str.Ctrl
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_945]
test byte [esi], 4
je 0x1000418d
push str.Shift
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_945]
test byte [esi], 1
je 0x100041f3
movzx eax, word [esi + 2]
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
push 0x40
lea ecx, [esp + 0x24]
shl eax, 0x10
push ecx
push eax
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
push ecx
lea edx, [esp + 0x24]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call dword [sym.imp.mfc90.dll_Ordinal_310]
lea eax, [esp + 0x1c]
push eax
mov ecx, ebx
call sym.GuiTk115d.dll_protected:_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char______thiscall_CCoolMenuManager::GetVirtualKeyName_class_ATL::CStringT_char__class_StrTraitMFC_DLL_char__class_ATL::ChTraitsCRT_char____
push eax
mov ecx, edi
mov dword [esp + 0x70], 1
call dword [sym.imp.mfc90.dll_Ordinal_941]
lea ecx, [esp + 0x18]
mov dword [esp + 0x6c], 0xffffffff
call dword [sym.imp.mfc90.dll_Ordinal_601]
jmp 0x10004200
movzx ecx, byte [esi + 2]
push ecx
mov ecx, edi
call dword [sym.imp.mfc90.dll_Ordinal_942]
movzx eax, word [esi + 4]
mov ebp, 1
test ax, ax
je 0x10004227
movzx eax, ax
lea edx, [eax*4]
sub edx, eax
neg edx
lea esi, [esi + edx*2]
test esi, esi
jne 0x10004140
mov eax, ebp
mov ecx, dword [esp + 0x64]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4c]
xor ecx, esp
call fcn.1004da1e
add esp, 0x5c
ret 8
Function at 0x1000cd80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x10050071
mov eax, dword fs:[0]
push eax
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10080e78]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
xor edi, edi
mov dword [esp + 0x70], edi
mov dword [esp + 0x1c], edi
cmp esi, edi
je 0x1000ceed
cmp dword [esi + 0x20], edi
je 0x1000ceed
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_4116
push esi
lea ecx, [esp + 0x58]
call sub.mfc90.dll_Ordinal_337
mov edx, dword [esi + 0x20]
xor eax, eax
lea ecx, [esp + 0x30]
push ecx
push edx
mov byte [esp + 0x78], 1
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], eax
call dword [sym.imp.USER32.dll_GetClientRect]
xor ebp, ebp
xor ebx, ebx
cmp dword [esi + 0xec], 1
jne 0x1000ce63
mov eax, dword [esi + 0xdc]
test eax, eax
je 0x1000ce63
lea ecx, [esp + 0x40]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetIconInfo]
mov dl, byte [esp + 0x48]
mov cl, byte [esp + 0x44]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
add dl, dl
add cl, cl
movzx eax, dl
mov edx, dword [esp + 0x4c]
movzx ecx, cl
push edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
call edi
mov eax, dword [esp + 0x50]
push eax
call edi
mov edi, dword [esp + 0x18]
cmp dword [esi + 0xf0], 1
jne 0x1000ce99
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], ebx
jle 0x1000ce99
mov ecx, dword [eax - 0xc]
lea edx, [esp + 0x20]
push edx
push ecx
push eax
mov eax, dword [esp + 0x68]
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x28], eax
lea ebp, [eax - 7]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
jg 0x1000cea3
mov eax, ebx
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x34]
cmp eax, ecx
jg 0x1000ceb1
mov eax, ecx
cmp dword [esi + 0x108], 1
lea ecx, [edi + ebp + 7]
mov dword [esi + 0x100], ecx
mov dword [esi + 0x104], eax
jne 0x1000cedf
push 0x16
push eax
lea ecx, [edi + ebp + 0xa]
push ecx
push 0
push 0
push 0
mov ecx, esi
call sub.mfc90.dll_Ordinal_6557
lea ecx, [esp + 0x54]
mov byte [esp + 0x70], 0
call sub.mfc90.dll_Ordinal_613
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret
Function at 0x1000e790
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10052b88
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x10080e78]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], vtable.CBrush.0
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x98]
push eax
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorFace_unsigned_long_int_
add esp, 4
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0xc]
call sub.mfc90.dll_Ordinal_1358
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [edx + 4]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 8]
call sub.mfc90.dll_Ordinal_2106
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 8], vtable.CBrush.0
call fcn.10001760
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 4
Function at 0x1000eba0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x10050a48
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10080e78]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
cdq
sub eax, edx
mov edi, eax
mov eax, dword [ecx + 0x64]
push eax
push 1
sar edi, 1
push 0
lea ecx, [esp + 0x1c]
sub edi, 2
call sub.mfc90.dll_Ordinal_525
mov esi, dword [esp + 0x30]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
mov dword [esp + 0x2c], 0
call sub.mfc90.dll_Ordinal_6078
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
mov ebx, eax
lea eax, [edx + edi + 3]
push eax
inc ecx
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
add eax, 0xfffffffe
add ecx, 3
push eax
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
add edx, 0xfffffffe
push edx
add eax, 3
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
add edx, 2
push edx
dec eax
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
lea edx, [ecx + edi + 2]
push edx
inc eax
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
add edx, 0xfffffffd
push edx
add eax, 3
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
add ecx, 0xfffffffd
push ecx
add edx, 3
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
inc ecx
push ecx
dec edx
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
lea ecx, [eax + edi + 1]
push ecx
inc edx
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
add ecx, 0xfffffffc
push ecx
add edx, 3
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
add eax, 0xfffffffc
push eax
add ecx, 3
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
dec ecx
push eax
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
push ebx
mov ecx, esi
call sub.mfc90.dll_Ordinal_6078
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x10], vtable.CPen.0
call fcn.10001760
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 0x14
Function at 0x100107e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100503e1
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x10080e78]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
push esi
lea ecx, [esp + 0x10]
call sub.mfc90.dll_Ordinal_337
lea eax, [esp + 0xc]
push eax
push 0
mov ecx, esi
mov dword [esp + 0x30], 0
call sym.GuiTk115d.dll_public:_void___thiscall_CGuiComboBoxExt::DrawCombo_enum_CGuiComboBoxExt::enTypeShow__class_CDC__
mov ecx, esi
call sub.mfc90.dll_Ordinal_3730
test al, 3
jne 0x10010862
lea ecx, [esp + 8]
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
mov byte [esp + 0x2c], 1
call sub.mfc90.dll_Ordinal_4116
mov edx, dword [esp + 8]
push edx
mov ecx, esi
call sym.GuiTk115d.dll_public:_int___thiscall_CGuiComboBoxExt::AddString_char_const__
lea ecx, [esp + 8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0xc]
mov dword [esi + 0x70], 0
mov dword [esi + 0x54], 0
mov dword [esp + 0x28], 0xffffffff
call sub.mfc90.dll_Ordinal_613
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret

Function at 0x100117c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100503e1
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x10080e78]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
push esi
lea ecx, [esp + 0x10]
call sub.mfc90.dll_Ordinal_337
lea eax, [esp + 0xc]
push eax
push 0
mov ecx, esi
mov dword [esp + 0x30], 0
call sym.GuiTk115d.dll_public:_void___thiscall_CGuiComboFont::DrawCombo_enum_CGuiComboFont::enTypeShow__class_CDC__
mov ecx, esi
call sub.mfc90.dll_Ordinal_3730
test al, 3
jne 0x1001184c
lea ecx, [esp + 8]
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
mov byte [esp + 0x2c], 1
call sub.mfc90.dll_Ordinal_4116
mov edx, dword [esp + 8]
mov eax, dword [esi + 0x20]
push edx
push 0
push 0x143
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [esp + 0xc]
mov dword [esi + 0x70], 0
mov dword [esi + 0x54], 0
mov dword [esp + 0x28], 0xffffffff
call sub.mfc90.dll_Ordinal_613
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret
Function at 0x10018770
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10052b88
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push esi
mov eax, dword [0x10080e78]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 8], vtable.CBrush.0
mov dword [esp + 0x28], eax
mov eax, dword [sym.GuiTk115d.dll_unsigned_long_int_GuiDrawLayer::m_Style]
push eax
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBColorFace_unsigned_long_int_
add esp, 4
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
lea ecx, [esp + 0xc]
call sub.mfc90.dll_Ordinal_1358
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [edx + 4]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_FillRect]
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 8], vtable.CBrush.0
call fcn.10001760
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x24
ret 4

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

Disassembly:
push 0xffffffffffffffff
push 0x10050a23
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x10080e78]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
lea edi, [esi + 4]
mov ecx, edi
mov dword [esi], vtable.GuiDrawLayer.0
call sub.mfc90.dll_Ordinal_436
push 0xff00ff
push 0xa
push 9
push 0x7d4
mov ecx, edi
mov dword [esp + 0x48], 0
call sub.mfc90.dll_Ordinal_1692
push 0xa
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, vtable.CBitmap.0
mov dword [esi + 0x14], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edi
push 0x4679
push 2
push 0x4679
mov byte [esp + 0x44], 1
call sub.mfc90.dll_Ordinal_1108
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call sub.mfc90.dll_Ordinal_1358
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
push 0x18
push ecx
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
mov dword [esi + 0xc], eax
mov byte [esp + 0x38], 0
mov dword [esp + 0x10], edi
call fcn.10001760
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret
Function at 0x1001c9d0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x10050a48
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x10080e78]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x38]
cdq
sub eax, edx
mov edi, eax
sar edi, 1
sub edi, 2
call sym.GuiTk115d.dll_public:_static_unsigned_long_int___cdecl_GuiDrawLayer::GetRGBCaptionXP_void_
push eax
push 1
push 0
lea ecx, [esp + 0x1c]
call sub.mfc90.dll_Ordinal_525
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x10]
push eax
mov ecx, esi
mov dword [esp + 0x2c], 0
call sub.mfc90.dll_Ordinal_6078
mov ecx, dword [esp + 0x38]
mov ebx, eax
mov eax, dword [esp + 0x34]
lea edx, [ecx + edi + 3]
push edx
inc eax
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
add edx, 0xfffffffe
push edx
add eax, 3
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
add ecx, 0xfffffffe
push ecx
add edx, 3
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
add ecx, 2
push ecx
dec edx
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
lea ecx, [eax + edi + 2]
push ecx
inc edx
push edx
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x34]
add ecx, 0xfffffffd
push ecx
add edx, 3
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
add eax, 0xfffffffd
push eax
add ecx, 3
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
inc eax
dec ecx
push eax
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
lea eax, [edx + edi + 1]
push eax
inc ecx
push ecx
lea edx, [esp + 0x20]
push edx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x34]
add eax, 0xfffffffc
add ecx, 3
push eax
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x34]
add edx, 0xfffffffc
push edx
add eax, 3
push eax
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
call sub.mfc90.dll_Ordinal_4527
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
push edx
dec eax
push eax
mov ecx, esi
call sub.mfc90.dll_Ordinal_4396
push ebx
mov ecx, esi
call sub.mfc90.dll_Ordinal_6078
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x10], vtable.CPen.0
call fcn.10001760
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x1001d300
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x10053328
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x10080e78]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], vtable.CBitmap.0
mov edi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x40]
push edi
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x4c]
push eax
push ecx
push ebx
lea ecx, [esi + 0x18]
call sub.mfc90.dll_Ordinal_1692
movzx eax, bx
push eax
push 2
push eax
call sub.mfc90.dll_Ordinal_1108
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
lea ecx, [esp + 0x14]
call sub.mfc90.dll_Ordinal_1358
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push edx
push 0x18
push eax
call dword [sym.imp.GDI32.dll_GetObjectA]
mov ecx, dword [esp + 0x14]
mov esi, dword [esi + 0x1c]
push edi
push ecx
push esi
call sub.mfc90.dll_Ordinal_1137
mov edx, dword [eax + 0x94]
mov ecx, dword [edx]
call fcn.100013a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x38], 0xffffffff
mov dword [esp + 0x10], vtable.CBitmap.0
call fcn.10001760
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x2c
ret 0x10
Function at 0x100200b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x10050de3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x10080e78]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x20]
push 1
push 0
push eax
push 0
push 0x806
push str...
push 0
push 1
call sub.mfc90.dll_Ordinal_405
lea ecx, [esi + 0x1e4]
mov dword [esp + 0x18], 0
mov dword [esi], vtable.CGuiFDir.0
call dword [sym.imp.mfc90.dll_Ordinal_316]
lea edi, [esi + 0x1e8]
mov ecx, edi
mov byte [esp + 0x18], 1
call sub.mfc90.dll_Ordinal_595
mov dword [edi], vtable.CEdit.0
lea edi, [esi + 0x23c]
mov ecx, edi
mov byte [esp + 0x18], 2
call sub.mfc90.dll_Ordinal_595
mov dword [edi], vtable.CFWnd.0
mov ecx, esi
mov byte [esp + 0x18], 3
call sub.mfc90.dll_Ordinal_3351
mov ecx, esi
mov dword [eax + 0x30], str.Select_Folder
call sub.mfc90.dll_Ordinal_3351
mov dword [eax + 0xc], str.Directory
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 4

Function at 0x10020230
Capabilities:
Read file on windows

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
push edi
mov ebx, ecx
call dword [sym.imp.MSVCR90.dll_malloc]
push edi
mov esi, eax
push 0
push esi
call sub.MSVCR90.dll_memset
mov eax, dword [ebx + 4]
push eax
push edi
push 1
push esi
call dword [sym.imp.MSVCR90.dll_fread]
add esp, 0x20
pop edi
mov eax, esi
pop esi
pop ebx
ret 4

Function at 0x100203d0
Capabilities:
Write file on windows

Disassembly:
push esi
mov esi, dword [esp + 8]
mov eax, esi
push edi
lea edi, [eax + 1]
jmp 0x100203e0
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x100203e0
mov ecx, dword [ecx + 4]
push ecx
sub eax, edi
push eax
push 1
push esi
call dword [sym.imp.MSVCR90.dll_fwrite]
mov ecx, esi
add esp, 0x10
lea esi, [ecx + 1]
nop
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10020400
sub ecx, esi
xor edx, edx
cmp eax, ecx
sete dl
pop edi
pop esi
mov eax, edx
ret 4
Function at 0x10025500
Capabilities:
Create process on windows

Disassembly:
push esi
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0x5c]
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, esi
call sub.mfc90.dll_Ordinal_2069
pop esi
ret 0xc
Function at 0x1002a880
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x10051e08
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push esi
push edi
mov eax, dword [0x10080e78]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [esi + 0x88], 1
jne 0x1002a984
mov edx, dword [esi + 0x60]
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x68]
lea edi, [esi + 0x70]
mov dword [edi], edx
mov edx, dword [esi + 0x6c]
mov dword [edi + 4], eax
mov eax, dword [esp + 0xc]
mov dword [edi + 8], ecx
lea ecx, [eax + 0x32]
mov eax, dword [esp + 0x44]
cmp eax, ecx
mov dword [edi + 0xc], edx
jge 0x1002a8f5
mov dword [esi + 0x60], 0x32
jmp 0x1002a911
mov ecx, dword [esp + 0x14]
lea edx, [ecx - 0x32]
cmp eax, edx
jle 0x1002a908
add ecx, 0xffffffc9
mov dword [esi + 0x60], ecx
jmp 0x1002a911
mov dword [esi + 0x60], eax
add eax, 3
mov dword [esi + 0x68], eax
push esi
lea ecx, [esp + 0x20]
call sub.mfc90.dll_Ordinal_337
mov ecx, dword [esi + 0x60]
mov edx, dword [esi + 0x64]
lea eax, [esp + 0x1c]
push eax
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esi + 0x68]
mov dword [eax + 4], edx
mov edx, dword [esi + 0x6c]
mov dword [eax + 8], ecx
mov ecx, esi
mov dword [esp + 0x4c], 0
mov dword [eax + 0xc], edx
call sym.GuiTk115d.dll_public:_void___thiscall_CGuiMiniSplitter::DrawSplitter_class_CRect__class_CDC__
mov eax, dword [esi + 0x20]
push 1
push edi
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, esi
call sym.GuiTk115d.dll_public:_void___thiscall_CGuiMiniSplitter::RecalLayout_void_
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call sub.mfc90.dll_Ordinal_613
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 0xc
mov ecx, esi
call sub.mfc90.dll_Ordinal_2069
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x30
ret 0xc