Function at 0x180161e60
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm8
mov rax, qword [0x180290300]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
mov ecx, dword [0x18029b6c0]
mov rax, qword gs:[0x58]
mov r14d, 8
mov rdi, qword [rax + rcx*8]
mov ebx, 0xffffffff
mov eax, dword [rdi + r14]
cmp dword [0x1802a1150], eax
jle 0x180161f3a
lea rcx, [0x1802a1150]
call fcn.1801d7540
cmp dword [0x1802a1150], ebx
jne 0x180161f3a
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
lea r8d, [rbx + 0x12]
lea rdx, str.CharacterMovement
lea rcx, [rsp + 0x20]
call fcn.1800655f0
nop
mov r8b, 1
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.180174910
mov rcx, rax
test rax, rax
jne 0x180161f13
mov eax, ebx
jmp 0x180161f1d
mov rax, qword [0x18029d048]
mov eax, dword [rax + rcx]
mov dword [0x1802a1108], eax
lea rcx, [rsp + 0x20]
call fcn.1800693a0
nop
lea rcx, [0x1802a1150]
call fcn.1801d74d4
movsxd rax, dword [0x1802a1108]
mov rbp, qword [rax + rsi]
mov eax, dword [rdi + r14]
cmp dword [0x1802a10dc], eax
jle 0x180161fce
lea rcx, [0x1802a10dc]
call fcn.1801d7540
cmp dword [0x1802a10dc], 0xffffffff
jne 0x180161fce
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 8
lea rdx, str.Velocity
lea rcx, [rsp + 0x20]
call fcn.1800655f0
nop
mov r8b, 1
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.180174910
mov rcx, rax
test rax, rax
je 0x180161fb1
mov rax, qword [0x18029d048]
mov ebx, dword [rcx + rax]
mov dword [0x1802a118c], ebx
lea rcx, [rsp + 0x20]
call fcn.1800693a0
nop
lea rcx, [0x1802a10dc]
call fcn.1801d74d4
movsxd rbx, dword [0x1802a118c]
movss xmm0, dword [rbx + rbp]
mulss xmm0, dword [0x18025df40]
movss xmm6, dword [0x18025df7c]
movaps xmm8, xmm6
comiss xmm0, xmm6
jb 0x180162005
movss xmm1, dword [0x18025def4]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fminf]
movaps xmm8, xmm0
movss xmm0, dword [rbx + rbp + 4]
mulss xmm0, dword [0x18025df40]
comiss xmm0, xmm6
jb 0x180162029
movss xmm1, dword [0x18025def4]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fminf]
movaps xmm6, xmm0
mov eax, dword [rdi + r14]
cmp dword [0x1802a114c], eax
jle 0x18016209b
lea rcx, [0x1802a114c]
call fcn.1801d7540
cmp dword [0x1802a114c], 0xffffffff
jne 0x18016209b
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
mov r8d, 0x28
lea rdx, str._Script_Engine.Character.LaunchCharacter
lea rcx, [rsp + 0x20]
call fcn.1800655f0
nop
lea rcx, [rsp + 0x20]
call fcn.18006e060
mov qword [0x1802a1168], rax
lea rcx, [rsp + 0x20]
call fcn.1800693a0
nop
lea rcx, [0x1802a114c]
call fcn.1801d74d4
movss dword [rsp + 0x40], xmm8
movss dword [rsp + 0x44], xmm6
mov dword [rsp + 0x48], 0x44bb8000
mov word [rsp + 0x4c], 0
lea r8, [rsp + 0x40]
mov rdx, qword [0x1802a1168]
mov rcx, rsi
call qword [0x18029d0f0]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1801d7330
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm8, xmmword [r11 - 0x20]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret