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

Disassembly:
sub esp, 0x10c
mov eax, dword [0x1005c040]
xor eax, esp
mov dword [esp + 0x108], eax
push esi
mov esi, dword [esp + 0x118]
test byte [esi + 0x40], 1
jne 0x1003145e
mov ecx, dword [0x10084070]
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 [0x1008407c]
mulss xmm1, dword [eax + 0x1c]
subss xmm0, xmm1
jmp 0x10031475
cmp byte [esp + 0x11c], 0
je 0x1003147a
movss xmm0, dword [0x10058354]
call fcn.10002cb0
movss dword [esi + 0x18], xmm0
mov ecx, dword [0x10084074]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x10084080]
push eax
mov edx, dword [ecx]
mov edx, dword [edx + 0xc]
call edx
movss xmm4, dword [esi + 4]
movss xmm5, dword [esi + 8]
movaps xmm3, xmm4
movss xmm6, dword [esi + 0xc]
mov dword [esp + 0x14], eax
mov eax, dword [0x1008407c]
mov dword [esp + 0x10], vtable.Valve::TraceFilterSkipTwoEntities.0
mov dword [esp + 0x18], 0
movss xmm1, dword [eax + 0x1c]
movaps xmm2, xmm1
mov byte [esp + 0x4d], 1
mulss xmm2, dword [esi + 0x10]
movaps xmm0, xmm1
mulss xmm0, dword [esi + 0x14]
mulss xmm1, dword [esi + 0x18]
addss xmm3, xmm2
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x2c], xmm0
mulss xmm2, xmm2
movss dword [esp + 4], xmm3
movaps xmm3, xmm5
addss xmm3, xmm0
movss dword [esp + 0x30], xmm1
mulss xmm0, xmm0
movss dword [esp + 8], xmm3
addss xmm2, xmm0
movaps xmm3, xmm6
addss xmm3, xmm1
mulss xmm1, xmm1
addss xmm2, xmm1
movss dword [esp + 0xc], xmm3
ucomiss xmm2, dword [0x100580f4]
lahf
test ah, 0x44
jp 0x1003153b
mov byte [esp + 0x4d], 0
mov ecx, dword [0x10084078]
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 [0x100581e8]
lahf
test ah, 0x44
jnp 0x100317d8
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 xmm2, dword [esi + 0x14]
movss xmm0, dword [esp + 0x10]
mulss xmm0, xmm7
movss xmm3, 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 xmm2, xmm0
movss dword [esi + 0x10], xmm4
movaps xmm0, xmm6
subss xmm3, xmm1
movaps xmm1, xmm4
mulss xmm1, xmm5
mulss xmm0, xmm2
movss dword [esi + 0x14], xmm2
movss dword [esi + 0x18], xmm3
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm7
addss xmm1, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10031687
mulss xmm5, xmm1
mulss xmm6, xmm1
mulss xmm7, xmm1
subss xmm4, xmm5
subss xmm2, xmm6
subss xmm3, xmm7
movss dword [esi + 0x10], xmm4
movss dword [esi + 0x14], xmm2
movss dword [esi + 0x18], xmm3
movss xmm0, dword [0x100581e8]
subss xmm0, dword [esp + 0xe8]
mov eax, dword [0x1008407c]
movss xmm5, dword [esp + 0xc8]
movss xmm6, dword [esp + 0xcc]
movss xmm7, dword [esp + 0xd0]
mulss xmm0, dword [eax + 0x1c]
mov byte [esp + 0x85], 1
movaps xmm1, xmm0
mulss xmm3, xmm0
mulss xmm1, dword [esi + 0x10]
movaps xmm4, xmm0
mulss xmm4, xmm2
addss xmm3, xmm7
addss xmm1, xmm5
addss xmm4, xmm6
movaps xmm0, xmm3
movss dword [esp + 0x10], xmm3
subss xmm0, xmm7
movaps xmm2, xmm1
movss dword [esp + 8], xmm1
subss xmm2, xmm5
movaps xmm1, xmm4
movss dword [esp + 0xc], xmm4
subss xmm1, xmm6
movss dword [esp + 0x68], xmm0
mulss xmm0, xmm0
movss dword [esp + 0x60], xmm2
movss dword [esp + 0x64], xmm1
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm1, xmm2
addss xmm1, xmm0
ucomiss xmm1, dword [0x100580f4]
lahf
test ah, 0x44
jp 0x10031746
mov byte [esp + 0x85], 0
mov ecx, dword [0x10084078]
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], xmm5
movss dword [esp + 0x5c], xmm6
movss dword [esp + 0x60], xmm7
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 [0x100581e8]
lahf
test ah, 0x44
jnp 0x100317d7
inc edi
cmp edi, 2
jl 0x100315c0
pop edi
movss xmm4, dword [esp + 0xcc]
xorps xmm3, xmm3
movaps xmm2, xmm4
movss xmm5, dword [esp + 0xc4]
subss xmm2, dword [0x10058258]
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 0x10031862
mov byte [esp + 0xb5], 0
mov ecx, dword [0x10084078]
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 [0x100581e8]
mov dword [esi + 0x40], ecx
lahf
test ah, 0x44
jnp 0x10031922
movss xmm0, dword [esp + 0xd8]
comiss xmm0, dword [0x100581c8]
jbe 0x10031922
or ecx, 1
mov dword [esi + 0x40], ecx
mov ecx, dword [esp + 0x10c]
pop esi
xor ecx, esp
call fcn.10031b5e
add esp, 0x10c
ret 0xc