joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421b50
Capabilities:
Check os version

Disassembly:
mov eax, dword [0x4ab5d0]
sub esp, 0x10
test eax, eax
jne 0x421b66
mov eax, dword [sym.imp.user32.dll_EnableScrollBar]
mov dword [0x4ab5d0], eax
push edi
mov edi, dword [esp + 0x18]
lea ecx, [esp + 4]
push ecx
push edi
call dword [sym.imp.user32.dll_GetClientRect]
push 0x4a740c
push edi
call dword [sym.imp.user32.dll_GetPropW]
test eax, eax
je 0x421b90
xor eax, eax
pop edi
add esp, 0x10
ret 4
push ebx
push ebp
push esi
push 0x6c0
push 8
call dword [sym.imp.kernel32.dll_GetProcessHeap]
push eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov ebx, dword [sym.imp.user32.dll_GetScrollInfo]
mov esi, eax
lea eax, [esi + 0x10]
push eax
push 0
mov ebp, 0x17
push edi
mov dword [eax], 0x1c
mov dword [eax + 4], ebp
call ebx
lea eax, [esi + 0x35c]
push eax
push 1
push edi
mov dword [eax], 0x1c
mov dword [eax + 4], ebp
call ebx
mov ebx, dword [sym.imp.user32.dll_GetWindowLongW]
push 0xffffffffffffffec
push edi
call ebx
shr eax, 0xe
push 0xfffffffffffffff0
and eax, 1
push edi
mov dword [esi + 0x6a4], eax
call ebx
push esi
push 0x4a740c
push edi
mov ebx, eax
call dword [sym.imp.user32.dll_SetPropW]
test ebx, 0x100000
je 0x421c15
mov dword [esi + 8], 8
test ebx, 0x200000
je 0x421c27
mov dword [esi + 0x354], 8
push 0x4510b0
xor eax, eax
or ebp, 0xffffffff
push 0xfffffffffffffffc
push edi
mov dword [esi + 0x348], eax
mov dword [esi + 0x694], 1
mov dword [esi + 0x34c], eax
mov dword [esi + 0x698], eax
mov dword [esi + 0x2c], ebp
mov dword [esi + 0x30], ebp
mov dword [esi + 0x378], ebp
mov dword [esi + 0x37c], ebp
mov dword [esi + 0x6bc], eax
call dword [sym.imp.user32.dll_SetWindowLongW]
mov dword [esi + 4], eax
call dword [sym.imp.kernel32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x421c8a
cmp al, 5
sbb ebx, ebx
and ebx, 2
add ebx, 6
jmp 0x421c8f
mov ebx, 8
push 0x4a740c
push edi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.user32.dll_GetPropW]
test eax, eax
je 0x421d05
cmp ebx, ebp
jne 0x421ccb
call dword [sym.imp.kernel32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x421cc2
cmp al, 5
sbb eax, eax
and eax, 2
add eax, 6
mov ebp, eax
jmp 0x421ccf
mov eax, 8
mov ebp, eax
jmp 0x421ccf
mov ebp, dword [esp + 0x24]
mov ebx, dword [sym.imp.user32.dll_GetPropW]
push 0x4a740c
push edi
call ebx
test eax, eax
je 0x421cec
add eax, 8
je 0x421cec
mov dword [eax + 0x348], ebp
push 0x4a740c
push edi
call ebx
test eax, eax
je 0x421d05
add eax, 0x354
je 0x421d05
mov dword [eax + 0x348], ebp
push 0x37
push 0
push 0
push 0
push 0
push 0
push edi
mov dword [esi + 0x6a8], 0
call dword [sym.imp.user32.dll_SetWindowPos]
pop esi
pop ebp
pop ebx
mov eax, 1
pop edi
add esp, 0x10
ret 4
Function at 0x429ef0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x48baa8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov eax, dword [esp + 0xa4]
push ebx
push esi
push edi
mov ebx, ecx
push eax
mov dword [esp + 0xa0], ebx
call fcn.004168f0
xor edx, edx
mov ecx, 0x1e
mov eax, 0x56
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x60], ecx
mov eax, 0xad
mov edi, 0xa
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov eax, 0x94
mov ecx, 0xa0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x44], edi
mov dword [esp + 0x4c], edi
mov esi, 0x10a
mov dword [esp + 0x74], edi
mov dword [esp + 0x7c], edi
mov dword [esp + 0x48], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x90], eax
mov ecx, 0x144
xor eax, eax
lea edi, [ebx + 0x140]
mov dword [ebx], 0x49253c
rep stosd dword es:[edi], eax
mov dword [esp + 0x54], esi
mov dword [esp + 0x5c], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x8c], esi
lea edi, [ebx + 0xb0]
mov ecx, 0x24
lea esi, [esp + 0xc]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], 0x114
mov dword [esp + 0x3c], edx
mov dword [esp + 0x64], 0x114
mov dword [esp + 0x6c], edx
mov dword [esp + 0x94], 0x114
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0xa8], edx
mov dword [ebx + 0x650], 0xff0000
mov dword [ebx + 0x654], 0x727200
mov dword [ebx + 0x658], 0xffffff
mov dword [ebx + 0x698], edx
mov dword [ebx + 0x65c], 0xfffffff4
mov dword [ebx + 0x660], edx
mov dword [ebx + 0x664], edx
mov dword [ebx + 0x668], edx
mov dword [ebx + 0x66c], 0x190
mov byte [ebx + 0x670], dl
mov byte [ebx + 0x671], dl
mov byte [ebx + 0x672], dl
mov byte [ebx + 0x673], dl
mov byte [ebx + 0x674], 3
mov byte [ebx + 0x675], 2
mov byte [ebx + 0x676], 1
mov byte [ebx + 0x677], dl
lea ecx, [ebx + 0x678]
mov edx, dword [0x492534]
mov dword [ecx], edx
mov ax, word [0x492538]
mov word [ecx + 4], ax
lea ecx, [ebx + 0x6a4]
push ecx
call fcn.00426f60
add esp, 4
xor eax, eax
lea edi, [ebx + 0x6b4]
mov ecx, 0x16
rep stosd dword es:[edi], eax
lea edi, [ebx + 0x70c]
mov ecx, 0x16
rep stosd dword es:[edi], eax
lea edi, [ebx + 0x764]
mov ecx, 0x5a
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0xa0]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0
ret 4
Function at 0x42bfc0
Capabilities:
Create thread

Disassembly:
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0x130]
test eax, eax
jne 0x42c025
lea eax, [esp + 4]
push eax
push 0
push esi
push 0x42bf10
push 0
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.kernel32.dll_CreateThread]
movzx ecx, word [esi + 0x124]
mov dword [esi + 0x128], eax
mov eax, dword [esi + 0xb8]
push eax
or ecx, 0x10000
push ecx
push 0x111
push eax
mov dword [esi + 0x130], 1
call dword [sym.imp.user32.dll_GetParent]
push eax
call dword [sym.imp.user32.dll_SendMessageW]
pop esi
pop ecx
ret
Function at 0x42e040
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x48bbc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
mov eax, dword [esp + 0x4c]
mov edx, dword [eax]
push ebx
mov ebx, dword [eax + 0xc]
push ebp
push esi
push edi
mov edi, dword [eax + 8]
mov ebp, ecx
mov ecx, dword [eax + 4]
mov esi, dword [ebp + 0x20]
sub ebx, ecx
push ebx
sub edi, edx
push edi
push 0
lea eax, [esp + 0x44]
push 0
push eax
call fcn.00410730
mov ecx, dword [eax]
mov dword [esp + 0x2c], ecx
mov edx, dword [eax + 4]
add esp, 0x14
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [esp + 0x58]
push ebx
push edi
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x30], edx
call fcn.00425a50
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0xac]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp + 0xb8]
lea eax, [esi + 0x16c]
push ecx
mov dword [esp + 0x54], 0
mov dword [esp + 0x18], edx
mov dword [esp + 0x60], eax
call fcn.004257d0
mov edx, dword [esi + 0x10]
push eax
mov eax, dword [esp + 0x64]
push 1
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x2c]
push ecx
push edx
push eax
call fcn.00412120
mov ecx, dword [esp + 0x4c]
add esp, 0x20
push 4
push ecx
push 0x318
mov ecx, ebp
call fcn.00419a60
mov eax, dword [ebp + 0xb8]
mov edx, dword [esi + 0xac]
push eax
mov dword [esp + 0x18], edx
call fcn.004257d0
mov ecx, dword [esi + 0x10]
mov edx, dword [esp + 0x60]
mov ebp, dword [esp + 0x5c]
push eax
push 1
push ecx
push edx
lea eax, [esp + 0x2c]
push eax
push ebp
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00412120
add esp, 0x20
lea ecx, [esp + 0x28]
call fcn.00425ae0
push 0
push 5
mov esi, eax
call dword [sym.imp.user32.dll_GetSysColor]
push eax
push 0
push 0
push esi
push ebx
push edi
push 0
push 0
push ebp
call fcn.00411140
add esp, 0x28
push esi
call dword [sym.imp.gdi32.dll_DeleteObject]
lea ecx, [esp + 0x28]
mov dword [esp + 0x50], 0xffffffff
call fcn.00425aa0
mov ecx, dword [esp + 0x48]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x44
ret 8
Function at 0x438fa0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48bec3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.0041a420
xor edi, edi
push 0x74
mov dword [esp + 0x30], edi
mov dword [esi], 0x4932e0
call fcn.0047c5d9
mov ebx, eax
add esp, 4
mov dword [esp + 0x10], ebx
cmp ebx, edi
mov byte [esp + 0x2c], 1
je 0x439022
push edi
push edi
push edi
lea eax, [esp + 0x20]
push edi
push eax
call fcn.00410730
mov edx, dword [eax]
add esp, 0x14
push edi
push esi
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
mov ecx, ebx
call fcn.00455e90
jmp 0x439024
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword [esi + 0x280], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0xdc], edi
mov dword [esi + 0xe4], edi
mov dword [esi + 0xe0], edi
mov dword [esi + 0x134], edi
mov dword [esi + 0x12c], edi
mov dword [esi + 0x118], edi
mov dword [esi + 0x114], edi
mov dword [esi + 0x110], edi
mov dword [esi + 0x13c], eax
pop edi
mov dword [esi + 0x130], 0x96000000
mov eax, esi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0x24
ret
Function at 0x43e8e0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x48c00e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x24]
mov esi, ecx
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov ebp, 7
mov dword [esi + 0x18], ebp
mov dword [esi + 0x14], ebx
push edi
mov dword [esp + 0x1c], esi
mov word [esi + 4], bx
call fcn.0041a210
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov ecx, dword [edi + 0x20]
mov dword [esi + 0x20], ecx
mov edx, dword [edi + 0x24]
mov dword [esi + 0x24], edx
mov eax, dword [edi + 0x28]
mov dword [esi + 0x28], eax
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x2c], ecx
mov edx, dword [edi + 0x30]
push 0xffffffffffffffff
lea ecx, [esi + 0x34]
mov dword [esi + 0x30], edx
push ebx
lea eax, [edi + 0x34]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov dword [esp + 0x28], ebx
mov word [ecx + 4], bx
call fcn.0041a210
mov ecx, dword [edi + 0x50]
mov dword [esi + 0x50], ecx
mov edx, dword [edi + 0x54]
mov dword [esi + 0x54], edx
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov ecx, dword [edi + 0x5c]
mov dword [esi + 0x5c], ecx
mov edx, dword [edi + 0x60]
mov dword [esi + 0x60], edx
mov eax, dword [edi + 0x64]
mov dword [esi + 0x64], eax
mov ecx, dword [edi + 0x68]
mov dword [esi + 0x68], ecx
mov edx, dword [edi + 0x6c]
push 0xffffffffffffffff
lea ecx, [esi + 0x70]
mov dword [esi + 0x6c], edx
push ebx
lea eax, [edi + 0x70]
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push eax
mov byte [esp + 0x28], 1
mov word [ecx + 4], bx
call fcn.0041a210
mov ecx, dword [edi + 0x8c]
mov dword [esi + 0x8c], ecx
mov edx, dword [edi + 0x90]
mov dword [esi + 0x90], edx
mov eax, dword [edi + 0x94]
mov dword [esi + 0x94], eax
mov ecx, dword [edi + 0x98]
mov dword [esi + 0x98], ecx
mov edx, dword [edi + 0x9c]
mov dword [esi + 0x9c], edx
mov eax, dword [edi + 0xa0]
mov dword [esi + 0xa0], eax
mov ecx, dword [edi + 0xa4]
mov byte [esp + 0x1c], 2
mov dword [esi + 0xa4], ecx
mov edx, dword [edi + 0xa8]
mov dword [esi + 0xa8], edx
mov eax, dword [edi + 0xac]
mov dword [esi + 0xac], eax
mov ecx, dword [edi + 0xb0]
mov dword [esi + 0xb0], ecx
mov edx, dword [edi + 0xb4]
mov dword [esi + 0xb4], edx
mov eax, dword [edi + 0xb8]
mov dword [esi + 0xb8], eax
mov ecx, dword [edi + 0xbc]
mov dword [esi + 0xbc], ecx
mov edx, dword [edi + 0xc0]
push 0xffffffffffffffff
lea ecx, [esi + 0xc4]
mov dword [esi + 0xc0], edx
push ebx
add edi, 0xc4
mov dword [ecx + 0x18], ebp
mov dword [ecx + 0x14], ebx
push edi
mov word [ecx + 4], bx
call fcn.0041a210
mov ecx, dword [esp + 0x14]
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x43f6e0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48c0fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x22c
push ebx
push ebp
push esi
push edi
mov ebp, ecx
mov eax, dword [ebp + 0x12c]
xor esi, esi
cmp eax, esi
jne 0x43f7f2
mov ebx, dword [sym.imp.user32.dll_LoadCursorW]
push 0x7f89
push esi
call ebx
cmp eax, esi
mov dword [ebp + 0x12c], eax
jne 0x43f7f2
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], esi
mov word [esp + 0x18], si
xor eax, eax
mov ecx, 0x82
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
push 0x104
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x24c], esi
call dword [sym.imp.kernel32.dll_GetWindowsDirectoryW]
lea ecx, [esp + 0x30]
push ecx
call fcn.00469d6f
add esp, 4
push eax
lea edx, [esp + 0x34]
push edx
lea ecx, [esp + 0x1c]
call fcn.00419f00
push 0x493554
call fcn.00469d6f
add esp, 4
push eax
push 0x493554
lea ecx, [esp + 0x1c]
call fcn.0043e580
mov eax, dword [esp + 0x2c]
mov edi, 8
cmp eax, edi
mov eax, dword [esp + 0x18]
jae 0x43f7b5
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.kernel32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x43f7d8
push 0x6a
push esi
call ebx
test eax, eax
je 0x43f7d8
push eax
call dword [sym.imp.user32.dll_CopyIcon]
mov dword [ebp + 0x12c], eax
push esi
call dword [sym.imp.kernel32.dll_FreeLibrary]
cmp dword [esp + 0x2c], edi
jb 0x43f7f2
mov eax, dword [esp + 0x18]
push eax
call fcn.0047c604
add esp, 4
mov ecx, dword [esp + 0x23c]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43f810
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x48c068
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
xor esi, esi
push 0x48ee44
mov edi, ecx
mov dword [esp + 0x24], 7
mov dword [esp + 0x20], esi
mov word [esp + 0x10], si
call fcn.00469d6f
add esp, 4
push eax
push 0x48ee44
lea ecx, [esp + 0x10]
call fcn.00419f00
push 0x493cc8
mov dword [esp + 0x30], esi
call fcn.00469d6f
add esp, 4
push eax
push 0x493cc8
lea ecx, [esp + 0x10]
call fcn.0043e580
push 0x493c30
call fcn.00469d6f
add esp, 4
push eax
push 0x493c30
lea ecx, [esp + 0x10]
call fcn.0043e580
push 0x493b98
call fcn.00469d6f
add esp, 4
push eax
push 0x493b98
lea ecx, [esp + 0x10]
call fcn.0043e580
push 0x493af8
call fcn.00469d6f
add esp, 4
push eax
push 0x493af8
lea ecx, [esp + 0x10]
call fcn.0043e580
push 0x493a60
call fcn.00469d6f
add esp, 4
push eax
push 0x493a60
lea ecx, [esp + 0x10]
call fcn.0043e580
push 0x4939c8
call fcn.00469d6f
add esp, 4
push eax
push 0x4939c8
lea ecx, [esp + 0x10]
call fcn.0043e580
push 0x493930
call fcn.00469d6f
add esp, 4
push eax
push 0x493930
lea ecx, [esp + 0x10]
call fcn.0043e580
push 0x493890
call fcn.00469d6f
add esp, 4
push eax
push 0x493890
lea ecx, [esp + 0x10]
call fcn.0043e580
push 0x493800
call fcn.00469d6f
add esp, 4
push eax
push 0x493800
lea ecx, [esp + 0x10]
call fcn.0043e580
push 0x4937a8
call fcn.00469d6f
add esp, 4
push eax
push 0x4937a8
lea ecx, [esp + 0x10]
call fcn.0043e580
push 0x493750
call fcn.00469d6f
add esp, 4
push eax
push 0x493750
lea ecx, [esp + 0x10]
call fcn.0043e580
push 0x4936e8
call fcn.00469d6f
add esp, 4
push eax
push 0x4936e8
lea ecx, [esp + 0x10]
call fcn.0043e580
push 0x493688
call fcn.00469d6f
add esp, 4
push eax
push 0x493688
lea ecx, [esp + 0x10]
call fcn.0043e580
push 0x493630
call fcn.00469d6f
add esp, 4
push eax
push 0x493630
lea ecx, [esp + 0x10]
call fcn.0043e580
push 0x493600
call fcn.00469d6f
add esp, 4
push eax
push 0x493600
lea ecx, [esp + 0x10]
call fcn.0043e580
push 0x4935d0
call fcn.00469d6f
add esp, 4
push eax
push 0x4935d0
lea ecx, [esp + 0x10]
call fcn.0043e580
push 0x493570
call fcn.00469d6f
add esp, 4
push eax
push 0x493570
lea ecx, [esp + 0x10]
call fcn.0043e580
mov eax, dword [esp + 0x20]
mov esi, 8
cmp eax, esi
mov eax, dword [esp + 0xc]
jae 0x43fa50
lea eax, [esp + 0xc]
push eax
mov ecx, edi
call fcn.00446e40
mov eax, dword [esp + 0x20]
pop edi
cmp eax, esi
pop esi
jb 0x43fa6f
mov eax, dword [esp + 4]
push eax
call fcn.0047c604
add esp, 4
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
add esp, 0x28
ret
Function at 0x442980
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x48c2d8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push ebp
push esi
push edi
xor esi, esi
mov ebp, 7
push 0x48ee44
mov edi, ecx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], esi
mov word [esp + 0x3c], si
call fcn.00469d6f
add esp, 4
push eax
push 0x48ee44
lea ecx, [esp + 0x3c]
call fcn.00419f00
push 0x48ee44
mov dword [esp + 0x94], esi
mov dword [esp + 0x34], ebp
mov dword [esp + 0x30], esi
mov word [esp + 0x20], si
call fcn.00469d6f
add esp, 4
push eax
push 0x48ee44
lea ecx, [esp + 0x20]
call fcn.00419f00
mov eax, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
push eax
lea ecx, [esp + 0x38]
push ecx
push edx
lea eax, [esp + 0x78]
push eax
mov ecx, edi
mov byte [esp + 0xa0], 1
call fcn.00440560
mov eax, dword [esp + 0x84]
mov ebx, 8
cmp eax, ebx
jb 0x442a44
mov ecx, dword [esp + 0x70]
push ecx
call fcn.0047c604
add esp, 4
mov dword [esp + 0x10], 1
lea esp, [esp]
mov edx, dword [esp + 0x98]
mov eax, dword [edx + 0x14]
mov ecx, dword [esp + 0x9c]
cmp dword [ecx], eax
jae 0x442b62
push ecx
lea eax, [esp + 0x38]
push eax
push edx
lea ecx, [esp + 0x5c]
push ecx
mov ecx, edi
call fcn.00440560
cmp dword [esp + 0x68], ebx
jb 0x442a8f
mov edx, dword [esp + 0x54]
push edx
call fcn.0047c604
add esp, 4
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x74]
push edx
mov ecx, edi
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], esi
mov word [esp + 0x60], si
mov dword [esp + 0x20], esi
call fcn.00440ca0
push 0xffffffffffffffff
push esi
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x9c], 2
call fcn.0041a210
cmp dword [esp + 0x84], ebx
mov byte [esp + 0x90], 1
jb 0x442ae9
mov eax, dword [esp + 0x70]
push eax
call fcn.0047c604
add esp, 4
push 0x493f10
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], esi
mov word [esp + 0x74], si
call fcn.00469d6f
mov ecx, dword [esp + 0x30]
add esp, 4
push eax
push 0x493f10
push ecx
push esi
lea ecx, [esp + 0x28]
call fcn.0041d4e0
test eax, eax
jne 0x442b29
mov eax, dword [esp + 0x10]
inc eax
jmp 0x442b54
push 0x493f00
call fcn.00469d6f
mov edx, dword [esp + 0x30]
add esp, 4
push eax
push 0x493f00
push edx
push esi
lea ecx, [esp + 0x28]
call fcn.0041d4e0
test eax, eax
jne 0x442b58
mov eax, dword [esp + 0x10]
dec eax
mov dword [esp + 0x10], eax
cmp dword [esp + 0x10], esi
jne 0x442a50
cmp dword [esp + 0x30], ebx
jb 0x442b75
mov eax, dword [esp + 0x1c]
push eax
call fcn.0047c604
add esp, 4
mov eax, dword [esp + 0x4c]
pop edi
mov dword [esp + 0x28], esi
mov word [esp + 0x18], si
pop esi
mov dword [esp + 0x28], ebp
pop ebp
cmp eax, ebx
pop ebx
jb 0x442b9b
mov ecx, dword [esp + 0x28]
push ecx
call fcn.0047c604
add esp, 4
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
add esp, 0x84
ret 8
Function at 0x4456e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x48c4f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x84]
xor ebx, ebx
push edi
mov esi, ecx
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.00469d6f
add esp, 4
push eax
push edi
lea ecx, [esp + 0x20]
call fcn.00419f00
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x88]
lea ebp, [esi + 0x2b0]
push ecx
mov ecx, ebp
mov dword [esp + 0x84], ebx
call fcn.0043e6a0
cmp dword [esp + 0x30], 8
mov dword [esp + 0x7c], 0xffffffff
jb 0x445769
mov edx, dword [esp + 0x1c]
push edx
call fcn.0047c604
add esp, 4
mov esi, dword [esi + 0x2b4]
mov eax, dword [esp + 0x84]
cmp eax, esi
je 0x445799
mov ecx, dword [esp + 0x88]
mov dword [eax + 0x28], ecx
mov ecx, dword [esp + 0x74]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8
mov edx, dword [esp + 0x88]
push edx
sub esp, 0x1c
mov esi, esp
mov dword [esp + 0xa8], esp
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
push edi
mov word [esi + 4], bx
call fcn.00469d6f
add esp, 4
push eax
push edi
mov ecx, esi
call fcn.00419f00
lea eax, [esp + 0x74]
push eax
call fcn.0043ebd0
add esp, 0x24
mov esi, eax
push 0xffffffffffffffff
push ebx
mov edi, 7
push esi
lea ecx, [esp + 0x40]
mov dword [esp + 0x88], 1
mov dword [esp + 0x58], edi
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
call fcn.0041a210
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x50], ecx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x14]
push eax
mov ecx, ebp
mov byte [esp + 0x84], 2
call fcn.00445220
mov eax, dword [esp + 0x4c]
mov esi, 8
cmp eax, esi
jb 0x445840
mov ecx, dword [esp + 0x38]
push ecx
call fcn.0047c604
add esp, 4
cmp dword [esp + 0x6c], esi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], ebx
mov word [esp + 0x38], bx
jb 0x445860
mov edx, dword [esp + 0x58]
push edx
call fcn.0047c604
add esp, 4
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x70
ret 8
Function at 0x451700
Capabilities:
Get system information on windows

Disassembly:
mov eax, dword [0x4ab6d4]
sub esp, 0x24
test eax, eax
push esi
mov esi, ecx
jne 0x451724
lea eax, [esp + 4]
push eax
call dword [sym.imp.kernel32.dll_GetSystemInfo]
mov ecx, dword [esp + 0x10]
mov dword [0x4ab6d4], ecx
mov edx, dword [0x4ab6d8]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
push edi
mov edi, dword [esp + 0x34]
mov dword [esi], edx
mov edx, dword [esp + 0x3c]
mov dword [0x4ab6d8], esi
push eax
mov dword [esi + 4], eax
mov dword [esi + 8], edi
mov dword [esi + 0x10], ecx
mov dword [esi + 0x14], edx
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
push edi
push eax
call dword [0x4ab6bc]
mov dword [esi + 0xc], eax
cmp eax, dword [0x4ab6d4]
pop edi
jbe 0x451775
cmp byte [eax], 0x68
jne 0x451775
mov eax, dword [eax + 1]
mov dword [esi + 0xc], eax
mov ecx, dword [esi + 0x14]
mov edx, dword [esi + 0x10]
mov eax, dword [esi + 0xc]
push ecx
mov ecx, dword [esi + 4]
push edx
push eax
push ecx
call fcn.00451610
mov eax, esi
pop esi
add esp, 0x24
ret 0x10