Function at 0x10089590
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 0x10093559
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x6d0
mov eax, dword [0x100ac040]
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 [0x10414490]
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 0x10089c5b
cmp esi, dword [0x10416ef8]
jne 0x10089c5b
cmp dword [ecx + 0x60], 0
je 0x10089c5b
cmp byte [ecx + 0x109], 0
jne 0x10089690
mov eax, dword [edx + 0xe8]
movss xmm0, dword [esi + eax]
ucomiss xmm0, dword [0x1009eb70]
lahf
test ah, 0x44
jp 0x10089690
mov eax, dword [edx + 0x10c]
cmp dword [esi + eax], 0xffffffff
jne 0x10089c5b
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 [0x10414478]
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 [0x10415640]
mov dword [ebp - 0x38c], ecx
cmp eax, dword [ecx + 4]
jle 0x10089795
push 0x10415640
call fcn.1008dc47
add esp, 4
cmp dword [0x10415640], 0xffffffff
jne 0x1008978f
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.100841a0
push 0x10415640
mov dword [0x104157ac], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1008dbf6
add esp, 0xc
mov edx, dword [0x10414490]
mov eax, dword [0x104157ac]
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 [0x10409fa4]
mov byte [ebp - 0x369], al
mov eax, dword [0x10414498]
movss dword [ebp - 0x380], xmm0
movss xmm0, dword [0x10409fa0]
movss dword [ebp - 0x370], xmm0
cmp dword [eax + 0x4d30], ecx
jl 0x1008997e
mov esi, 0x96
mov eax, dword [eax + 0x4d2c]
add eax, ecx
cdq
idiv esi
mov eax, dword [0x104157d4]
imul esi, edx, 0x64
add esi, dword [eax + 0xf0]
mov dword [ebp - 0x374], esi
cmp edx, 0x96
jae 0x10089c7d
mov esi, edx
shl esi, 4
add esi, edx
mov edx, dword [0x10414490]
mov eax, dword [edx + 0xe0]
movss xmm0, dword [esi*4 + 0x1041d29c]
ucomiss xmm0, dword [eax + edi - 4]
lahf
test ah, 0x44
jp 0x10089961
mov eax, dword [ebp - 0x374]
cmp dword [eax + 8], 0x7fffffff
je 0x10089961
mov eax, dword [edx + 0x60]
mov ecx, dword [esi*4 + 0x1041d2c4]
mov dword [edi + eax], ecx
mov eax, dword [edx + 0x48]
mov ecx, dword [esi*4 + 0x1041d2a4]
mov dword [edi + eax], ecx
mov ecx, dword [ebp - 0x38c]
mov eax, dword [0x10415640]
cmp eax, dword [ecx + 4]
jle 0x100898e6
push 0x10415640
call fcn.1008dc47
add esp, 4
cmp dword [0x10415640], 0xffffffff
jne 0x100898e0
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.100841a0
push 0x10415640
mov dword [0x104157ac], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1008dbf6
add esp, 0xc
mov edx, dword [0x10414490]
mov ecx, dword [0x104157ac]
mov eax, dword [esi*4 + 0x1041d2b4]
push dword [ebp - 0x374]
mov dword [edi + ecx], eax
sub esp, 0x10
mov eax, dword [esi*4 + 0x1041d2b8]
mov dword [edi + ecx + 4], eax
mov eax, dword [esi*4 + 0x1041d2bc]
mov dword [edi + ecx + 8], eax
mov ecx, 0x100ac7a0
mov eax, dword [edx + 0xe8]
movss xmm0, dword [esi*4 + 0x1041d2c0]
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.10031330
mov edx, dword [0x10414490]
mov ecx, dword [ebp - 0x388]
mov eax, dword [0x10414498]
inc ecx
mov dword [ebp - 0x388], ecx
mov esi, 0x96
cmp ecx, dword [eax + 0x4d30]
jle 0x10089800
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 [0x10415640]
cmp eax, dword [ecx + 4]
jle 0x100899f9
push 0x10415640
call fcn.1008dc47
add esp, 4
cmp dword [0x10415640], 0xffffffff
jne 0x100899f3
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.100841a0
push 0x10415640
mov dword [0x104157ac], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1008dbf6
add esp, 0xc
mov edx, dword [0x10414490]
mov eax, dword [0x104157ac]
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 [0x10409fa0], xmm0
movss xmm0, dword [ebp - 0x378]
mov byte [0x10409fa4], al
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
movss xmm1, dword [0x1009ee1c]
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 [0x1009ed60]
cmovbe eax, ecx
movss xmm0, dword [eax]
addss xmm0, dword [0x1009ed60]
mov eax, dword [0x10414490]
divss xmm0, dword [0x1009ed98]
mov eax, dword [eax + 0xe4]
movss dword [eax + edi + 0x30], xmm0
call fcn.1008dd04
mov esi, eax
mov dword [ebp - 0x378], eax
add esp, 0x10
test esi, esi
je 0x10089b19
push 0x3000
push 0
push esi
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
jmp 0x10089b21
xor esi, esi
mov dword [ebp - 0x378], esi
movss xmm0, dword [0x1041fda8]
push 1
push ecx
movss dword [esp], xmm0
push pe_nt_image_headers32
push esi
push edi
call fcn.1002f240
mov eax, dword [0x10414490]
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.1002bea0
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 [0x1009ec80]
movss xmm3, dword [edi + 8]
comiss xmm3, xmm2
jbe 0x10089c50
movaps xmm0, xmm3
mov dword [ebp - 0x384], 0x3f800000
subss xmm0, xmm2
call fcn.1002b670
subss xmm0, dword [0x1009ecb0]
lea eax, [ebp - 0x384]
xorps xmm4, xmm4
lea edx, [ebp - 0x370]
subss xmm2, xmm3
divss xmm0, dword [0x1009ecbc]
comiss xmm0, dword [0x1009ec58]
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 [0x1009eca0]
mulss xmm0, xmm4
subss xmm1, xmm0
mulss xmm1, xmm2
addss xmm1, xmm3
movss dword [edi + 8], xmm1
push 0x10
push ecx
call fcn.1008dcff
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.1008d728
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.10010d60
int3