Function at 0x10088010
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 0x1009e669
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x6d0
mov eax, dword [0x100d7040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
movss dword [ebp - 0x378], xmm3
movss dword [ebp - 0x394], xmm2
mov esi, ecx
mov dword [ebp - 0x374], esi
mov eax, dword [esi]
mov edi, dword [ebx + 8]
mov dword [ebp - 0x384], edi
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [0x1043f620]
mov ecx, eax
mov eax, dword [edx + 0xc4]
movss xmm0, dword [ecx + 4]
movss xmm2, dword [ecx + 8]
movss xmm1, dword [eax + esi]
addss xmm1, dword [ecx]
addss xmm0, dword [eax + esi + 4]
addss xmm2, dword [eax + esi + 8]
movss dword [edi], xmm1
movss dword [edi + 4], xmm0
movss dword [edi + 8], xmm2
mov eax, dword [edx + 0x7c]
mov ecx, dword [eax + esi - 0x14]
mov dword [ebp - 0x390], ecx
test ecx, ecx
je 0x100886db
cmp esi, dword [0x10442088]
jne 0x100886db
cmp dword [ecx + 0x60], 0
je 0x100886db
cmp byte [ecx + 0x109], 0
jne 0x10088110
mov eax, dword [edx + 0xe8]
movss xmm0, dword [esi + eax]
ucomiss xmm0, dword [0x100c9be8]
lahf
test ah, 0x44
jp 0x10088110
mov eax, dword [edx + 0x10c]
cmp dword [esi + eax], 0xffffffff
jne 0x100886db
mov esi, dword [ebp - 0x390]
lea edi, [ebp - 0x368]
mov eax, dword [edx + 0xe4]
mov ecx, 0xd3
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x374]
lea edi, [ebp - 0x6e0]
mov ecx, 0xb6
mov esi, dword [esi + 0x2990]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x374]
add eax, edi
mov ecx, dword [0x1043f608]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x3b8], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x3c8], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x3d8], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ebp - 0x3e8], xmm0
movups xmm0, xmmword [eax + 0x40]
movups xmmword [ebp - 0x3f8], xmm0
movups xmm0, xmmword [eax + 0x50]
mov eax, dword [edx + 0x60]
movups xmmword [ebp - 0x408], xmm0
mov eax, dword [edi + eax]
mov dword [ebp - 0x398], eax
mov eax, dword [edx + 0x48]
mov eax, dword [edi + eax]
mov dword [ebp - 0x37c], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x104407d0]
mov dword [ebp - 0x38c], ecx
cmp eax, dword [ecx + 4]
jle 0x10088215
push 0x104407d0
call fcn.10098dd3
add esp, 4
cmp dword [0x104407d0], 0xffffffff
jne 0x1008820f
mov dword [ebp - 4], 0
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x44]
call eax
push str.m_vecAbsVelocity
push eax
call fcn.10082c10
push 0x104407d0
mov dword [0x1044093c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10098d82
add esp, 0xc
mov edx, dword [0x1043f620]
mov eax, dword [0x1044093c]
mov ecx, 1
mov dword [ebp - 0x388], ecx
movq xmm0, qword [edi + eax]
mov eax, dword [edi + eax + 8]
mov dword [ebp - 0x39c], eax
mov eax, dword [edx + 0xe8]
movq qword [ebp - 0x3a4], xmm0
movss xmm0, dword [edi + eax]
mov al, byte [0x10434fa4]
mov byte [ebp - 0x369], al
mov eax, dword [0x1043f628]
movss dword [ebp - 0x380], xmm0
movss xmm0, dword [0x10434fa0]
movss dword [ebp - 0x370], xmm0
cmp dword [eax + 0x4d30], ecx
jl 0x100883fe
mov esi, 0x96
mov eax, dword [eax + 0x4d2c]
add eax, ecx
cdq
idiv esi
mov eax, dword [0x10440968]
imul esi, edx, 0x64
add esi, dword [eax + 0xf0]
mov dword [ebp - 0x374], esi
cmp edx, 0x96
jae 0x100886fd
mov esi, edx
shl esi, 4
add esi, edx
mov edx, dword [0x1043f620]
mov eax, dword [edx + 0xe0]
movss xmm0, dword [esi*4 + 0x1044842c]
ucomiss xmm0, dword [eax + edi - 4]
lahf
test ah, 0x44
jp 0x100883e1
mov eax, dword [ebp - 0x374]
cmp dword [eax + 8], 0x7fffffff
je 0x100883e1
mov eax, dword [edx + 0x60]
mov ecx, dword [esi*4 + 0x10448454]
mov dword [edi + eax], ecx
mov eax, dword [edx + 0x48]
mov ecx, dword [esi*4 + 0x10448434]
mov dword [edi + eax], ecx
mov ecx, dword [ebp - 0x38c]
mov eax, dword [0x104407d0]
cmp eax, dword [ecx + 4]
jle 0x10088366
push 0x104407d0
call fcn.10098dd3
add esp, 4
cmp dword [0x104407d0], 0xffffffff
jne 0x10088360
mov dword [ebp - 4], 1
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x44]
call eax
push str.m_vecAbsVelocity
push eax
call fcn.10082c10
push 0x104407d0
mov dword [0x1044093c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10098d82
add esp, 0xc
mov edx, dword [0x1043f620]
mov ecx, dword [0x1044093c]
mov eax, dword [esi*4 + 0x10448444]
push dword [ebp - 0x374]
mov dword [edi + ecx], eax
sub esp, 0x10
mov eax, dword [esi*4 + 0x10448448]
mov dword [edi + ecx + 4], eax
mov eax, dword [esi*4 + 0x1044844c]
mov dword [edi + ecx + 8], eax
mov ecx, 0x100d77a0
mov eax, dword [edx + 0xe8]
movss xmm0, dword [esi*4 + 0x10448450]
movss dword [edi + eax], xmm0
mov eax, esp
movss xmm0, dword [ebp - 0x378]
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0x394]
movss dword [eax + 4], xmm0
mov dword [eax + 8], 0
call fcn.100311c0
mov edx, dword [0x1043f620]
mov ecx, dword [ebp - 0x388]
mov eax, dword [0x1043f628]
inc ecx
mov dword [ebp - 0x388], ecx
mov esi, 0x96
cmp ecx, dword [eax + 0x4d30]
jle 0x10088280
mov eax, dword [edx + 0x60]
mov ecx, dword [ebp - 0x398]
mov dword [edi + eax], ecx
mov eax, dword [edx + 0x48]
mov ecx, dword [ebp - 0x37c]
mov dword [edi + eax], ecx
mov ecx, dword [ebp - 0x38c]
mov eax, dword [0x104407d0]
cmp eax, dword [ecx + 4]
jle 0x10088479
push 0x104407d0
call fcn.10098dd3
add esp, 4
cmp dword [0x104407d0], 0xffffffff
jne 0x10088473
mov dword [ebp - 4], 2
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x44]
call eax
push str.m_vecAbsVelocity
push eax
call fcn.10082c10
push 0x104407d0
mov dword [0x1044093c], eax
mov dword [ebp - 4], 0xffffffff
call fcn.10098d82
add esp, 0xc
mov edx, dword [0x1043f620]
mov eax, dword [0x1044093c]
sub esp, 8
movss xmm0, dword [ebp - 0x3a4]
mov dword [ebp - 0x37c], 0x42b40000
movss dword [edi + eax], xmm0
movss xmm0, dword [ebp - 0x3a0]
movss dword [edi + eax + 4], xmm0
movss xmm0, dword [ebp - 0x39c]
movss dword [edi + eax + 8], xmm0
mov eax, dword [edx + 0xe8]
movss xmm0, dword [ebp - 0x380]
mov dword [esp + 4], 0x43b40000
mov dword [ebp - 0x380], 0xc2b40000
movss dword [edi + eax], xmm0
movss xmm0, dword [ebp - 0x370]
mov al, byte [ebp - 0x369]
movss dword [0x10434fa0], xmm0
movss xmm0, dword [ebp - 0x378]
mov byte [0x10434fa4], al
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
movss xmm1, dword [0x100c9e94]
lea eax, [ebp - 0x370]
fstp dword [ebp - 0x370]
movss xmm0, dword [ebp - 0x370]
lea ecx, [ebp - 0x380]
comiss xmm1, xmm0
push 0x10
push 0x3000
movss dword [ebp - 0x370], xmm0
cmovbe ecx, eax
lea eax, [ebp - 0x37c]
comiss xmm0, dword [0x100c9dd8]
cmovbe eax, ecx
movss xmm0, dword [eax]
addss xmm0, dword [0x100c9dd8]
mov eax, dword [0x1043f620]
divss xmm0, dword [0x100c9e10]
mov eax, dword [eax + 0xe4]
movss dword [eax + edi + 0x30], xmm0
call fcn.10098e90
mov esi, eax
mov dword [ebp - 0x378], eax
add esp, 0x10
test esi, esi
je 0x10088599
push 0x3000
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x100885a1
xor esi, esi
mov dword [ebp - 0x378], esi
movss xmm0, dword [0x1044af38]
push 1
push ecx
movss dword [esp], xmm0
push 0x100
push esi
push edi
call fcn.1002f0d0
mov eax, dword [0x1043f620]
movups xmm0, xmmword [ebp - 0x3b8]
mov ecx, dword [ebp - 0x390]
mov eax, dword [eax + 0xe4]
add eax, edi
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x3c8]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x3d8]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x3e8]
movups xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [ebp - 0x3f8]
movups xmmword [eax + 0x40], xmm0
movups xmm0, xmmword [ebp - 0x408]
movups xmmword [eax + 0x50], xmm0
lea eax, [ebp - 0x368]
push eax
call fcn.1002bd30
mov edi, dword [edi + 0x2990]
lea esi, [ebp - 0x6e0]
mov ecx, 0xb6
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x378]
mov edi, dword [ebp - 0x384]
movss xmm2, dword [ecx + 0x1ac]
addss xmm2, dword [0x100c9cf8]
movss xmm3, dword [edi + 8]
comiss xmm3, xmm2
jbe 0x100886d0
movaps xmm0, xmm3
mov dword [ebp - 0x384], 0x3f800000
subss xmm0, xmm2
call fcn.1002b4e0
subss xmm0, dword [0x100c9d28]
lea eax, [ebp - 0x384]
xorps xmm4, xmm4
lea edx, [ebp - 0x370]
subss xmm2, xmm3
divss xmm0, dword [0x100c9d34]
comiss xmm0, dword [0x100c9cd0]
movss dword [ebp - 0x370], xmm0
cmovbe eax, edx
maxss xmm4, dword [eax]
movaps xmm0, xmm4
mulss xmm0, xmm4
movaps xmm1, xmm0
addss xmm0, xmm0
mulss xmm1, dword [0x100c9d18]
mulss xmm0, xmm4
subss xmm1, xmm0
mulss xmm1, xmm2
addss xmm1, xmm3
movss dword [edi + 8], xmm1
push 0x10
push ecx
call fcn.10098e8b
add esp, 8
mov eax, edi
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.100988b4
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.10010d50
int3