Function at 0x101abbe0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
mov dword [esp + 8], ecx
mov ecx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x28], 0x64
mov ecx, dword [ecx + 4]
mov dword [esp + 0x24], 0
call fcn.1002bfd0
lea esi, [esp + 0x24]
mov edx, dword [eax]
test edx, edx
cmovns esi, eax
cmp edx, 0x64
lea eax, [esp + 0x28]
cmovle eax, esi
or edi, 0xffffffff
mov eax, dword [eax]
mov dword [esp + 0x20], eax
cmp eax, 1
jl 0x101ac17d
movd xmm0, eax
lea edx, [esp + 0x18]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x2c], 0x3f800000
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], 0
lea esi, [esp + 0x2c]
xorps xmm1, xmm1
divss xmm0, dword [0x102dda90]
movss dword [esp + 0x14], xmm1
comiss xmm1, xmm0
movss dword [esp + 0x18], xmm0
seta al
test al, al
cmove ecx, edx
comiss xmm0, dword [0x102dd87c]
seta al
test al, al
mov eax, dword [ebp + 8]
cmove esi, ecx
sub esp, 8
movss xmm0, dword [eax + 0x98]
subss xmm0, dword [0x102dd910]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.100f3690
mov edx, dword [ebp + 8]
add esp, 8
mov eax, dword [esp + 0x10]
fstp dword [esp + 0x30]
movss xmm6, dword [esp + 0x30]
movss xmm1, dword [edx + 0x94]
mov ecx, dword [eax + 0x58]
movaps xmm0, xmm1
divss xmm0, dword [0x102dd910]
movss xmm3, dword [edx + 0x9c]
movss xmm2, dword [eax + 0x8c]
movaps xmm5, xmm3
divss xmm1, dword [0x102dd910]
mov eax, ecx
shr eax, 0x1f
subss xmm5, xmm0
mulss xmm6, dword [esi]
mov esi, dword [0x1033a628]
movd xmm0, ecx
subss xmm3, xmm1
cvtdq2pd xmm0, xmm0
subss xmm5, dword [0x102dd990]
addsd xmm0, qword [eax*8 + 0x102ddf50]
subss xmm3, dword [0x102dd980]
mov eax, dword fs:[0x2c]
movss dword [esp + 0x38], xmm6
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm2
subss xmm5, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
movss dword [esp + 0x30], xmm5
addsd xmm0, qword [ecx*8 + 0x102ddf50]
movss xmm5, dword [edx + 0xa0]
mov ecx, dword [eax + esi*4]
mov eax, dword [0x10347dd4]
movss dword [esp + 0x2c], xmm5
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm2
subss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, dword [edx + 0x98]
movss dword [esp + 0x18], xmm3
subss xmm0, xmm6
subss xmm0, dword [0x102dd87c]
movss dword [esp + 0x1c], xmm0
cmp eax, dword [ecx + 4]
jg 0x101ac1aa
jmp 0x101abdad
mov edx, dword [ebp + 8]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + esi*4]
mov eax, dword [0x10347ddc]
cmp eax, dword [ecx + 4]
jg 0x101ac21c
jmp 0x101abdcc
mov edx, dword [ebp + 8]
mov eax, dword [0x103390c8]
movzx ecx, byte [edx + 0xb0]
add ecx, ecx
mov eax, dword [eax + 0xc]
movups xmm0, xmmword [eax + ecx*8 + 0x94]
lea ecx, [esp + 0x40]
movups xmmword [esp + 0x40], xmm0
call fcn.1016d3d0
push 0x28
mov dword [esp + 0x44], eax
call fcn.100c366d
movss xmm0, dword [esp + 0x34]
mov esi, eax
movss xmm1, dword [esp + 0x30]
lea edx, [esi + 0xc]
mov ecx, dword [esp + 0x14]
add esp, 4
mov dword [edx], 1
mov dword [esi + 4], 1
mov dword [esi + 8], 1
mov dword [esi], 0x102db96c
lea ecx, [ecx + 0x48]
movss dword [edx + 0xc], xmm0
movss dword [edx + 0x10], xmm1
mov eax, dword [ebp + 8]
addss xmm0, dword [0x102dd944]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], esi
addss xmm1, dword [eax + 0x98]
movss dword [edx + 0x14], xmm0
movss dword [edx + 0x18], xmm1
mov eax, dword [0x10347de0]
mov dword [edx + 4], eax
lea eax, [esp + 0x30]
push eax
call fcn.10059560
mov esi, dword [esp + 0x34]
test esi, esi
je 0x101abe9b
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x101abe9b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x101abe9b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0x28
call fcn.100c366d
movss xmm0, dword [esp + 0x1c]
add esp, 4
movss xmm2, dword [esp + 0x1c]
movaps xmm1, xmm0
mov edx, dword [esp + 0x40]
lea ecx, [eax + 0xc]
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], 0x102db96c
mov dword [ecx], 1
movss dword [ecx + 0xc], xmm0
movaps xmm0, xmm2
addss xmm0, dword [esp + 0x38]
movss dword [ecx + 0x10], xmm2
addss xmm1, dword [0x102dd87c]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x40], ecx
push eax
movss dword [ecx + 0x14], xmm1
movss dword [ecx + 0x18], xmm0
mov dword [ecx + 4], edx
mov edx, dword [esp + 0x14]
lea ecx, [edx + 0x70]
call fcn.10059560
mov esi, dword [esp + 0x44]
test esi, esi
je 0x101abf3d
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x101abf3d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x101abf3d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [esp + 0x20], 0x63
jg 0x101ac17d
push 0x48
call fcn.100c366d
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x69]
add esp, 4
mov dword [esp + 0x40], eax
mov dword [eax + 0xc], 4
lea esi, [eax + 0xc]
mov dword [eax + 4], 1
mov dword [eax + 8], 1
mov dword [eax], 0x102db97c
call fcn.10024b90
push ecx
lea ecx, [esp + 0x69]
push ecx
push eax
lea ecx, [esp + 0x74]
call fcn.10024c50
cmp dword [esp + 0x7c], 0xf
lea eax, [esp + 0x68]
lea ecx, [esi + 0x1c]
cmova eax, dword [esp + 0x68]
push eax
push ecx
call fcn.1005c4b0
mov eax, dword [0x1033cac0]
add esp, 8
movss xmm1, dword [eax + 0x1a80]
mov ecx, dword [eax + 0x1a7c]
lea eax, [esi + 0x1c]
movss dword [esp + 0x20], xmm1
test eax, eax
jne 0x101abfd4
movss xmm0, dword [esp + 0x14]
jmp 0x101ac021
movss xmm3, dword [0x102ddbac]
movaps xmm2, xmm1
push 0
push 0
push eax
push ecx
lea eax, [esp + 0x48]
mov dword [esp], 0xbf800000
push eax
call fcn.10180790
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [0x102dd874]
movss xmm1, dword [esp + 0x3c]
movss dword [esp + 0x20], xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x14], xmm0
divss xmm0, dword [0x102dd910]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x38], esi
lea ecx, [ecx + 0x70]
divss xmm1, dword [0x102dd910]
movss xmm2, dword [esp + 0x18]
subss xmm2, xmm0
movss xmm0, dword [esp + 0x1c]
subss xmm0, xmm1
movss dword [esi + 0xc], xmm2
movss dword [esi + 0x10], xmm0
mov eax, dword [0x10347dd8]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x38]
push eax
call fcn.10059560
mov esi, dword [esp + 0x3c]
test esi, esi
je 0x101ac09b
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x101ac09b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x101ac09b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0x48
call fcn.100c366d
mov edi, eax
lea ecx, [esp + 0x6c]
lea esi, [edi + 0xc]
add esp, 4
mov dword [esi], 4
lea eax, [esi + 0x1c]
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], 0x102db97c
cmp dword [esp + 0x7c], 0xf
cmova ecx, dword [esp + 0x68]
push ecx
push eax
call fcn.1005c4b0
movss xmm1, dword [esp + 0x1c]
add esp, 8
divss xmm1, dword [0x102dd910]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], edi
lea ecx, [ecx + 0x70]
movss xmm0, dword [esp + 0x20]
divss xmm0, dword [0x102dd910]
subss xmm1, dword [0x102dd87c]
subss xmm0, dword [0x102dd87c]
movss xmm2, dword [esp + 0x18]
subss xmm2, xmm1
movss xmm1, dword [esp + 0x1c]
subss xmm1, xmm0
movss dword [esi + 0xc], xmm2
movss dword [esi + 0x10], xmm1
mov eax, dword [0x10347de0]
mov dword [esi + 4], eax
lea eax, [esp + 0x40]
push eax
call fcn.10059560
mov esi, dword [esp + 0x44]
or edi, 0xffffffff
test esi, esi
je 0x101ac174
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x101ac174
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x101ac174
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea ecx, [esp + 0x68]
call fcn.10003cc0
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x101ac1a2
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x101ac1a2
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x101ac1a2
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x10347dd4
call fcn.100c3aa2
add esp, 4
cmp dword [0x10347dd4], 0xffffffff
jne 0x101abdaa
movss xmm0, dword [0x102ddab0]
lea ecx, [esp + 0x40]
divss xmm0, dword [0x102ddb24]
mov dword [esp + 0x40], 0x3f800000
mov dword [esp + 0x44], 0x3f800000
mov dword [esp + 0x48], 0x3f800000
movss dword [esp + 0x4c], xmm0
movaps xmm0, xmmword [esp + 0x40]
movaps xmmword [esp + 0x40], xmm0
call fcn.1016d3d0
push 0x10347dd4
mov dword [0x10347dd8], eax
call fcn.100c3a51
add esp, 4
jmp 0x101abdaa
push 0x10347ddc
call fcn.100c3aa2
add esp, 4
cmp dword [0x10347ddc], 0xffffffff
jne 0x101abdc9
movss xmm0, dword [0x102ddab0]
lea ecx, [esp + 0x40]
divss xmm0, dword [0x102ddb24]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
movss dword [esp + 0x4c], xmm0
movaps xmm0, xmmword [esp + 0x40]
movaps xmmword [esp + 0x40], xmm0
call fcn.1016d3d0
push 0x10347ddc
mov dword [0x10347de0], eax
call fcn.100c3a51
add esp, 4
jmp 0x101abdc9