Function at 0x101ab450
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov dword [esp + 8], ecx
mov ecx, dword [ebp + 8]
push esi
push edi
mov dword [esp + 0x2c], 0x64
mov ecx, dword [ecx + 4]
mov dword [esp + 0x28], 0
call fcn.100231f0
lea esi, [esp + 0x28]
mov edx, dword [eax]
test edx, edx
cmovns esi, eax
cmp edx, 0x64
lea eax, [esp + 0x2c]
cmovle eax, esi
or edi, 0xffffffff
mov eax, dword [eax]
mov dword [esp + 0x14], eax
cmp eax, 2
jl 0x101abac2
movd xmm0, eax
lea edx, [esp + 0x20]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x1c], 0x3f800000
lea ecx, [esp + 0x24]
mov dword [esp + 0x24], 0
lea esi, [esp + 0x1c]
xorps xmm1, xmm1
divss xmm0, dword [0x102dda90]
movss dword [esp + 0x18], xmm1
comiss xmm1, xmm0
movss dword [esp + 0x20], 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 xmm3, dword [edx + 0x94]
mov ecx, dword [eax + 0x6c]
movaps xmm4, xmm3
divss xmm4, dword [0x102dd910]
movss xmm2, dword [eax + 0x90]
mov eax, ecx
divss xmm3, dword [0x102dd910]
shr eax, 0x1f
movss xmm1, dword [edx + 0x9c]
movd xmm0, ecx
addss xmm4, xmm1
cvtdq2pd xmm0, xmm0
mulss xmm6, dword [esi]
addss xmm3, xmm1
mov esi, dword [0x1033a628]
addsd xmm0, qword [eax*8 + 0x102ddf50]
addss xmm4, dword [0x102dd980]
mov eax, dword fs:[0x2c]
addss xmm3, dword [0x102dd990]
movss dword [esp + 0x38], xmm6
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm2
addss xmm4, xmm0
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
shr ecx, 0x1f
movss dword [esp + 0x30], xmm4
addsd xmm0, qword [ecx*8 + 0x102ddf50]
movss xmm4, dword [edx + 0xa0]
mov ecx, dword [eax + esi*4]
mov eax, dword [0x10347de4]
movss dword [esp + 0x24], xmm4
cvtpd2ps xmm0, xmm0
mulss xmm0, xmm2
addss xmm3, xmm0
movaps xmm0, xmm4
addss xmm0, dword [edx + 0x98]
movss dword [esp + 0x1c], xmm3
subss xmm0, xmm6
subss xmm0, dword [0x102dd87c]
movss dword [esp + 0x20], xmm0
cmp eax, dword [ecx + 4]
jg 0x101abaef
jmp 0x101ab61d
mov edx, dword [ebp + 8]
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + esi*4]
mov eax, dword [0x10347dec]
cmp eax, dword [ecx + 4]
jg 0x101abb61
jmp 0x101ab63c
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 + 0xb4]
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 + 0x28]
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 + 0x5c]
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 [0x10347df0]
mov dword [edx + 4], eax
lea eax, [esp + 0x30]
push eax
call fcn.10059560
mov esi, dword [esp + 0x34]
test esi, esi
je 0x101ab70b
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x101ab70b
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x101ab70b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0x28
call fcn.100c366d
movss xmm0, dword [esp + 0x20]
add esp, 4
movss xmm2, dword [esp + 0x20]
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 0x101ab7ad
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x101ab7ad
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x101ab7ad
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
cmp dword [esp + 0x14], 0x63
jg 0x101abac2
push 0x48
call fcn.100c366d
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x81]
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 + 0x81]
push ecx
push eax
lea ecx, [esp + 0x8c]
call fcn.10024c50
cmp dword [esp + 0x94], 0xf
lea eax, [esp + 0x80]
lea ecx, [esi + 0x1c]
cmova eax, dword [esp + 0x80]
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 + 0x24], xmm1
test eax, eax
jne 0x101ab856
movss xmm0, dword [esp + 0x18]
jmp 0x101ab8a3
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 + 0x24], xmm1
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x18], 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 + 0x1c]
subss xmm2, xmm0
movss xmm0, dword [esp + 0x20]
subss xmm0, xmm1
movss dword [esi + 0xc], xmm2
movss dword [esi + 0x10], xmm0
mov eax, dword [0x10347de8]
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 0x101ab91d
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x101ab91d
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x101ab91d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
push 0x48
call fcn.100c366d
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x81]
mov edi, eax
add esp, 4
lea esi, [edi + 0xc]
mov dword [esi], 4
mov dword [edi + 4], 1
mov dword [edi + 8], 1
mov dword [edi], 0x102db97c
call fcn.10024b90
push ecx
lea ecx, [esp + 0x81]
push ecx
push eax
lea ecx, [esp + 0x4c]
call fcn.10024c50
lea ecx, [esp + 0x80]
call fcn.10003c70
movaps xmm0, xmmword [esp + 0x40]
lea ecx, [esp + 0x40]
movaps xmmword [esp + 0x80], xmm0
movq xmm0, qword [esp + 0x50]
movq qword [esp + 0x90], xmm0
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0xf
mov byte [esp + 0x40], 0
call fcn.10003cc0
cmp dword [esp + 0x94], 0xf
lea eax, [esp + 0x80]
cmova eax, dword [esp + 0x80]
push eax
lea eax, [esi + 0x1c]
push eax
call fcn.1005c4b0
movss xmm2, dword [esp + 0x20]
add esp, 8
divss xmm2, 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 + 0x24]
divss xmm0, dword [0x102dd910]
subss xmm2, dword [0x102dd87c]
subss xmm0, dword [0x102dd87c]
movss xmm1, dword [esp + 0x1c]
subss xmm1, xmm2
movss xmm2, dword [esp + 0x20]
subss xmm2, xmm0
movss dword [esi + 0xc], xmm1
movss dword [esi + 0x10], xmm2
mov eax, dword [0x10347df0]
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 0x101aba68
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x101aba68
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
mov eax, edi
lock xadd dword [esi + 8], eax
jne 0x101aba68
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov ecx, dword [esp + 0x94]
cmp ecx, 0xf
jbe 0x101abaa4
mov edx, dword [esp + 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x101aba9a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101abbd3
push ecx
push edx
call fcn.100c365a
add esp, 8
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0xf
mov byte [esp + 0x80], 0
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x101abae7
mov eax, edi
lock xadd dword [esi + 4], eax
jne 0x101abae7
mov eax, dword [esi]
mov ecx, esi
call dword [eax]
lock xadd dword [esi + 8], edi
dec edi
jne 0x101abae7
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
push 0x10347de4
call fcn.100c3aa2
add esp, 4
cmp dword [0x10347de4], 0xffffffff
jne 0x101ab61a
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 0x10347de4
mov dword [0x10347de8], eax
call fcn.100c3a51
add esp, 4
jmp 0x101ab61a
push 0x10347dec
call fcn.100c3aa2
add esp, 4
cmp dword [0x10347dec], 0xffffffff
jne 0x101ab639
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 0x10347dec
mov dword [0x10347df0], eax
call fcn.100c3a51
add esp, 4
jmp 0x101ab639
call fcn.100d31d8
int3