Function at 0x5d1380
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x6c4ef1
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x774458]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x774458]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x74]
push 0x6f7c2c
push 0x1f
lea eax, [esp + 0x34]
mov edi, ecx
mov ecx, dword [0x7812b8]
push eax
mov ebx, edx
call fcn.0040dfb7
push 0x240
call fcn.00651953
add esp, 4
mov dword [esp + 0x14], eax
xor esi, esi
cmp eax, esi
mov dword [esp + 0x58], esi
je 0x5d1401
mov edx, dword [0x7812b8]
lea ecx, [esp + 0x2c]
push ecx
push edx
mov ecx, eax
call fcn.0040af83
mov esi, eax
fldz
push ecx
lea ecx, [esi + 0x44]
fstp dword [esp]
mov dword [esp + 0x5c], 0xffffffff
call fcn.00616ef0
fld dword [0x6dce8c]
mov eax, dword [edi]
mov dword [esi + 8], eax
mov ecx, dword [edi + 4]
sub esp, 8
mov dword [esi + 0xc], ecx
fstp dword [esp + 4]
mov edx, dword [edi + 8]
fld dword [0x6dd31c]
mov ecx, esi
fstp dword [esp]
mov dword [esi + 0x10], edx
call fcn.00409e26
fld dword [edi + 4]
mov eax, dword [0x7b72f0]
mov ecx, dword [eax + 0x150]
sub esp, 8
fstp dword [esp + 4]
fld dword [edi]
fstp dword [esp]
call fcn.00612b50
push 0
mov dword [esi + 0xe4], eax
mov ecx, dword [0x7b72f0]
push esi
mov dword [esp + 0x1c], eax
call fcn.006199f0
mov ecx, dword [0x7b72f0]
push esi
call fcn.006195e0
push 0x44
call fcn.00651953
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x58], 1
je 0x5d14b9
mov ecx, dword [0x7812b8]
push 0x64
push 0
push ecx
push esi
mov ecx, eax
call fcn.0040c73e
mov edi, eax
jmp 0x5d14bb
xor edi, edi
push ebx
push ebp
mov ecx, edi
mov dword [esp + 0x60], 0xffffffff
call fcn.004032ec
mov edx, dword [esi]
mov eax, dword [edx + 0x30]
mov ebx, 1
push ebx
push edi
mov ecx, esi
call eax
mov eax, dword [esp + 0x68]
test eax, eax
jle 0x5d1526
mov edx, dword [esp + 0x70]
mov ecx, dword [esp + 0x6c]
mov dword [edi + 0x2c], eax
mov eax, dword [esp + 0x64]
mov dword [edi + 0x28], ecx
mov ecx, dword [esp + 0x60]
mov dword [edi + 0x30], edx
mov edx, dword [esp + 0x7c]
mov dword [edi + 0x34], eax
mov eax, dword [esp + 0x78]
push edx
mov dword [edi + 0x40], ecx
push eax
mov ecx, edi
call fcn.0040ecd7
or dword [esi + 0x228], ebx
mov ecx, dword [0x7b72f0]
push esi
call fcn.00619830
mov eax, dword [esp + 0x14]
mov di, 0xc4
xor bp, bp
test eax, eax
mov word [esp + 0x1c], di
mov word [esp + 0x1e], 0x5d
je 0x5d1572
mov eax, dword [eax]
sub eax, ebx
je 0x5d1553
sub eax, ebx
je 0x5d1662
sub eax, ebx
jne 0x5d1572
mov word [esp + 0x14], 0
mov word [esp + 0x16], 0x96
mov ecx, dword [esp + 0x14]
mov bp, 0xa0
mov dword [esp + 0x1c], ecx
mov di, word [esp + 0x1c]
test byte [0x7b11cc], bl
jne 0x5d1580
or dword [0x7b11cc], ebx
push 0x30
push 0
push 0x7b1190
call fcn.00651c70
fld dword [0x6de3d8]
fstp dword [0x7b11a0]
mov dword [0x7b11b4], ebx
mov dword [0x7b11ac], 0x10
mov dword [0x7b11bc], 0x20
mov dword [0x7b11b8], 3
call fcn.006525a3
cdq
mov ecx, 0x190
idiv ecx
mov ecx, dword [esp + 0x28]
mov dword [0x7b11a4], ecx
mov word [0x7b11a8], bp
mov dword [esp + 0x20], edx
fild dword [esp + 0x20]
fdiv qword [0x6e23f8]
fadd qword [0x6ddfe0]
fstp dword [esp + 0x20]
fldz
fstp dword [esp + 0x30]
fld dword [esp + 0x20]
mov edx, dword [esp + 0x30]
fstp dword [esp + 0x34]
mov dword [0x7b1198], edx
mov eax, dword [esp + 0x34]
mov dword [0x7b119c], eax
call fcn.006525a3
neg di
cdq
push 0x34
sbb edi, edi
and edi, 0x32
add edi, 0xa
idiv edi
add edx, 0xa
mov dword [0x7b11b0], edx
call fcn.00651953
add esp, 0x10
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x58], 2
je 0x5d16b2
mov edx, dword [0x7812b8]
push 0x32
push 0
push edx
push esi
mov ecx, eax
call fcn.0040a907
mov edi, eax
jmp 0x5d16b4
mov ecx, dword [0x7812b8]
mov eax, dword [ecx + 0x1448]
cmp dword [eax + 0x20], 0
je 0x5d1693
mov word [esp + 0x14], 0xc8
mov word [esp + 0x16], 0xbe
mov edx, dword [esp + 0x14]
mov bp, 0xd2
mov dword [esp + 0x1c], edx
jmp 0x5d156d
mov word [esp + 0x14], 0xb0
mov word [esp + 0x16], 0x94
mov eax, dword [esp + 0x14]
mov bp, 0x68
mov dword [esp + 0x1c], eax
jmp 0x5d156d
xor edi, edi
push ebx
push 0x7b1190
mov ecx, edi
mov dword [esp + 0x60], 0xffffffff
call fcn.00401055
mov eax, dword [esi]
mov edx, dword [eax + 0x30]
push ebx
push edi
mov ecx, esi
call edx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.00651675
add esp, 0x48
ret