Function at 0x100726e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4c
push ebx
mov eax, dword fs:[0x2c]
push esi
mov esi, dword [0x10138688]
mov dword [esp + 0xc], ecx
push edi
movss dword [esp + 0x38], xmm5
mov edi, edx
mov ecx, dword [eax + esi*4]
mov eax, dword [0x1013d05c]
movss dword [esp + 0x34], xmm4
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x40], xmm1
movss dword [esp + 0x3c], xmm0
cmp eax, dword [ecx + 4]
jle 0x1007276e
push 0x1013d05c
call fcn.100e955e
add esp, 4
cmp dword [0x1013d05c], 0xffffffff
jne 0x1007276e
mov eax, dword [0x10137e08]
push str.sv_gravity
mov ecx, dword [eax + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
push 0x1013d05c
mov dword [0x1013d068], eax
call fcn.100e950d
add esp, 4
mov bl, byte [ebp + 0x38]
movss xmm2, dword [ebp + 0xc]
test bl, bl
je 0x10072784
mulss xmm2, dword [0x1012aec8]
jmp 0x10072791
mov eax, dword [0x1013d068]
mov eax, dword [eax + 0x1c]
mulss xmm2, dword [eax + 0x2c]
xorps xmm6, xmm6
movss dword [esp + 0x14], xmm2
ucomiss xmm2, xmm6
lahf
test ah, 0x44
jp 0x10072863
lea eax, [esp + 0x48]
mov dword [esp + 0x48], 0
push eax
lea edx, [esp + 0x34]
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x40]
mov dword [esp + 0x54], 0
call fcn.100992a0
movss dword [esp + 0x4c], xmm1
movss xmm1, dword [esp + 0x40]
subss xmm1, dword [ebp + 0x18]
movss dword [esp + 0x50], xmm2
movss xmm2, dword [esp + 0x3c]
subss xmm2, dword [ebp + 0x14]
movss dword [esp + 0x48], xmm0
movq xmm0, qword [esp + 0x48]
subss xmm1, dword [esp + 0x34]
movq qword [edi], xmm0
movss xmm0, dword [esp + 0x44]
subss xmm0, dword [ebp + 0x1c]
subss xmm2, dword [esp + 0x30]
mulss xmm1, xmm1
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x50]
subss xmm0, dword [esp + 0x38]
mulss xmm2, xmm2
mov dword [edi + 8], eax
mov al, 1
addss xmm1, xmm2
mulss xmm0, xmm0
addss xmm1, xmm0
movss xmm0, dword [0x1012ad2c]
divss xmm0, dword [ebp + 8]
sqrtss xmm1, xmm1
mulss xmm1, xmm0
movss dword [ecx], xmm1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x38
movss xmm0, dword [esp + 0x30]
xorps xmm7, xmm7
movss xmm1, dword [esp + 0x34]
movss xmm3, dword [esp + 0x38]
subss xmm0, dword [esp + 0x3c]
subss xmm1, dword [esp + 0x40]
subss xmm3, dword [esp + 0x44]
movss dword [esp + 0x1c], xmm0
movss dword [esp + 0x18], xmm1
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm1, xmm0
movss xmm0, dword [ebp + 8]
movss dword [esp + 0xc], xmm0
sqrtss xmm7, xmm1
movss dword [esp + 0x20], xmm7
test bl, bl
je 0x100728c9
minss xmm0, dword [0x1012aee8]
movss dword [esp + 0xc], xmm0
movaps xmm4, xmm0
mulss xmm1, xmm2
mulss xmm4, xmm0
addss xmm3, xmm3
movss dword [esp + 0x28], xmm1
movaps xmm5, xmm4
movaps xmm0, xmm3
mulss xmm5, xmm4
mulss xmm0, xmm4
movss dword [esp + 0x24], xmm3
addss xmm0, xmm1
mulss xmm0, xmm2
subss xmm5, xmm0
comiss xmm6, xmm5
ja 0x10072a4a
xorps xmm1, xmm1
sqrtss xmm1, xmm5
subss xmm4, xmm1
movaps xmm1, xmm7
mulss xmm1, xmm2
divss xmm4, xmm1
movaps xmm0, xmm4
call fcn.1010d96b
fld dword [esp + 0x18]
movaps xmm1, xmm0
fld dword [esp + 0x1c]
fpatan
mulss xmm1, dword [0x1012af70]
fstp dword [esp + 0x1c]
movss xmm2, dword [esp + 0x1c]
mulss xmm2, dword [0x1012ae1c]
movss dword [edi], xmm1
movss dword [esp + 0x2c], xmm1
movss dword [edi + 4], xmm2
movss dword [esp + 0x1c], xmm2
mov dword [edi + 8], 0
call fcn.1010db0b
movss xmm2, dword [esp + 0xc]
movaps xmm6, xmm0
movss xmm4, dword [esp + 0x20]
movaps xmm1, xmm6
mulss xmm1, xmm2
movaps xmm5, xmm4
mov ecx, dword [esp + 0x10]
divss xmm5, xmm1
movss dword [ecx], xmm5
test bl, bl
je 0x10072a3f
movsx eax, word [ebp + 0x3a]
xorps xmm3, xmm3
xorps xmm0, xmm0
sub eax, 0x17
je 0x100729c7
sub eax, 1
je 0x100729bd
sub eax, 0x43
jne 0x100729e2
movss xmm0, dword [0x1012acc4]
jmp 0x100729e2
movss xmm0, dword [0x1012ac88]
jmp 0x100729e2
cmp dword [ebp + 0x3c], 0x134
jne 0x100729da
movss xmm0, dword [0x1012ac68]
jmp 0x100729e2
movss xmm0, dword [0x1012ac78]
mulss xmm5, xmm2
mulss xmm5, xmm0
subss xmm2, xmm5
movaps xmm1, xmm2
mulss xmm1, xmm2
movaps xmm0, xmm1
mulss xmm0, xmm1
mulss xmm1, dword [esp + 0x24]
addss xmm1, dword [esp + 0x28]
mulss xmm1, dword [esp + 0x14]
subss xmm0, xmm1
comiss xmm3, xmm0
ja 0x10072a4a
movss xmm0, dword [esp + 0x2c]
mulss xmm6, xmm2
movss dword [edi], xmm0
movss xmm0, dword [esp + 0x1c]
divss xmm4, xmm6
movss dword [edi + 4], xmm0
mov dword [edi + 8], 0
movss dword [ecx], xmm4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x38
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 0x38