Function at 0xdb5184
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffac
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], edx
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5ee5b1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
add eax, 0x68
mov edx, 0x28
call fcn.00bf9be4
mov eax, dword [ebp - 8]
xor edx, edx
mov dword [eax + 0x9c], edx
mov byte [ebp - 9], 0
mov eax, dword [ebp - 8]
mov byte [eax + 0x30], 1
mov eax, dword [ebp - 8]
add eax, 0x60
call fcn.00bd1014
push 0
call fcn.00bf2e50
mov dword [0x697958], eax
mov eax, dword [0x697958]
call fcn.00bf2eac
test al, al
je 0xdb5208
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, 0x5ee5d0
call fcn.00db5c04
jmp 0xdb5672
mov eax, dword [ebp - 8]
add eax, 0x60
call fcn.00bd1014
push eax
mov eax, dword [0x66bf18]
push eax
push 0x17
push 0
mov eax, dword [0x66b864]
push eax
call fcn.00bf2e78
mov dword [0x697958], eax
cmp dword [0x697958], 0
je 0xdb524b
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, 0x5ee604
call fcn.00db5c04
jmp 0xdb5672
mov eax, dword [ebp - 8]
add eax, 0x64
call fcn.00bd1014
push eax
push 0
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x60]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
mov dword [0x697958], eax
cmp dword [0x697958], 0
je 0xdb5289
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, 0x5ee664
call fcn.00db5c04
jmp 0xdb5672
lea eax, [ebp - 0x20]
mov edx, 0x10
call fcn.00bf9be4
mov eax, dword [ebp - 8]
add eax, 0x90
push eax
lea eax, [ebp - 0x20]
push eax
push 0x17
mov eax, dword [0x66b930]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x64]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [0x697958], eax
cmp dword [0x697958], 0
je 0xdb52d9
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, 0x5ee6e0
call fcn.00db5c04
jmp 0xdb5672
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x90]
push eax
mov eax, dword [eax]
call dword [eax + 0x20]
mov dword [0x697958], eax
cmp dword [0x697958], 0
je 0xdb5313
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, 0x5ee728
call fcn.00db5c04
jmp 0xdb5672
xor eax, eax
push ebp
push 0x5ee304
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x10], 0x12
mov eax, dword [ebp - 4]
cmp word [eax], 1
je 0xdb533b
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10]
add dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x28
jbe 0xdb5348
mov dword [ebp - 0x10], 0x28
mov eax, dword [ebp - 8]
lea edx, [eax + 0x68]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
call fcn.00bcbd34
lea edx, [ebp - 0x30]
mov eax, dword [0x4ebb44]
call fcn.00cb38f4
lea eax, [ebp - 0x30]
push eax
mov eax, dword [ebp - 4]
push eax
push 0
push 0
push dword [0x66a494]
push dword [0x66a490]
push 0
push 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x90]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
mov dword [0x697958], eax
fild qword [0x66a490]
fdiv dword [0x5ee774]
mov eax, dword [ebp - 8]
fstp qword [eax + 0x58]
wait
cmp dword [0x697958], 0
je 0xdb53cb
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, 0x5ee784
call fcn.00db5c04
call fcn.00bcd1e0
jmp 0xdb5672
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ee30b
cmp dword [ebp - 4], 0
je 0xdb53e7
mov eax, dword [ebp - 4]
push eax
call fcn.00bf2e88
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5ee5b8
lea eax, [ebp - 0x54]
call fcn.00bcda20
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00bcdab0
ret