Function at 0x18013b160
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 [0x180255300]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rsi, rcx
mov ecx, dword [0x180260410]
mov rax, qword gs:[0x58]
mov r14d, 8
mov rdi, qword [rax + rcx*8]
mov ebx, 0xffffffff
mov eax, dword [rdi + r14]
cmp dword [0x1802644c8], eax
jle 0x18013b23a
lea rcx, [0x1802644c8]
call fcn.1801ae0b0
cmp dword [0x1802644c8], ebx
jne 0x18013b23a
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.180059730
nop
mov r8b, 1
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.18014b320
mov rcx, rax
test rax, rax
jne 0x18013b213
mov eax, ebx
jmp 0x18013b21d
mov rax, qword [0x180260fe0]
mov eax, dword [rax + rcx]
mov dword [0x180264488], eax
lea rcx, [rsp + 0x20]
call fcn.18005d540
nop
lea rcx, [0x1802644c8]
call fcn.1801ae044
movsxd rax, dword [0x180264488]
mov rbp, qword [rax + rsi]
mov eax, dword [rdi + r14]
cmp dword [0x18026445c], eax
jle 0x18013b2ce
lea rcx, [0x18026445c]
call fcn.1801ae0b0
cmp dword [0x18026445c], 0xffffffff
jne 0x18013b2ce
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.180059730
nop
mov r8b, 1
lea rdx, [rsp + 0x20]
mov rcx, rbp
call fcn.18014b320
mov rcx, rax
test rax, rax
je 0x18013b2b1
mov rax, qword [0x180260fe0]
mov ebx, dword [rcx + rax]
mov dword [0x180264504], ebx
lea rcx, [rsp + 0x20]
call fcn.18005d540
nop
lea rcx, [0x18026445c]
call fcn.1801ae044
movsxd rbx, dword [0x180264504]
movss xmm0, dword [rbx + rbp]
mulss xmm0, dword [0x180226e14]
movss xmm6, dword [0x180226e4c]
movaps xmm8, xmm6
comiss xmm0, xmm6
jb 0x18013b305
movss xmm1, dword [0x180226ddc]
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 [0x180226e14]
comiss xmm0, xmm6
jb 0x18013b329
movss xmm1, dword [0x180226ddc]
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_fminf]
movaps xmm6, xmm0
mov eax, dword [rdi + r14]
cmp dword [0x1802644c4], eax
jle 0x18013b39b
lea rcx, [0x1802644c4]
call fcn.1801ae0b0
cmp dword [0x1802644c4], 0xffffffff
jne 0x18013b39b
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.180059730
nop
lea rcx, [rsp + 0x20]
call fcn.1800621f0
mov qword [0x1802644e0], rax
lea rcx, [rsp + 0x20]
call fcn.18005d540
nop
lea rcx, [0x1802644c4]
call fcn.1801ae044
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 [0x1802644e0]
mov rcx, rsi
call qword [0x180261080]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1801adea0
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