Function at 0x10079720
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 0x100dec3d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
mov eax, dword [0x10145040]
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 - 0x40], xmm0
movss xmm0, dword [edx + 4]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [edx + 8]
movss dword [ebp - 0x38], xmm0
call esi
add esp, 4
test eax, eax
je 0x100797d9
movzx edx, byte [eax + 0x718]
lea ecx, [edx*8]
sub ecx, edx
cmp dword [eax + ecx*4 + 0x5a0], 0x166
jne 0x100797d9
mov eax, dword [0xc17044]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x30], eax
mov eax, dword [0xc17048]
cdq
sub eax, edx
sar eax, 1
mov dword [ebp - 0x34], eax
jmp 0x10079823
mov esi, dword [0xc17044]
mov eax, 0x66666667
imul ecx, esi, 0x25
imul ecx
mov eax, esi
mov esi, dword [0xc17048]
sar edx, 9
mov edi, edx
shr edi, 0x1f
add edi, edx
cdq
sub eax, edx
sar eax, 1
add edi, eax
imul eax, esi, 0x64
mov dword [ebp - 0x30], edi
cdq
and edx, 0x3ff
lea ecx, [edx + eax]
mov eax, esi
cdq
sub eax, edx
sar ecx, 0xa
mov edi, eax
sar edi, 1
sub edi, ecx
mov dword [ebp - 0x34], edi
lea ecx, [ebp - 0x20]
call fcn.10079290
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x24], edi
cmp esi, edi
je 0x10079a81
mov dword [ebp - 0x48], 0x5e0170
mov eax, edi
nop dword [eax]
mov edi, dword [esi]
test edi, edi
je 0x10079a73
push 0xffffffffffffffff
mov eax, 0x56e210
call eax
add esp, 4
cmp edi, eax
je 0x10079a70
mov eax, dword [edi + 0x598]
cmp eax, 4
je 0x10079a70
cmp eax, 5
je 0x10079a70
mov eax, dword [edi + 0x14]
lea ecx, [edi + 4]
test eax, eax
lea edx, [eax + 0x30]
mov eax, 0x420b10
cmove edx, ecx
sub esp, 0xc
lea ecx, [ebp - 0x58]
movss xmm0, dword [edx + 8]
movss xmm1, dword [edx + 4]
movss xmm2, dword [edx]
movss dword [ebp - 0x28], xmm0
subss xmm0, dword [ebp - 0x38]
movss dword [ebp - 0x2c], xmm2
movss dword [ebp - 0x4c], xmm1
movss dword [esp + 8], xmm0
movaps xmm0, xmm1
subss xmm0, dword [ebp - 0x3c]
movss dword [esp + 4], xmm0
movaps xmm0, xmm2
subss xmm0, dword [ebp - 0x40]
movss dword [esp], xmm0
call eax
lea ecx, [ebp - 0x58]
mov eax, 0x4082c0
call eax
cmp byte [0x10173aaf], 0
fstp dword [ebp - 0x44]
jne 0x1007990c
movss xmm0, dword [ebp - 0x44]
comiss xmm0, dword [0x10145ed8]
ja 0x10079a70
cmp byte [0x10173ab6], 0
jne 0x10079922
mov ecx, edi
call dword [ebp - 0x48]
test al, al
je 0x10079a70
cmp byte [0x10173ad5], 0
je 0x10079aa9
movss xmm7, dword [ebp - 0x4c]
mov eax, 0xb6fa2c
movss xmm1, dword [ebp - 0x28]
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 - 0x2c]
mulss xmm1, xmm0
movaps xmm0, xmm5
shufps xmm0, xmm5, 0xaa
addss xmm2, xmm1
movsd xmm1, qword [0x10135fd0]
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
movaps xmm2, xmm7
divsd xmm1, xmm0
movss xmm0, dword [ebp - 0x28]
mulss xmm0, xmm4
mulss xmm2, xmm3
shufps xmm3, xmm3, 0x55
mulss xmm7, xmm3
addss xmm2, xmm0
shufps xmm4, xmm4, 0x55
movss xmm0, dword [ebp - 0x2c]
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 + 0x10136600]
mov eax, 0xc17048
mulsd xmm0, xmm1
mov eax, dword [eax]
cvtpd2ps xmm0, xmm0
mulss xmm2, xmm0
xorps xmm0, xmm0
cvtsi2ss xmm0, dword [ebp - 0x30]
subss xmm2, xmm0
movss xmm0, dword [ebp - 0x28]
mulss xmm0, xmm4
addss xmm7, xmm0
mulss xmm2, xmm2
movss xmm0, dword [ebp - 0x2c]
mulss xmm0, xmm6
addss xmm7, xmm0
xorps xmm0, xmm0
cvtsi2sd xmm0, eax
shr eax, 0x1f
addss xmm7, xmm5
addsd xmm0, qword [eax*8 + 0x10136600]
mulsd xmm0, xmm1
cvtpd2ps xmm1, xmm0
mulss xmm7, xmm1
xorps xmm1, xmm1
cvtsi2ss xmm1, dword [ebp - 0x34]
subss xmm7, xmm1
mulss xmm7, xmm7
addss xmm7, xmm2
movaps xmm0, xmm7
call fcn.1000fdb0
comiss xmm0, dword [0x10145ec0]
jbe 0x10079aa9
mov eax, dword [ebp - 0x24]
add esi, 4
cmp esi, eax
jne 0x10079850
mov esi, dword [ebp - 0x20]
test esi, esi
je 0x10079aea
mov ecx, dword [ebp - 0x18]
mov eax, esi
sub ecx, esi
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10079ae0
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10079b0a
jmp 0x10079ae0
mov edx, dword [ebp - 0x20]
test edx, edx
je 0x10079adc
mov ecx, dword [ebp - 0x18]
mov eax, edx
sub ecx, edx
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x10079ad2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10079b0a
push ecx
push edx
call fcn.10096ca5
add esp, 8
mov eax, edi
jmp 0x10079aec
push ecx
push esi
call fcn.10096ca5
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.10096753
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.100bc2c1
int3