joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c0b1c
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc60
push ebx
xor edx, edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x5c0cc7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x44], 0
jne 0x5c0ca8
mov dl, 1
mov eax, dword [0x48ae6c]
call fcn.004ae3cc
mov edx, dword [ebp - 4]
mov dword [edx + 0x44], eax
mov eax, dword [ebp - 4]
add eax, 0x48
call fcn.00409b90
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x5c0c97
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0052b0b4
test al, al
je 0x5c0c8a
lea eax, [ebp - 0xc]
push eax
push 0x20019
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x39c], eax
mov byte [ebp - 0x398], 0
lea ecx, [ebp - 0x39c]
mov edx, 0x5c0cd8
lea eax, [ebp - 0x394]
call fcn.00423e00
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW_1
test eax, eax
jne 0x5c0c8a
xor eax, eax
push ebp
push 0x5c0c83
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0x200
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x314]
push eax
push 0
push 0
push 0x5c0d48
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW_1
test eax, eax
jne 0x5c0c6c
lea eax, [ebp - 0x3a0]
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040a6e8
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov ebx, dword [eax]
call dword [ebx + 0x40]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x4c]
jne 0x5c0c6c
mov eax, dword [ebp - 4]
add eax, 0x48
lea edx, [ebp - 0x314]
mov ecx, pe_nt_image_headers32
call fcn.0040a6e8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c0c8a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x5c0b8d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44]
mov byte [eax + 0x2d], 0
mov dl, 1
call fcn.004ae2f0
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5c0cce
lea eax, [ebp - 0x3a0]
call fcn.00409b90
ret

Function at 0x5c1880
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x5e30b8]
cmp byte [eax + 0xc5], 0
jne 0x5c18f2
cmp dword [0x5e30dc], 0
jne 0x5c18b2
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, dword [0x5db9a4]
push eax
push 3
call sub.user32.dll_SetWindowsHookExW
mov dword [0x5e30dc], eax
cmp dword [0x5e30d8], 0
jne 0x5c18cd
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventW
mov dword [0x5e30d8], eax
cmp dword [0x5e30e0], 0
jne 0x5c18f2
push esp
push 0
push 0
mov eax, dword [0x5db9a0]
push eax
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread_1
mov dword [0x5e30e0], eax
pop edx
ret
Function at 0x5c1d14
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdfc
push ebx
push esi
test dl, dl
je 0x5c1d2b
add esp, 0xfffffff0
call fcn.00408448
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.004bec8c
mov eax, dword [0x5dba14]
cmp byte [eax], 0
jne 0x5c1d58
push 0
call sub.ole32.dll_OleInitialize
test eax, 0x80000000
sete al
mov byte [ebx + 0x194], al
mov eax, dword [0x5dbd60]
cmp word [eax + 2], 0
jne 0x5c1d72
mov eax, dword [0x5dbd60]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005c3fec
mov eax, dword [0x5dbe94]
cmp word [eax + 2], 0
jne 0x5c1d8c
mov eax, dword [0x5dbe94]
mov dword [eax + 4], ebx
mov dword [eax], fcn.005c41f0
mov byte [ebx + 0x41], 0
mov dl, 1
mov eax, dword [0x4f2848]
call fcn.004f89ac
mov esi, eax
mov dword [ebx + 0x54], esi
mov dword [esi + 0xc], ebx
mov dword [esi + 8], 0x5c4768
mov dl, 1
mov eax, dword [0x4874ec]
call fcn.00407d90
mov dword [ebx + 0xa8], eax
mov dl, 1
mov eax, dword [0x4874ec]
call fcn.00407d90
mov dword [ebx + 0xc8], eax
xor eax, eax
mov dword [ebx + 0x74], eax
xor eax, eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x70], 0xff000018
mov dword [ebx + 0x8c], 0x1f4
mov byte [ebx + 0x90], 1
xor eax, eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x88], 0x9c4
mov byte [ebx + 0x9c], 0
mov byte [ebx + 0xbd], 1
mov byte [ebx + 0xd4], 1
mov dl, 1
mov eax, dword [0x4f7270]
call fcn.005020cc
mov esi, eax
mov dword [ebx + 0xb8], esi
push 0x5c1f74
mov eax, dword [0x5dbc10]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconW
mov edx, eax
mov eax, esi
call fcn.00502564
mov eax, dword [ebx + 0xb8]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x5c4a50
mov dl, 1
mov eax, dword [0x4874ec]
call fcn.00407d90
mov dword [ebx + 0xb0], eax
push pe_nt_image_headers32
lea eax, [ebp - 0x202]
push eax
mov eax, dword [0x5dbc10]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameW_1
lea eax, [ebp - 0x202]
mov dx, 0x5c
call fcn.00423c00
test eax, eax
je 0x5c1ea6
lea edx, [eax + 2]
lea eax, [ebp - 0x202]
call fcn.00423a58
lea eax, [ebp - 0x202]
mov dx, 0x2e
call fcn.00423be4
test eax, eax
je 0x5c1ebe
mov word [eax], 0
lea eax, [ebp - 0x202]
push eax
call sub.user32.dll_CharNextW_1
push eax
call sub.user32.dll_CharLowerW
lea eax, [ebx + 0xa4]
lea edx, [ebp - 0x202]
mov ecx, pe_nt_image_headers32
call fcn.0040a6e8
push ebx
push 0x5c39c8
call fcn.005b7178
mov dword [ebx + 0x190], eax
mov byte [ebx + 0xe8], 0
mov eax, dword [0x5dba14]
cmp byte [eax], 0
jne 0x5c1f0f
mov eax, ebx
call fcn.005c215c
mov byte [ebx + 0x6d], 1
mov byte [ebx + 0x6e], 1
mov byte [ebx + 0x6f], 1
mov byte [ebx + 0xbe], 1
mov byte [ebx + 0xe9], 0
mov byte [ebx + 0xf4], 0
xor eax, eax
mov dword [ebx + 0xec], eax
mov byte [ebx + 0xeb], 0
xor eax, eax
mov dword [ebx + 0xc0], eax
mov eax, ebx
call fcn.005c4c88
mov eax, ebx
call fcn.005c58e8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x5c1f6c
call fcn.004084a0
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x5c24a0
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [ebx + 0x188]
test eax, eax
je 0x5c2542
cmp dword [ebx + 0xac], 0
jne 0x5c253c
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x5c23dc
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0xa8]
cmp dword [eax + 8], 0
je 0x5c253c
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongW
test al, 8
je 0x5c2502
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0xa8]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x5c253c
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [ebx + 0xa8]
mov edx, esi
call fcn.004a998c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x5c2511
inc dword [ebx + 0xac]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x5c2780
Capabilities:
Enumerate gui resources
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov ebx, edx
mov esi, eax
mov eax, dword [0x5e30b8]
cmp dword [eax + 0x188], 0
je 0x5c28fa
test bl, bl
jne 0x5c2845
cmp dword [esi + 0xb4], 0
jne 0x5c283a
mov eax, esi
call fcn.005c5738
push eax
push 0x5c2674
call sub.user32.dll_EnumWindows
cmp dword [esi + 0x58], 0
je 0x5c280b
mov eax, dword [0x5e30b8]
cmp byte [eax + 0xeb], 0
je 0x5c280b
mov eax, dword [esi + 0xf0]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x5c27ec
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5c280b
push 0
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5c27f4
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5c283a
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004a998c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5c281a
inc dword [esi + 0xb4]
jmp 0x5c28fa
cmp dword [esi + 0xb4], 0
jle 0x5c28fa
dec dword [esi + 0xb4]
cmp dword [esi + 0xb4], 0
jne 0x5c28fa
cmp dword [esi + 0x58], 0
je 0x5c28af
mov eax, dword [0x5e30b8]
cmp byte [eax + 0xeb], 0
je 0x5c28af
mov eax, dword [esi + 0xf0]
mov dword [esp + 4], eax
mov eax, dword [esp + 4]
test eax, eax
je 0x5c2890
sub eax, 4
mov eax, dword [eax]
mov edi, eax
dec edi
cmp edi, 0
jl 0x5c28af
push 5
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + edi*4]
push eax
call sub.user32.dll_ShowWindow
dec edi
cmp edi, 0xffffffff
jne 0x5c2898
mov eax, dword [esi + 0xb0]
mov edi, dword [eax + 8]
dec edi
cmp edi, 0
jl 0x5c28de
cmp bl, 1
cmc
sbb eax, eax
push eax
mov eax, dword [esi + 0xb0]
mov edx, edi
call fcn.004a998c
push eax
call sub.user32.dll_ShowOwnedPopups
dec edi
cmp edi, 0xffffffff
jne 0x5c28be
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
call dword [edx + 8]
lea eax, [esi + 0xf0]
mov edx, dword [0x5b3fd8]
call fcn.0040bf5c
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x5c3554
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xfffffe00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xc4], 0
je 0x5c35b1
cmp byte [ebx + 0xeb], 0
jne 0x5c35b1
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x188]
push eax
call sub.user32.dll_GetWindowTextW
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00409d18
mov eax, dword [esi]
test eax, eax
je 0x5c359e
sub eax, 4
mov eax, dword [eax]
test eax, eax
jne 0x5c35be
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00409f70
jmp 0x5c35be
mov eax, esi
mov edx, dword [ebx + 0xa4]
call fcn.00409f70
add esp, 0x200
pop esi
pop ebx
ret

Function at 0x5c4e70
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x98]
test esi, esi
je 0x5c4ee1
mov eax, esi
call fcn.00524c14
test al, al
je 0x5c4ee1
mov eax, dword [ebx + 0x98]
call fcn.00524840
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x5c4ee1
mov eax, dword [ebx + 0x98]
mov edx, dword [eax]
call dword [edx + 0x128]
test al, al
je 0x5c4ed2
push 0
mov eax, dword [ebx + 0x98]
call fcn.00524840
push eax
call sub.user32.dll_ShowWindow
mov eax, dword [ebx + 0x98]
xor edx, edx
call fcn.0051b370
jmp 0x5c4ee1
mov edx, dword [ebx + 0x88]
mov cl, 1
mov eax, ebx
call fcn.005c4ca8
pop esi
pop ebx
ret
Function at 0x5cd850
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00409c74
xor eax, eax
push ebp
push 0x5cd8e1
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.00407798
mov dword [ebp - 0x48], 0x44
mov dword [ebp - 0x1c], 1
mov word [ebp - 0x18], 1
mov eax, dword [ebp - 4]
test eax, eax
je 0x5cd89e
sub eax, 4
mov eax, dword [eax]
lea edx, [ebp - 4]
xchg edx, eax
call fcn.0040a7c0
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x30
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.0040a644
push eax
push 0
call sub.kernel32.dll_CreateProcessW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5cd8e8
lea eax, [ebp - 4]
call fcn.00409b90
ret
Function at 0x437723
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ecx
push eax
add esp, 4
jmp 0x437714
pop ecx
push edx
call 0x437723
add byte [ebx + 0x3b], cl
inc edi
cmp eax, 0x8334414e
les eax, [ecx + eax*4]
dec edx
cmc
add byte [eax], al
jmp 0x437732
add edx, 0x3233
pop edx
lea ecx, [ebp - 0x1738]
mov dword [ebp - 0xc94], ecx
mov edx, dword [ebp - 0x504]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0xc90], eax
xor ecx, ecx
mov word [ebp - 0x210], cx
xor edx, edx
mov word [ebp - 0x10c], dx
push edi
push ebx
add esp, 4
or edi, 0x10838
pop edi
push ecx
call fcn.00437782
add byte [ebp + ecx*2 + 0x4b], al
cmp bh, byte [esi]
dec ebx
dec edx
inc ecx
xor eax, dword [ebx - 0x1e7efb3c]
add esp, 4
and ecx, 0x1fa5
add esp, 4
and ecx, 0x1fa5
pop ecx
push eax
push esi
add esp, 4
add eax, 0x13488
pop eax
mov eax, dword [ebp - 0xc90]
mov cx, word [eax]
mov word [ebp - 0x1032], cx
mov edx, dword [ebp - 0xc90]
add edx, 2
mov dword [ebp - 0xc90], edx
mov ax, word [ebp - 0x1032]
mov word [ebp - 0x210], ax
mov ecx, dword [ebp - 0xc94]
mov dx, word [ecx]
mov word [ebp - 0x1034], dx
mov eax, dword [ebp - 0xc94]
add eax, 2
mov dword [ebp - 0xc94], eax
mov cx, word [ebp - 0x1034]
mov word [ebp - 0x10c], cx
push ecx
xor ecx, 0x33e
pop ecx
push edx
push edx
add esp, 4
xor edx, 0x8541
pop edx
push eax
push esi
add esp, 4
add eax, 0x114a7
add eax, 0x4e37
add eax, 0x15539
or eax, 0xc814
pop eax
movzx edx, word [ebp - 0x10c]
test edx, edx
jne 0x437847
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
sub eax, ecx
mov dword [ebp - 0x15e0], eax
jmp 0x4378aa
movzx edx, word [ebp - 0x210]
movzx eax, word [ebp - 0x10c]
cmp edx, eax
je 0x437766
movzx ecx, word [ebp - 0x210]
xor ecx, 0x20
movzx edx, word [ebp - 0x10c]
cmp ecx, edx
je 0x437766
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
cmp eax, ecx
jge 0x437894
mov dword [ebp - 0x15dc], 0xffffffff
jmp 0x43789e
mov dword [ebp - 0x15dc], 1
mov edx, dword [ebp - 0x15dc]
mov dword [ebp - 0x15e0], edx
cmp dword [ebp - 0x15e0], 0
jne 0x4378f3
push ecx
push esi
add esp, 4
or ecx, 0x14b5a
call 0x4378ce
add byte [edx], dh
aas
dec ebp
xor eax, 0x3a4a503e
cmp ecx, dword [esi - 0x7d]
les eax, [ebx + ebp*8]
add eax, dword [ecx + 0x3c]
cmp dword [ecx + 0xeff4c1], eax
add byte [ecx + 0x56], bl
add esi, 0x4392
pop esi
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x31c], eax
jmp 0x43795b
push ecx
push edi
add esp, 4
xor ecx, 0xd3f1
add ecx, 0xb60b
sub ecx, 0x11617
pop ecx
push eax
xor eax, 0x9f9e
and eax, 0x10ee
and eax, 0x17b5b
sub eax, 0x1173c
pop eax
mov ecx, dword [ebp - 0x504]
mov edx, dword [ecx]
mov dword [ebp - 0x504], edx
mov eax, dword [ebp - 0x504]
cmp eax, dword [ebp - 0xc98]
je 0x437951
mov ecx, dword [ebp - 0x504]
cmp dword [ecx + 0x30], 0
jne 0x437707
mov dword [ebp - 0x31c], 0
Function at 0x437782
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ecx
push eax
add esp, 4
jmp 0x437714
pop ecx
push edx
call 0x437723
add byte [ebx + 0x3b], cl
inc edi
cmp eax, 0x8334414e
les eax, [ecx + eax*4]
dec edx
cmc
add byte [eax], al
jmp 0x437732
add edx, 0x3233
pop edx
lea ecx, [ebp - 0x1738]
mov dword [ebp - 0xc94], ecx
mov edx, dword [ebp - 0x504]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0xc90], eax
xor ecx, ecx
mov word [ebp - 0x210], cx
xor edx, edx
mov word [ebp - 0x10c], dx
push edi
push ebx
add esp, 4
or edi, 0x10838
pop edi
push ecx
call fcn.00437782
add byte [ebp + ecx*2 + 0x4b], al
cmp bh, byte [esi]
dec ebx
dec edx
inc ecx
xor eax, dword [ebx - 0x1e7efb3c]
add esp, 4
and ecx, 0x1fa5
add esp, 4
and ecx, 0x1fa5
pop ecx
push eax
push esi
add esp, 4
add eax, 0x13488
pop eax
mov eax, dword [ebp - 0xc90]
mov cx, word [eax]
mov word [ebp - 0x1032], cx
mov edx, dword [ebp - 0xc90]
add edx, 2
mov dword [ebp - 0xc90], edx
mov ax, word [ebp - 0x1032]
mov word [ebp - 0x210], ax
mov ecx, dword [ebp - 0xc94]
mov dx, word [ecx]
mov word [ebp - 0x1034], dx
mov eax, dword [ebp - 0xc94]
add eax, 2
mov dword [ebp - 0xc94], eax
mov cx, word [ebp - 0x1034]
mov word [ebp - 0x10c], cx
push ecx
xor ecx, 0x33e
pop ecx
push edx
push edx
add esp, 4
xor edx, 0x8541
pop edx
push eax
push esi
add esp, 4
add eax, 0x114a7
add eax, 0x4e37
add eax, 0x15539
or eax, 0xc814
pop eax
movzx edx, word [ebp - 0x10c]
test edx, edx
jne 0x437847
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
sub eax, ecx
mov dword [ebp - 0x15e0], eax
jmp 0x4378aa
movzx edx, word [ebp - 0x210]
movzx eax, word [ebp - 0x10c]
cmp edx, eax
je 0x437766
movzx ecx, word [ebp - 0x210]
xor ecx, 0x20
movzx edx, word [ebp - 0x10c]
cmp ecx, edx
je 0x437766
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
cmp eax, ecx
jge 0x437894
mov dword [ebp - 0x15dc], 0xffffffff
jmp 0x43789e
mov dword [ebp - 0x15dc], 1
mov edx, dword [ebp - 0x15dc]
mov dword [ebp - 0x15e0], edx
cmp dword [ebp - 0x15e0], 0
jne 0x4378f3
push ecx
push esi
add esp, 4
or ecx, 0x14b5a
call 0x4378ce
add byte [edx], dh
aas
dec ebp
xor eax, 0x3a4a503e
cmp ecx, dword [esi - 0x7d]
les eax, [ebx + ebp*8]
add eax, dword [ecx + 0x3c]
cmp dword [ecx + 0xeff4c1], eax
add byte [ecx + 0x56], bl
add esi, 0x4392
pop esi
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x31c], eax
jmp 0x43795b
push ecx
push edi
add esp, 4
xor ecx, 0xd3f1
add ecx, 0xb60b
sub ecx, 0x11617
pop ecx
push eax
xor eax, 0x9f9e
and eax, 0x10ee
and eax, 0x17b5b
sub eax, 0x1173c
pop eax
mov ecx, dword [ebp - 0x504]
mov edx, dword [ecx]
mov dword [ebp - 0x504], edx
mov eax, dword [ebp - 0x504]
cmp eax, dword [ebp - 0xc98]
je 0x437951
mov ecx, dword [ebp - 0x504]
cmp dword [ecx + 0x30], 0
jne 0x437707
mov dword [ebp - 0x31c], 0
Function at 0x4378ce
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push ecx
push eax
add esp, 4
jmp 0x437714
pop ecx
push edx
call 0x437723
add byte [ebx + 0x3b], cl
inc edi
cmp eax, 0x8334414e
les eax, [ecx + eax*4]
dec edx
cmc
add byte [eax], al
jmp 0x437732
add edx, 0x3233
pop edx
lea ecx, [ebp - 0x1738]
mov dword [ebp - 0xc94], ecx
mov edx, dword [ebp - 0x504]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0xc90], eax
xor ecx, ecx
mov word [ebp - 0x210], cx
xor edx, edx
mov word [ebp - 0x10c], dx
push edi
push ebx
add esp, 4
or edi, 0x10838
pop edi
push ecx
call fcn.00437782
add byte [ebp + ecx*2 + 0x4b], al
cmp bh, byte [esi]
dec ebx
dec edx
inc ecx
xor eax, dword [ebx - 0x1e7efb3c]
add esp, 4
and ecx, 0x1fa5
add esp, 4
and ecx, 0x1fa5
pop ecx
push eax
push esi
add esp, 4
add eax, 0x13488
pop eax
mov eax, dword [ebp - 0xc90]
mov cx, word [eax]
mov word [ebp - 0x1032], cx
mov edx, dword [ebp - 0xc90]
add edx, 2
mov dword [ebp - 0xc90], edx
mov ax, word [ebp - 0x1032]
mov word [ebp - 0x210], ax
mov ecx, dword [ebp - 0xc94]
mov dx, word [ecx]
mov word [ebp - 0x1034], dx
mov eax, dword [ebp - 0xc94]
add eax, 2
mov dword [ebp - 0xc94], eax
mov cx, word [ebp - 0x1034]
mov word [ebp - 0x10c], cx
push ecx
xor ecx, 0x33e
pop ecx
push edx
push edx
add esp, 4
xor edx, 0x8541
pop edx
push eax
push esi
add esp, 4
add eax, 0x114a7
add eax, 0x4e37
add eax, 0x15539
or eax, 0xc814
pop eax
movzx edx, word [ebp - 0x10c]
test edx, edx
jne 0x437847
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
sub eax, ecx
mov dword [ebp - 0x15e0], eax
jmp 0x4378aa
movzx edx, word [ebp - 0x210]
movzx eax, word [ebp - 0x10c]
cmp edx, eax
je 0x437766
movzx ecx, word [ebp - 0x210]
xor ecx, 0x20
movzx edx, word [ebp - 0x10c]
cmp ecx, edx
je 0x437766
movzx eax, word [ebp - 0x210]
movzx ecx, word [ebp - 0x10c]
cmp eax, ecx
jge 0x437894
mov dword [ebp - 0x15dc], 0xffffffff
jmp 0x43789e
mov dword [ebp - 0x15dc], 1
mov edx, dword [ebp - 0x15dc]
mov dword [ebp - 0x15e0], edx
cmp dword [ebp - 0x15e0], 0
jne 0x4378f3
push ecx
push esi
add esp, 4
or ecx, 0x14b5a
call 0x4378ce
add byte [edx], dh
aas
dec ebp
xor eax, 0x3a4a503e
cmp ecx, dword [esi - 0x7d]
les eax, [ebx + ebp*8]
add eax, dword [ecx + 0x3c]
cmp dword [ecx + 0xeff4c1], eax
add byte [ecx + 0x56], bl
add esi, 0x4392
pop esi
mov eax, dword [ebp - 0x504]
mov dword [ebp - 0x31c], eax
jmp 0x43795b
push ecx
push edi
add esp, 4
xor ecx, 0xd3f1
add ecx, 0xb60b
sub ecx, 0x11617
pop ecx
push eax
xor eax, 0x9f9e
and eax, 0x10ee
and eax, 0x17b5b
sub eax, 0x1173c
pop eax
mov ecx, dword [ebp - 0x504]
mov edx, dword [ecx]
mov dword [ebp - 0x504], edx
mov eax, dword [ebp - 0x504]
cmp eax, dword [ebp - 0xc98]
je 0x437951
mov ecx, dword [ebp - 0x504]
cmp dword [ecx + 0x30], 0
jne 0x437707
mov dword [ebp - 0x31c], 0

Function at 0x43855d
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
add esp, 4
and ecx, 0x333d
jmp 0x43856d
pop ecx
push ebx
push ecx
add esp, 4
add ebx, 0xe7f9
pop ebx
mov ecx, dword [ebp - 0x50c]
mov dword [ebp - 0x31c], ecx
jmp 0x4385f0
Function at 0x56d6e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5de798
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push esi
mov esi, ecx
push esi
lea ecx, [esp + 0xc]
call fcn.0056d340
sub esp, 8
lea eax, [esp + 0x34]
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
mov dword [esp + 0x30], 0
call int.004422b0
lea ecx, [esp + 0x10]
call fcn.0056d660
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x34]
mov dword [ecx + eax*4], edx
mov ecx, dword [esi + 0x24]
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*8], edx
lea eax, [ecx + eax*8]
mov ecx, dword [esp + 0x30]
mov dword [eax + 4], ecx
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 8]
cmp eax, ecx
sbb edx, edx
neg edx
add eax, edx
mov dword [esi + 0xc], eax
imul eax, eax, 0x64
xor edx, edx
div ecx
cmp eax, dword [esi + 0x1c]
jbe 0x56d793
lea eax, [ecx + 1]
lea ecx, [eax - 1]
and ecx, eax
neg ecx
sbb cl, cl
inc cl
mov byte [esp + 0x34], cl
jne 0x56d78b
test eax, eax
mov ecx, 1
jle 0x56d789
sar eax, 1
shl ecx, 1
test eax, eax
jg 0x56d781
mov eax, ecx
push eax
mov ecx, esi
call fcn.0056d7c0
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0xffffffff
call fcn.005466c0
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop esi
add esp, 0x24
ret 0xc

Function at 0x56dc10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5de7b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push ecx
lea ecx, [esp + 0x10]
call fcn.0056d340
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 8]
mov dword [esp + 0x2c], 0
call int.004422b0
sub esp, 8
lea edx, [esp + 0xc]
mov ecx, esp
push edx
call int.004422b0
lea ecx, [esp + 0x14]
call fcn.0056d540
lea ecx, [esp + 0xc]
mov esi, eax
mov dword [esp + 0x28], 0xffffffff
call fcn.005466c0
mov ecx, dword [esp + 0x20]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x28
ret 8

Function at 0x56e940
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5de8f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
mov ecx, dword [ecx + 0xc]
push esi
push edi
push ecx
lea ecx, [esp + 0x14]
call fcn.0056d340
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0
call int.004422b0
sub esp, 8
lea edx, [esp + 0x10]
mov ecx, esp
push edx
call int.004422b0
lea ecx, [esp + 0x18]
call fcn.0056d540
mov esi, eax
test esi, esi
je 0x56e9d1
mov edi, dword [esp + 0x3c]
nop
push edi
call fcn.005c7846
add esp, 4
push eax
push esi
call fcn.005c7846
add esp, 4
mov ecx, eax
call fcn.005c754b
neg eax
sbb eax, eax
test esi, eax
lea ecx, [esp + 0x10]
jne 0x56e9f7
call fcn.0056d370
mov esi, eax
test esi, esi
jne 0x56e9a0
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
call fcn.005466c0
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x28
ret 0xc
mov dword [esp + 0x2c], 0xffffffff
call fcn.005466c0
mov ecx, dword [esp + 0x24]
pop edi
mov al, 1
mov dword fs:[0], ecx
pop esi
add esp, 0x28
ret 0xc