Function at 0x1008d5d0
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 0x100985d9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x6d8
mov eax, dword [0x100b200c]
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 - 0x38c], xmm3
movss dword [ebp - 0x394], xmm2
mov esi, ecx
mov dword [ebp - 0x378], esi
mov eax, dword [esi]
mov edi, dword [ebx + 8]
mov dword [ebp - 0x37c], edi
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [0x100bcbf8]
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 0x1008dc9a
cmp esi, dword [0x100bf648]
jne 0x1008dc9a
cmp dword [ecx + 0x60], 0
je 0x1008dc9a
cmp byte [ecx + 0x109], 0
jne 0x1008d6d0
mov eax, dword [edx + 0xe8]
movss xmm0, dword [esi + eax]
ucomiss xmm0, dword [0x100a3b18]
lahf
test ah, 0x44
jp 0x1008d6d0
mov eax, dword [edx + 0x10c]
cmp dword [esi + eax], 0xffffffff
jne 0x1008dc9a
mov esi, dword [ebp - 0x390]
lea edi, [ebp - 0x368]
mov ecx, 0xd3
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp - 0x378]
lea edi, [ebp - 0x6e8]
mov ecx, 0xb6
mov esi, dword [esi + 0x2990]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [0x100bcbf8]
mov edi, dword [ebp - 0x378]
mov ecx, dword [0x100bcbd8]
mov eax, dword [esi + 0xe4]
add eax, edi
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x3c0], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x3d0], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x3e0], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ebp - 0x3f0], xmm0
movups xmm0, xmmword [eax + 0x40]
movups xmmword [ebp - 0x400], xmm0
movups xmm0, xmmword [eax + 0x50]
mov eax, dword [esi + 0x60]
movups xmmword [ebp - 0x410], xmm0
mov eax, dword [edi + eax]
mov dword [ebp - 0x398], eax
mov eax, dword [esi + 0x48]
mov eax, dword [edi + eax]
mov dword [ebp - 0x39c], eax
mov eax, dword fs:[0x2c]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x100bdd98]
mov dword [ebp - 0x388], ecx
cmp eax, dword [ecx + 4]
jle 0x1008d7db
push 0x100bdd98
call fcn.100922d9
add esp, 4
cmp dword [0x100bdd98], 0xffffffff
jne 0x1008d7d5
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.100884e0
push 0x100bdd98
mov dword [0x100bdf04], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1009228f
add esp, 0xc
mov esi, dword [0x100bcbf8]
mov eax, dword [0x100bdf04]
mov ecx, 1
mov dword [ebp - 0x384], ecx
movq xmm0, qword [edi + eax]
mov eax, dword [edi + eax + 8]
mov dword [ebp - 0x3a4], eax
mov eax, dword [esi + 0xe8]
movq qword [ebp - 0x3ac], xmm0
movss xmm0, dword [edi + eax]
mov al, byte [0x10426f44]
mov byte [ebp - 0x369], al
mov eax, dword [0x100bcc00]
movss dword [ebp - 0x3a0], xmm0
movss xmm0, dword [0x10426f40]
movss dword [ebp - 0x374], xmm0
cmp dword [eax + 0x4d30], ecx
jl 0x1008d9c3
mov eax, dword [eax + 0x4d2c]
add eax, ecx
mov ecx, 0x96
cdq
idiv ecx
mov eax, dword [0x100bdf30]
mov ecx, edx
imul edx, ecx, 0x64
add edx, dword [eax + 0xf0]
mov dword [ebp - 0x380], edx
cmp ecx, 0x96
jae 0x1008dcbc
mov eax, dword [esi + 0xe0]
mov edx, ecx
shl edx, 4
add edx, ecx
shl edx, 2
mov dword [ebp - 0x370], edx
movss xmm0, dword [edx + 0x100c59ec]
ucomiss xmm0, dword [eax + edi - 4]
lahf
test ah, 0x44
jp 0x1008d9a5
mov eax, dword [ebp - 0x380]
cmp dword [eax + 8], 0x7fffffff
je 0x1008d9a5
mov eax, dword [esi + 0x60]
mov ecx, dword [edx + 0x100c5a14]
mov dword [edi + eax], ecx
mov eax, dword [esi + 0x48]
mov ecx, dword [edx + 0x100c59f4]
mov dword [edi + eax], ecx
mov ecx, dword [ebp - 0x388]
mov eax, dword [0x100bdd98]
cmp eax, dword [ecx + 4]
jle 0x1008d934
push 0x100bdd98
call fcn.100922d9
add esp, 4
cmp dword [0x100bdd98], 0xffffffff
jne 0x1008d928
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.100884e0
push 0x100bdd98
mov dword [0x100bdf04], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1009228f
add esp, 0xc
mov edx, dword [ebp - 0x370]
mov esi, dword [0x100bcbf8]
mov ecx, dword [0x100bdf04]
mov eax, dword [edx + 0x100c5a04]
push dword [ebp - 0x380]
mov dword [edi + ecx], eax
sub esp, 0x10
mov eax, dword [edx + 0x100c5a08]
mov dword [edi + ecx + 4], eax
mov eax, dword [edx + 0x100c5a0c]
mov dword [edi + ecx + 8], eax
mov ecx, 0x100c9740
mov eax, dword [esi + 0xe8]
movss xmm0, dword [edx + 0x100c5a10]
movss dword [edi + eax], xmm0
mov eax, esp
movss xmm0, dword [ebp - 0x38c]
movss dword [eax], xmm0
movss xmm0, dword [ebp - 0x394]
movss dword [eax + 4], xmm0
mov dword [eax + 8], 0
call fcn.10031a10
mov esi, dword [0x100bcbf8]
mov ecx, dword [ebp - 0x384]
mov eax, dword [0x100bcc00]
inc ecx
mov dword [ebp - 0x384], ecx
cmp ecx, dword [eax + 0x4d30]
jle 0x1008d841
mov eax, dword [esi + 0x60]
mov ecx, dword [ebp - 0x398]
mov dword [edi + eax], ecx
mov eax, dword [esi + 0x48]
mov ecx, dword [ebp - 0x39c]
mov dword [edi + eax], ecx
mov ecx, dword [ebp - 0x388]
mov eax, dword [0x100bdd98]
cmp eax, dword [ecx + 4]
jle 0x1008da3e
push 0x100bdd98
call fcn.100922d9
add esp, 4
cmp dword [0x100bdd98], 0xffffffff
jne 0x1008da38
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.100884e0
push 0x100bdd98
mov dword [0x100bdf04], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1009228f
add esp, 0xc
mov esi, dword [0x100bcbf8]
mov eax, dword [0x100bdf04]
sub esp, 8
movss xmm0, dword [ebp - 0x3ac]
movss dword [edi + eax], xmm0
movss xmm0, dword [ebp - 0x3a8]
movss dword [edi + eax + 4], xmm0
movss xmm0, dword [ebp - 0x3a4]
movss dword [edi + eax + 8], xmm0
mov eax, dword [esi + 0xe8]
movss xmm0, dword [ebp - 0x3a0]
mov dword [esp + 4], 0x43b40000
movss dword [edi + eax], xmm0
movss xmm0, dword [ebp - 0x374]
mov al, byte [ebp - 0x369]
movss dword [0x10426f40], xmm0
movss xmm0, dword [ebp - 0x38c]
mov byte [0x10426f44], al
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
movss xmm2, dword [0x100a3d08]
add esp, 8
fstp dword [ebp - 0x374]
movss xmm1, dword [ebp - 0x374]
comiss xmm1, xmm2
jbe 0x1008dadb
movaps xmm0, xmm2
jmp 0x1008daeb
movss xmm0, dword [0x100a3dd4]
comiss xmm0, xmm1
ja 0x1008daeb
movaps xmm0, xmm1
mov eax, dword [0x100bcbf8]
addss xmm0, xmm2
push 0x10
push 0x3000
mov eax, dword [eax + 0xe4]
divss xmm0, dword [0x100a3d4c]
movss dword [eax + edi + 0x30], xmm0
call fcn.10092911
add esp, 8
mov dword [ebp - 0x370], eax
test eax, eax
je 0x1008db45
mov esi, eax
mov edi, 0x100
mov ecx, esi
call fcn.1000a110
add esi, 0x30
sub edi, 1
jne 0x1008db28
mov edi, dword [ebp - 0x378]
mov eax, dword [ebp - 0x370]
jmp 0x1008db4d
xor eax, eax
mov dword [ebp - 0x370], eax
movss xmm0, dword [0x100c84f8]
push 1
push ecx
movss dword [esp], xmm0
push 0x100
push eax
push edi
call fcn.1002f920
mov eax, dword [0x100bcbf8]
movups xmm0, xmmword [ebp - 0x3c0]
mov ecx, dword [ebp - 0x390]
mov eax, dword [eax + 0xe4]
add eax, edi
movups xmmword [eax], xmm0
movups xmm0, xmmword [ebp - 0x3d0]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [ebp - 0x3e0]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [ebp - 0x3f0]
movups xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [ebp - 0x400]
movups xmmword [eax + 0x40], xmm0
movups xmm0, xmmword [ebp - 0x410]
movups xmmword [eax + 0x50], xmm0
lea eax, [ebp - 0x368]
push eax
call fcn.1002c610
mov edi, dword [edi + 0x2990]
lea esi, [ebp - 0x6e8]
mov ecx, 0xb6
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x370]
mov edi, dword [ebp - 0x37c]
movss xmm3, dword [ecx + 0x1ac]
addss xmm3, dword [0x100a3c28]
movss xmm4, dword [edi + 8]
comiss xmm4, xmm3
jbe 0x1008dc8f
movaps xmm0, xmm4
mov dword [ebp - 0x37c], 0x3f800000
subss xmm0, xmm3
call fcn.1002be10
subss xmm0, dword [0x100a3c58]
lea eax, [ebp - 0x37c]
xorps xmm1, xmm1
lea edx, [ebp - 0x374]
divss xmm0, dword [0x100a3c64]
comiss xmm0, dword [0x100a3c00]
movss dword [ebp - 0x374], xmm0
cmovbe eax, edx
movss xmm0, dword [eax]
comiss xmm1, xmm0
ja 0x1008dc5c
movss xmm1, xmm0
jmp 0x1008dc60
movss xmm1, xmm1
movaps xmm0, xmm1
subss xmm3, xmm4
mulss xmm0, xmm1
movaps xmm2, xmm0
addss xmm0, xmm0
mulss xmm2, dword [0x100a3c48]
mulss xmm0, xmm1
subss xmm2, xmm0
mulss xmm2, xmm3
addss xmm2, xmm4
movss dword [edi + 8], xmm2
push 0x10
push ecx
call fcn.1009290c
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.10092198
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
call fcn.10010660
int3