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

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0x110
mov rax, qword [0x14007a010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x10], r12
mov qword [r11 - 0x28], r15
movaps xmmword [r11 - 0x38], xmm6
movaps xmmword [r11 - 0x98], xmm12
mov r11, qword [0x14007c910]
movaps xmmword [rsp + 0x60], xmm14
mov rbx, r11
movaps xmmword [rsp + 0x50], xmm15
mov r12d, dword [r11 + 8]
mov rdi, qword [r11 + 0x4ad8]
test r12b, 2
je 0x140021bfa
test byte [r11 + 0xc], 1
je 0x140021bfa
mov r10b, 1
jmp 0x140021bfd
xor r10b, r10b
mov qword [rsp + 0x128], rbp
and r12b, 1
mov qword [rsp + 0x100], r13
xor esi, esi
mov qword [rsp + 0xf8], r14
movaps xmmword [rsp + 0xd0], xmm7
movaps xmmword [rsp + 0x70], xmm13
cmp byte [r11 + 0x4b6a], sil
je 0x140021c86
test rdi, rdi
je 0x140021c86
test byte [r11 + 0x5fb4], 8
lea r14, [r11 + 0x4b78]
je 0x140021c5e
mov edx, dword [r14]
lea rcx, str._nav__NavMoveRequestForward__d_n
call fcn.140025f40
mov r11, qword [0x14007c910]
lea rsi, [rbx + 0x4b94]
mov r15, r14
lea rbp, [rbx + 0x4b6c]
mov r13, rsi
mov qword [rsp + 0x20], rbp
mov rax, r14
xorps xmm6, xmm6
xorps xmm13, xmm13
jmp 0x140022095
mov dword [r11 + 0x4b70], esi
lea r14, [r11 + 0x4b6c]
mov qword [rsp + 0x20], r14
lea r15, [r11 + 0x4b78]
mov dword [r15], 0xffffffff
xorps xmm6, xmm6
mov dword [r14], esi
test rdi, rdi
je 0x14002204f
cmp qword [r11 + 0x4cb8], rsi
jne 0x14002204f
test dword [rdi + 0x14], 0x40000
jne 0x14002204f
test byte [r11 + 0x4940], 1
movss xmm5, dword [0x14006f814]
movss xmm7, dword [0x14006f820]
jne 0x140021db6
test r10b, r10b
je 0x140021d47
mov edx, 0x27d
mov rcx, r11
call fcn.14001b1b0
cmp byte [rax], sil
je 0x140021d47
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
ja 0x140021d47
ucomiss xmm0, xmm6
jp 0x140021d16
je 0x140021d3d
movss xmm1, dword [r11 + 0x70]
movss xmm2, dword [r11 + 0x74]
mulss xmm1, xmm5
mulss xmm2, xmm7
comiss xmm0, xmm1
jbe 0x140021d47
mov ecx, 0x27d
call fcn.14001b340
test eax, eax
jle 0x140021d47
cmp dword [r11 + 0x468c], 0xffffffff
je 0x140021db3
test r12b, r12b
je 0x140021db6
mov edx, 0x201
mov rcx, r11
call fcn.14001b1b0
cmp byte [rax], sil
je 0x140021db6
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
ja 0x140021db6
ucomiss xmm0, xmm6
jp 0x140021d6f
je 0x140021d96
movss xmm1, dword [r11 + 0x70]
movss xmm2, dword [r11 + 0x74]
mulss xmm1, xmm5
mulss xmm2, xmm7
comiss xmm0, xmm1
jbe 0x140021db6
mov ecx, 0x201
call fcn.14001b340
test eax, eax
jle 0x140021db6
cmp byte [r11 + 0x4944], sil
je 0x140021da9
cmp dword [r11 + 0x4068], 0xffffffff
jne 0x140021db6
cmp dword [r11 + 0x40bc], 0xffffffff
jne 0x140021db6
mov dword [r15], esi
mov eax, dword [r11 + 0x4940]
shr eax, 1
test al, 1
jne 0x140021e93
test r10b, r10b
je 0x140021e20
mov edx, 0x27e
mov rcx, r11
call fcn.14001b1b0
cmp byte [rax], sil
je 0x140021e20
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
ja 0x140021e20
ucomiss xmm0, xmm6
jp 0x140021def
je 0x140021e16
movss xmm1, dword [r11 + 0x70]
movss xmm2, dword [r11 + 0x74]
mulss xmm1, xmm5
mulss xmm2, xmm7
comiss xmm0, xmm1
jbe 0x140021e20
mov ecx, 0x27e
call fcn.14001b340
test eax, eax
jle 0x140021e20
cmp dword [r11 + 0x4698], 0xffffffff
je 0x140021e8c
test r12b, r12b
je 0x140021e93
mov edx, 0x202
mov rcx, r11
call fcn.14001b1b0
cmp byte [rax], sil
je 0x140021e93
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
ja 0x140021e93
ucomiss xmm0, xmm6
jp 0x140021e48
je 0x140021e6f
movss xmm1, dword [r11 + 0x70]
movss xmm2, dword [r11 + 0x74]
mulss xmm1, xmm5
mulss xmm2, xmm7
comiss xmm0, xmm1
jbe 0x140021e93
mov ecx, 0x202
call fcn.14001b340
test eax, eax
jle 0x140021e93
cmp byte [r11 + 0x4944], sil
je 0x140021e82
cmp dword [r11 + 0x4068], 0xffffffff
jne 0x140021e93
cmp dword [r11 + 0x40c8], 0xffffffff
jne 0x140021e93
mov dword [r15], 1
mov eax, dword [r11 + 0x4940]
shr eax, 2
test al, 1
jne 0x140021f71
test r10b, r10b
je 0x140021efe
mov edx, 0x27f
mov rcx, r11
call fcn.14001b1b0
cmp byte [rax], sil
je 0x140021efe
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
ja 0x140021efe
ucomiss xmm0, xmm6
jp 0x140021ecd
je 0x140021ef4
movss xmm1, dword [r11 + 0x70]
movss xmm2, dword [r11 + 0x74]
mulss xmm1, xmm5
mulss xmm2, xmm7
comiss xmm0, xmm1
jbe 0x140021efe
mov ecx, 0x27f
call fcn.14001b340
test eax, eax
jle 0x140021efe
cmp dword [r11 + 0x46a4], 0xffffffff
je 0x140021f6a
test r12b, r12b
je 0x140021f71
mov edx, 0x203
mov rcx, r11
call fcn.14001b1b0
cmp byte [rax], sil
je 0x140021f71
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
ja 0x140021f71
ucomiss xmm0, xmm6
jp 0x140021f26
je 0x140021f4d
movss xmm1, dword [r11 + 0x70]
movss xmm2, dword [r11 + 0x74]
mulss xmm1, xmm5
mulss xmm2, xmm7
comiss xmm0, xmm1
jbe 0x140021f71
mov ecx, 0x203
call fcn.14001b340
test eax, eax
jle 0x140021f71
cmp byte [r11 + 0x4944], sil
je 0x140021f60
cmp dword [r11 + 0x4068], 0xffffffff
jne 0x140021f71
cmp dword [r11 + 0x40d4], 0xffffffff
jne 0x140021f71
mov dword [r15], 2
mov eax, dword [r11 + 0x4940]
shr eax, 3
test al, 1
jne 0x14002204f
test r10b, r10b
je 0x140021fdc
mov edx, 0x280
mov rcx, r11
call fcn.14001b1b0
cmp byte [rax], sil
je 0x140021fdc
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
ja 0x140021fdc
ucomiss xmm0, xmm6
jp 0x140021fab
je 0x140021fd2
movss xmm1, dword [r11 + 0x70]
movss xmm2, dword [r11 + 0x74]
mulss xmm1, xmm5
mulss xmm2, xmm7
comiss xmm0, xmm1
jbe 0x140021fdc
mov ecx, 0x280
call fcn.14001b340
test eax, eax
jle 0x140021fdc
cmp dword [r11 + 0x46b0], 0xffffffff
je 0x140022048
test r12b, r12b
je 0x14002204f
mov edx, 0x204
mov rcx, r11
call fcn.14001b1b0
cmp byte [rax], sil
je 0x14002204f
movss xmm0, dword [rax + 4]
comiss xmm6, xmm0
ja 0x14002204f
ucomiss xmm0, xmm6
jp 0x140022004
je 0x14002202b
movss xmm1, dword [r11 + 0x70]
movss xmm2, dword [r11 + 0x74]
mulss xmm1, xmm5
mulss xmm2, xmm7
comiss xmm0, xmm1
jbe 0x14002204f
mov ecx, 0x204
call fcn.14001b340
test eax, eax
jle 0x14002204f
cmp byte [r11 + 0x4944], sil
je 0x14002203e
cmp dword [r11 + 0x4068], 0xffffffff
jne 0x14002204f
cmp dword [r11 + 0x40e0], 0xffffffff
jne 0x14002204f
mov dword [r15], 3
mov eax, dword [r15]
lea r13, [r11 + 0x4b94]
mov dword [r11 + 0x4b80], eax
mov rbp, r14
mov dword [r13], 0x7f7fffff
mov rsi, r13
mov dword [r13 + 4], 0x7f7fffff
mov r14, r15
mov dword [r13 + 8], 0xff7fffff
mov rax, r15
mov dword [r13 + 0xc], 0xff7fffff
xorps xmm13, xmm13
test rdi, rdi
je 0x1400220eb
cmp dword [rax], 0xffffffff
jne 0x1400220eb
test r12b, r12b
je 0x1400220eb
call fcn.140022e80
movaps xmm13, xmm0
ucomiss xmm13, xmm6
jp 0x1400220b0
je 0x1400220e4
movups xmm0, xmmword [rdi + 0x1f8]
movaps xmm1, xmm13
movups xmmword [r13], xmm0
addss xmm1, dword [rbx + 0x4b98]
movaps xmm0, xmm13
addss xmm0, dword [rbx + 0x4ba0]
movss dword [rbx + 0x4b98], xmm1
movss dword [rbx + 0x4ba0], xmm0
mov r11, qword [0x14007c910]
mov ecx, dword [r15]
mov r13, qword [rsp + 0x100]
mov byte [rbx + 0x4b6a], 0
cmp ecx, 0xffffffff
je 0x14002211b
mov r9d, dword [rbx + 0x4b70]
mov r8d, dword [rbx + 0x4b6c]
mov edx, dword [rbx + 0x4b80]
call fcn.1400208e0
movzx eax, byte [rbx + 0x4b68]
movss xmm14, dword [0x14006f7fc]
movss xmm12, dword [0x14006f918]
movss xmm15, dword [0x14006f838]
movaps xmmword [rsp + 0xc0], xmm8
movaps xmmword [rsp + 0xb0], xmm9
movaps xmmword [rsp + 0xa0], xmm10
movaps xmmword [rsp + 0x90], xmm11
test al, al
je 0x14002244c
cmp dword [rbx + 0x4ae0], 0
jne 0x1400221d0
test byte [rbx + 0x5fb4], 8
je 0x1400221ae
test rdi, rdi
je 0x140022186
mov rdx, qword [rdi + 8]
jmp 0x14002218d
lea rdx, str._NULL_
mov r8d, dword [rbx + 0x4b10]
lea rcx, str._nav__NavInitRequest:_from_move__window___s___layer_d_n
call fcn.140025f40
movzx eax, byte [rbx + 0x4b68]
mov r11, qword [0x14007c910]
mov word [rbx + 0x4b25], 0x101
mov dword [rbx + 0x4b30], 0
mov byte [rbx + 0x4b22], 0
test al, al
je 0x14002244c
cmp dword [rbx + 0x4b0c], 3
jne 0x14002244c
cmp dword [rbx + 0x4b10], 0
jne 0x14002244c
test rdi, rdi
je 0x14002244c
mov r15, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
movss xmm10, dword [rdi + 0x200]
mov rdx, rdi
movss xmm11, dword [rdi + 0x204]
addss xmm10, xmm15
movss xmm8, dword [rdi + 0x1f8]
addss xmm11, xmm15
mov r15d, dword [r15]
subss xmm8, xmm15
movss xmm9, dword [rdi + 0x1fc]
mov r12d, r15d
movss xmm6, dword [rdi + 0x110]
subss xmm9, xmm15
movss xmm7, dword [rdi + 0x114]
and r15d, 0xa
call fcn.14001e5d0
subss xmm8, xmm6
subss xmm9, xmm7
subss xmm10, xmm6
movss xmm0, dword [rax]
subss xmm11, xmm7
movss xmm1, dword [rax + 4]
subss xmm0, dword [rdi + 0x84]
subss xmm1, dword [rdi + 0x88]
addss xmm8, xmm0
addss xmm9, xmm1
addss xmm10, xmm0
addss xmm11, xmm1
and r12d, 5
je 0x1400222a7
test r15d, r15d
jne 0x14002244c
movsxd rax, dword [rbx + 0x4b10]
add rax, rax
movss xmm0, dword [rdi + rax*8 + 0x3a8]
comiss xmm0, xmm8
jb 0x1400222f2
movss xmm0, dword [rdi + rax*8 + 0x3ac]
comiss xmm0, xmm9
jb 0x1400222f2
comiss xmm10, dword [rdi + rax*8 + 0x3b0]
jb 0x1400222f2
comiss xmm11, dword [rdi + rax*8 + 0x3b4]
jb 0x1400222f2
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
jmp 0x14002245d
test byte [rbx + 0x5fb4], 8
je 0x14002230e
lea rcx, str._nav__NavMoveRequest:_clamp_NavRectRel_for_gamepad_move_n
call fcn.140025f40
mov r11, qword [0x14007c910]
mov rax, qword [rdi]
movaps xmm0, xmm10
subss xmm0, xmm8
movss xmm1, dword [rax + 0x3d44]
mulss xmm1, dword [rdi + 0x290]
mov rax, qword [rdi + 0x368]
movaps xmm2, xmm1
test rax, rax
je 0x140022349
mulss xmm2, dword [rax + 0x290]
mulss xmm1, dword [rax + 0x290]
movss xmm3, dword [0x14006f948]
mulss xmm2, xmm14
mulss xmm1, xmm14
minss xmm0, xmm2
movaps xmm2, xmm11
subss xmm2, xmm9
minss xmm2, xmm1
test r12d, r12d
jne 0x14002237d
addss xmm8, xmm0
subss xmm10, xmm0
jmp 0x140022385
movaps xmm8, xmm3
movaps xmm10, xmm12
test r15d, r15d
jne 0x140022396
addss xmm9, xmm2
subss xmm11, xmm2
jmp 0x14002239e
movaps xmm9, xmm3
movaps xmm11, xmm12
movsxd rax, dword [rbx + 0x4b10]
add rax, rax
movss xmm0, dword [rdi + rax*8 + 0x3ac]
comiss xmm9, xmm0
jbe 0x1400223bd
movaps xmm1, xmm9
jmp 0x1400223c5
movaps xmm1, xmm11
minss xmm1, xmm0
movss xmm2, dword [rdi + rax*8 + 0x3a8]
comiss xmm8, xmm2
jbe 0x1400223da
movaps xmm0, xmm8
jmp 0x1400223e2
movaps xmm0, xmm10
minss xmm0, xmm2
movss dword [rdi + rax*8 + 0x3a8], xmm0
movss dword [rdi + rax*8 + 0x3ac], xmm1
movss xmm0, dword [rdi + rax*8 + 0x3b4]
comiss xmm9, xmm0
ja 0x14002240c
movaps xmm9, xmm11
minss xmm9, xmm0
movss xmm0, dword [rdi + rax*8 + 0x3b0]
comiss xmm8, xmm0
ja 0x140022424
movaps xmm8, xmm10
minss xmm8, xmm0
xorps xmm0, xmm0
movss dword [rdi + rax*8 + 0x3b0], xmm8
movss dword [rdi + rax*8 + 0x3b4], xmm9
movups xmmword [rsp + 0x38], xmm0
mov dword [rbx + 0x4ae0], 0
jmp 0x14002245d
xorps xmm2, xmm2
movups xmmword [rsp + 0x38], xmm2
test rdi, rdi
je 0x140022607
movsxd rcx, dword [rbx + 0x4b10]
mov rax, rcx
add rax, rax
movss xmm0, dword [rdi + rax*8 + 0x3a8]
comiss xmm0, dword [rdi + rax*8 + 0x3b0]
ja 0x14002249a
movss xmm0, dword [rdi + rax*8 + 0x3ac]
comiss xmm0, dword [rdi + rax*8 + 0x3b4]
ja 0x14002249a
movups xmm0, xmmword [rdi + rax*8 + 0x3a8]
jmp 0x14002249d
xorps xmm0, xmm0
cmp byte [rbx + 0x4b68], 0
lea rax, [rsp + 0x28]
movss xmm1, dword [rdi + 0x114]
movups xmmword [rsp + 0x28], xmm0
movups xmm3, xmmword [rax]
movss xmm0, dword [rdi + 0x110]
movaps xmm6, xmm3
movaps xmm5, xmm3
shufps xmm5, xmm3, 0x55
movaps xmm4, xmm3
shufps xmm6, xmm3, 0xaa
addss xmm5, xmm1
shufps xmm3, xmm3, 0xff
addss xmm4, xmm0
addss xmm3, xmm1
addss xmm6, xmm0
addss xmm5, xmm13
movss dword [rsp + 0x38], xmm4
addss xmm3, xmm13
movss dword [rsp + 0x40], xmm6
movss dword [rsp + 0x3c], xmm5
movss dword [rsp + 0x44], xmm3
je 0x140022600
test byte [rbp], 0x80
mov rax, qword [r11 + 0x4ad8]
mov r8d, dword [r14]
mov rdx, qword [rdi + 0x390]
movss xmm2, dword [rax + 0x110]
movss xmm1, dword [rax + 0x114]
jne 0x140022589
movss xmm0, dword [rdx + rcx*8 + 0x3c8]
ucomiss xmm0, xmm12
jp 0x14002255f
jne 0x14002255f
movaps xmm0, xmm4
addss xmm0, xmm15
minss xmm0, xmm6
subss xmm0, xmm2
movss dword [rdx + rcx*8 + 0x3c8], xmm0
movss xmm0, dword [rdx + rcx*8 + 0x3cc]
ucomiss xmm0, xmm12
jp 0x140022589
jne 0x140022589
movaps xmm0, xmm3
addss xmm0, xmm5
mulss xmm0, xmm14
subss xmm0, xmm1
movss dword [rdx + rcx*8 + 0x3cc], xmm0
lea eax, [r8 - 2]
cmp eax, 1
ja 0x1400225c4
movss xmm0, dword [rdx + rcx*8 + 0x3c8]
ucomiss xmm0, xmm12
jp 0x1400225a3
je 0x1400225c4
movaps xmm4, xmm2
movups xmm2, xmmword [rsp + 0x38]
addss xmm4, xmm0
shufps xmm2, xmm2, 0xd2
movss xmm2, xmm4
movaps xmm6, xmm4
shufps xmm2, xmm2, 0xc9
movss xmm2, xmm4
jmp 0x140022628
cmp r8d, 1
ja 0x140022600
movss xmm0, dword [rdx + rcx*8 + 0x3cc]
ucomiss xmm0, xmm12
jp 0x1400225db
je 0x140022600
movups xmm2, xmmword [rsp + 0x38]
addss xmm1, xmm0
shufps xmm2, xmm2, 0x93
movss xmm2, xmm1
movaps xmm3, xmm1
shufps xmm2, xmm2, 0x36
movaps xmm5, xmm1
movss xmm2, xmm1
shufps xmm2, xmm2, 0xe1
jmp 0x140022628
movups xmm2, xmmword [rsp + 0x38]
jmp 0x140022628
xorps xmm0, xmm0
xorps xmm1, xmm1
shufps xmm0, xmm2, 0xff
xorps xmm4, xmm4
movaps xmm3, xmm0
shufps xmm1, xmm2, 0xaa
xorps xmm0, xmm0
movaps xmm6, xmm1
shufps xmm0, xmm2, 0x55
movaps xmm5, xmm0
movaps xmm15, xmmword [rsp + 0x50]
movaps xmm14, xmmword [rsp + 0x60]
movaps xmm13, xmmword [rsp + 0x70]
movaps xmm12, xmmword [rsp + 0x80]
movaps xmm11, xmmword [rsp + 0x90]
movaps xmm10, xmmword [rsp + 0xa0]
movaps xmm9, xmmword [rsp + 0xb0]
movaps xmm8, xmmword [rsp + 0xc0]
movaps xmm7, xmmword [rsp + 0xd0]
mov r15, qword [rsp + 0xf0]
mov r14, qword [rsp + 0xf8]
mov r12, qword [rsp + 0x108]
mov rdi, qword [rsp + 0x130]
mov rbp, qword [rsp + 0x128]
movups xmmword [rbx + 0x4b84], xmm2
mov rbx, qword [rsp + 0x120]
movss xmm0, dword [rsi]
comiss xmm0, xmm4
jbe 0x1400226b3
movss dword [rsi], xmm4
movss xmm0, dword [rsi + 4]
comiss xmm0, xmm5
jbe 0x1400226c2
movss dword [rsi + 4], xmm5
comiss xmm6, dword [rsi + 8]
jbe 0x1400226cd
movss dword [rsi + 8], xmm6
comiss xmm3, dword [rsi + 0xc]
movaps xmm6, xmmword [rsp + 0xe0]
jbe 0x1400226e0
movss dword [rsi + 0xc], xmm3
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14005a330
add rsp, 0x110
pop rsi
ret