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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x39a4
call fcn.10148270
mov eax, dword [0x101945dc]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x3c], eax
mov ecx, dword fs:[0x2c]
push edi
mov dword [esp + 0x44], ecx
mov edx, dword [ecx + eax*4]
mov eax, dword [0x1027e004]
cmp eax, dword [edx + 4]
jle 0x10078fb5
push 0x1027e004
call fcn.1011812c
add esp, 4
cmp dword [0x1027e004], 0xffffffff
jne 0x10078fb5
mov eax, dword [0x101939c8]
push str.sv_gravity
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x3c]
call eax
push 0x1027e004
mov dword [0x1027e010], eax
call fcn.101180db
add esp, 4
mov eax, dword [0x101939c0]
xorps xmm0, xmm0
movss xmm1, dword [0x10184680]
cmp byte [eax + 0x129c], 0
je 0x10078fe3
mov ecx, dword [eax + 0x12a0]
test ecx, ecx
jle 0x10078fe3
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movd xmm2, dword [eax + 0x1298]
cvtdq2ps xmm2, xmm2
mulss xmm2, xmm1
addss xmm2, xmm0
movss dword [esp + 0x6c], xmm2
cmp esi, 4
jne 0x10079025
mov eax, dword [0x10195304]
cmp dword [eax], 0
jne 0x1007902c
mov esi, 0x101a1828
mov ecx, esi
call fcn.100780a0
add esi, 0x363c
cmp esi, 0x1027dd64
jne 0x10079010
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x101939c8]
mov ebx, 1
mov dword [esp + 0x58], ebx
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
cmp eax, ebx
jl 0x10079025
fld dword [0x10184794]
fstp dword [esp + 0x5c]
mov eax, dword [0x101939c8]
push ebx
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
mov dword [esp + 0x38], edi
cmp ebx, 0x41
jae 0x1007a71f
imul ebx, ebx, 0x363c
add ebx, 0x101a1828
test edi, edi
je 0x1007a6ec
mov eax, dword [0x10195304]
cmp edi, dword [eax]
je 0x1007a6ec
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x1007a6ec
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x1007a6ec
movss xmm0, dword [edi + 0x103c0]
ucomiss xmm0, dword [ebx + 0x3618]
lahf
test ah, 0x44
jnp 0x1007914b
mov ecx, ebx
movss dword [ebx + 0x3618], xmm0
call fcn.100780a0
push 0x2d8
lea eax, [esp + 0x9c]
push 0
push eax
call fcn.10120e50
add esp, 0xc
lea eax, [esp + 0x98]
lea edi, [ebx + 0x32ec]
mov ecx, 0xb6
lea esi, [esp + 0x98]
rep movsd dword es:[edi], dword [esi]
push 0x2d8
push 0
push eax
call fcn.10120e50
lea edi, [ebx + 0x3014]
mov dword [ebx + 0x3620], 0
mov ecx, 0xb6
mov dword [ebx + 0x3624], 0
lea esi, [esp + 0xa4]
add esp, 0xc
rep movsd dword es:[edi], dword [esi]
mov edi, dword [esp + 0x38]
mov eax, dword [edi + 0x299c]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [esp + 0x36d8]
shl ecx, 3
push ecx
push dword [edi + 0x2990]
push eax
call fcn.101214b0
mov eax, dword [0x101939bc]
add esp, 0xc
mov ecx, dword [eax + 0xc]
movss xmm0, dword [ecx + 0x14]
mov eax, dword [ecx + 0x20]
movss dword [esp + 0x60], xmm0
movss xmm0, dword [ecx + 0x10]
mov dword [ecx + 0x14], eax
mov ecx, 0x1ceebdef
movss dword [esp + 0x64], xmm0
call fcn.100b1a90
mov ecx, dword [0x101939bc]
mov esi, dword [esp + 0x40]
mov eax, dword [eax + edi]
mov ecx, dword [ecx + 0xc]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [0x1019ec60]
mov esi, dword [eax + esi*4]
cmp ecx, dword [esi + 4]
jle 0x1007920f
push 0x1019ec60
call fcn.1011812c
mov ecx, dword [0x1019ec60]
add esp, 4
cmp ecx, 0xffffffff
jne 0x1007920f
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_fEffects
mov ecx, eax
call fcn.10077ba0
push 0x1019ec60
mov dword [0x1019ec74], eax
call fcn.101180db
mov ecx, dword [0x1019ec60]
add esp, 4
mov eax, dword [0x1019ec74]
mov eax, dword [eax + edi]
mov dword [esp + 0x68], eax
cmp ecx, dword [esi + 4]
jle 0x10079260
push 0x1019ec60
call fcn.1011812c
add esp, 4
cmp dword [0x1019ec60], 0xffffffff
jne 0x10079260
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_fEffects
mov ecx, eax
call fcn.10077ba0
push 0x1019ec60
mov dword [0x1019ec74], eax
call fcn.101180db
add esp, 4
mov eax, dword [0x1019ec74]
mov ecx, 0x1ceebdef
mov byte [esp + 0x27], 0
or dword [eax + edi], 8
movss xmm1, dword [ebx + 0x361c]
call fcn.100b1a90
ucomiss xmm1, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x1007a239
mov ecx, 0x1ceebdef
call fcn.100b1a90
movss xmm0, dword [eax + edi]
comiss xmm0, xmm1
jbe 0x1007a239
ucomiss xmm1, dword [0x10184a94]
mov byte [esp + 0x27], 1
lahf
test ah, 0x44
jp 0x100792cb
mov ecx, 0x1ceebdef
call fcn.100b1a90
mov eax, dword [eax + edi]
mov dword [ebx + 0x361c], eax
mov eax, dword [edi + 0x299c]
lea esi, [ebx + 0x3014]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [ebx + 0x32ec]
shl ecx, 3
push ecx
push esi
push eax
call fcn.101214b0
mov eax, dword [edi + 0x299c]
add esp, 0xc
lea ecx, [eax*8]
sub ecx, eax
shl ecx, 3
push ecx
push dword [edi + 0x2990]
push esi
call fcn.101214b0
movss xmm1, dword [ebx + 0x361c]
add esp, 0xc
mov ecx, 0x1ceebdef
call fcn.100b1a90
mov ecx, 0x1ceebdef
movss xmm6, dword [eax + edi]
subss xmm6, xmm1
andps xmm6, xmmword [0x10184ea0]
call fcn.100b1a90
ucomiss xmm1, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x1007936d
mov eax, dword [0x101939bc]
movss xmm0, dword [0x10184a94]
mov eax, dword [eax + 0xc]
divss xmm0, dword [eax + 0x20]
mulss xmm0, xmm6
cvttss2si eax, xmm0
not eax
jmp 0x1007936f
xor eax, eax
lea edi, [ebx + 0x3620]
mov dword [edi], eax
call fcn.10117d70
mov ecx, dword [edi]
lea edx, [esp + 0x18]
test ecx, ecx
mov dword [esp + 0x18], 0
xorps xmm2, xmm2
lea esi, [eax + 1]
cmovns edx, edi
cmp esi, ecx
mov dword [esp + 0x2c], esi
lea eax, [esp + 0x2c]
cmovge eax, edx
mov eax, dword [eax]
mov dword [edi], eax
movss xmm7, dword [ebx + 0x35dc]
ucomiss xmm7, xmm2
lahf
test ah, 0x44
jp 0x100793dd
movss xmm0, dword [ebx + 0x35e0]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jp 0x100793dd
movss xmm0, dword [ebx + 0x35e4]
ucomiss xmm0, xmm2
lahf
test ah, 0x44
jnp 0x10079479
mov ecx, 0x1ceebdef
call fcn.100b1a90
mov edi, dword [esp + 0x38]
ucomiss xmm1, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x1007947d
movq xmm0, qword [ebx + 0x3600]
mov ecx, 0xec5d89e5
mov eax, dword [ebx + 0x3608]
movq qword [ebx + 0x360c], xmm0
mov dword [ebx + 0x3614], eax
call fcn.100b1a90
movss xmm1, dword [0x101847f8]
xorps xmm2, xmm2
divss xmm1, xmm6
movss xmm0, dword [eax + edi]
movss xmm4, dword [eax + edi + 4]
subss xmm0, xmm7
movss xmm5, dword [eax + edi + 8]
mulss xmm0, xmm1
movss dword [ebx + 0x3600], xmm0
subss xmm4, dword [ebx + 0x35e0]
mulss xmm4, xmm1
movss dword [ebx + 0x3604], xmm4
subss xmm5, dword [ebx + 0x35e4]
mulss xmm5, xmm1
movss dword [ebx + 0x3608], xmm5
jmp 0x1007947d
mov edi, dword [esp + 0x38]
mov ecx, 0x747d37fc
call fcn.100b1a90
mov ecx, 0x394634f0
mov eax, dword [eax + edi - 0x14]
mov eax, dword [eax + 0x9c]
mov dword [ebx + 0x362c], eax
call fcn.100b1a90
mov ecx, 0x1ceebdef
mov eax, dword [eax + edi]
mov dword [ebx + 0x3638], eax
call fcn.100b1a90
movss xmm0, dword [ebx + 0x361c]
mov ecx, 0xbbe78fae
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jp 0x1007951e
call fcn.100b1a90
mov ecx, 0xec5d89e5
movss xmm0, dword [eax + edi]
movss dword [ebx + 0x3630], xmm0
movss dword [ebx + 0x3634], xmm0
call fcn.100b1a90
movq xmm0, qword [eax + edi]
movq qword [ebx + 0x35dc], xmm0
mov eax, dword [eax + edi + 8]
mov dword [ebx + 0x35e4], eax
movq xmm0, qword [ebx + 0x35dc]
movq qword [ebx + 0x35e8], xmm0
mov dword [ebx + 0x35f0], eax
jmp 0x10079575
mov eax, dword [ebx + 0x3630]
mov dword [ebx + 0x3634], eax
call fcn.100b1a90
movq xmm0, qword [ebx + 0x35dc]
mov ecx, 0xec5d89e5
mov eax, dword [eax + edi]
mov dword [ebx + 0x3630], eax
mov eax, dword [ebx + 0x35e4]
movq qword [ebx + 0x35e8], xmm0
mov dword [ebx + 0x35f0], eax
call fcn.100b1a90
movq xmm0, qword [eax + edi]
movq qword [ebx + 0x35dc], xmm0
mov eax, dword [eax + edi + 8]
mov dword [ebx + 0x35e4], eax
mov ecx, 0x394634f0
call fcn.100b1a90
test byte [eax + edi], 1
je 0x10079594
mov dword [ebx + 0x3608], 0
jmp 0x1007974d
movss xmm1, dword [0x101847f8]
subss xmm1, dword [ebx + 0x329c]
comiss xmm1, xmm2
jbe 0x100796e2
movss xmm0, dword [ebx + 0x357c]
ucomiss xmm0, dword [ebx + 0x32a4]
lahf
test ah, 0x44
jp 0x100796e2
mov eax, dword [ebx + 0x356c]
cmp eax, dword [ebx + 0x3294]
jne 0x100796e2
mulss xmm1, dword [0x1018477c]
addss xmm1, dword [0x10184798]
comiss xmm1, xmm2
movss dword [esp + 0x2c], xmm1
jbe 0x100796e2
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x430]
call eax
test eax, eax
je 0x10079647
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x6e8]
mov dword [esp + 0x18], ecx
mov ecx, eax
call dword [esp + 0x18]
sub esp, 8
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
mov dword [esp + 4], 0x3a83126f
movss dword [esp], xmm0
call fcn.1012cf68
fstp dword [esp + 0x20]
movss xmm3, dword [esp + 0x20]
add esp, 8
jmp 0x1007964f
movss xmm3, dword [0x101849bc]
mulss xmm3, dword [esp + 0x2c]
xorps xmm2, xmm2
comiss xmm3, xmm2
jbe 0x100796e2
movss xmm5, dword [ebx + 0x3604]
movss xmm4, dword [ebx + 0x3600]
movaps xmm0, xmm5
movaps xmm1, xmm4
mulss xmm0, xmm5
mulss xmm1, xmm4
addss xmm1, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm1
comiss xmm0, xmm2
jbe 0x100796e2
movss xmm2, dword [ebx + 0x3608]
movaps xmm0, xmm2
mulss xmm0, xmm2
addss xmm0, xmm1
movss xmm1, dword [0x101847f8]
sqrtss xmm0, xmm0
divss xmm1, xmm0
mulss xmm4, xmm1
mulss xmm5, xmm1
mulss xmm1, xmm2
mulss xmm4, xmm3
mulss xmm5, xmm3
mulss xmm1, xmm3
movss dword [ebx + 0x3600], xmm4
movss dword [ebx + 0x3604], xmm5
movss dword [ebx + 0x3608], xmm1
mov eax, dword [0x101939bc]
mov ecx, dword [0x1027e010]
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax + 0x20]
mov eax, dword [ecx]
movss dword [esp + 0x3c], xmm0
movd xmm0, dword [ebx + 0x3620]
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + 0x30]
mov dword [esp + 0x18], eax
movss dword [esp + 0x2c], xmm0
call dword [esp + 0x18]
movss xmm0, dword [esp + 0x2c]
mulss xmm0, dword [esp + 0x3c]
fmul dword [esp + 0x5c]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [ebx + 0x3608]
fmul dword [esp + 0x18]
fstp dword [esp + 0x18]
subss xmm0, dword [esp + 0x18]
movss dword [ebx + 0x3608], xmm0
mov ecx, 0x394634f0
call fcn.100b1a90
xorps xmm1, xmm1
test byte [eax + edi], 1
je 0x10079885
movss xmm0, dword [ebx + 0x329c]
comiss xmm0, xmm1
jbe 0x10079885
movss xmm3, dword [0x101847f8]
comiss xmm3, xmm0
jbe 0x10079885
movss xmm0, dword [ebx + 0x32a8]
comiss xmm0, dword [ebx + 0x3580]
jbe 0x10079885
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x430]
call eax
test eax, eax
je 0x100797eb
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x6e8]
mov dword [esp + 0x18], ecx
mov ecx, eax
call dword [esp + 0x18]
sub esp, 8
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
mov dword [esp + 4], 0x3a83126f
movss dword [esp], xmm0
call fcn.1012cf68
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
add esp, 8
jmp 0x100797f3
movss xmm0, dword [0x101849bc]
movss xmm3, dword [0x101847f8]
xorps xmm1, xmm1
movaps xmm2, xmm3
subss xmm2, dword [ebx + 0x329c]
mulss xmm2, dword [0x10184780]
comiss xmm2, xmm1
jbe 0x10079885
comiss xmm3, xmm2
jbe 0x10079885
addss xmm2, dword [0x10184798]
mulss xmm2, xmm0
comiss xmm2, xmm1
jbe 0x10079885
mov ecx, 0xad2bbff4
call fcn.100b1a90
movss xmm1, dword [eax + edi + 4]
movss xmm0, dword [eax + edi]
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm0, xmm1
xorps xmm1, xmm1
sqrtss xmm1, xmm0
movaps xmm0, xmm3
divss xmm0, xmm2
mulss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm1, dword [ebx + 0x3604]
mulss xmm0, dword [ebx + 0x3600]
movss dword [ebx + 0x3604], xmm1
xorps xmm1, xmm1
movss dword [ebx + 0x3600], xmm0
comiss xmm1, dword [ebx + 0x318c]
jae 0x10079897
comiss xmm1, dword [ebx + 0x3184]
jb 0x100798bb
mov ecx, 0x394634f0
call fcn.100b1a90
test byte [eax + edi], 1
je 0x100798bb
mov dword [ebx + 0x3600], 0
mov dword [ebx + 0x3604], 0
push ebx
lea ecx, [esp + 0x9c]
call fcn.1007a730
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x270]
call eax
lea ecx, [esp + 0x98]
call fcn.1007a940
mov eax, dword [esp + 0x98]
push 8
push eax
mov dword [esp + 0xa0], 0
call fcn.1011808f
mov eax, dword [ebx + 0x3620]
add esp, 8
mov byte [0x1019ec80], 1
test eax, eax
jg 0x10079a6f
mov ecx, 0x747d37fc
call fcn.100b1a90
mov ecx, dword [eax + edi - 0x14]
mov eax, dword [0x101939bc]
mov ecx, dword [ecx + 0x70]
mov edx, dword [eax + 0xc]
cmp ecx, dword [edx + 4]
jne 0x10079946
mov ecx, 0x747d37fc
call fcn.100b1a90
mov eax, dword [eax + edi - 0x14]
dec dword [eax + 0x70]
mov eax, dword [0x101939bc]
mov esi, dword [eax + 0xc]
mov ecx, 0x747d37fc
call fcn.100b1a90
mov eax, dword [eax + edi - 0x14]
movss xmm0, dword [eax + 0x6c]
ucomiss xmm0, dword [esi + 0x10]
lahf
test ah, 0x44
jp 0x10079983
mov ecx, 0x747d37fc
call fcn.100b1a90
movss xmm0, dword [esi + 0x20]
mov eax, dword [eax + edi - 0x14]
addss xmm0, dword [eax + 0x6c]
movss dword [eax + 0x6c], xmm0
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov esi, dword [edx + eax*4]
mov eax, dword [0x10198bf0]
cmp eax, dword [esi + 4]
jle 0x100799d8
push 0x10198bf0
call fcn.1011812c
add esp, 4
cmp dword [0x10198bf0], 0xffffffff
jne 0x100799d8
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_iEFlags
mov ecx, eax
call fcn.10077ba0
push 0x10198bf0
mov dword [0x101958c8], eax
call fcn.101180db
add esp, 4
mov eax, dword [0x101958c8]
and dword [eax + edi], 0xffffefff
mov eax, dword [ebx + 0x3608]
movq xmm0, qword [ebx + 0x3600]
mov dword [esp + 0x18], eax
mov eax, dword [0x101958f0]
movq qword [esp + 0x30], xmm0
cmp eax, dword [esi + 4]
jle 0x10079a4c
push 0x101958f0
call fcn.1011812c
add esp, 4
cmp dword [0x101958f0], 0xffffffff
jne 0x10079a46
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_vecAbsVelocity
mov ecx, eax
call fcn.10077ba0
push 0x101958f0
mov dword [0x1019bbf8], eax
call fcn.101180db
add esp, 4
movq xmm0, qword [esp + 0x30]
mov eax, dword [0x1019bbf8]
mov ecx, dword [esp + 0x18]
movq qword [eax + edi], xmm0
mov dword [eax + edi + 8], ecx
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x380]
call eax
jmp 0x10079e2d
mov ecx, 1
inc eax
mov dword [esp + 0x18], ecx
cmp eax, ecx
jl 0x10079d3f
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov eax, dword [edx + eax*4]
mov dword [esp + 0x48], eax
mov eax, dword [0x101939bc]
movss xmm2, dword [ebx + 0x361c]
movd xmm3, ecx
mov ecx, 0x1ceebdef
cvtdq2ps xmm3, xmm3
mov esi, dword [eax + 0xc]
mulss xmm3, dword [esi + 0x20]
addss xmm3, xmm2
call fcn.100b1a90
mov ecx, 0x1ceebdef
movss xmm1, dword [eax + edi]
subss xmm1, xmm3
call fcn.100b1a90
movss xmm0, dword [eax + edi]
subss xmm0, xmm2
divss xmm1, xmm0
movss xmm0, dword [0x101847f8]
subss xmm0, xmm1
movss dword [esp + 0x28], xmm0
movss xmm0, dword [esi + 0x10]
movss dword [esi + 0x10], xmm3
mov esi, dword [esp + 0x48]
mov eax, dword [0x10198bf0]
movss dword [esp + 0x30], xmm0
cmp eax, dword [esi + 4]
jle 0x10079b4a
push 0x10198bf0
call fcn.1011812c
add esp, 4
cmp dword [0x10198bf0], 0xffffffff
jne 0x10079b4a
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_iEFlags
mov ecx, eax
call fcn.10077ba0
push 0x10198bf0
mov dword [0x101958c8], eax
call fcn.101180db
add esp, 4
mov eax, dword [0x101958c8]
and dword [eax + edi], 0xffffefff
movq xmm0, qword [ebx + 0x360c]
mov eax, dword [ebx + 0x3614]
movq qword [esp + 0x70], xmm0
movq xmm0, qword [ebx + 0x3600]
movss xmm1, dword [esp + 0x70]
movss xmm2, dword [esp + 0x74]
mov dword [esp + 0x78], eax
mov eax, dword [ebx + 0x3608]
movss xmm3, dword [esp + 0x78]
movq qword [esp + 0x80], xmm0
subss xmm1, dword [esp + 0x80]
subss xmm2, dword [esp + 0x84]
mov dword [esp + 0x88], eax
subss xmm3, dword [esp + 0x88]
mov eax, dword [0x101958f0]
mulss xmm1, dword [esp + 0x28]
mulss xmm2, dword [esp + 0x28]
mulss xmm3, dword [esp + 0x28]
addss xmm1, dword [esp + 0x80]
addss xmm2, dword [esp + 0x84]
addss xmm3, dword [esp + 0x88]
movss dword [esp + 0x54], xmm1
movss dword [esp + 0x3c], xmm2
movss dword [esp + 0x2c], xmm3
cmp eax, dword [esi + 4]
jle 0x10079c54
push 0x101958f0
call fcn.1011812c
add esp, 4
cmp dword [0x101958f0], 0xffffffff
jne 0x10079c42
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_vecAbsVelocity
mov ecx, eax
call fcn.10077ba0
push 0x101958f0
mov dword [0x1019bbf8], eax
call fcn.101180db
add esp, 4
movss xmm3, dword [esp + 0x2c]
movss xmm2, dword [esp + 0x3c]
movss xmm1, dword [esp + 0x54]
mov eax, dword [0x1019bbf8]
mov ecx, 0xbbe78fae
movss dword [eax + edi], xmm1
movss dword [eax + edi + 4], xmm2
movss dword [eax + edi + 8], xmm3
movss xmm0, dword [ebx + 0x3630]
movss xmm1, dword [ebx + 0x3634]
subss xmm1, xmm0
mulss xmm1, dword [esp + 0x28]
addss xmm1, xmm0
call fcn.100b1a90
mov ecx, 0x747d37fc
movss dword [eax + edi], xmm1
call fcn.100b1a90
mov ecx, dword [eax + edi - 0x14]
mov eax, dword [0x101939bc]
mov ecx, dword [ecx + 0x70]
mov edx, dword [eax + 0xc]
cmp ecx, dword [edx + 4]
jne 0x10079ccb
mov ecx, 0x747d37fc
call fcn.100b1a90
mov eax, dword [eax + edi - 0x14]
dec dword [eax + 0x70]
mov eax, dword [0x101939bc]
mov esi, dword [eax + 0xc]
mov ecx, 0x747d37fc
call fcn.100b1a90
mov eax, dword [eax + edi - 0x14]
movss xmm0, dword [eax + 0x6c]
ucomiss xmm0, dword [esi + 0x10]
lahf
test ah, 0x44
jp 0x10079d08
mov ecx, 0x747d37fc
call fcn.100b1a90
movss xmm0, dword [esi + 0x20]
mov eax, dword [eax + edi - 0x14]
addss xmm0, dword [eax + 0x6c]
movss dword [eax + 0x6c], xmm0
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x380]
call eax
mov eax, dword [0x101939bc]
movss xmm0, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
inc ecx
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], ecx
movss dword [eax + 0x10], xmm0
mov eax, dword [ebx + 0x3620]
inc eax
cmp ecx, eax
jle 0x10079a90
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov esi, dword [ecx + eax*4]
mov eax, dword [0x10198bf0]
cmp eax, dword [esi + 4]
jle 0x10079d94
push 0x10198bf0
call fcn.1011812c
add esp, 4
cmp dword [0x10198bf0], 0xffffffff
jne 0x10079d94
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_iEFlags
mov ecx, eax
call fcn.10077ba0
push 0x10198bf0
mov dword [0x101958c8], eax
call fcn.101180db
add esp, 4
mov eax, dword [0x101958c8]
and dword [eax + edi], 0xffffefff
mov eax, dword [ebx + 0x3608]
movq xmm0, qword [ebx + 0x3600]
mov dword [esp + 0x30], eax
mov eax, dword [0x101958f0]
movq qword [esp + 0x48], xmm0
cmp eax, dword [esi + 4]
jle 0x10079e08
push 0x101958f0
call fcn.1011812c
add esp, 4
cmp dword [0x101958f0], 0xffffffff
jne 0x10079e02
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_vecAbsVelocity
mov ecx, eax
call fcn.10077ba0
push 0x101958f0
mov dword [0x1019bbf8], eax
call fcn.101180db
add esp, 4
movq xmm0, qword [esp + 0x48]
mov eax, dword [0x1019bbf8]
mov ecx, dword [esp + 0x30]
movq qword [eax + edi], xmm0
mov dword [eax + edi + 8], ecx
mov ecx, 0xbbe78fae
call fcn.100b1a90
mov ecx, dword [ebx + 0x3630]
mov dword [eax + edi], ecx
push ebx
lea ecx, [esp + 0x9c]
mov byte [0x1019ec80], 0
call fcn.1007a730
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x270]
call eax
test al, al
je 0x10079ec2
cmp dword [esp + 0x36b8], 0
jle 0x10079ec2
mov ecx, 0xad2bbff4
call fcn.100b1a90
movss xmm1, dword [eax + edi + 4]
movss xmm0, dword [eax + edi]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
comiss xmm0, dword [0x101848c8]
jbe 0x10079ec2
mov ecx, 0x9989bf33
call fcn.100b1a90
lea ecx, [edi + 8]
movss xmm0, dword [eax + edi + 4]
mov eax, dword [ecx]
movss dword [esp + 0x30], xmm0
mov eax, dword [eax + 0x28]
call eax
cmp eax, 0x41
jae 0x1007a71f
movss xmm0, dword [esp + 0x30]
imul eax, eax, 0x363c
movss dword [eax + 0x101a4e20], xmm0
lea ecx, [esp + 0x98]
call fcn.1007a940
mov eax, dword [esp + 0x98]
push 8
push eax
mov dword [esp + 0xa0], 0
call fcn.1011808f
add esp, 8
mov ecx, 0x394634f0
call fcn.100b1a90
test byte [eax + edi], 1
jne 0x1007a239
mov ecx, 0x747d37fc
call fcn.100b1a90
mov eax, dword [eax + edi - 0x14]
mov ecx, dword [eax + 0x60]
mov edx, dword [ecx + 0x2990]
add edx, 0xe0
je 0x1007a239
mov eax, dword [0x101939bc]
push dword [edx + 0x18]
mov eax, dword [eax + 0x30]
call eax
mov dword [esp + 0x30], eax
cmp eax, 0x3da
je 0x10079f45
cmp eax, 0x3d9
jne 0x1007a239
mov ecx, dword [edi + 0x299c]
lea eax, [esp + 0x98]
mov esi, dword [esp + 0x38]
lea edi, [ecx*8]
mov esi, dword [esi + 0x2990]
sub edi, ecx
shl edi, 3
push edi
push esi
push eax
call fcn.101214b0
add esp, 0xc
lea eax, [ebx + 0x32ec]
push edi
push eax
push esi
call fcn.101214b0
add esp, 0xc
mov ecx, 0x747d37fc
call fcn.100b1a90
mov edi, dword [esp + 0x38]
mov eax, dword [eax + edi - 0x14]
mov ecx, dword [eax + 0x60]
mov edx, dword [ecx + 0x2990]
add edx, 0xe0
je 0x10079fb8
mov eax, dword [0x101939bc]
push dword [edx + 0x18]
mov eax, dword [eax + 0x30]
call eax
mov esi, eax
jmp 0x10079fbb
or esi, 0xffffffff
mov eax, dword [edi + 0x299c]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [esp + 0x98]
shl ecx, 3
push ecx
push eax
push dword [edi + 0x2990]
call fcn.101214b0
add esp, 0xc
cmp esi, dword [esp + 0x30]
jne 0x10079ffb
movss xmm1, dword [ebx + 0x33f8]
comiss xmm1, dword [ebx + 0x3120]
jbe 0x1007a016
mov ecx, 0x747d37fc
call fcn.100b1a90
xorps xmm1, xmm1
mov eax, dword [eax + edi - 0x14]
mov dword [eax + 0x110], 0
mov ecx, 0x747d37fc
xorps xmm4, xmm4
call fcn.100b1a90
movss xmm2, dword [ebx + 0x311c]
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov edx, dword [eax + edi - 0x14]
cmp byte [edx + 0x128], cl
jne 0x1007a09d
comiss xmm4, xmm2
jae 0x1007a09d
movss xmm3, dword [ebx + 0x3120]
ucomiss xmm3, xmm1
lahf
test ah, 0x44
jnp 0x1007a088
movss xmm0, dword [edx + 0x74]
ucomiss xmm0, xmm4
lahf
test ah, 0x44
jp 0x1007a06e
mov eax, dword [0x101939bc]
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax + 0x20]
comiss xmm3, xmm1
jbe 0x1007a088
mulss xmm2, xmm0
movaps xmm0, xmm2
inc ecx
addss xmm1, xmm0
comiss xmm3, xmm1
ja 0x1007a077
mov dword [esp + 0x28], ecx
test ecx, ecx
je 0x1007a09d
movss xmm0, dword [ebx + 0x3120]
comiss xmm0, dword [0x101847ec]
jb 0x1007a0a8
mov eax, dword [ebx + 0x3620]
inc eax
mov dword [esp + 0x28], eax
mov ecx, 0x747d37fc
call fcn.100b1a90
mov ecx, 0x747d37fc
lea esi, [eax + edi]
call fcn.100b1a90
movd xmm0, dword [esp + 0x28]
mov ecx, 0x747d37fc
cvtdq2ps xmm0, xmm0
mov eax, dword [eax + edi - 0x14]
mulss xmm0, dword [eax + 0x74]
mov eax, dword [esi - 0x14]
movss dword [eax + 0x110], xmm0
call fcn.100b1a90
mov ecx, 0x747d37fc
mov dword [esp + 0x3c], 0x3f800000
mov dword [esp + 0x2c], 0
mov dword [esp + 0x18], 0x3f800000
mov eax, dword [eax + edi - 0x14]
add eax, 0x228
mov dword [esp + 0x30], 0
mov dword [esp + 0x28], eax
call fcn.100b1a90
movss xmm3, dword [0x101847f8]
lea ecx, [esp + 0x30]
movss xmm2, dword [0x10184880]
lea esi, [esp + 0x3c]
mov eax, dword [eax + edi - 0x14]
movss xmm0, dword [eax + 0x110]
lea eax, [esp + 0x48]
subss xmm0, dword [0x101847bc]
mulss xmm0, dword [0x1018480c]
comiss xmm0, xmm4
movss dword [esp + 0x48], xmm0
cmovae ecx, eax
lea eax, [esp + 0x18]
comiss xmm3, xmm0
cmovae eax, ecx
lea ecx, [esp + 0x30]
movss xmm1, dword [eax]
lea eax, [esp + 0x2c]
movaps xmm0, xmm1
addss xmm0, xmm1
mulss xmm1, xmm1
subss xmm2, xmm0
mulss xmm2, xmm1
comiss xmm2, xmm4
movss dword [esp + 0x30], xmm2
cmovae eax, ecx
comiss xmm3, xmm2
cmovae esi, eax
mov eax, dword [esp + 0x28]
cmp byte [eax], 0
jne 0x1007a203
mov edi, dword [eax + 8]
mov eax, dword [0x101939c8]
mov ecx, dword [eax + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
mov eax, dword [esp + 0x28]
push edi
mov dword [eax + 8], edi
mov eax, dword [0x101939bc]
mov edi, dword [esp + 0x3c]
mov eax, dword [eax + 0x174]
push dword [edi + 0x2950]
call eax
mov ecx, dword [esp + 0x28]
mov dword [ecx + 4], eax
cmp eax, 0xffffffff
je 0x1007a1e8
mov byte [ecx], 1
mov eax, dword [0x101939c8]
mov ecx, dword [eax + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
call eax
mov eax, dword [esp + 0x28]
cmp byte [eax], 0
je 0x1007a239
mov eax, dword [0x101939c8]
mov ecx, dword [eax + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x84]
call eax
mov eax, dword [esp + 0x28]
mov ecx, edi
movss xmm1, dword [esi]
push dword [eax + 4]
call fcn.101130a0
mov eax, dword [0x101939c8]
mov ecx, dword [eax + 0x38]
mov eax, dword [ecx]
mov eax, dword [eax + 0x88]
call eax
mov eax, dword [edi + 0x299c]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [esp + 0x36d8]
shl ecx, 3
push ecx
push eax
push dword [edi + 0x2990]
call fcn.101214b0
add esp, 0xc
cmp byte [esp + 0x27], 0
je 0x1007a2fb
mov ecx, 0x1ceebdef
call fcn.100b1a90
mov ecx, edi
mov eax, dword [eax + edi]
mov dword [ebx + 0x361c], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
mov ecx, eax
call edx
mov ecx, edi
movq xmm0, qword [eax]
movq qword [ebx + 0x35c4], xmm0
mov eax, dword [eax + 8]
mov dword [ebx + 0x35cc], eax
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
call eax
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
sub esp, 8
mov ecx, edi
movq xmm0, qword [eax]
movq qword [ebx + 0x35d0], xmm0
mov eax, dword [eax + 8]
mov dword [ebx + 0x35d8], eax
mov eax, dword [0x101939bc]
mov eax, dword [eax + 0xc]
movss xmm0, dword [eax + 0x10]
lea eax, [ebx + 0x14]
movss dword [esp + 4], xmm0
push dword [edi + 0x2920]
push eax
call fcn.10077cb0
mov byte [ebx + 0x3628], al
mov eax, dword [0x101939bc]
movss xmm0, dword [esp + 0x60]
mov ecx, dword [esp + 0x44]
mov eax, dword [eax + 0xc]
movss dword [eax + 0x14], xmm0
mov eax, dword [0x101939bc]
movss xmm0, dword [esp + 0x64]
mov eax, dword [eax + 0xc]
movss dword [eax + 0x10], xmm0
mov eax, dword [esp + 0x40]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x1019ec60]
cmp eax, dword [ecx + 4]
jle 0x1007a376
push 0x1019ec60
call fcn.1011812c
add esp, 4
cmp dword [0x1019ec60], 0xffffffff
jne 0x1007a376
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x44]
call eax
mov edx, str.m_fEffects
mov ecx, eax
call fcn.10077ba0
push 0x1019ec60
mov dword [0x1019ec74], eax
call fcn.101180db
add esp, 4
mov eax, dword [0x1019ec74]
mov ecx, dword [esp + 0x68]
mov dword [eax + edi], ecx
mov eax, dword [0x101939c0]
cmp byte [eax + 0x1294], 0
je 0x1007a6e3
mov eax, dword [0x10195304]
mov ecx, dword [eax]
mov eax, dword [0x101939bc]
push ecx
mov ecx, edi
mov eax, dword [eax + 0x34]
call eax
test al, al
je 0x1007a6e3
cmp byte [esp + 0x27], 0
je 0x1007a6f3
cmp dword [ebx + 0x10], 0
je 0x1007a3eb
mov ecx, dword [ebx + 8]
mov eax, dword [ebx + 4]
dec ecx
and ecx, dword [ebx + 0xc]
mov esi, dword [eax + ecx*4]
mov ecx, 0x1ceebdef
call fcn.100b1a90
movss xmm0, dword [esi + 0x44]
ucomiss xmm0, dword [eax + edi]
lahf
test ah, 0x44
jnp 0x1007a6f3
push 8
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xac], 0
call fcn.101180ab
add esp, 4
lea ecx, [esp + 0x98]
mov dword [eax + 4], 0
mov dword [esp + 0x98], eax
push 0x34
mov dword [eax], ecx
lea eax, [esp + 0xb0]
push 0
push eax
call fcn.10120e50
movq xmm0, qword [ebx + 0x35dc]
add esp, 0xc
mov eax, dword [ebx + 0x35e4]
mov dword [esp + 0xb4], eax
mov eax, dword [ebx + 0x35fc]
movq qword [esp + 0xac], xmm0
movq xmm0, qword [ebx + 0x35f4]
mov dword [esp + 0xc0], eax
mov eax, dword [ebx + 0x35cc]
movq qword [esp + 0xb8], xmm0
movss xmm0, dword [ebx + 0x361c]
mov dword [esp + 0xcc], eax
mov eax, dword [ebx + 0x35d8]
mov dword [esp + 0xd8], eax
lea eax, [ebx + 0x14]
movss dword [esp + 0xdc], xmm0
movq xmm0, qword [ebx + 0x35c4]
push 0x3000
push eax
movq qword [esp + 0xcc], xmm0
lea eax, [esp + 0xe8]
movq xmm0, qword [ebx + 0x35d0]
push eax
movq qword [esp + 0xdc], xmm0
call fcn.101214b0
movss xmm0, dword [esp + 0x278]
add esp, 0xc
mov esi, dword [esp + 0xa8]
mov edx, dword [esp + 0xa0]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [esp + 0x27c]
movss dword [esp + 0x90], xmm0
lea eax, [esi + 1]
movss xmm0, dword [esp + 0x28c]
movss dword [esp + 0x94], xmm0
cmp edx, eax
ja 0x1007a55f
push ecx
lea ecx, [esp + 0x9c]
call fcn.1007ac70
mov esi, dword [esp + 0xa8]
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0xa4]
lea eax, [edx - 1]
and ecx, eax
mov dword [esp + 0xa4], ecx
lea edi, [esi + ecx]
mov ecx, dword [esp + 0x9c]
lea esi, [edx - 1]
and esi, edi
cmp dword [ecx + esi*4], 0
jne 0x1007a5a9
push 0xc
call fcn.101180ab
mov ecx, dword [esp + 0xa0]
add esp, 4
mov dword [ecx + esi*4], eax
mov edx, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
movq xmm0, qword [esp + 0x8c]
lea eax, [edx - 1]
and eax, edi
mov ecx, dword [ecx + eax*4]
mov eax, dword [esp + 0x94]
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov eax, dword [ebx + 0x10]
inc dword [esp + 0xa8]
inc eax
cmp dword [ebx + 8], eax
ja 0x1007a5e0
push ecx
mov ecx, ebx
call fcn.1007aab0
mov eax, dword [ebx + 8]
lea esi, [eax - 1]
and esi, dword [ebx + 0xc]
lea edi, [eax - 1]
mov dword [ebx + 0xc], esi
cmove esi, eax
mov eax, dword [ebx + 4]
dec esi
and edi, esi
cmp dword [eax + edi*4], 0
jne 0x1007a622
push 0x306b
call fcn.101180ab
add esp, 4
test eax, eax
je 0x1007a71a
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
mov eax, dword [ebx + 4]
mov dword [eax + edi*4], ecx
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x98]
push eax
mov eax, dword [ebx + 8]
dec eax
and eax, esi
mov ecx, dword [ecx + eax*4]
call fcn.1007aec0
mov ecx, dword [ebx + 0x10]
inc ecx
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], ecx
cmp ecx, 3
jbe 0x1007a6b8
nop word [eax + eax]
mov eax, dword [0x101939bc]
movss xmm0, dword [esp + 0x6c]
mov eax, dword [eax + 0xc]
divss xmm0, dword [eax + 0x20]
addss xmm0, dword [0x10184794]
cvttss2si eax, xmm0
cmp ecx, eax
jbe 0x1007a6b8
mov esi, dword [ebx + 0xc]
dec ecx
mov eax, dword [ebx + 8]
add esi, ecx
dec eax
and esi, eax
mov eax, dword [ebx + 4]
mov esi, dword [eax + esi*4]
mov ecx, esi
call fcn.1007aa10
mov eax, dword [esi]
push 8
push eax
mov dword [esi], 0
call fcn.1011808f
mov ecx, dword [ebx + 0x10]
add esp, 8
sub ecx, 1
mov dword [ebx + 0x10], ecx
je 0x1007a6b1
cmp ecx, 3
ja 0x1007a650
jmp 0x1007a6b8
mov dword [ebx + 0xc], 0
lea ecx, [esp + 0x98]
call fcn.1007aa10
mov eax, dword [esp + 0x98]
push 8
push eax
mov dword [esp + 0xa0], 0
call fcn.1011808f
add esp, 8
jmp 0x1007a6f3
mov ecx, ebx
call fcn.1007a940
jmp 0x1007a6f3
mov ecx, ebx
call fcn.100780a0
mov eax, dword [0x101939c8]
mov ebx, dword [esp + 0x58]
inc ebx
mov dword [esp + 0x58], ebx
mov ecx, dword [eax + 0x10]
mov eax, dword [ecx]
mov eax, dword [eax + 0x50]
call eax
cmp ebx, eax
jle 0x10079052
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10124a26
call fcn.1007a930
int3