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

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0x100
mov rax, qword [0x140052010]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov qword [r11 + 8], rbx
mov rbx, qword [0x140052978]
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x18], r13
mov ebp, dword [rbx + 8]
mov rdi, qword [rbx + 0x48a8]
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x58], xmm8
movaps xmmword [rsp + 0x50], xmm14
test bpl, 2
je 0x1400169e0
test byte [rbx + 0xc], 1
je 0x1400169e0
mov r10b, 1
jmp 0x1400169e3
xor r10b, r10b
mov qword [rsp + 0xf8], r12
and bpl, 1
xor r13d, r13d
mov qword [rsp + 0xe8], r14
movaps xmmword [rsp + 0x60], xmm13
cmp byte [rbx + 0x4902], r13b
je 0x140016a4e
test rdi, rdi
je 0x140016a4e
test byte [rbx + 0x5c94], 8
lea r15, [rbx + 0x4910]
je 0x140016a2d
mov edx, dword [r15]
lea rcx, str._nav__NavMoveRequestForward__d_n
call fcn.14001a110
lea rsi, [rbx + 0x492c]
mov r9, r15
mov r14, rsi
lea r12, [rbx + 0x4904]
xorps xmm8, xmm8
xorps xmm13, xmm13
jmp 0x140016e1a
mov dword [rbx + 0x4908], r13d
lea r9, [rbx + 0x4910]
mov dword [r9], 0xffffffff
lea r12, [rbx + 0x4904]
mov dword [r12], r13d
xorps xmm8, xmm8
test rdi, rdi
je 0x140016ddc
cmp qword [rbx + 0x4a10], r13
jne 0x140016ddc
test dword [rdi + 0x14], 0x40000
jne 0x140016ddc
test byte [rbx + 0x4738], 1
movss xmm5, dword [0x14004a7e4]
movss xmm6, dword [0x14004a7f0]
jne 0x140016b6d
test r10b, r10b
je 0x140016b05
mov ecx, 0x26f
call fcn.140010b20
cmp byte [rax], r13b
je 0x140016b05
movss xmm0, dword [rax + 4]
comiss xmm0, xmm8
jb 0x140016b05
ucomiss xmm0, xmm8
je 0x140016afc
movss xmm1, dword [rbx + 0x3c]
movss xmm2, dword [rbx + 0x40]
mulss xmm1, xmm5
mulss xmm2, xmm6
comiss xmm0, xmm1
jbe 0x140016b05
mov ecx, 0x26f
call fcn.140010cc0
test eax, eax
jle 0x140016b05
cmp dword [rbx + 0x44a4], 0xffffffff
je 0x140016b6a
test bpl, bpl
je 0x140016b6d
mov ecx, 0x201
call fcn.140010b20
cmp byte [rax], r13b
je 0x140016b6d
movss xmm0, dword [rax + 4]
comiss xmm0, xmm8
jb 0x140016b6d
ucomiss xmm0, xmm8
je 0x140016b4f
movss xmm1, dword [rbx + 0x3c]
movss xmm2, dword [rbx + 0x40]
mulss xmm1, xmm5
mulss xmm2, xmm6
comiss xmm0, xmm1
jbe 0x140016b6d
mov ecx, 0x201
call fcn.140010cc0
test eax, eax
jle 0x140016b6d
cmp byte [rbx + 0x473c], r13b
je 0x140016b61
cmp dword [rbx + 0x3f28], 0xffffffff
jne 0x140016b6d
cmp dword [rbx + 0x3f7c], 0xffffffff
jne 0x140016b6d
mov dword [r9], r13d
mov eax, dword [rbx + 0x4738]
shr eax, 1
test al, 1
jne 0x140016c3c
test r10b, r10b
je 0x140016bd0
mov ecx, 0x270
call fcn.140010b20
cmp byte [rax], r13b
je 0x140016bd0
movss xmm0, dword [rax + 4]
comiss xmm0, xmm8
jb 0x140016bd0
ucomiss xmm0, xmm8
je 0x140016bc7
movss xmm1, dword [rbx + 0x3c]
movss xmm2, dword [rbx + 0x40]
mulss xmm1, xmm5
mulss xmm2, xmm6
comiss xmm0, xmm1
jbe 0x140016bd0
mov ecx, 0x270
call fcn.140010cc0
test eax, eax
jle 0x140016bd0
cmp dword [rbx + 0x44b0], 0xffffffff
je 0x140016c35
test bpl, bpl
je 0x140016c3c
mov ecx, 0x202
call fcn.140010b20
cmp byte [rax], r13b
je 0x140016c3c
movss xmm0, dword [rax + 4]
comiss xmm0, xmm8
jb 0x140016c3c
ucomiss xmm0, xmm8
je 0x140016c1a
movss xmm1, dword [rbx + 0x3c]
movss xmm2, dword [rbx + 0x40]
mulss xmm1, xmm5
mulss xmm2, xmm6
comiss xmm0, xmm1
jbe 0x140016c3c
mov ecx, 0x202
call fcn.140010cc0
test eax, eax
jle 0x140016c3c
cmp byte [rbx + 0x473c], r13b
je 0x140016c2c
cmp dword [rbx + 0x3f28], 0xffffffff
jne 0x140016c3c
cmp dword [rbx + 0x3f88], 0xffffffff
jne 0x140016c3c
mov dword [r9], 1
mov eax, dword [rbx + 0x4738]
shr eax, 2
test al, 1
jne 0x140016d0c
test r10b, r10b
je 0x140016ca0
mov ecx, 0x271
call fcn.140010b20
cmp byte [rax], r13b
je 0x140016ca0
movss xmm0, dword [rax + 4]
comiss xmm0, xmm8
jb 0x140016ca0
ucomiss xmm0, xmm8
je 0x140016c97
movss xmm1, dword [rbx + 0x3c]
movss xmm2, dword [rbx + 0x40]
mulss xmm1, xmm5
mulss xmm2, xmm6
comiss xmm0, xmm1
jbe 0x140016ca0
mov ecx, 0x271
call fcn.140010cc0
test eax, eax
jle 0x140016ca0
cmp dword [rbx + 0x44bc], 0xffffffff
je 0x140016d05
test bpl, bpl
je 0x140016d0c
mov ecx, 0x203
call fcn.140010b20
cmp byte [rax], r13b
je 0x140016d0c
movss xmm0, dword [rax + 4]
comiss xmm0, xmm8
jb 0x140016d0c
ucomiss xmm0, xmm8
je 0x140016cea
movss xmm1, dword [rbx + 0x3c]
movss xmm2, dword [rbx + 0x40]
mulss xmm1, xmm5
mulss xmm2, xmm6
comiss xmm0, xmm1
jbe 0x140016d0c
mov ecx, 0x203
call fcn.140010cc0
test eax, eax
jle 0x140016d0c
cmp byte [rbx + 0x473c], r13b
je 0x140016cfc
cmp dword [rbx + 0x3f28], 0xffffffff
jne 0x140016d0c
cmp dword [rbx + 0x3f94], 0xffffffff
jne 0x140016d0c
mov dword [r9], 2
mov eax, dword [rbx + 0x4738]
shr eax, 3
test al, 1
jne 0x140016ddc
test r10b, r10b
je 0x140016d70
mov ecx, 0x272
call fcn.140010b20
cmp byte [rax], r13b
je 0x140016d70
movss xmm0, dword [rax + 4]
comiss xmm0, xmm8
jb 0x140016d70
ucomiss xmm0, xmm8
je 0x140016d67
movss xmm1, dword [rbx + 0x3c]
movss xmm2, dword [rbx + 0x40]
mulss xmm1, xmm5
mulss xmm2, xmm6
comiss xmm0, xmm1
jbe 0x140016d70
mov ecx, 0x272
call fcn.140010cc0
test eax, eax
jle 0x140016d70
cmp dword [rbx + 0x44c8], 0xffffffff
je 0x140016dd5
test bpl, bpl
je 0x140016ddc
mov ecx, 0x204
call fcn.140010b20
cmp byte [rax], r13b
je 0x140016ddc
movss xmm0, dword [rax + 4]
comiss xmm0, xmm8
jb 0x140016ddc
ucomiss xmm0, xmm8
je 0x140016dba
movss xmm1, dword [rbx + 0x3c]
movss xmm2, dword [rbx + 0x40]
mulss xmm1, xmm5
mulss xmm2, xmm6
comiss xmm0, xmm1
jbe 0x140016ddc
mov ecx, 0x204
call fcn.140010cc0
test eax, eax
jle 0x140016ddc
cmp byte [rbx + 0x473c], r13b
je 0x140016dcc
cmp dword [rbx + 0x3f28], 0xffffffff
jne 0x140016ddc
cmp dword [rbx + 0x3fa0], 0xffffffff
jne 0x140016ddc
mov dword [r9], 3
mov eax, dword [r9]
lea r14, [rbx + 0x492c]
mov dword [rbx + 0x4918], eax
mov rsi, r14
mov dword [r14], 0x7f7fffff
mov r15, r9
mov dword [r14 + 4], 0x7f7fffff
xorps xmm13, xmm13
mov dword [r14 + 8], 0xff7fffff
mov dword [r14 + 0xc], 0xff7fffff
test rdi, rdi
je 0x140016e65
cmp dword [r9], 0xffffffff
jne 0x140016e65
test bpl, bpl
je 0x140016e65
call fcn.140017910
ucomiss xmm0, xmm8
movaps xmm13, xmm0
je 0x140016e65
movups xmm1, xmmword [rdi + 0x1f8]
movaps xmm2, xmm0
movups xmmword [r14], xmm1
addss xmm2, dword [rbx + 0x4930]
movaps xmm1, xmm0
addss xmm1, dword [rbx + 0x4938]
movss dword [rbx + 0x4930], xmm2
movss dword [rbx + 0x4938], xmm1
mov ecx, dword [r15]
mov r15, qword [rsp + 0xe0]
mov byte [rbx + 0x4902], r13b
cmp ecx, 0xffffffff
je 0x140016e95
mov r9d, dword [rbx + 0x4908]
mov r8d, dword [rbx + 0x4904]
mov edx, dword [rbx + 0x4918]
call fcn.140015860
movzx eax, byte [rbx + 0x4900]
movss xmm14, dword [0x14004a804]
movaps xmmword [rsp + 0xc0], xmm7
movaps xmmword [rsp + 0xa0], xmm9
movaps xmmword [rsp + 0x90], xmm10
movaps xmmword [rsp + 0x80], xmm11
movaps xmmword [rsp + 0x70], xmm12
test al, al
je 0x1400171a2
cmp dword [rbx + 0x48b0], r13d
jne 0x140016f33
test byte [rbx + 0x5c94], 8
je 0x140016f14
test rdi, rdi
je 0x140016ef3
mov rdx, qword [rdi + 8]
jmp 0x140016efa
lea rdx, str._NULL_
mov r8d, dword [rbx + 0x48e0]
lea rcx, str._nav__NavInitRequest:_from_move__window___s___layer_d_n
call fcn.14001a110
movzx eax, byte [rbx + 0x4900]
mov word [rbx + 0x48e9], 0x101
mov dword [rbx + 0x48ec], r13d
mov byte [rbx + 0x48e6], r13b
test al, al
je 0x1400171a2
cmp dword [rbx + 0x48dc], 3
jne 0x1400171a2
cmp dword [rbx + 0x48e0], r13d
jne 0x1400171a2
test rdi, rdi
je 0x1400171a2
mov ebp, dword [r12]
lea rcx, [rsp + 0x30]
movss xmm11, dword [rdi + 0x200]
mov r14d, ebp
movss xmm12, dword [rdi + 0x204]
addss xmm11, xmm14
movss xmm9, dword [rdi + 0x1f8]
addss xmm12, xmm14
movss xmm10, dword [rdi + 0x1fc]
subss xmm9, xmm14
movss xmm6, dword [rdi + 0x110]
subss xmm10, xmm14
movss xmm7, dword [rdi + 0x114]
mov rdx, rdi
and ebp, 0xa
call fcn.1400139e0
subss xmm9, xmm6
subss xmm10, xmm7
subss xmm11, xmm6
movss xmm0, dword [rax]
subss xmm12, xmm7
movss xmm1, dword [rax + 4]
subss xmm0, dword [rdi + 0x84]
subss xmm1, dword [rdi + 0x88]
addss xmm9, xmm0
addss xmm10, xmm1
addss xmm11, xmm0
addss xmm12, xmm1
and r14d, 5
je 0x140017004
test ebp, ebp
jne 0x1400171a2
movsxd rax, dword [rbx + 0x48e0]
add rax, rax
comiss xmm9, dword [rdi + rax*8 + 0x3a8]
ja 0x140017049
comiss xmm10, dword [rdi + rax*8 + 0x3ac]
ja 0x140017049
comiss xmm11, dword [rdi + rax*8 + 0x3b0]
jb 0x140017049
comiss xmm12, dword [rdi + rax*8 + 0x3b4]
jb 0x140017049
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x3c], r13d
jmp 0x1400171b6
test byte [rbx + 0x5c94], 8
je 0x14001705e
lea rcx, str._nav__NavMoveRequest:_clamp_NavRectRel_for_gamepad_move_n
call fcn.14001a110
mov rax, qword [rdi]
movaps xmm0, xmm11
movss xmm3, dword [0x14004a7d0]
subss xmm0, xmm9
movss xmm1, dword [rax + 0x3c2c]
mulss xmm1, dword [rdi + 0x290]
mov rax, qword [rdi + 0x368]
movaps xmm2, xmm1
test rax, rax
je 0x1400170a1
mulss xmm2, dword [rax + 0x290]
mulss xmm1, dword [rax + 0x290]
mulss xmm2, xmm3
mulss xmm1, xmm3
movss xmm3, dword [0x14004a8bc]
minss xmm0, xmm2
movaps xmm2, xmm12
subss xmm2, xmm10
minss xmm2, xmm1
movss xmm1, dword [0x14004a898]
test r14d, r14d
jne 0x1400170db
addss xmm9, xmm0
subss xmm11, xmm0
jmp 0x1400170e3
movaps xmm9, xmm3
movaps xmm11, xmm1
test ebp, ebp
jne 0x1400170f3
addss xmm10, xmm2
subss xmm12, xmm2
jmp 0x1400170fb
movaps xmm10, xmm3
movaps xmm12, xmm1
movsxd rax, dword [rbx + 0x48e0]
add rax, rax
movss xmm1, dword [rdi + rax*8 + 0x3ac]
comiss xmm1, xmm10
jae 0x14001711a
movaps xmm1, xmm10
jmp 0x14001711f
minss xmm1, xmm12
movss xmm0, dword [rdi + rax*8 + 0x3a8]
comiss xmm0, xmm9
jae 0x140017134
movaps xmm0, xmm9
jmp 0x140017139
minss xmm0, xmm11
movss dword [rdi + rax*8 + 0x3a8], xmm0
movss dword [rdi + rax*8 + 0x3ac], xmm1
movss xmm0, dword [rdi + rax*8 + 0x3b4]
comiss xmm0, xmm10
jb 0x140017163
movaps xmm10, xmm0
minss xmm10, xmm12
movss xmm0, dword [rdi + rax*8 + 0x3b0]
comiss xmm0, xmm9
jb 0x14001717b
movaps xmm9, xmm0
minss xmm9, xmm11
movss dword [rdi + rax*8 + 0x3b0], xmm9
movss dword [rdi + rax*8 + 0x3b4], xmm10
mov dword [rbx + 0x48b0], r13d
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x3c], r13d
jmp 0x1400171b6
xorps xmm2, xmm2
xorps xmm6, xmm6
movups xmmword [rsp + 0x30], xmm2
test rdi, rdi
je 0x140017287
movsxd rax, dword [rbx + 0x48e0]
add rax, rax
movss xmm0, dword [rdi + rax*8 + 0x3b0]
comiss xmm0, dword [rdi + rax*8 + 0x3a8]
jb 0x1400171f0
movss xmm0, dword [rdi + rax*8 + 0x3b4]
comiss xmm0, dword [rdi + rax*8 + 0x3ac]
jb 0x1400171f0
movups xmm0, xmmword [rdi + rax*8 + 0x3a8]
jmp 0x1400171f3
xorps xmm0, xmm0
movss xmm2, dword [rdi + 0x110]
lea rax, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
movups xmm4, xmmword [rax]
movss xmm0, dword [rdi + 0x114]
movaps xmm8, xmm4
movaps xmm6, xmm4
addss xmm8, xmm2
shufps xmm6, xmm4, 0x55
movaps xmm5, xmm4
addss xmm6, xmm0
shufps xmm5, xmm4, 0xff
shufps xmm4, xmm4, 0xaa
addss xmm5, xmm0
addss xmm4, xmm2
addss xmm8, xmm14
addss xmm6, xmm13
addss xmm5, xmm13
minss xmm8, xmm4
movaps xmm7, xmm6
movss dword [rsp + 0x30], xmm8
movaps xmm4, xmm8
movss dword [rsp + 0x38], xmm8
movaps xmm9, xmm8
movups xmm2, xmmword [rsp + 0x30]
shufps xmm2, xmm2, 0xe1
movss xmm2, xmm6
shufps xmm2, xmm2, 0x87
movss xmm2, xmm5
shufps xmm2, xmm2, 0x27
movss xmm2, xmm4
shufps xmm2, xmm2, 0xc9
jmp 0x1400172a3
xorps xmm0, xmm0
xorps xmm4, xmm4
shufps xmm0, xmm2, 0xff
xorps xmm7, xmm7
movaps xmm5, xmm0
shufps xmm4, xmm2, 0xaa
shufps xmm7, xmm2, 0x55
xorps xmm9, xmm9
movaps xmm14, xmmword [rsp + 0x50]
movaps xmm13, xmmword [rsp + 0x60]
movaps xmm12, xmmword [rsp + 0x70]
movaps xmm11, xmmword [rsp + 0x80]
movaps xmm10, xmmword [rsp + 0x90]
mov r14, qword [rsp + 0xe8]
mov r13, qword [rsp + 0xf0]
mov r12, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0x120]
mov rbp, qword [rsp + 0x118]
movups xmmword [rbx + 0x491c], xmm2
mov rbx, qword [rsp + 0x110]
comiss xmm8, dword [rsi]
movaps xmm8, xmmword [rsp + 0xb0]
jae 0x140017312
movss dword [rsi], xmm9
comiss xmm6, dword [rsi + 4]
movaps xmm6, xmmword [rsp + 0xd0]
movaps xmm9, xmmword [rsp + 0xa0]
jae 0x14001732e
movss dword [rsi + 4], xmm7
comiss xmm4, dword [rsi + 8]
movaps xmm7, xmmword [rsp + 0xc0]
jbe 0x140017341
movss dword [rsi + 8], xmm4
comiss xmm5, dword [rsi + 0xc]
jbe 0x14001734c
movss dword [rsi + 0xc], xmm5
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140040240
add rsp, 0x100
pop rsi
ret