Function at 0x1002f840
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10c
mov eax, dword [0x1003e00c]
xor eax, esp
mov dword [esp + 0x108], eax
push esi
mov esi, dword [esp + 0x118]
test byte [esi + 0x40], 1
jne 0x1002f88e
mov ecx, dword [0x100565c0]
push str.sv_gravity
mov eax, dword [ecx]
mov eax, dword [eax + 0x1c]
call eax
movss xmm0, dword [esi + 0x18]
movss xmm1, dword [eax + 0x28]
mov eax, dword [0x100565cc]
mulss xmm1, dword [eax + 0x1c]
subss xmm0, xmm1
jmp 0x1002f8a5
cmp byte [esp + 0x11c], 0
je 0x1002f8aa
movss xmm0, dword [0x1003a664]
call fcn.10002ac0
movss dword [esi + 0x18], xmm0
mov ecx, dword [0x100565c4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x100565d0]
push eax
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
movss xmm4, dword [esi + 4]
movss xmm5, dword [esi + 8]
mov dword [esp + 0x14], eax
mov eax, dword [0x100565cc]
mov dword [esp + 0x10], vtable.Valve::TraceFilterSkipTwoEntities.0
mov dword [esp + 0x18], 0
movss xmm6, dword [esi + 0xc]
movss xmm2, dword [eax + 0x1c]
movaps xmm1, xmm2
mov byte [esp + 0x4d], 1
mulss xmm1, dword [esi + 0x10]
movaps xmm0, xmm2
mulss xmm0, dword [esi + 0x14]
mulss xmm2, dword [esi + 0x18]
movaps xmm3, xmm1
addss xmm3, xmm4
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x2c], xmm0
mulss xmm1, xmm1
movss dword [esp + 0x30], xmm2
movss dword [esp + 4], xmm3
movaps xmm3, xmm0
addss xmm3, xmm5
mulss xmm0, xmm0
addss xmm0, xmm1
movss dword [esp + 8], xmm3
movaps xmm3, xmm2
mulss xmm2, xmm2
addss xmm3, xmm6
addss xmm0, xmm2
movss dword [esp + 0xc], xmm3
ucomiss xmm0, dword [0x1003a3f8]
lahf
test ah, 0x44
jp 0x1002f96b
mov byte [esp + 0x4d], 0
mov ecx, dword [0x100565c8]
lea edx, [esp + 0xb8]
push edx
mov dword [esp + 0x4c], 0
lea edx, [esp + 0x14]
mov dword [esp + 0x48], 0
mov dword [esp + 0x44], 0
mov byte [esp + 0x50], 1
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], 0
movss dword [esp + 0x20], xmm4
movss dword [esp + 0x24], xmm5
movss dword [esp + 0x28], xmm6
mov eax, dword [ecx]
push edx
push 1
lea edx, [esp + 0x28]
mov eax, dword [eax + 0x10]
push edx
call eax
movss xmm0, dword [esp + 0xe4]
ucomiss xmm0, dword [0x1003a4e8]
lahf
test ah, 0x44
jnp 0x1002fc02
push edi
xor edi, edi
movss xmm5, dword [esp + 0xd4]
movss xmm6, dword [esp + 0xd8]
movaps xmm1, xmm5
mulss xmm1, dword [esp + 8]
movaps xmm0, xmm6
mulss xmm0, dword [esp + 0xc]
movss xmm7, dword [esp + 0xdc]
movss xmm4, dword [esi + 0x10]
addss xmm1, xmm0
movss xmm3, dword [esi + 0x14]
movss xmm0, dword [esp + 0x10]
mulss xmm0, xmm7
movss xmm2, dword [esi + 0x18]
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm1
subss xmm4, xmm0
movaps xmm0, xmm6
mulss xmm0, xmm1
mulss xmm1, xmm7
subss xmm3, xmm0
movss dword [esi + 0x10], xmm4
movaps xmm0, xmm6
subss xmm2, xmm1
movaps xmm1, xmm4
mulss xmm1, xmm5
mulss xmm0, xmm3
movss dword [esi + 0x14], xmm3
movss dword [esi + 0x18], xmm2
addss xmm1, xmm0
movaps xmm0, xmm2
mulss xmm0, xmm7
addss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x1002fab7
mulss xmm5, xmm1
mulss xmm6, xmm1
mulss xmm7, xmm1
subss xmm4, xmm5
subss xmm3, xmm6
subss xmm2, xmm7
movss dword [esi + 0x10], xmm4
movss dword [esi + 0x14], xmm3
movss dword [esi + 0x18], xmm2
movss xmm0, dword [0x1003a4e8]
subss xmm0, dword [esp + 0xe8]
mov eax, dword [0x100565cc]
movss xmm4, dword [esp + 0xc8]
movss xmm5, dword [esp + 0xcc]
movss xmm6, dword [esp + 0xd0]
mulss xmm0, dword [eax + 0x1c]
mov byte [esp + 0x85], 1
movaps xmm1, xmm0
mulss xmm3, xmm0
mulss xmm1, dword [esi + 0x10]
mulss xmm0, xmm2
addss xmm3, xmm5
addss xmm1, xmm4
addss xmm0, xmm6
movss dword [esp + 0xc], xmm3
movaps xmm2, xmm1
movss dword [esp + 8], xmm1
movaps xmm1, xmm3
subss xmm2, xmm4
subss xmm1, xmm5
movss dword [esp + 0x10], xmm0
subss xmm0, xmm6
movss dword [esp + 0x60], xmm2
movss dword [esp + 0x64], xmm1
mulss xmm1, xmm1
mulss xmm2, xmm2
movss dword [esp + 0x68], xmm0
mulss xmm0, xmm0
addss xmm1, xmm2
addss xmm1, xmm0
ucomiss xmm1, dword [0x1003a3f8]
lahf
test ah, 0x44
jp 0x1002fb70
mov byte [esp + 0x85], 0
mov ecx, dword [0x100565c8]
lea edx, [esp + 0xbc]
push edx
mov dword [esp + 0x84], 0
lea edx, [esp + 0x18]
mov dword [esp + 0x80], 0
mov dword [esp + 0x7c], 0
mov byte [esp + 0x88], 1
mov dword [esp + 0x78], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], 0
movss dword [esp + 0x58], xmm4
movss dword [esp + 0x5c], xmm5
movss dword [esp + 0x60], xmm6
mov eax, dword [ecx]
push edx
push 1
lea edx, [esp + 0x60]
mov eax, dword [eax + 0x10]
push edx
call eax
movss xmm0, dword [esp + 0xe8]
ucomiss xmm0, dword [0x1003a4e8]
lahf
test ah, 0x44
jnp 0x1002fc01
inc edi
cmp edi, 2
jl 0x1002f9f0
pop edi
movss xmm4, dword [esp + 0xcc]
xorps xmm3, xmm3
movaps xmm2, xmm4
movss xmm5, dword [esp + 0xc4]
subss xmm2, dword [0x1003a550]
xorps xmm1, xmm1
movss xmm6, dword [esp + 0xc8]
xorps xmm0, xmm0
mulss xmm1, xmm3
mov byte [esp + 0xb5], 1
mulss xmm0, xmm3
subss xmm2, xmm4
movss dword [esi + 4], xmm5
movss dword [esi + 8], xmm6
addss xmm1, xmm0
movss dword [esi + 0xc], xmm4
movss dword [esp + 0x90], xmm3
movss dword [esp + 0x94], xmm3
movss dword [esp + 0x98], xmm2
mulss xmm2, xmm2
addss xmm1, xmm2
ucomiss xmm1, xmm3
lahf
test ah, 0x44
jp 0x1002fc8c
mov byte [esp + 0xb5], 0
mov ecx, dword [0x100565c8]
lea edx, [esp + 0xb8]
push edx
mov dword [esp + 0xb4], 0
lea edx, [esp + 0x14]
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], 0
mov byte [esp + 0xb8], 1
mov dword [esp + 0xa8], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 0
movss dword [esp + 0x88], xmm5
movss dword [esp + 0x8c], xmm6
movss dword [esp + 0x90], xmm4
mov eax, dword [ecx]
push edx
push 1
lea edx, [esp + 0x90]
mov eax, dword [eax + 0x10]
push edx
call eax
mov ecx, dword [esi + 0x40]
movss xmm0, dword [esp + 0xe4]
and ecx, 0xfffffffe
ucomiss xmm0, dword [0x1003a4e8]
mov dword [esi + 0x40], ecx
lahf
test ah, 0x44
jnp 0x1002fd4c
movss xmm0, dword [esp + 0xd8]
comiss xmm0, dword [0x1003a4c8]
jbe 0x1002fd4c
or ecx, 1
mov dword [esi + 0x40], ecx
mov ecx, dword [esp + 0x10c]
pop esi
xor ecx, esp
call fcn.1002ff8e
add esp, 0x10c
ret 0xc