joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40cc40
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x57e67d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push esi
xor eax, eax
push 0x597664
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], eax
mov byte [esp + 0xf], al
call dword [sym.imp.MFC71.DLL_ATL::CStringT::TrimRight]
push str.MP_ROOT_
lea ecx, [esp + 0x18]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_6]
push str.MNV01
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_6]
push 0x596834
lea ecx, [esp + 0x10]
mov byte [esp + 0x28], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_6]
push 0x10
lea eax, [esp + 0x1c]
mov bl, 3
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x2c], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Right]
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_4]
lea ecx, [esp + 0x18]
mov byte [esp + 0x24], bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov esi, 0x64
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
push ecx
push esi
push edx
lea eax, [esp + 0x18]
push str._s_03d_s
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format_1]
add esp, 0x14
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CompareNoCase]
test eax, eax
je 0x40cd2a
inc esi
cmp esi, 0x3e8
jl 0x40cce4
mov bl, byte [esp + 0xb]
jmp 0x40cd2c
mov bl, 1
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x2c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [esp + 0x1c]
pop esi
mov al, bl
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 4

Function at 0x40cd70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57e699
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetManager]
push eax
lea ecx, [esp + 0xc]
call dword [0x594334]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Concatenate]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x40ce10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57e6b9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, dword [esp + 0x1c]
push edi
xor edi, edi
mov ecx, esi
mov dword [esp + 8], edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetManager]
push eax
lea ecx, [esp + 0xc]
call dword [0x594334]
mov dword [esp + 0x14], edi
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::StringLength]
add esp, 4
push eax
push edi
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::Concatenate]
mov esi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [esp + 0xc]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x4116a0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57ed09
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, dword [esp + 0x24]
test esi, esi
mov dword [esp + 0x1c], 0
jne 0x4116e5
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
pop esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x1c
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
push ebx
push edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
mov edx, dword [esi]
push 0xffffff
mov ecx, esi
mov dword [esp + 0x1c], eax
call dword [edx + 0x38]
mov edi, dword [esp + 0xc]
mov ebx, dword [esi]
dec edi
mov dword [esp + 0xc], edi
mov edi, dword [esp + 0x44]
push edi
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x38]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, esi
call dword [ebx + 0x70]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
inc ebx
push edi
lea ecx, [esp + 0x10]
dec edx
push ecx
mov dword [esp + 0x14], ebx
mov ebx, dword [esi]
lea ecx, [esp + 0x38]
mov dword [esp + 0x18], edx
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, esi
call dword [ebx + 0x70]
mov ebx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
inc ebx
inc edx
mov dword [esp + 0x10], edx
push edi
lea edx, [esp + 0x10]
mov dword [esp + 0x10], ebx
mov ebx, dword [esi]
push edx
lea ecx, [esp + 0x38]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, esi
call dword [ebx + 0x70]
mov edx, dword [esp + 0xc]
mov ecx, dword [esp + 0x10]
mov ebx, dword [esi]
dec edx
inc ecx
push edi
lea eax, [esp + 0x10]
mov dword [esp + 0x14], ecx
push eax
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], edx
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, esi
call dword [ebx + 0x70]
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx + 0x38]
mov ebx, dword [esi]
push edi
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x38]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
push eax
lea ecx, [esp + 0x3c]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, esi
call dword [ebx + 0x70]
lea ecx, [esp + 0x30]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [esp + 0x1c]
pop edi
pop ebx
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret 0x1c
Function at 0x4141c0
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57f050
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
call dword [sym.imp.KERNEL32.dll_GetVersion]
shr eax, 0x1f
not eax
xor esi, esi
test al, 1
je 0x414297
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [ebp - 0x14]
push ecx
push 0x28
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x414224
push 0x5d2fe4
lea edx, [ebp - 0x18]
push edx
mov dword [ebp - 0x18], esi
call sub.MSVCR71.dll__CxxThrowException
lea eax, [ebp - 0x28]
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
jne 0x414249
push 0x5d2fe4
lea ecx, [ebp - 0x1c]
push ecx
mov dword [ebp - 0x1c], esi
call sub.MSVCR71.dll__CxxThrowException
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
push esi
push esi
push esi
lea ecx, [ebp - 0x38]
push ecx
mov dword [ebp - 0x34], edx
mov edx, dword [ebp - 0x14]
push esi
push edx
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x414297
push 0x5d2fe4
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], esi
call sub.MSVCR71.dll__CxxThrowException
mov dword [ebp - 0x14], 0
mov eax, 0x4142b1
ret
push esi
push 9
call dword [sym.imp.USER32.dll_ExitWindowsEx]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x416b50
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x57f2dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
mov eax, dword [0x5f3edc]
push esi
mov dword [esp + 0x118], eax
lea eax, [esp + 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsNCoverEd.exe
mov dword [esp + 0x1c], esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x416bdc
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push esi
push 0x596834
push ecx
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x416bf2
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x12c]
push 0x596834
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_6]
jmp 0x416c31
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_6]
mov dword [esp + 0x124], esi
mov esi, dword [esp + 0x12c]
lea edx, [esp + 8]
push edx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x118]
mov eax, esi
pop esi
call fcn.00558076
add esp, 0x124
ret 4
Function at 0x416c60
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x57f2fc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
mov eax, dword [0x5f3edc]
push esi
mov dword [esp + 0x118], eax
lea eax, [esp + 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_PathsShowTime.exe
mov dword [esp + 0x1c], esi
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x416cec
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 8]
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x14]
push eax
push esi
push 0x596834
push ecx
mov dword [esp + 0x28], 0x104
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x416d02
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x12c]
push 0x596834
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_6]
jmp 0x416d41
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_6]
mov dword [esp + 0x124], esi
mov esi, dword [esp + 0x12c]
lea edx, [esp + 8]
push edx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [esp + 0x11c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x118]
mov eax, esi
pop esi
call fcn.00558076
add esp, 0x124
ret 4
Function at 0x417e10
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x57f4be
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
mov eax, dword [0x5f3edc]
push esi
mov dword [esp + 0x10c], eax
push edi
mov dword [esp + 8], 0
push str.XXXXXX
lea ecx, [esp + 0x12c]
mov dword [esp + 0x120], 1
call dword [0x59434c]
lea eax, [esp + 0xc]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea ecx, [esp + 0x128]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
inc eax
push eax
call sub.MFC71.DLL_operator_new
add esp, 4
lea ecx, [esp + 0x128]
mov esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
mov edi, eax
lea ecx, [esp + 0x128]
inc edi
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push edi
push eax
push esi
call dword [sym.imp.MSVCR71.dll__mbsnbcpy]
push esi
call dword [sym.imp.MSVCR71.dll__mktemp]
add esp, 0x10
push 0x596834
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_6]
mov ecx, dword [esp + 0x12c]
push ecx
push esi
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push str._s_s._s
push eax
mov byte [esp + 0x130], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format_1]
add esp, 0x14
test esi, esi
je 0x417efc
push esi
call sub.MFC71.DLL_operator_delete_1
add esp, 4
mov esi, dword [esp + 0x124]
lea ecx, [esp + 8]
push ecx
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x128]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0x12c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [esp + 0x114]
pop edi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x10c]
mov eax, esi
pop esi
call fcn.00558076
add esp, 0x118
ret 0xc
Function at 0x41a6d0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x57f83b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push esi
lea eax, [esp + 0xc]
xor esi, esi
push eax
mov dword [esp + 0x10], esi
call fcn.0041a0a0
push eax
lea ecx, [esp + 0xc]
push 0x59955c
push ecx
mov dword [esp + 0x24], esi
call fcn.004082e0
push 0x59955c
push eax
lea edx, [esp + 0x18]
push edx
mov byte [esp + 0x30], 1
call fcn.0040ce10
add esp, 0x18
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
lea ecx, [esp + 0xc]
mov byte [esp + 0x18], 3
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov esi, dword [esp + 0x20]
lea eax, [esp + 4]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_5]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov ecx, dword [esp + 0x10]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x18
ret 4

Function at 0x41bb90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
push ebp
push esi
movzx esi, word [esp + 0x10]
push edi
push 0xf1
push esi
mov ebp, ecx
call sub.MFC71.DLL_AfxFindResourceHandle
push 0xf1
mov edi, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x41bbc0
pop edi
pop esi
pop ebp
pop ecx
ret 4
push ebx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
jne 0x41bbd7
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret 4
push ebx
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x41bc4f
cmp word [esi], 1
jne 0x41bc4f
movzx eax, word [esi + 6]
shl eax, 2
push eax
call sub.MFC71.DLL_operator_new
mov edi, eax
add esp, 4
test edi, edi
je 0x41bc4f
xor eax, eax
cmp word [esi + 6], ax
jbe 0x41bc25
lea ecx, [esi + 8]
movzx edx, word [ecx]
mov dword [edi + eax*4], edx
movzx edx, word [esi + 6]
inc eax
add ecx, 2
cmp eax, edx
jl 0x41bc13
movzx eax, word [esi + 6]
push eax
push edi
mov ecx, ebp
call sub.MFC71.DLL_CToolBar::SetButtons
test eax, eax
je 0x41bc46
mov ecx, dword [esp + 0x18]
push ecx
mov ecx, ebp
call fcn.0041ba20
mov dword [esp + 0x10], eax
push edi
call sub.MFC71.DLL_operator_delete
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, dword [esp + 0x10]
pop ebx
pop edi
pop esi
pop ebp
pop ecx
ret 4
Function at 0x41e690
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push 0x11
mov esi, ecx
call dword [sym.imp.USER32.dll_GetKeyState]
mov edx, dword [esp + 8]
lea ecx, [edx - 1]
shr eax, 7
and al, 1
cmp ecx, 3
ja case.default.0x41e6b0
jmp dword [ecx*4 + 0x41e7c4]
test al, al
je 0x41e6d2
mov ecx, dword [esi + 0x84]
mov eax, dword [esp + 0x10]
add ecx, eax
mov dword [esi + 0x84], ecx
jmp case.default.0x41e6b0
mov eax, dword [esi + 0x84]
mov ecx, dword [esp + 0xc]
add eax, ecx
mov dword [esi + 0x84], eax
jmp case.default.0x41e6b0
test al, al
je 0x41e701
mov ecx, dword [esi + 0x88]
mov eax, dword [esp + 0x10]
add ecx, eax
mov dword [esi + 0x88], ecx
jmp case.default.0x41e6b0
mov eax, dword [esi + 0x88]
mov ecx, dword [esp + 0xc]
add eax, ecx
mov dword [esi + 0x88], eax
jmp case.default.0x41e6b0
test al, al
je 0x41e72d
mov ecx, dword [esi + 0x8c]
mov eax, dword [esp + 0x10]
add ecx, eax
mov dword [esi + 0x8c], ecx
jmp case.default.0x41e6b0
mov eax, dword [esi + 0x8c]
mov ecx, dword [esp + 0xc]
add eax, ecx
mov dword [esi + 0x8c], eax
jmp case.default.0x41e6b0
test al, al
je 0x41e759
mov ecx, dword [esi + 0x90]
mov eax, dword [esp + 0x10]
add ecx, eax
mov dword [esi + 0x90], ecx
jmp case.default.0x41e6b0
mov eax, dword [esi + 0x90]
mov ecx, dword [esp + 0xc]
add eax, ecx
mov dword [esi + 0x90], eax
push edx
mov ecx, esi
call fcn.0041dd30
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x41e784
call fcn.0048fef0
jmp 0x41e792
mov edx, dword [esi + 0x20]
push 1
push 0
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC71.DLL_CWnd::FromHandle
mov edx, dword [eax + 0x20]
push 0
push 0
push 0x2a91
push edx
call dword [sym.imp.USER32.dll_PostMessageA]
pop esi
ret 0xc
Function at 0x4201d0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x57fd0c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
mov eax, dword [0x5f3edc]
mov dword [esp + 0x134], eax
xor eax, eax
push esi
push edi
mov edx, ecx
mov edx, dword [edx + 0x20]
mov ecx, 0x40
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
push 0
mov dword [esp + 0x3c], eax
push 0x1005
lea eax, [esp + 0x44]
push edx
mov dword [esp + 0x20], 7
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], 0xff
call dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_6]
mov ecx, dword [ebp + 0x10]
push eax
mov dword [esp + 0x150], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_4]
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT_1]
mov eax, dword [ebp + 8]
mov ecx, 0xa
lea esi, [esp + 0x10]
mov edi, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x144]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x13c]
call fcn.00558076
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0xc

Function at 0x422580
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x57fef8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov ecx, dword [ebx + 0x20]
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
mov ebp, dword [esp + 0x1c]
lea ecx, [esp + 0x28]
sub esi, eax
sub edi, ebp
call fcn.0049aa90
push edi
push esi
lea ecx, [esp + 0x30]
mov dword [esp + 0x54], 0
call fcn.0049ab10
push 0x606060
lea ecx, [esp + 0x2c]
call fcn.0049b7d0
mov eax, dword [ebx + 0x70]
mov dword [esp + 0x14], eax
cdq
sub eax, edx
mov ebp, eax
mov eax, esi
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [ebx + 0x74]
mov dword [esp + 0x10], eax
cdq
sub eax, edx
push 0
push 0
sar ebp, 1
sar ecx, 1
sub ecx, ebp
mov ebp, eax
push 0
push 0
mov eax, edi
cdq
sub eax, edx
mov edx, dword [esp + 0x20]
add ebx, 0x64
push ebx
push edx
mov edx, dword [esp + 0x2c]
sar eax, 1
sar ebp, 1
push edx
sub eax, ebp
push eax
push ecx
lea ecx, [esp + 0x4c]
call fcn.0049b2e0
mov eax, dword [esp + 0x54]
test eax, eax
je 0x42265d
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
mov eax, dword [eax + 4]
push edi
push esi
push ecx
push edx
push eax
lea ecx, [esp + 0x3c]
call fcn.0049ad30
lea ecx, [esp + 0x28]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0049bb60
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x40
ret 4
Function at 0x426b90
Capabilities:
Get file size

Disassembly:
push ebx
push ebp
push esi
xor eax, eax
push edi
push eax
mov esi, ecx
push 0x80
push 3
push eax
mov ecx, 0x41
mov edi, esi
rep stosd dword es:[edi], eax
push 1
lea ebx, [esi + 0x104]
lea ebp, [esi + 0x10c]
mov dword [esi + 0x108], eax
mov dword [ebx], eax
mov dword [esi + 0x110], eax
mov dword [ebp], eax
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], eax
mov eax, dword [esp + 0x28]
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x426c23
push ebp
push 0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileTime]
lea ecx, [esi + 0x11c]
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edx, dword [esp + 0x14]
push 0x104
push edx
push esi
mov dword [esi + 0x118], eax
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x426fe0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
lea ebx, [esi + 8]
push edi
mov edi, ebx
mov ebp, 0x100
mov ecx, edi
call fcn.00426d20
add edi, 0x158
dec ebp
jne 0x426ff0
xor eax, eax
push eax
push 0x80
push 4
push eax
mov ecx, 0x5600
mov edi, ebx
rep stosd dword es:[edi], eax
push 1
mov dword [esi], 0x59c374
mov ecx, 0x5600
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x28]
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 0x15808], eax
je 0x427084
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x427084
mov edx, dword [esi + 0x15808]
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x15800
push ebx
push edx
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp dword [esp + 0x14], 0x15800
je 0x427084
mov ecx, 0x5600
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
ret 4