joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6095a8
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
mov edx, eax
push esi
mov esi, dword [esp + 0x10]
or edx, ecx
or edx, esi
test dl, 3
jne 0x6095d4
shr esi, 2
je 0x6095e3
sub ecx, eax
mov edx, dword [ecx + eax]
xor dword [eax], edx
add eax, 4
dec esi
jne 0x6095c7
pop esi
ret
test esi, esi
jbe 0x6095e3
sub ecx, eax
mov dl, byte [eax + ecx]
xor byte [eax], dl
inc eax
dec esi
jne 0x6095da
pop esi
ret

Function at 0x6095e5
Capabilities:
Encode data using xor

Disassembly:
mov edx, dword [esp + 4]
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0xc]
push ebx
mov ebx, edx
push esi
or ebx, ecx
push edi
mov edi, dword [esp + 0x1c]
or ebx, eax
or ebx, edi
test bl, 3
jne 0x609620
mov esi, edi
shr esi, 2
je 0x609636
sub ecx, eax
sub edx, eax
mov edi, dword [ecx + eax]
xor edi, dword [eax]
mov dword [edx + eax], edi
add eax, 4
dec esi
jne 0x609610
jmp 0x609636
test edi, edi
jbe 0x609636
mov esi, edx
sub ecx, eax
sub esi, eax
mov dl, byte [eax + ecx]
xor dl, byte [eax]
mov byte [eax + esi], dl
inc eax
dec edi
jne 0x60962a
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x82124e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
call fcn.005e2c69
or dword [esi + 0xc], 0xffffffff
push dword [ebp + 8]
lea ecx, [esi + 0x10]
mov dword [esp + 0x30], edi
call fcn.005e55cb
lea eax, [esp + 0xe]
lea ecx, [esi + 0x38]
push eax
lea eax, [esp + 0x1c]
push eax
push 1
mov byte [esp + 0x38], 1
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
call fcn.00609ae4
lea eax, [esp + 0xf]
lea ecx, [esi + 0x68]
push eax
lea eax, [esp + 0x14]
push eax
push 1
mov byte [esp + 0x38], 2
mov dword [esp + 0x1c], edi
call fcn.00609bc0
mov ecx, dword [esp + 0x24]
mov dword [esi], 0x86c9e8
mov dword [esi + 4], 0x86c9dc
mov eax, esi
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x611870
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x8225e5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb4
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], edi
mov al, byte [edi + 0x1e1]
test al, al
jne 0x611ae8
mov al, byte [edi + 0x1e2]
test al, al
jne 0x611ae8
mov eax, dword [edi + 0x44c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x611ae8
mov dword [ebp - 4], eax
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0xc0]
push eax
lea edx, [edi + 0x1f0]
push ecx
push edx
lea ecx, [edi + 0x1e4]
mov dword [ebp - 0x1c], 0x10
call fcn.005e746a
push 0x38
call fcn.007d7320
mov ebx, eax
add esp, 4
mov dword [ebp - 0x28], ebx
test ebx, ebx
mov byte [ebp - 4], 1
je 0x611992
push 0x38
call fcn.007d7320
mov esi, eax
add esp, 4
mov dword [ebp - 0x24], esi
test esi, esi
mov byte [ebp - 4], 2
je 0x61194c
mov ecx, esi
call fcn.00476d10
push 0
lea ecx, [esi + 0x10]
mov byte [ebp - 4], 3
mov dword [esi + 0xc], edi
call fcn.005e55cb
mov dword [esi], 0x8742f8
mov dword [esi + 4], 0x8742f0
jmp 0x61194e
xor esi, esi
push 0
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.005e802f
lea eax, [ebp - 0x11]
lea ecx, [ebx + 0x28]
push eax
mov byte [ebp - 4], 4
call fcn.00478ac0
push esi
mov ecx, ebx
mov byte [ebp - 4], 5
mov dword [ebx], 0x874230
mov dword [ebx + 4], 0x874224
call fcn.005e3b2e
push 0x951b98
mov ecx, ebx
call fcn.007cb020
jmp 0x611994
xor ebx, ebx
mov edx, dword [edi + 0x200]
lea ecx, [edi + 0x200]
push ebx
mov byte [ebp - 4], 0
call dword [edx + 0xac]
mov eax, dword [edi + 0x1f4]
push 1
push 0x911e54
push 1
push 6
push eax
call dword [sym.imp.WS2_32.dll_setsockopt]
mov byte [edi + 0x1e1], 1
jmp 0x611ac4
mov eax, dword [edi + 0x1e8]
mov dword [ebp - 4], 0xffffffff
cmp eax, 0xffffffff
je 0x611ae8
lea ecx, [edi + 0x1e4]
mov dword [ebp - 4], 0xe
call fcn.005e7317
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x615750
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x822f1e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebp
push esi
push edi
mov esi, ecx
push 0
lea ecx, [esp + 0x24]
call fcn.005e55cb
lea eax, [esp + 0x20]
push 4
push eax
mov dword [esp + 0xcc], 0
call fcn.00758960
mov ecx, dword [esp + 0xd4]
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.0058ba00
mov eax, dword [esp + 0xe0]
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.0058bb20
lea ebp, [esi + 0x60]
add esp, 0x18
mov ecx, ebp
mov dword [esp + 0x18], ebp
call fcn.006d09e0
mov byte [esp + 0x1c], 1
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 1
call dword [edx + 0x3c]
test edx, edx
ja 0x6157ec
cmp eax, 0xffffffff
jbe 0x615873
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x48]
mov esi, eax
call fcn.004034c0
lea eax, [esp + 0xf]
lea ecx, [esp + 0x60]
push eax
mov byte [esp + 0xc8], 2
mov dword [esp + 0x60], esi
call fcn.00478ac0
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 3
mov dword [esp + 0x48], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.NarrowInt:_integer_overflow
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.NarrowInt:_integer_overflow
lea ecx, [esp + 0x54]
call fcn.004030a0
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 4
push ecx
lea ecx, [esp + 0x74]
call fcn.0057d9b0
lea edx, [esp + 0x70]
push 0x89b95c
push edx
call fcn.007ac5c6
lea edi, [esi + 0x64]
push eax
push edi
call fcn.0058ba00
mov edx, dword [esp + 0x28]
add esp, 8
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push 1
push 0x951b88
push eax
push edi
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
call dword [edx + 0x7c]
mov esi, dword [esi + 0xa8]
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, ebp
mov byte [esp + 0xc4], 0
call fcn.006d0a70
lea ecx, [esp + 0x20]
mov dword [esp + 0xc4], 0xffffffff
call fcn.005e579e
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0xbc
ret 8
Function at 0x615900
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x822f5e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebp
push esi
push edi
mov esi, ecx
push 0
lea ecx, [esp + 0x1c]
call fcn.005e55cb
lea eax, [esp + 0x18]
push 5
push eax
mov dword [esp + 0xcc], 0
call fcn.00758960
mov ecx, dword [esp + 0xd4]
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.0058ba00
mov eax, dword [esp + 0xe0]
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.0058bb20
mov eax, dword [esp + 0xec]
lea ecx, [esp + 0x30]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
push ecx
call fcn.0058ba20
mov edx, dword [esp + 0xfc]
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.0058ba00
lea ebp, [esi + 0x60]
add esp, 0x2c
mov ecx, ebp
mov dword [esp + 0x40], ebp
call fcn.006d09e0
mov byte [esp + 0x44], 1
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x18]
mov byte [esp + 0xc4], 1
call dword [edx + 0x3c]
test edx, edx
ja 0x6159c6
cmp eax, 0xffffffff
jbe 0x615a4d
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x48]
mov esi, eax
call fcn.004034c0
lea eax, [esp + 0xf]
lea ecx, [esp + 0x60]
push eax
mov byte [esp + 0xc8], 2
mov dword [esp + 0x60], esi
call fcn.00478ac0
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 3
mov dword [esp + 0x48], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.NarrowInt:_integer_overflow
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.NarrowInt:_integer_overflow
lea ecx, [esp + 0x54]
call fcn.004030a0
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 4
push ecx
lea ecx, [esp + 0x74]
call fcn.0057d9b0
lea edx, [esp + 0x70]
push 0x89b95c
push edx
call fcn.007ac5c6
lea edi, [esi + 0x64]
push eax
push edi
call fcn.0058ba00
mov edx, dword [esp + 0x20]
add esp, 8
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push 1
push 0x951b88
push eax
push edi
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
call dword [edx + 0x7c]
mov esi, dword [esi + 0xa8]
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, ebp
mov byte [esp + 0xc4], 0
call fcn.006d0a70
lea ecx, [esp + 0x18]
mov dword [esp + 0xc4], 0xffffffff
call fcn.005e579e
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0xbc
ret 0x10
Function at 0x615ad0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x822f9e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebp
push esi
push edi
mov esi, ecx
push 0
lea ecx, [esp + 0x1c]
call fcn.005e55cb
lea eax, [esp + 0x18]
push 6
push eax
mov dword [esp + 0xcc], 0
call fcn.00758960
mov ecx, dword [esp + 0xd4]
lea edx, [esp + 0x20]
push ecx
push edx
call fcn.0058ba00
mov eax, dword [esp + 0xe0]
lea ecx, [esp + 0x28]
push eax
push ecx
call fcn.0058bb20
mov eax, dword [esp + 0xec]
lea ecx, [esp + 0x30]
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
push eax
push ecx
call fcn.0058ba20
mov edx, dword [esp + 0xfc]
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.0058bcb0
lea ebp, [esi + 0x60]
add esp, 0x2c
mov ecx, ebp
mov dword [esp + 0x40], ebp
call fcn.006d09e0
mov byte [esp + 0x44], 1
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x18]
mov byte [esp + 0xc4], 1
call dword [edx + 0x3c]
test edx, edx
ja 0x615b96
cmp eax, 0xffffffff
jbe 0x615c1d
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x48]
mov esi, eax
call fcn.004034c0
lea eax, [esp + 0xf]
lea ecx, [esp + 0x60]
push eax
mov byte [esp + 0xc8], 2
mov dword [esp + 0x60], esi
call fcn.00478ac0
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 3
mov dword [esp + 0x48], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.NarrowInt:_integer_overflow
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.NarrowInt:_integer_overflow
lea ecx, [esp + 0x54]
call fcn.004030a0
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 4
push ecx
lea ecx, [esp + 0x74]
call fcn.0057d9b0
lea edx, [esp + 0x70]
push 0x89b95c
push edx
call fcn.007ac5c6
lea edi, [esi + 0x64]
push eax
push edi
call fcn.0058ba00
mov edx, dword [esp + 0x20]
add esp, 8
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push 1
push 0x951b88
push eax
push edi
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
call dword [edx + 0x7c]
mov esi, dword [esi + 0xa8]
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, ebp
mov byte [esp + 0xc4], 0
call fcn.006d0a70
lea ecx, [esp + 0x18]
mov dword [esp + 0xc4], 0xffffffff
call fcn.005e579e
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0xbc
ret 0x10
Function at 0x615ca0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x822fde
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebp
push esi
push edi
mov esi, ecx
push 0
lea ecx, [esp + 0x24]
call fcn.005e55cb
lea eax, [esp + 0x20]
push 0xd
push eax
mov dword [esp + 0xcc], 0
call fcn.00758960
mov ecx, dword [esp + 0xd4]
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.0058ba00
mov eax, dword [esp + 0xe0]
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.0058bb20
lea ebp, [esi + 0x60]
add esp, 0x18
mov ecx, ebp
mov dword [esp + 0x18], ebp
call fcn.006d09e0
mov byte [esp + 0x1c], 1
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 1
call dword [edx + 0x3c]
test edx, edx
ja 0x615d3c
cmp eax, 0xffffffff
jbe 0x615dc3
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x48]
mov esi, eax
call fcn.004034c0
lea eax, [esp + 0xf]
lea ecx, [esp + 0x60]
push eax
mov byte [esp + 0xc8], 2
mov dword [esp + 0x60], esi
call fcn.00478ac0
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 3
mov dword [esp + 0x48], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.NarrowInt:_integer_overflow
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.NarrowInt:_integer_overflow
lea ecx, [esp + 0x54]
call fcn.004030a0
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 4
push ecx
lea ecx, [esp + 0x74]
call fcn.0057d9b0
lea edx, [esp + 0x70]
push 0x89b95c
push edx
call fcn.007ac5c6
lea edi, [esi + 0x64]
push eax
push edi
call fcn.0058ba00
mov edx, dword [esp + 0x28]
add esp, 8
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push 1
push 0x951b88
push eax
push edi
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
call dword [edx + 0x7c]
mov esi, dword [esi + 0xa8]
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, ebp
mov byte [esp + 0xc4], 0
call fcn.006d0a70
lea ecx, [esp + 0x20]
mov dword [esp + 0xc4], 0xffffffff
call fcn.005e579e
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0xbc
ret 8
Function at 0x616020
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x823071
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xac
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
lea ecx, [esp + 0x14]
push ebx
mov dword [esp + 0xc4], ebx
call fcn.005e55cb
lea eax, [esp + 0x14]
push 0xe
push eax
mov byte [esp + 0xc8], 1
call fcn.00758960
mov ecx, dword [esp + 0xd0]
lea edx, [esp + 0x1c]
push ecx
push edx
call fcn.0058ba00
mov eax, dword [esp + 0xdc]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.0058bb20
mov eax, dword [esi + 0x130]
lea edx, [esp + 0xe8]
push eax
lea eax, [esp + 0x30]
push edx
push eax
call fcn.00630d20
lea ebp, [esi + 0x60]
add esp, 0x24
mov ecx, ebp
mov dword [esp + 0x3c], ebp
call fcn.006d09e0
mov byte [esp + 0x40], 1
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x14]
mov byte [esp + 0xc0], 2
call dword [edx + 0x3c]
cmp edx, ebx
ja 0x6160d6
cmp eax, 0xffffffff
jbe 0x61611a
call dword [sym.imp.KERNEL32.dll_GetACP]
push eax
push 0xffffffffffffffff
push str.NarrowInt:_integer_overflow
lea ecx, [esp + 0x50]
call fcn.0041d680
lea eax, [esp + 0x44]
lea ecx, [esp + 0x6c]
push eax
mov byte [esp + 0xc4], 3
call fcn.00432800
lea ecx, [esp + 0x6c]
push 0x89b95c
push ecx
mov dword [esp + 0x74], vtable.AException.0
call fcn.007ac5c6
push edi
lea edi, [esi + 0x64]
push eax
push edi
call fcn.0058ba00
add esp, 8
or eax, 0xffffffff
lea edx, [esp + 0x10]
mov dword [esp + 0x10], eax
push 1
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x1c]
push 0x951b88
push edx
push edi
lea ecx, [esp + 0x28]
call dword [eax + 0x7c]
mov esi, dword [esi + 0xa8]
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, ebp
mov byte [esp + 0xc4], 1
call fcn.006d0a70
lea ecx, [esp + 0x18]
mov byte [esp + 0xc4], bl
call fcn.005e579e
mov eax, dword [esp + 0x170]
mov esi, dword [esp + 0x16c]
cmp esi, eax
mov dword [esp + 0xc4], 6
mov edi, eax
je 0x6161ac
push ebx
mov ecx, esi
call fcn.004cc930
add esi, 0x20
cmp esi, edi
jne 0x616196
mov esi, dword [esp + 0x16c]
push esi
call fcn.007d7349
mov edi, dword [esp + 0x160]
mov esi, dword [esp + 0x15c]
add esp, 4
cmp esi, edi
mov dword [esp + 0x16c], ebx
mov dword [esp + 0x170], ebx
mov dword [esp + 0x174], ebx
mov byte [esp + 0xc4], 5
je 0x6161fa
push ebx
mov ecx, esi
call fcn.004cc910
add esi, 0x1c
cmp esi, edi
jne 0x6161e4
mov esi, dword [esp + 0x158]
push esi
call fcn.007d7349
add esp, 4
lea ecx, [esp + 0x104]
mov dword [esp + 0x158], ebx
mov dword [esp + 0x15c], ebx
push 1
mov dword [esp + 0x164], ebx
mov byte [esp + 0xc8], 4
call fcn.00404c40
mov eax, dword [esp + 0xf8]
pop edi
cmp eax, ebx
je 0x616251
mov cl, byte [eax - 1]
dec eax
cmp cl, bl
je 0x616248
dec cl
mov byte [eax], cl
jmp 0x616251
push eax
call fcn.007d7349
add esp, 4
mov ecx, dword [esp + 0xb8]
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0xb8
ret 0xb0
Function at 0x616270
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x8230ae
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebp
push esi
push edi
mov esi, ecx
push 0
lea ecx, [esp + 0x24]
call fcn.005e55cb
lea eax, [esp + 0x20]
push 0xf
push eax
mov dword [esp + 0xcc], 0
call fcn.00758960
mov ecx, dword [esp + 0xd4]
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.0058ba00
mov eax, dword [esp + 0xe0]
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.0058bb20
lea ebp, [esi + 0x60]
add esp, 0x18
mov ecx, ebp
mov dword [esp + 0x18], ebp
call fcn.006d09e0
mov byte [esp + 0x1c], 1
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 1
call dword [edx + 0x3c]
test edx, edx
ja 0x61630c
cmp eax, 0xffffffff
jbe 0x616393
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x48]
mov esi, eax
call fcn.004034c0
lea eax, [esp + 0xf]
lea ecx, [esp + 0x60]
push eax
mov byte [esp + 0xc8], 2
mov dword [esp + 0x60], esi
call fcn.00478ac0
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 3
mov dword [esp + 0x48], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.NarrowInt:_integer_overflow
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.NarrowInt:_integer_overflow
lea ecx, [esp + 0x54]
call fcn.004030a0
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 4
push ecx
lea ecx, [esp + 0x74]
call fcn.0057d9b0
lea edx, [esp + 0x70]
push 0x89b95c
push edx
call fcn.007ac5c6
lea edi, [esi + 0x64]
push eax
push edi
call fcn.0058ba00
mov edx, dword [esp + 0x28]
add esp, 8
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push 1
push 0x951b88
push eax
push edi
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
call dword [edx + 0x7c]
mov esi, dword [esi + 0xa8]
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, ebp
mov byte [esp + 0xc4], 0
call fcn.006d0a70
lea ecx, [esp + 0x20]
mov dword [esp + 0xc4], 0xffffffff
call fcn.005e579e
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0xbc
ret 8
Function at 0x616420
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x8230ee
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebp
push esi
push edi
mov esi, ecx
push 0
lea ecx, [esp + 0x24]
call fcn.005e55cb
lea eax, [esp + 0x20]
push 0xb
push eax
mov dword [esp + 0xcc], 0
call fcn.00758960
mov ecx, dword [esp + 0xd4]
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.0058ba00
mov eax, dword [esp + 0xe0]
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.0058bb20
lea ebp, [esi + 0x60]
add esp, 0x18
mov ecx, ebp
mov dword [esp + 0x18], ebp
call fcn.006d09e0
mov byte [esp + 0x1c], 1
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 1
call dword [edx + 0x3c]
test edx, edx
ja 0x6164bc
cmp eax, 0xffffffff
jbe 0x616543
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x48]
mov esi, eax
call fcn.004034c0
lea eax, [esp + 0xf]
lea ecx, [esp + 0x60]
push eax
mov byte [esp + 0xc8], 2
mov dword [esp + 0x60], esi
call fcn.00478ac0
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 3
mov dword [esp + 0x48], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.NarrowInt:_integer_overflow
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.NarrowInt:_integer_overflow
lea ecx, [esp + 0x54]
call fcn.004030a0
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 4
push ecx
lea ecx, [esp + 0x74]
call fcn.0057d9b0
lea edx, [esp + 0x70]
push 0x89b95c
push edx
call fcn.007ac5c6
lea edi, [esi + 0x64]
push eax
push edi
call fcn.0058ba00
mov edx, dword [esp + 0x28]
add esp, 8
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push 1
push 0x951b88
push eax
push edi
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
call dword [edx + 0x7c]
mov esi, dword [esi + 0xa8]
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, ebp
mov byte [esp + 0xc4], 0
call fcn.006d0a70
lea ecx, [esp + 0x20]
mov dword [esp + 0xc4], 0xffffffff
call fcn.005e579e
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0xbc
ret 8
Function at 0x6165d0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x82312e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebp
push esi
push edi
mov esi, ecx
push 0
lea ecx, [esp + 0x24]
call fcn.005e55cb
lea eax, [esp + 0x20]
push 0xc
push eax
mov dword [esp + 0xcc], 0
call fcn.00758960
mov ecx, dword [esp + 0xd4]
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.0058ba00
mov eax, dword [esp + 0xe0]
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.0058bb20
lea ebp, [esi + 0x60]
add esp, 0x18
mov ecx, ebp
mov dword [esp + 0x18], ebp
call fcn.006d09e0
mov byte [esp + 0x1c], 1
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 1
call dword [edx + 0x3c]
test edx, edx
ja 0x61666c
cmp eax, 0xffffffff
jbe 0x6166f3
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x48]
mov esi, eax
call fcn.004034c0
lea eax, [esp + 0xf]
lea ecx, [esp + 0x60]
push eax
mov byte [esp + 0xc8], 2
mov dword [esp + 0x60], esi
call fcn.00478ac0
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 3
mov dword [esp + 0x48], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.NarrowInt:_integer_overflow
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.NarrowInt:_integer_overflow
lea ecx, [esp + 0x54]
call fcn.004030a0
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 4
push ecx
lea ecx, [esp + 0x74]
call fcn.0057d9b0
lea edx, [esp + 0x70]
push 0x89b95c
push edx
call fcn.007ac5c6
lea edi, [esi + 0x64]
push eax
push edi
call fcn.0058ba00
mov edx, dword [esp + 0x28]
add esp, 8
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push 1
push 0x951b88
push eax
push edi
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
call dword [edx + 0x7c]
mov esi, dword [esi + 0xa8]
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, ebp
mov byte [esp + 0xc4], 0
call fcn.006d0a70
lea ecx, [esp + 0x20]
mov dword [esp + 0xc4], 0xffffffff
call fcn.005e579e
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0xbc
ret 8
Function at 0x616780
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x82316e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebp
push esi
push edi
mov esi, ecx
push 0
lea ecx, [esp + 0x24]
call fcn.005e55cb
lea eax, [esp + 0x20]
push 0x11
push eax
mov dword [esp + 0xcc], 0
call fcn.00758960
mov ecx, dword [esp + 0xd4]
lea edx, [esp + 0x28]
push ecx
push edx
call fcn.0058ba00
mov eax, dword [esp + 0xe0]
lea ecx, [esp + 0x30]
push eax
push ecx
call fcn.0058bb20
mov eax, dword [esi + 0x130]
add esp, 0x18
cmp eax, 4
jb 0x616817
mov eax, dword [esp + 0xd4]
mov edx, eax
and edx, 2
cmp dl, 2
jne 0x616809
and al, 0xfd
or al, 0x80
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0058ba00
add esp, 8
lea ebp, [esi + 0x60]
mov ecx, ebp
mov dword [esp + 0x18], ebp
call fcn.006d09e0
mov byte [esp + 0x1c], 1
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x20]
mov byte [esp + 0xc4], 1
call dword [edx + 0x3c]
test edx, edx
ja 0x61684a
cmp eax, 0xffffffff
jbe 0x6168d1
call dword [sym.imp.KERNEL32.dll_GetACP]
lea ecx, [esp + 0x48]
mov esi, eax
call fcn.004034c0
lea eax, [esp + 0xf]
lea ecx, [esp + 0x60]
push eax
mov byte [esp + 0xc8], 2
mov dword [esp + 0x60], esi
call fcn.00478ac0
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 3
mov dword [esp + 0x48], vtable.dbcsstring.0
call fcn.00577bc0
mov edi, str.NarrowInt:_integer_overflow
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push str.NarrowInt:_integer_overflow
lea ecx, [esp + 0x54]
call fcn.004030a0
lea ecx, [esp + 0x48]
mov byte [esp + 0xc4], 4
push ecx
lea ecx, [esp + 0x74]
call fcn.0057d9b0
lea edx, [esp + 0x70]
push 0x89b95c
push edx
call fcn.007ac5c6
lea edi, [esi + 0x64]
push eax
push edi
call fcn.0058ba00
mov edx, dword [esp + 0x28]
add esp, 8
lea eax, [esp + 0x10]
lea ecx, [esp + 0x20]
push 1
push 0x951b88
push eax
push edi
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x24], 0xffffffff
call dword [edx + 0x7c]
mov esi, dword [esi + 0xa8]
push esi
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, ebp
mov byte [esp + 0xc4], 0
call fcn.006d0a70
lea ecx, [esp + 0x20]
mov dword [esp + 0xc4], 0xffffffff
call fcn.005e579e
mov ecx, dword [esp + 0xbc]
pop edi
pop esi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0xbc
ret 0xc