Function at 0x1003f9c0
Capabilities:
Access peb ldr_data
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 0x1009555d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x9d0
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
mov eax, dword [0x100bcbf8]
mov edx, dword [ebx + 8]
mov dword [ebp - 0x6e0], edx
mov ecx, dword [eax + 0x7c]
mov eax, dword [0x100bf648]
mov esi, dword [ecx + eax - 0x14]
mov eax, dword [0x100bcc00]
mov dword [ebp - 0x6ec], esi
mov eax, dword [eax + 0x4d30]
inc eax
mov dword [ebp - 0x6e4], eax
cmp eax, 1
jl 0x10040a5e
test esi, esi
je 0x10040a5e
sub esp, 8
mov dword [esp + 4], 0x43b40000
push edx
call fcn.1003e790
movss dword [esp], xmm0
call dword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_remainderf]
add esp, 8
cmp byte [0x100c84a6], 0
fstp dword [ebp - 0x6cc]
je 0x1003fb33
cmp byte [0x100bdf69], 0
je 0x1003fb33
mov ecx, dword [0x100b2570]
mov eax, 0x2aaaaaab
mov edi, dword [0x100b256c]
sub ecx, edi
mov esi, dword [0x10427990]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jbe 0x10040a7e
lea eax, [esi + esi*2]
shl eax, 4
lea esi, [edi + 8]
add esi, eax
je 0x1003fadb
mov eax, dword [esi + 0x24]
and eax, 0xfffffffc
je 0x1003fadb
add eax, 4
push 0x100b2774
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x1003fadd
xor esi, esi
movd xmm1, dword [esi]
sub esp, 8
cvtdq2ps xmm1, xmm1
mov eax, dword [0x100bdf70]
mov dword [ebp - 0x6d4], eax
divss xmm1, dword [0x100a3d14]
movaps xmm0, xmm1
mulss xmm1, dword [0x100a3de0]
mulss xmm0, dword [0x100a3d4c]
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call dword [ebp - 0x6d4]
fadd dword [ebp - 0x6cc]
mov esi, dword [ebp - 0x6ec]
add esp, 8
fstp dword [ebp - 0x6cc]
mov eax, dword [0x100bcc00]
mov edx, dword [0x100c84b4]
mov ecx, dword [eax + 0x4d2c]
cmp edx, ecx
jle 0x1003fb5c
mov eax, dword [eax + 0x4d30]
inc eax
mov byte [ebp - 0x6cd], 1
add eax, ecx
cmp edx, eax
jle 0x1003fb63
mov byte [ebp - 0x6cd], 0
movzx eax, byte [0x100c29ac]
lea edi, [ebp - 0x6c8]
mov edx, dword [0x100bf648]
xor ecx, ecx
cmp byte [esi + 4], cl
cmovne eax, ecx
mov ecx, 0xd3
mov byte [0x100c29ac], al
mov eax, dword [0x100bcbf8]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [edx + 0x2990]
lea edi, [ebp - 0x308]
mov eax, dword [eax + 0xec]
mov ecx, 0xb6
rep movsd dword es:[edi], dword [esi]
movss xmm1, dword [edx + eax]
mov ecx, 0xb6
lea esi, [ebp - 0x308]
movss dword [ebp - 0x6d4], xmm1
lea edi, [ebp - 0x9e0]
mov eax, 0x2aaaaaab
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [0x100b2570]
xor edi, edi
sub ecx, dword [0x100b256c]
mov esi, dword [0x10427974]
imul ecx
mov dword [ebp - 0x6e8], edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jbe 0x10040a7e
mov edx, dword [0x100b256c]
lea eax, [esi + esi*2]
shl eax, 4
lea esi, [edx + 8]
add esi, eax
jne 0x1003fc16
mov ecx, dword [0x100b2570]
jmp 0x1003fc52
mov eax, dword [esi + 0x24]
and eax, 0xfffffffc
je 0x1003fc3c
add eax, 4
push 0x100b2834
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
mov ecx, dword [0x100b2570]
add esp, 8
test eax, eax
je 0x1003fc44
jmp 0x1003fc42
mov ecx, dword [0x100b2570]
xor esi, esi
movss xmm1, dword [ebp - 0x6d4]
mov edx, dword [0x100b256c]
cmp byte [esi], 0
je 0x1003fceb
movss xmm5, dword [0x100a3d4c]
comiss xmm1, xmm5
movss xmm3, dword [ebp - 0x6cc]
movss xmm2, dword [0x100a3d68]
movaps xmm0, xmm3
jbe 0x1003fc89
nop dword [eax + eax]
subss xmm1, xmm2
comiss xmm1, xmm5
ja 0x1003fc80
movss xmm4, dword [0x100a3de0]
comiss xmm4, xmm1
jbe 0x1003fc9f
addss xmm1, xmm2
comiss xmm4, xmm1
ja 0x1003fc96
comiss xmm3, xmm5
jbe 0x1003fcad
subss xmm0, xmm2
comiss xmm0, xmm5
ja 0x1003fca4
comiss xmm4, xmm0
jbe 0x1003fcbb
addss xmm0, xmm2
comiss xmm4, xmm0
ja 0x1003fcb2
subss xmm0, xmm1
comiss xmm0, xmm5
jbe 0x1003fccd
subss xmm0, xmm2
comiss xmm0, xmm5
ja 0x1003fcc4
comiss xmm4, xmm0
jbe 0x1003fcdb
addss xmm0, xmm2
comiss xmm4, xmm0
ja 0x1003fcd2
xorps xmm1, xmm1
comiss xmm1, xmm0
setae al
mov byte [0x100bcd0d], al
jmp 0x1003fcf0
mov al, byte [0x100bcd0d]
mov esi, dword [0x104279c8]
sub ecx, edx
test al, al
mov eax, 0x2aaaaaab
jne 0x1003fd07
mov esi, dword [0x104279c4]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jbe 0x10040a7e
lea eax, [esi + esi*2]
mov esi, dword [0x100b256c]
shl eax, 4
add esi, 8
add esi, eax
je 0x1003fd4c
mov eax, dword [esi + 0x24]
and eax, 0xfffffffc
je 0x1003fd4c
add eax, 4
push 0x100b2774
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x1003fd4e
xor esi, esi
movd xmm2, dword [esi]
mov ecx, 1
mov eax, dword [ebx + 0xc]
mov esi, 0x96
sub eax, dword [ebp - 0x6e4]
cvtdq2ps xmm2, xmm2
mov dword [ebp - 0x6f4], eax
addss xmm2, dword [ebp - 0x6cc]
mov dword [ebp - 0x6cc], ecx
movss dword [ebp - 0x6d4], xmm2
mov eax, dword [0x100bcc00]
mov dword [ebp - 0x6f8], edi
mov eax, dword [eax + 0x4d2c]
add eax, ecx
cdq
idiv esi
mov eax, dword [0x100bdf30]
mov ecx, edx
imul edx, ecx, 0x64
mov dword [ebp - 0x6f0], ecx
add edx, dword [eax + 0xf0]
mov dword [ebp - 0x6dc], edx
cmp ecx, 0x96
jae 0x10040a83
mov eax, dword [0x100bcbf8]
mov esi, ecx
shl esi, 4
add esi, ecx
shl esi, 2
mov ecx, dword [eax + 0xe0]
mov eax, dword [0x100bf648]
mov dword [ebp - 0x6d8], esi
movss xmm0, dword [esi + 0x100c59ec]
ucomiss xmm0, dword [ecx + eax - 4]
lahf
test ah, 0x44
jp 0x100402f2
cmp dword [edx + 8], 0x7fffffff
je 0x100402f2
cmp dword [esi + 0x100c59f0], 9
je 0x1003ffdd
cmp dword [esi + 0x100c59dc], 9
je 0x1003ffdd
cmp byte [esi + 0x100c59e9], 0
lea edi, [edx + 0xc]
je 0x1003ff39
mov eax, dword [edi + 8]
movq xmm1, qword [edi]
mov dword [ebp - 0x6e8], eax
mov eax, dword [ebp - 0x6e4]
movq qword [ebp - 0x28], xmm1
movss dword [edx + 0x10], xmm2
cmp dword [ebp - 0x6cc], eax
je 0x1003ff15
cmp byte [ebp - 0x6cd], 0
jne 0x1003ff15
mov ecx, dword [0x100b2570]
mov eax, 0x2aaaaaab
sub ecx, dword [0x100b256c]
mov esi, dword [0x10427970]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jbe 0x10040a7e
lea esi, [esi + esi*2]
shl esi, 4
add esi, 8
add esi, dword [0x100b256c]
je 0x1003fec7
mov eax, dword [esi + 0x24]
and eax, 0xfffffffc
je 0x1003fec0
add eax, 4
push 0x100b2834
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x1003fec2
xor esi, esi
movq xmm1, qword [ebp - 0x28]
cmp byte [esi], 0
je 0x1003ff09
cmp byte [0x100bcd0d], 0
je 0x1003feef
mov edx, dword [ebp - 0x6dc]
movss xmm0, dword [0x100a3dd8]
addss xmm0, dword [edx + 0x10]
movss dword [edx + 0x10], xmm0
jmp 0x1003ff0f
mov edx, dword [ebp - 0x6dc]
movss xmm0, dword [0x100a3d20]
addss xmm0, dword [edx + 0x10]
movss dword [edx + 0x10], xmm0
jmp 0x1003ff0f
mov edx, dword [ebp - 0x6dc]
mov esi, dword [ebp - 0x6d8]
push dword [esi + 0x100c59f0]
mov ecx, dword [ebp - 0x6e8]
push dword [esi + 0x100c59f4]
sub esp, 0xc
mov eax, esp
push edx
movq qword [eax], xmm1
mov dword [eax + 8], ecx
call fcn.100351f0
lea eax, [ebp - 0x708]
mov ecx, edi
push eax
call fcn.10033e60
movss xmm0, dword [edi]
movss xmm3, dword [0x100a3d04]
comiss xmm0, xmm3
seta al
test al, al
je 0x1003ff62
movaps xmm0, xmm3
jmp 0x1003ff77
movss xmm1, dword [0x100a3dd0]
comiss xmm1, xmm0
seta al
test al, al
je 0x1003ff77
movaps xmm0, xmm1
movss xmm1, dword [0x100a3d4c]
movss dword [edi], xmm0
movss xmm0, dword [edi + 4]
comiss xmm0, xmm1
seta al
test al, al
jne 0x1003ffa4
movss xmm1, dword [0x100a3de0]
comiss xmm1, xmm0
seta al
test al, al
je 0x1003ffa7
movaps xmm0, xmm1
movss xmm1, dword [0x100a3cdc]
movss dword [edi + 4], xmm0
movss xmm0, dword [edi + 8]
comiss xmm0, xmm1
seta al
test al, al
jne 0x1003ffd5
movss xmm1, dword [0x100a3dcc]
comiss xmm1, xmm0
seta al
test al, al
je 0x1003ffd8
movaps xmm0, xmm1
movss dword [edi + 8], xmm0
mov eax, dword [ebp - 0x6e4]
cmp dword [ebp - 0x6cc], eax
jne 0x10040177
mov eax, dword [0x100bcbf8]
mov ecx, dword [eax + 0x34]
mov eax, dword [0x100bf648]
cmp byte [ecx + eax + 1], 2
jne 0x1004016c
mov edx, dword [ebp - 0x6e0]
xorps xmm1, xmm1
mov esi, dword [edx + 0x30]
movss xmm0, dword [edx + 0x24]
and esi, 0xfffff9e7
ucomiss xmm0, xmm1
mov dword [edx + 0x30], esi
lahf
test ah, 0x44
jnp 0x100400c5
mov ecx, dword [0x100b2570]
mov eax, 0x2aaaaaab
sub ecx, dword [0x100b256c]
mov edi, dword [0x10427278]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jbe 0x10040a7e
lea edi, [edi + edi*2]
shl edi, 4
add edi, 8
add edi, dword [0x100b256c]
jne 0x10040074
mov edx, dword [ebp - 0x6e0]
mov ecx, esi
jmp 0x100400a0
mov eax, dword [edi + 0x24]
and eax, 0xfffffffc
je 0x10040092
add eax, 4
push 0x100b2834
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x10040094
xor edi, edi
mov edx, dword [ebp - 0x6e0]
xorps xmm1, xmm1
mov ecx, dword [edx + 0x30]
movss xmm0, dword [edx + 0x24]
xor eax, eax
cmp byte [edi], al
je 0x100400b0
comiss xmm1, xmm0
jmp 0x100400b3
comiss xmm0, xmm1
seta al
xor eax, 1
lea esi, [eax*8 + 8]
or esi, ecx
mov dword [edx + 0x30], esi
movss xmm0, dword [edx + 0x28]
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10040166
mov ecx, dword [0x100b2570]
mov eax, 0x2aaaaaab
sub ecx, dword [0x100b256c]
mov edi, dword [0x10427278]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, edi
jbe 0x10040a7e
lea edi, [edi + edi*2]
shl edi, 4
add edi, 8
add edi, dword [0x100b256c]
jne 0x1004011b
mov ecx, dword [ebp - 0x6e0]
jmp 0x10040147
mov eax, dword [edi + 0x24]
and eax, 0xfffffffc
je 0x10040139
add eax, 4
push 0x100b2834
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x1004013b
xor edi, edi
mov ecx, dword [ebp - 0x6e0]
xorps xmm1, xmm1
mov esi, dword [ecx + 0x30]
movss xmm0, dword [ecx + 0x28]
xor eax, eax
cmp byte [edi], al
je 0x10040157
comiss xmm1, xmm0
jmp 0x1004015a
comiss xmm0, xmm1
seta al
inc eax
shl eax, 9
or eax, esi
mov dword [ecx + 0x30], eax
mov esi, dword [ebp - 0x6d8]
push dword [ebp - 0x6dc]
call fcn.1003d820
mov ecx, dword [ebp - 0x6dc]
mov edi, dword [0x100bcbf8]
mov edx, dword [ebp - 0x6f4]
test byte [ecx + 0x30], 1
lea eax, [ecx + 0xc]
mov ecx, dword [edi + 0x60]
mov dword [ebp - 0x6d8], eax
cmove eax, dword [ebp - 0x6f8]
add edx, dword [ebp - 0x6cc]
mov dword [ebp - 0x6e8], eax
mov eax, dword [0x100bf648]
mov dword [eax + ecx], edx
mov ecx, dword [edi + 0x48]
mov eax, dword [0x100bf648]
mov edx, dword [esi + 0x100c59f4]
mov dword [eax + ecx], edx
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100bcbd8]
mov edi, dword [0x100bf648]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x100bdd98]
cmp eax, dword [ecx + 4]
jle 0x10040231
push 0x100bdd98
call fcn.100922d9
add esp, 4
cmp dword [0x100bdd98], 0xffffffff
jne 0x10040231
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 ecx, dword [0x100bdf04]
mov eax, dword [esi + 0x100c5a04]
push dword [ebp - 0x6dc]
mov edx, dword [ebp - 0x6d8]
mov dword [ecx + edi], eax
mov eax, dword [esi + 0x100c5a08]
mov dword [ecx + edi + 4], eax
mov eax, dword [esi + 0x100c5a0c]
mov dword [ecx + edi + 8], eax
mov eax, dword [0x100bcbf8]
movss xmm0, dword [esi + 0x100c5a10]
mov ecx, dword [eax + 0xe8]
mov eax, dword [0x100bf648]
movss dword [eax + ecx], xmm0
mov eax, dword [ebp - 0x6e8]
test eax, eax
cmovne edx, eax
sub esp, 0x10
mov ecx, esp
movq xmm0, qword [edx]
mov eax, dword [edx + 8]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, 0x100c9740
call fcn.10031a10
mov edi, dword [0x100bdf30]
imul esi, dword [ebp - 0x6f0], 0x68
push dword [ebp - 0x6dc]
mov ecx, dword [edi + 0xf4]
add ecx, esi
call fcn.10040a90
mov ecx, dword [ebp - 0x6dc]
call fcn.1003c410
movss xmm2, dword [ebp - 0x6d4]
mov ecx, eax
mov eax, dword [edi + 0xf4]
mov edi, dword [ebp - 0x6e8]
movss dword [ebp - 0x6d4], xmm2
mov dword [eax + esi + 0x64], ecx
mov ecx, dword [ebp - 0x6cc]
mov esi, 0x96
inc ecx
mov dword [ebp - 0x6cc], ecx
cmp ecx, dword [ebp - 0x6e4]
jle 0x1003fd84
mov eax, dword [0x100bf648]
mov ecx, 0xb6
movss xmm0, dword [0x100c828c]
mov edi, 0x100c81c4
mov eax, dword [eax + 0x2990]
movss dword [eax + 0xc8], xmm0
mov eax, dword [0x100bf648]
movss xmm0, dword [0x100c8298]
mov eax, dword [eax + 0x2990]
movss dword [eax + 0xd4], xmm0
mov esi, dword [0x100bf648]
mov eax, dword [0x100bcbf8]
mov esi, dword [esi + 0x2990]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x7c]
mov eax, dword [0x100bf648]
mov edi, dword [0x100b256c]
mov esi, dword [0x104271a4]
movss xmm0, dword [ecx + eax - 0x50]
mov eax, 0x2aaaaaab
mov ecx, dword [0x100b2570]
sub ecx, edi
movss dword [ebp - 0x6d8], xmm0
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jbe 0x10040a7e
lea eax, [esi + esi*2]
shl eax, 4
lea esi, [edi + 8]
add esi, eax
je 0x100403d1
mov eax, dword [esi + 0x24]
and eax, 0xfffffffc
je 0x100403d1
add eax, 4
push 0x100b2834
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x100403d3
xor esi, esi
cmp byte [esi], 0
je 0x100403e5
cmp byte [0x100c84a6], 0
jne 0x100406dd
mov eax, dword [ebp - 0x6ec]
mov ecx, dword [0x100bf648]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x20], 0
movss xmm0, dword [eax + 0x80]
lea eax, [ebp - 0x28]
push eax
movss dword [ebp - 0x24], xmm0
call dword [0x100bde00]
mov eax, dword fs:[0x2c]
mov edx, dword [0x100bcbd8]
mov ecx, dword [eax + edx*4]
mov eax, dword [0x10427d28]
cmp eax, dword [ecx + 4]
jle 0x1004045f
push 0x10427d28
call fcn.100922d9
add esp, 4
cmp dword [0x10427d28], 0xffffffff
jne 0x1004045f
mov eax, dword [0x100bde14]
push 0x10427d28
mov dword [0x10427d18], eax
call fcn.1009228f
add esp, 4
mov ecx, dword [0x100bf648]
push str.lean_root
call dword [0x10427d18]
mov edx, eax
mov eax, dword [0x100bf648]
mov ecx, dword [eax + 0x2950]
mov eax, dword [ecx + 0x30]
cmp dword [eax + edx*4], 0x3ff00
je 0x10040490
mov dword [eax + edx*4], 0x3ff00
mov eax, dword [0x100bf648]
mov ecx, dword [0x100b2570]
mov edi, dword [0x100b256c]
sub ecx, edi
mov esi, dword [0x1042726c]
mov eax, dword [eax + 0x2990]
movss xmm0, dword [eax + 0xc8]
movss dword [ebp - 0x6f4], xmm0
movss xmm0, dword [eax + 0xd4]
mov eax, 0x2aaaaaab
imul ecx
movss dword [ebp - 0x6f0], xmm0
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jbe 0x10040a7e
lea eax, [esi + esi*2]
shl eax, 4
lea esi, [edi + 8]
add esi, eax
je 0x10040513
mov eax, dword [esi + 0x24]
and eax, 0xfffffffc
je 0x10040513
add eax, 4
push 0x100b2774
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x10040515
xor esi, esi
movd xmm0, dword [esi]
mov eax, dword [0x100bf648]
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + 0x2990]
divss xmm0, dword [0x100a3c78]
mulss xmm0, dword [eax + 0x2c0]
movss dword [eax + 0x2c0], xmm0
mov eax, dword [0x100bf648]
mov eax, dword [eax + 0x2990]
mov dword [eax + 0xd4], 0
mov eax, dword [0x100bf648]
mov eax, dword [eax + 0x2990]
mov dword [eax + 0xc8], 0
mov eax, dword [0x100bcbf8]
mov ecx, dword [eax + 0x7c]
mov eax, dword [0x100bf648]
mov dword [ecx + eax - 0x50], 0
mov eax, 0x2aaaaaab
mov ecx, dword [0x100b2570]
mov edi, dword [0x100b256c]
sub ecx, edi
mov esi, dword [0x10427580]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jbe 0x10040a7e
lea eax, [esi + esi*2]
shl eax, 4
lea esi, [edi + 8]
add esi, eax
je 0x100405d6
mov eax, dword [esi + 0x24]
and eax, 0xfffffffc
je 0x100405d6
add eax, 4
push 0x100b2834
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x100405d8
xor esi, esi
cmp byte [esi], 0
je 0x1004060c
cmp dword [0x100c84b0], 0
jne 0x1004060c
mov ecx, dword [0x100bdf10]
lea edx, [ebp - 0x28]
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x34]
call eax
mov eax, dword [0x100bcbfc]
push 1
push ecx
movss xmm0, dword [eax + 0x10]
movss dword [esp], xmm0
push 0x3ff00
push 0x100bf660
push dword [0x100bf648]
call fcn.1002f920
mov eax, dword [0x100bcbf8]
movss xmm0, dword [ebp - 0x6d8]
mov ecx, dword [eax + 0x7c]
mov eax, dword [0x100bf648]
movss dword [ecx + eax - 0x50], xmm0
mov ecx, dword [0x100bf648]
mov eax, dword [ecx + 0x2920]
lea eax, [eax + eax*2]
shl eax, 4
push eax
push 0x100bf660
push dword [ecx + 0x2914]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [0x100bf648]
add esp, 0xc
movss xmm0, dword [ebp - 0x6f0]
mov eax, dword [eax + 0x2990]
movss dword [eax + 0xd4], xmm0
mov eax, dword [0x100bf648]
movss xmm0, dword [ebp - 0x6f4]
mov eax, dword [eax + 0x2990]
movss dword [eax + 0xc8], xmm0
mov ecx, dword [0x100bf648]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
movss xmm0, dword [eax]
movss dword [0x100c59c8], xmm0
movss xmm0, dword [eax + 4]
movss dword [0x100c59cc], xmm0
movss xmm0, dword [eax + 8]
movss dword [0x100c59d0], xmm0
mov ecx, dword [0x100b2570]
mov eax, 0x2aaaaaab
mov edi, dword [0x100b256c]
sub ecx, edi
mov esi, dword [0x1042713c]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jbe 0x10040a7e
lea eax, [esi + esi*2]
shl eax, 4
lea esi, [edi + 8]
add esi, eax
je 0x10040735
mov eax, dword [esi + 0x24]
and eax, 0xfffffffc
je 0x10040735
add eax, 4
push 0x100b2834
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x10040737
xor esi, esi
cmp byte [esi], 0
je 0x10040a5e
cmp byte [0x100c29ac], 0
lea edi, [ebp - 0x378]
mov eax, dword [ebp - 0x6ec]
mov ecx, 0xd3
mov esi, eax
rep movsd dword es:[edi], dword [esi]
je 0x10040765
push 0x100c2660
jmp 0x1004076c
lea ecx, [ebp - 0x6c8]
push ecx
mov ecx, eax
call fcn.1002c610
mov edi, dword [0x100bf648]
lea esi, [ebp - 0x9e0]
mov ecx, 0xb6
mov edi, dword [edi + 0x2990]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebx + 0xc]
mov ecx, 1
sub edi, dword [ebp - 0x6e4]
mov dword [ebp - 0x6d4], ecx
mov dword [ebx + 0xc], edi
nop dword [eax]
nop word [eax + eax]
mov eax, dword [0x100bcc00]
mov esi, 0x96
mov eax, dword [eax + 0x4d2c]
add eax, ecx
cdq
idiv esi
mov eax, dword [0x100bdf30]
imul esi, edx, 0x64
add esi, dword [eax + 0xf0]
mov dword [ebp - 0x6f0], esi
cmp edx, 0x96
jae 0x10040a83
mov eax, dword [0x100bf648]
mov esi, edx
shl esi, 4
add esi, edx
lea edx, [edi + ecx]
mov edi, dword [0x100bcbf8]
mov ecx, dword [edi + 0x60]
mov dword [eax + ecx], edx
mov ecx, dword [edi + 0x48]
mov eax, dword [0x100bf648]
mov edx, dword [esi*4 + 0x100c59f4]
mov dword [eax + ecx], edx
mov eax, dword fs:[0x2c]
mov ecx, dword [0x100bcbd8]
mov edi, dword [0x100bf648]
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x100bdd98]
cmp eax, dword [ecx + 4]
jle 0x1004087e
push 0x100bdd98
call fcn.100922d9
add esp, 4
cmp dword [0x100bdd98], 0xffffffff
jne 0x1004087e
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 ecx, dword [0x100bdf04]
mov eax, dword [esi*4 + 0x100c5a04]
push dword [ebp - 0x6f0]
mov dword [edi + ecx], eax
mov eax, dword [esi*4 + 0x100c5a08]
mov dword [edi + ecx + 4], eax
mov eax, dword [esi*4 + 0x100c5a0c]
mov dword [edi + ecx + 8], eax
mov eax, dword [ebp - 0x6e0]
push ecx
mov ecx, dword [ebp - 0x6e8]
add eax, 0xc
test ecx, ecx
mov edx, ecx
cmove edx, eax
sub esp, 0xc
mov ecx, esp
movq xmm0, qword [edx]
mov eax, dword [edx + 8]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, 0x100c9740
call fcn.10031a10
mov ecx, dword [ebp - 0x6d4]
mov edi, dword [ebx + 0xc]
inc ecx
mov dword [ebp - 0x6d4], ecx
cmp ecx, dword [ebp - 0x6e4]
jle 0x100407b0
mov ecx, dword [0x100b2570]
mov eax, 0x2aaaaaab
mov edi, dword [0x100b256c]
sub ecx, edi
mov esi, dword [0x104271a4]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, esi
jbe 0x10040a7e
lea eax, [esi + esi*2]
shl eax, 4
lea esi, [edi + 8]
add esi, eax
je 0x10040952
mov eax, dword [esi + 0x24]
and eax, 0xfffffffc
je 0x10040952
add eax, 4
push 0x100b2834
push eax
call dword [sym.imp.VCRUNTIME140.dll___std_type_info_compare]
add esp, 8
test eax, eax
je 0x10040954
xor esi, esi
cmp byte [esi], 0
je 0x10040966
cmp byte [0x100c84a6], 0
jne 0x10040a5e
mov eax, dword [ebp - 0x6ec]
mov ecx, dword [0x100bf648]
mov dword [ebp - 0x708], 0
mov dword [ebp - 0x700], 0
movss xmm0, dword [eax + 0x80]
lea eax, [ebp - 0x708]
push eax
movss dword [ebp - 0x704], xmm0
call dword [0x100bde00]
mov edi, dword [0x100bf648]
mov ecx, 0xb6
mov eax, dword [0x100bcbf8]
mov esi, 0x100c81c4
push 1
mov edi, dword [edi + 0x2990]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0x7c]
mov eax, dword [0x100bf648]
push ecx
mov dword [ecx + eax - 0x50], 0
mov eax, dword [0x100bcbfc]
movss xmm0, dword [eax + 0x10]
movss dword [esp], xmm0
push 0x3ff00
push 0x100c29b0
push dword [0x100bf648]
call fcn.1002f920
mov eax, dword [0x100bcbf8]
mov ecx, 0x100c2660
movss xmm0, dword [ebp - 0x6d8]
mov esi, dword [ebp - 0x6ec]
push esi
mov edx, dword [eax + 0x7c]
mov eax, dword [0x100bf648]
movss dword [edx + eax - 0x50], xmm0
call fcn.1002c610
lea eax, [ebp - 0x378]
mov byte [0x100c29ac], 1
push eax
mov ecx, esi
call fcn.1002c610
mov ecx, dword [0x100bf648]
mov eax, dword [ecx + 0x2920]
lea eax, [eax + eax*2]
shl eax, 4
push eax
push 0x100bf660
push dword [ecx + 0x2914]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
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 8
call fcn.10012440
call fcn.10010660
int3