Function at 0x5e1922
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x68f7ab
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
push esi
mov esi, dword [esp + 0x80]
push edi
lea eax, [esp + 0x84]
mov edi, ecx
push eax
mov ecx, esi
call fcn.004e397a
fild dword [eax]
lea ecx, [esp + 0x34]
push ecx
mov ecx, esi
fmul dword [0x7dd114]
fstp dword [esp + 0x14]
call fcn.0048c516
mov ecx, dword [esp + 0x94]
mov ebx, dword [esp + 0x90]
xor edx, edx
push 3
mov dx, word [ecx]
xor ecx, ecx
mov cx, word [ebx]
add edx, 0x400
xor ebx, ebx
add ecx, 0x400
mov bx, word [esi + 0x20]
mov dword [esp + 0x88], edx
fild dword [esp + 0x88]
xor ebp, ebp
mov dword [esp + 0x88], ecx
fild dword [esp + 0x88]
mov bp, word [esi + 0x24]
mov dword [esp + 0x98], ebx
fild dword [esp + 0x98]
mov dword [esp + 0x88], ebp
mov ecx, esi
fild dword [esp + 0x88]
fxch st(3)
fmul dword [0x7dd0fc]
fild dword [eax]
fxch st(3)
fmul dword [0x7dd0fc]
fild dword [esi + 4]
fxch st(4)
fmul dword [0x7dd114]
fstp dword [esp + 0x98]
fxch st(2)
fmul dword [0x7dd0fc]
fild dword [esi + 8]
fxch st(4)
fmul dword [0x7dd114]
fstp dword [esp + 0x28]
fxch st(4)
fmul dword [0x7dd0fc]
fxch st(3)
fmul dword [0x7dd114]
fxch st(1)
fmul dword [0x7dd18c]
fxch st(2)
fmul dword [0x7dd18c]
fxch st(4)
fmul dword [0x7dd18c]
fxch st(3)
fmul dword [0x7dd18c]
fxch st(1)
fstp dword [esp + 0x24]
fxch st(1)
fstp dword [esp + 0x2c]
fxch st(2)
fstp dword [esp + 0x30]
fstp dword [esp + 0x38]
fstp dword [esp + 0x34]
call fcn.00500566
xor edx, edx
mov ebp, eax
mov dl, byte [esi + 0x48]
xor eax, eax
mov dword [esp + 0x84], edx
mov al, byte [esi + 0x49]
fild dword [esp + 0x84]
mov dword [esp + 0x84], eax
xor ecx, ecx
mov cl, byte [esi + 0x4a]
lea edx, [esp + 0x38]
fmul dword [0x7dd164]
xor ebx, ebx
push edx
mov dword [esp + 0x1c], ebx
fstp dword [esp + 0x48]
fild dword [esp + 0x88]
mov dword [esp + 0x88], ecx
mov ecx, esi
fmul dword [0x7dd164]
fstp dword [esp + 0x4c]
fild dword [esp + 0x88]
fmul dword [0x7dd164]
fstp dword [esp + 0x50]
call fcn.0048b055
fild dword [eax]
mov eax, dword [esi + 0x28]
fmul dword [0x7dd114]
mov ecx, dword [eax + 0xb]
test ch, 2
fstp dword [esp + 0x1c]
je 0x5e1aee
mov dword [esp + 0x18], 0x4000
lea ecx, [esp + 0x14]
lea edx, [esp + 0x50]
push ecx
push edx
push esi
mov ecx, edi
mov dword [esp + 0x9c], ebx
mov dword [esp + 0x20], ebx
call fcn.005e251d
test eax, eax
je 0x5e1b1a
lea eax, [esp + 0x50]
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x8c]
mov ebx, dword [esp + 0x88]
lea ecx, [esp + 0x5c]
lea edx, [esp + 0x68]
push ecx
push edx
push eax
push ebx
push esi
call fcn.005e135a
mov eax, dword [0x7380ac]
add esp, 0x14
test eax, eax
mov dword [esp + 0x40], 0
je 0x5e1b8a
mov ecx, dword [edi + 4]
push ebx
mov ecx, dword [ecx + 0x14]
mov edx, dword [ecx]
call dword [edx + 0x204]
mov dword [esp + 0x84], eax
mov al, byte [esi + 0x4c]
test al, 1
je 0x5e1b8a
fild dword [esp + 0x84]
mov dword [esp + 0x40], 3
fmul dword [0x7dd148]
fsub qword [0x7dd194]
fstp dword [esp + 0x3c]
fld dword [esp + 0x94]
fld dword [esp + 0x94]
fcomp dword [esp + 0x10]
mov cx, word [esi + 0x44]
mov dx, word [esi + 0x46]
fnstsw ax
test ah, 1
je 0x5e1bbc
fsub qword [0x7dd19c]
fcom dword [esp + 0x10]
fnstsw ax
test ah, 1
jne 0x5e1bab
mov eax, dword [esi + 0xa8]
test eax, eax
fstp st(0)
je 0x5e1caf
cmp cx, dx
je 0x5e1caf
mov eax, edx
mov edi, ecx
and eax, 0xffff
and edi, 0xffff
sub eax, edi
mov dword [esp + 0x84], eax
fild dword [esp + 0x84]
fadd dword [esp + 0x94]
fsub dword [esp + 0x10]
fmul dword [0x73f15c]
fadd dword [esp + 0x10]
fst dword [esp + 0x84]
fcomp qword [0x7dd154]
fld dword [esp + 0x84]
fnstsw ax
test ah, 0x41
jne 0x5e1c2f
fsub qword [0x7dd154]
add ecx, 2
jmp 0x5e1c4a
fcomp qword [0x7dd1a4]
fnstsw ax
test ah, 0x41
jne 0x5e1c51
fld dword [esp + 0x84]
fsub qword [0x7dd1a4]
inc ecx
fstp dword [esp + 0x84]
fld dword [esp + 0x84]
fcomp qword [0x7dd1a4]
fnstsw ax
test ah, 0x41
jne 0x5e1c70
mov dword [esp + 0x84], 0x3f800000
cmp cx, dx
jbe 0x5e1c77
mov ecx, edx
and ecx, 0xffff
sub ecx, 0
je 0x5e1c90
dec ecx
je 0x5e1c8c
dec ecx
jne 0x5e1c9b
push 2
jmp 0x5e1c92
push 1
jmp 0x5e1c92
push 0
mov ecx, esi
call fcn.00500566
mov ebp, eax
mov ecx, dword [esp + 0x84]
mov edx, ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x94], edx
push 0x99
call fcn.005c298f
add esp, 4
mov dword [esp + 0x8c], eax
test eax, eax
mov dword [esp + 0x7c], 0
je 0x5e1d70
mov ecx, dword [esp + 0x90]
lea edx, [esp + 0x3c]
push ecx
xor ecx, ecx
mov cl, byte [esi + 0xac]
push edx
mov edx, dword [esp + 0x24]
push ecx
push edx
xor edx, edx
mov dl, byte [esi + 0x4b]
lea ecx, [esp + 0x54]
mov dword [esp + 0x94], edx
mov edx, dword [esp + 0x28]
fild dword [esp + 0x94]
push ecx
push ecx
mov ecx, dword [esi + 0x5b]
mov esi, dword [esp + 0x2c]
fmul dword [0x7dd164]
or ecx, esi
or ecx, edx
mov edx, dword [esp + 0xb0]
fstp dword [esp]
push ecx
mov ecx, dword [esp + 0xb0]
push edx
mov edx, dword [esp + 0x30]
push ebp
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x5c]
push edx
push edx
mov edx, dword [esp + 0x60]
push edx
mov edx, dword [esp + 0x6c]
push ecx
push edx
push edx
mov edx, dword [esp + 0x7c]
push edx
push edx
lea edx, [esp + 0xac]
lea ecx, [esp + 0xb8]
push edx
push ecx
mov ecx, eax
call fcn.005c8a69
jmp 0x5e1d72
xor eax, eax
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x70
ret 0x18