Function at 0x10019d20
Capabilities:
Get number of processors

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10057320
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x68
mov eax, dword [0x10070080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 0x24], 0
je 0x1001a13b
mov ecx, dword [0x63d6c0]
mov eax, dword [ecx + 0x60]
test eax, eax
je 0x1001a13b
mov esi, dword [0x63b928]
xorps xmm0, xmm0
mov dword [ebp - 0x54], esi
movss dword [ebp - 0x28], xmm0
test ecx, ecx
je 0x10019dfa
movss xmm1, dword [eax + 0x8c]
subss xmm1, dword [eax + 0x90]
movss xmm0, dword [eax + 0x48]
mov cl, byte [eax + 0xb1]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [eax + 0x4c]
movss dword [ebp - 0x30], xmm0
addss xmm1, dword [eax + 0x50]
movss dword [ebp - 0x28], xmm1
cmp cl, 0x6f
je 0x10019ddf
cmp cl, 0x6e
je 0x10019ddf
cmp cl, 0x64
je 0x10019e04
movss xmm0, dword [eax + 0x50]
movss dword [ebp - 0x28], xmm0
jmp 0x10019e04
movss xmm0, dword [eax + 0xf0]
divss xmm0, dword [0x10064578]
subss xmm1, xmm0
movss dword [ebp - 0x28], xmm1
jmp 0x10019e04
movss dword [ebp - 0x34], xmm0
movss dword [ebp - 0x30], xmm0
movss xmm0, dword [edi + 0x30]
xorps xmm0, xmmword [0x10064620]
movss xmm1, dword [edi + 0x34]
mulss xmm0, dword [0x10064540]
mov dword [ebp - 0x1c], 0
mulss xmm1, dword [0x1006458c]
mov dword [ebp - 0x18], 0
cvtss2sd xmm0, xmm0
mulss xmm1, dword [0x10064538]
movsd qword [ebp - 0x48], xmm0
movss dword [ebp - 0x5c], xmm1
call fcn.10052280
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [edi + 0x38]
movss dword [ebp - 0x4c], xmm0
movsd xmm0, qword [ebp - 0x48]
call fcn.10052f90
mov eax, dword fs:[0x2c]
mov ecx, dword [0x10074fa4]
cvtsd2ss xmm0, xmm0
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x10075808]
mulss xmm0, dword [edi + 0x38]
movss dword [ebp - 0x2c], xmm0
cmp eax, dword [ecx + 4]
jle 0x10019ed1
push 0x10075808
call fcn.10030153
add esp, 4
cmp dword [0x10075808], 0xffffffff
jne 0x10019ed1
push 0x10075808
mov dword [0x100757fc], 0
mov dword [0x10075800], 0
mov dword [0x10075804], 0
call fcn.10030102
add esp, 4
movsd xmm1, qword [ebp - 0x48]
comisd xmm1, xmmword [0x100645c8]
jbe 0x10019f76
movsd xmm0, qword [0x10064568]
comisd xmm0, xmm1
jbe 0x10019f76
movss xmm0, dword [ebp - 0x5c]
cvtps2pd xmm0, xmm0
call fcn.10052280
xorps xmm1, xmm1
cvtsd2ss xmm1, xmm0
movss xmm0, dword [ebp - 0x34]
mulss xmm1, dword [ebp - 0x4c]
subss xmm0, xmm1
movss xmm1, dword [ebp - 0x5c]
movss dword [ebp - 0x40], xmm0
cvtps2pd xmm0, xmm1
call fcn.10052f90
movss xmm4, dword [ebp - 0x30]
movss xmm1, dword [ebp - 0x28]
movaps xmm3, xmm4
movss xmm2, dword [ebp - 0x2c]
cvtsd2ss xmm0, xmm0
addss xmm2, xmm1
mulss xmm0, dword [ebp - 0x4c]
subss xmm3, xmm0
movss dword [ebp - 0x18], xmm2
movss xmm0, dword [ebp - 0x40]
mov eax, dword [ebp - 0x18]
mov dword [0x10075804], eax
unpcklps xmm0, xmm3
movq qword [ebp - 0x20], xmm0
movq qword [0x100757fc], xmm0
movss xmm0, dword [ebp - 0x40]
jmp 0x10019fa9
movq xmm0, qword [0x100757fc]
mov eax, dword [0x10075804]
movss xmm1, dword [ebp - 0x28]
movss xmm4, dword [ebp - 0x30]
movq qword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x20]
movss xmm3, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
movss xmm2, dword [ebp - 0x18]
movss dword [ebp - 0x40], xmm0
mov ecx, dword [0x7f9510]
lea eax, [ebp - 0x18]
push 3
push eax
lea eax, [ebp - 0x1c]
movss dword [ebp - 0x4c], xmm3
push eax
lea eax, [ebp - 0x20]
movss dword [ebp - 0x2c], xmm2
push eax
sub esp, 0x18
xor edx, edx
movss dword [esp + 0x14], xmm2
movss dword [esp + 0x10], xmm3
movss dword [esp + 0xc], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [esp + 8], xmm1
movss dword [esp + 4], xmm4
movss dword [esp], xmm0
call dword [0x10070b94]
movss xmm0, dword [ebp - 0x20]
lea ecx, [ebp - 0x48]
movaps xmmword [ebp - 0x70], xmm0
subss xmm0, dword [ebp - 0x40]
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [ebp - 0x1c]
subss xmm0, dword [ebp - 0x4c]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [ebp - 0x18]
subss xmm0, dword [ebp - 0x2c]
movss dword [ebp - 0x40], xmm0
call fcn.100139a0
comisd xmm0, xmmword [0x10064560]
movss xmm0, dword [ebp - 0x1c]
movaps xmm1, xmmword [ebp - 0x70]
unpcklps xmm1, xmm0
seta byte [ebp - 0x21]
movss xmm0, dword [ebp - 0x28]
add esi, 8
movq qword [ebp - 0x20], xmm1
movq qword [esi], xmm1
mov eax, dword [ebp - 0x18]
mov dword [esi + 8], eax
mov eax, dword [edi + 0x34]
mov edi, dword [ebp - 0x54]
movsd xmm1, qword [0x10064570]
mov dword [edi + 0x14], eax
subss xmm0, dword [esi + 8]
cvtps2pd xmm0, xmm0
movsd qword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0x30]
subss xmm0, dword [esi + 4]
cvtps2pd xmm0, xmm0
call fcn.10052440
movsd xmm1, qword [0x10064570]
movsd qword [ebp - 0x58], xmm0
movss xmm0, dword [ebp - 0x34]
subss xmm0, dword [esi]
cvtps2pd xmm0, xmm0
call fcn.10052440
addsd xmm0, qword [ebp - 0x58]
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1001a0c4
sqrtsd xmm0, xmm0
jmp 0x1001a0c9
call fcn.10053160
fld qword [ebp - 0x50]
cvtsd2ss xmm0, xmm0
cvtss2sd xmm0, xmm0
movsd qword [ebp - 0x58], xmm0
fld qword [ebp - 0x58]
call fcn.10052250
fstp qword [ebp - 0x58]
movsd xmm0, qword [ebp - 0x58]
cvtpd2ps xmm0, xmm0
push esi
mulss xmm0, dword [0x1006459c]
mulss xmm0, dword [0x10064558]
movss dword [edi + 0x18], xmm0
mov ecx, dword [0x7f9a30]
mov dword [0x1007578c], ecx
mov eax, dword [0x7f9510]
push dword [eax + 4]
call ecx
add esp, 8
cmp eax, 0xffffffff
jne 0x1001a12e
mov eax, dword [0x100757dc]
mov dword [edi + 4], eax
mov al, byte [ebp - 0x21]
jmp 0x1001a13d
mov dword [0x100757dc], eax
mov dword [edi + 4], eax
mov al, byte [ebp - 0x21]
jmp 0x1001a13d
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10030080
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret