Function at 0x5bf0b0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x621fde
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push eax
push ecx
push edx
mov ecx, ebx
mov dword [ebp - 0x14], ebx
call fcn.005bc990
push 0x4c
mov dword [ebp - 4], 0
mov dword [ebx], 0x62eb30
call fcn.00604401
add esp, 4
mov dword [ebp + 0xc], eax
test eax, eax
mov byte [ebp - 4], 1
je 0x5befed
mov ecx, dword [0x68ba40]
mov ecx, dword [ecx + 0x20]
mov ecx, dword [ecx + 0x94c]
mov edx, dword [ebx + 0x20]
push 8
push 0
push 1
push 0xcb
push 7
push 0x64ba9c
push ecx
push 0x1e
push edx
push 0x14
push 0
mov ecx, eax
call fcn.005aa840
jmp 0x5befef
xor eax, eax
lea ecx, [ebp + 0x10]
push ecx
lea esi, [ebx + 0x30]
mov dword [ebp + 0x10], eax
mov eax, dword [esi + 8]
push 1
push eax
mov ecx, esi
mov byte [ebp - 4], 0
call fcn.004f9e20
mov edx, dword [ebp + 0x10]
push 0xffffffffffffffff
push edx
mov ecx, ebx
call fcn.005ec5b0
push 0x44
call fcn.00604401
add esp, 4
mov dword [ebp + 0xc], eax
test eax, eax
mov byte [ebp - 4], 2
je 0x5bf057
push 0x10
push 0
push 0
push 0
push 0
push str.TOCsBlak
push 0xca
push 0x40
push 0x80
push 0x32
push 0xbe
mov ecx, eax
call fcn.004de6f0
jmp 0x5bf059
xor eax, eax
mov ecx, dword [esi + 0xc]
mov dword [ebp + 0x10], eax
mov eax, dword [esi + 8]
sub ecx, eax
sar ecx, 2
cmp ecx, 1
mov byte [ebp - 4], 0
mov edi, eax
jae 0x5bf141
mov edx, dword [esi + 4]
test edx, edx
je 0x5bf089
mov ecx, eax
sub ecx, edx
sar ecx, 2
cmp ecx, 1
ja 0x5bf08e
mov ecx, 1
test edx, edx
jne 0x5bf096
xor eax, eax
jmp 0x5bf09b
sub eax, edx
sar eax, 2
add eax, ecx
test eax, eax
mov dword [ebp - 0x10], eax
jge 0x5bf0a6
xor eax, eax
lea edx, [eax*4]
push edx
call fcn.00604401
mov ebx, dword [esi + 4]
add esp, 4
cmp ebx, edi
mov dword [ebp + 8], eax
mov dword [ebp + 0xc], eax
je 0x5bf0dd
mov ecx, dword [ebp + 0xc]
mov edx, ebx
call fcn.00404ba0
mov edx, dword [ebp + 0xc]
add edx, 4
add ebx, 4
cmp ebx, edi
mov dword [ebp + 0xc], edx
jne 0x5bf0c3
mov ecx, dword [ebp + 0xc]
lea eax, [ebp + 0x10]
push eax
push 1
push ecx
mov ecx, esi
call fcn.00488030
mov edx, dword [ebp + 0xc]
mov eax, dword [esi + 8]
add edx, 4
push edx
push eax
push edi
mov ecx, esi
call fcn.00423010
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, esi
call fcn.00404190
mov eax, dword [esi + 4]
push eax
call fcn.005f8040
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp + 8]
lea edx, [edi + ecx*4]
add esp, 4
mov ecx, esi
mov dword [esi + 0xc], edx
call fcn.00509c00
mov ebx, dword [ebp - 0x14]
lea eax, [edi + eax*4 + 4]
mov dword [esi + 8], eax
mov dword [esi + 4], edi
jmp 0x5bf1ca
mov ecx, eax
sub ecx, edi
sar ecx, 2
cmp ecx, 1
jae 0x5bf18d
lea edx, [edi + 4]
push edx
push eax
push edi
mov ecx, esi
call fcn.00423010
mov eax, dword [esi + 8]
mov edx, eax
lea ecx, [ebp + 0x10]
push ecx
sub edx, edi
sar edx, 2
mov ecx, 1
sub ecx, edx
push ecx
push eax
mov ecx, esi
call fcn.00488030
mov eax, dword [esi + 8]
cmp edi, eax
je 0x5bf1c6
mov edx, dword [ebp + 0x10]
mov dword [edi], edx
add edi, 4
cmp edi, eax
jne 0x5bf17f
jmp 0x5bf1c6
push eax
push eax
add eax, 0xfffffffc
push eax
mov ecx, esi
call fcn.00423010
mov ecx, dword [esi + 8]
lea eax, [ecx - 4]
cmp edi, eax
je 0x5bf1b3
mov edx, dword [eax - 4]
sub eax, 4
sub ecx, 4
cmp eax, edi
mov dword [ecx], edx
jne 0x5bf1a4
lea eax, [edi + 4]
cmp edi, eax
je 0x5bf1c6
mov ecx, dword [ebp + 0x10]
mov dword [edi], ecx
add edi, 4
cmp edi, eax
jne 0x5bf1ba
add dword [esi + 8], 4
mov edx, dword [ebp + 0x10]
push 0xffffffffffffffff
push edx
mov ecx, ebx
call fcn.005ec5b0
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov eax, ebx
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc