Function at 0x100810a0
Capabilities:
Get number of processors

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d996d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
mov eax, dword [0x10104040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xffffffffffffffff
mov esi, 0x56e210
call esi
add esp, 4
mov ecx, dword [eax + 0x14]
add eax, 4
test ecx, ecx
push 0xffffffffffffffff
lea edx, [ecx + 0x30]
cmove edx, eax
movss xmm0, dword [edx]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [edx + 4]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [edx + 8]
movss dword [ebp - 0x18], xmm0
call esi
add esp, 4
test eax, eax
je 0x10081159
movzx edx, byte [eax + 0x718]
lea ecx, [edx*8]
sub ecx, edx
cmp dword [eax + ecx*4 + 0x5a0], 0x166
jne 0x10081159
mov eax, dword [0xc17044]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x3c], eax
mov eax, dword [0xc17048]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x40], eax
jmp 0x100811a3
mov esi, dword [0xc17044]
mov eax, 0x66666667
imul ecx, esi, 0x25
imul ecx
mov eax, esi
mov esi, dword [0xc17048]
sar edx, 9
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
cdq
sub eax, edx
sar eax, 1
add ecx, eax
imul eax, esi, 0x64
mov dword [ebp - 0x3c], ecx
cdq
and edx, 0x3ff
lea ecx, [edx + eax]
mov eax, esi
cdq
sub eax, edx
sar ecx, 0xa
mov esi, eax
sar esi, 1
sub esi, ecx
mov dword [ebp - 0x40], esi
lea ecx, [ebp - 0x2c]
call fcn.10080c10
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov dword [ebp - 0x30], esi
cmp edi, esi
je 0x10081445
mov dword [ebp - 0x48], 0x5e0170
mov eax, esi
nop dword [eax]
mov esi, dword [edi]
test esi, esi
je 0x10081437
push 0xffffffffffffffff
mov eax, 0x56e210
call eax
add esp, 4
cmp esi, eax
je 0x10081434
mov eax, dword [esi + 0x598]
cmp eax, 4
je 0x10081434
cmp eax, 5
je 0x10081434
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10081212
add eax, 0x30
jmp 0x10081215
lea eax, [esi + 4]
movss xmm0, dword [eax + 8]
lea ecx, [esi + 4]
movss xmm1, dword [eax + 4]
sub esp, 0xc
movss xmm2, dword [eax]
mov eax, 0x420b10
movss dword [ebp - 0x34], xmm0
subss xmm0, dword [ebp - 0x18]
mov dword [ebp - 0x4c], ecx
lea ecx, [ebp - 0x5c]
movss dword [ebp - 0x38], xmm2
movss dword [ebp - 0x50], xmm1
movss dword [esp + 8], xmm0
movaps xmm0, xmm1
subss xmm0, dword [ebp - 0x1c]
movss dword [esp + 4], xmm0
movaps xmm0, xmm2
subss xmm0, dword [ebp - 0x20]
movss dword [esp], xmm0
call eax
lea ecx, [ebp - 0x5c]
mov eax, 0x4082c0
call eax
cmp byte [0x101576d3], 0
fstp dword [ebp - 0x44]
jne 0x10081293
movss xmm0, dword [ebp - 0x44]
comiss xmm0, dword [0x1012aab0]
ja 0x10081434
cmp byte [0x101576e1], 0
jne 0x100812a9
mov ecx, esi
call dword [ebp - 0x48]
test al, al
je 0x10081434
cmp byte [0x101576ac], 0
je 0x100812e6
mov eax, dword [esi + 0x14]
test eax, eax
je 0x100812be
add eax, 0x30
jmp 0x100812c1
mov eax, dword [ebp - 0x4c]
push 0
push 0
push 1
push 1
push 0
push 0
push 1
push eax
lea eax, [ebp - 0x20]
push eax
mov eax, 0x56a490
call eax
add esp, 0x24
test al, al
je 0x10081434
cmp byte [0x101576f8], 0
je 0x1008146d
movss xmm7, dword [ebp - 0x50]
mov eax, 0xb6fa2c
movss xmm1, dword [ebp - 0x34]
movaps xmm2, xmm7
movups xmm3, xmmword [eax + 0x10]
movups xmm4, xmmword [eax + 0x20]
movups xmm6, xmmword [eax]
movups xmm5, xmmword [eax + 0x30]
mov eax, 0xc17044
movaps xmm0, xmm3
shufps xmm0, xmm3, 0xaa
mulss xmm2, xmm0
movaps xmm0, xmm4
mov eax, dword [eax]
shufps xmm0, xmm4, 0xaa
mulss xmm1, xmm0
movaps xmm0, xmm6
shufps xmm0, xmm6, 0xaa
addss xmm2, xmm1
movss xmm1, dword [ebp - 0x38]
mulss xmm1, xmm0
movaps xmm0, xmm5
shufps xmm0, xmm5, 0xaa
addss xmm2, xmm1
movsd xmm1, qword [0x100f5fb0]
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
movaps xmm2, xmm7
divsd xmm1, xmm0
movss xmm0, dword [ebp - 0x34]
mulss xmm0, xmm4
mulss xmm2, xmm3
shufps xmm3, xmm3, 0x55
mulss xmm7, xmm3
addss xmm2, xmm0
shufps xmm4, xmm4, 0x55
movss xmm0, dword [ebp - 0x38]
mulss xmm0, xmm6
shufps xmm6, xmm6, 0x55
addss xmm2, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
addss xmm2, xmm5
shufps xmm5, xmm5, 0x55
addsd xmm0, qword [eax*8 + 0x100f6700]
mov eax, 0xc17048
mulsd xmm0, xmm1
mov eax, dword [eax]
cvtpd2ps xmm0, xmm0
mulss xmm2, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [ebp - 0x3c]
subss xmm2, xmm0
movss xmm0, dword [ebp - 0x34]
mulss xmm0, xmm4
addss xmm7, xmm0
mulss xmm2, xmm2
movss xmm0, dword [ebp - 0x38]
mulss xmm0, xmm6
addss xmm7, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
addss xmm7, xmm5
addsd xmm0, qword [eax*8 + 0x100f6700]
mulsd xmm0, xmm1
cvtpd2ps xmm1, xmm0
mulss xmm7, xmm1
xorps xmm1, xmm1
cvtsi2ss xmm1, dword [ebp - 0x40]
subss xmm7, xmm1
mulss xmm7, xmm7
addss xmm7, xmm2
movaps xmm0, xmm7
call fcn.10010310
comiss xmm0, dword [0x1012a4d8]
jbe 0x1008146d
mov eax, dword [ebp - 0x30]
add edi, 4
cmp edi, eax
jne 0x100811d0
mov edi, dword [ebp - 0x2c]
test edi, edi
je 0x100814ae
mov ecx, dword [ebp - 0x24]
mov eax, edi
sub ecx, edi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x100814a4
mov edi, dword [eax - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100814ce
jmp 0x100814a4
mov edx, dword [ebp - 0x2c]
test edx, edx
je 0x100814a0
mov ecx, dword [ebp - 0x24]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10081496
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100814ce
push ecx
push edx
call fcn.10094251
add esp, 8
mov eax, esi
jmp 0x100814b0
push ecx
push edi
call fcn.10094251
add esp, 8
xor eax, eax
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.10093f63
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100ba0c1
int3