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

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x100
mov rax, qword [0x14006f010]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov qword [r11 + 8], rbp
mov qword [r11 + 0x10], rsi
mov qword [r11 + 0x18], rdi
mov qword [r11 - 0x18], r15
vmovaps xmmword [r11 - 0x28], xmm6
mov r11, qword [0x140070848]
vmovaps xmmword [rsp + 0x70], xmm13
mov rbx, r11
mov ebp, dword [r11 + 8]
mov rdi, qword [r11 + 0x48d8]
test bpl, 2
je 0x1400208cd
test byte [r11 + 0xc], 1
je 0x1400208cd
mov r10b, 1
jmp 0x1400208d0
xor r10b, r10b
vmovaps xmmword [rsp + 0xd0], xmm7
and bpl, 1
xor r15d, r15d
vmovaps xmmword [rsp + 0xc0], xmm8
vmovaps xmmword [rsp + 0x80], xmm12
vxorps xmm6, xmm6, xmm6
cmp byte [r11 + 0x4952], r15b
je 0x140020931
test rdi, rdi
je 0x140020931
test byte [r11 + 0x5ce4], 8
lea rsi, [r11 + 0x4960]
je 0x14002092a
mov edx, dword [rsi]
lea rcx, str._nav__NavMoveRequestForward__d_n
call fcn.140024830
mov r11, qword [0x140070848]
mov eax, dword [rsi]
jmp 0x140020ccc
mov qword [r11 + 0x4954], r15
lea rsi, [r11 + 0x4960]
mov dword [rsi], 0xffffffff
test rdi, rdi
je 0x140020ca8
cmp qword [r11 + 0x4a60], r15
jne 0x140020ca8
test dword [rdi + 0x14], 0x40000
jne 0x140020ca8
test byte [r11 + 0x4768], 1
vmovss xmm7, dword [0x140064750]
vmovss xmm8, dword [0x14006475c]
jne 0x140020a3f
test r10b, r10b
je 0x1400209e1
mov edx, 0x26f
mov rcx, r11
call fcn.140019d80
cmp byte [rax], r15b
je 0x1400209e1
vmovss xmm3, dword [rax + 4]
vcomiss xmm3, xmm6
jb 0x1400209e1
vucomiss xmm3, xmm6
je 0x1400209ce
vmulss xmm1, xmm7, dword [r11 + 0x3c]
vcomiss xmm3, xmm1
vmulss xmm2, xmm8, dword [r11 + 0x40]
jbe 0x1400209e1
mov ecx, 0x26f
call fcn.140019f50
test eax, eax
jle 0x1400209e1
mov edx, 0xffffffff
mov ecx, 0x26f
call fcn.14001c250
test al, al
jne 0x140020a3c
test bpl, bpl
je 0x140020a3f
mov edx, 0x201
mov rcx, r11
call fcn.140019d80
cmp byte [rax], r15b
je 0x140020a3f
vmovss xmm3, dword [rax + 4]
vcomiss xmm3, xmm6
jb 0x140020a3f
vucomiss xmm3, xmm6
je 0x140020a29
vmulss xmm1, xmm7, dword [r11 + 0x3c]
vcomiss xmm3, xmm1
vmulss xmm2, xmm8, dword [r11 + 0x40]
jbe 0x140020a3f
mov ecx, 0x201
call fcn.140019f50
test eax, eax
jle 0x140020a3f
mov edx, 0xffffffff
mov ecx, 0x201
call fcn.14001c250
test al, al
je 0x140020a3f
mov dword [rsi], r15d
mov eax, dword [r11 + 0x4768]
shr eax, 1
test al, 1
jne 0x140020b0c
test r10b, r10b
je 0x140020aab
mov edx, 0x270
mov rcx, r11
call fcn.140019d80
cmp byte [rax], r15b
je 0x140020aab
vmovss xmm3, dword [rax + 4]
vcomiss xmm3, xmm6
jb 0x140020aab
vucomiss xmm3, xmm6
je 0x140020a98
vmulss xmm1, xmm7, dword [r11 + 0x3c]
vcomiss xmm3, xmm1
vmulss xmm2, xmm8, dword [r11 + 0x40]
jbe 0x140020aab
mov ecx, 0x270
call fcn.140019f50
test eax, eax
jle 0x140020aab
mov edx, 0xffffffff
mov ecx, 0x270
call fcn.14001c250
test al, al
jne 0x140020b06
test bpl, bpl
je 0x140020b0c
mov edx, 0x202
mov rcx, r11
call fcn.140019d80
cmp byte [rax], r15b
je 0x140020b0c
vmovss xmm3, dword [rax + 4]
vcomiss xmm3, xmm6
jb 0x140020b0c
vucomiss xmm3, xmm6
je 0x140020af3
vmulss xmm1, xmm7, dword [r11 + 0x3c]
vcomiss xmm3, xmm1
vmulss xmm2, xmm8, dword [r11 + 0x40]
jbe 0x140020b0c
mov ecx, 0x202
call fcn.140019f50
test eax, eax
jle 0x140020b0c
mov edx, 0xffffffff
mov ecx, 0x202
call fcn.14001c250
test al, al
je 0x140020b0c
mov dword [rsi], 1
mov eax, dword [r11 + 0x4768]
shr eax, 2
test al, 1
jne 0x140020bda
test r10b, r10b
je 0x140020b79
mov edx, 0x271
mov rcx, r11
call fcn.140019d80
cmp byte [rax], r15b
je 0x140020b79
vmovss xmm3, dword [rax + 4]
vcomiss xmm3, xmm6
jb 0x140020b79
vucomiss xmm3, xmm6
je 0x140020b66
vmulss xmm1, xmm7, dword [r11 + 0x3c]
vcomiss xmm3, xmm1
vmulss xmm2, xmm8, dword [r11 + 0x40]
jbe 0x140020b79
mov ecx, 0x271
call fcn.140019f50
test eax, eax
jle 0x140020b79
mov edx, 0xffffffff
mov ecx, 0x271
call fcn.14001c250
test al, al
jne 0x140020bd4
test bpl, bpl
je 0x140020bda
mov edx, 0x203
mov rcx, r11
call fcn.140019d80
cmp byte [rax], r15b
je 0x140020bda
vmovss xmm3, dword [rax + 4]
vcomiss xmm3, xmm6
jb 0x140020bda
vucomiss xmm3, xmm6
je 0x140020bc1
vmulss xmm1, xmm7, dword [r11 + 0x3c]
vcomiss xmm3, xmm1
vmulss xmm2, xmm8, dword [r11 + 0x40]
jbe 0x140020bda
mov ecx, 0x203
call fcn.140019f50
test eax, eax
jle 0x140020bda
mov edx, 0xffffffff
mov ecx, 0x203
call fcn.14001c250
test al, al
je 0x140020bda
mov dword [rsi], 2
mov eax, dword [r11 + 0x4768]
shr eax, 3
test al, 1
jne 0x140020ca8
test r10b, r10b
je 0x140020c47
mov edx, 0x272
mov rcx, r11
call fcn.140019d80
cmp byte [rax], r15b
je 0x140020c47
vmovss xmm3, dword [rax + 4]
vcomiss xmm3, xmm6
jb 0x140020c47
vucomiss xmm3, xmm6
je 0x140020c34
vmulss xmm1, xmm7, dword [r11 + 0x3c]
vcomiss xmm3, xmm1
vmulss xmm2, xmm8, dword [r11 + 0x40]
jbe 0x140020c47
mov ecx, 0x272
call fcn.140019f50
test eax, eax
jle 0x140020c47
mov edx, 0xffffffff
mov ecx, 0x272
call fcn.14001c250
test al, al
jne 0x140020ca2
test bpl, bpl
je 0x140020ca8
mov edx, 0x204
mov rcx, r11
call fcn.140019d80
cmp byte [rax], r15b
je 0x140020ca8
vmovss xmm3, dword [rax + 4]
vcomiss xmm3, xmm6
jb 0x140020ca8
vucomiss xmm3, xmm6
je 0x140020c8f
vmulss xmm1, xmm7, dword [r11 + 0x3c]
vcomiss xmm3, xmm1
vmulss xmm2, xmm8, dword [r11 + 0x40]
jbe 0x140020ca8
mov ecx, 0x204
call fcn.140019f50
test eax, eax
jle 0x140020ca8
mov edx, 0xffffffff
mov ecx, 0x204
call fcn.14001c250
test al, al
je 0x140020ca8
mov dword [rsi], 3
mov eax, dword [rsi]
mov dword [r11 + 0x4968], eax
vmovups xmm0, xmmword [0x140064c80]
vmovups xmmword [r11 + 0x497c], xmm0
vxorps xmm12, xmm12, xmm12
test rdi, rdi
je 0x140020d21
vxorps xmm12, xmm12, xmm12
cmp eax, 0xffffffff
jne 0x140020d21
test bpl, bpl
je 0x140020d21
call fcn.140021a00
vucomiss xmm0, xmm6
mov r11, qword [0x140070848]
vmovaps xmm12, xmm0
je 0x140020d21
vmovups xmm1, xmmword [rdi + 0x1f8]
vmovups xmmword [rbx + 0x497c], xmm1
vaddss xmm1, xmm0, dword [rbx + 0x4980]
vaddss xmm0, xmm0, dword [rbx + 0x4988]
vmovss dword [rbx + 0x4988], xmm0
vmovss dword [rbx + 0x4980], xmm1
mov ecx, dword [rsi]
mov byte [rbx + 0x4952], r15b
cmp ecx, 0xffffffff
je 0x140020d48
mov r9d, dword [rbx + 0x4958]
mov r8d, dword [rbx + 0x4954]
mov edx, dword [rbx + 0x4968]
call fcn.14001f570
movzx eax, byte [rbx + 0x4950]
mov qword [rsp + 0xf8], r14
vmovaps xmmword [rsp + 0xb0], xmm9
vmovaps xmmword [rsp + 0x60], xmm14
vmovaps xmmword [rsp + 0x50], xmm15
vmovss xmm13, dword [0x140064900]
vmovss xmm2, dword [0x140064780]
test al, al
je 0x140021049
cmp dword [rbx + 0x48e0], r15d
jne 0x140020df0
test byte [rbx + 0x5ce4], 8
je 0x140020dd1
test rdi, rdi
je 0x140020da1
mov rdx, qword [rdi + 8]
jmp 0x140020da8
lea rdx, str._NULL_
mov r8d, dword [rbx + 0x4910]
lea rcx, str._nav__NavInitRequest:_from_move__window___s___layer_d_n
call fcn.140024830
movzx eax, byte [rbx + 0x4950]
mov r11, qword [0x140070848]
vmovss xmm2, dword [0x140064780]
mov word [rbx + 0x4919], 0x101
mov dword [rbx + 0x4928], r15d
mov byte [rbx + 0x4916], r15b
test al, al
je 0x140021049
cmp dword [rbx + 0x490c], 3
jne 0x140021049
cmp dword [rbx + 0x4910], r15d
jne 0x140021049
test rdi, rdi
je 0x140021049
mov ebp, dword [rbx + 0x4954]
lea rcx, [rsp + 0x30]
vmovss xmm0, dword [rdi + 0x1f8]
vmovss xmm1, dword [rdi + 0x1fc]
vmovss xmm8, dword [rdi + 0x110]
vmovss xmm9, dword [rdi + 0x114]
vmovaps xmmword [rsp + 0xa0], xmm10
mov r14d, ebp
vaddss xmm10, xmm2, dword [rdi + 0x200]
vmovaps xmmword [rsp + 0x90], xmm11
mov rdx, rdi
vaddss xmm11, xmm2, dword [rdi + 0x204]
and ebp, 0xa
vsubss xmm6, xmm0, xmm2
vsubss xmm7, xmm1, xmm2
call fcn.14001ced0
vmovss xmm0, dword [rax]
vsubss xmm2, xmm0, dword [rdi + 0x84]
vmovss xmm1, dword [rax + 4]
vsubss xmm3, xmm1, dword [rdi + 0x88]
vsubss xmm0, xmm6, xmm8
vaddss xmm14, xmm0, xmm2
vsubss xmm0, xmm7, xmm9
vsubss xmm1, xmm10, xmm8
vmovaps xmm10, xmmword [rsp + 0xa0]
vaddss xmm15, xmm0, xmm3
vsubss xmm0, xmm11, xmm9
vmovaps xmm11, xmmword [rsp + 0x90]
vaddss xmm7, xmm0, xmm3
vaddss xmm6, xmm1, xmm2
and r14d, 5
je 0x140020ed3
test ebp, ebp
jne 0x140021049
movsxd rax, dword [rbx + 0x4910]
add rax, rax
vcomiss xmm14, dword [rdi + rax*8 + 0x3a8]
ja 0x140020f0d
vcomiss xmm15, dword [rdi + rax*8 + 0x3ac]
ja 0x140020f0d
vcomiss xmm6, dword [rdi + rax*8 + 0x3b0]
jb 0x140020f0d
vcomiss xmm7, dword [rdi + rax*8 + 0x3b4]
jae 0x14002105c
test byte [rbx + 0x5ce4], 8
je 0x140020f29
lea rcx, str._nav__NavMoveRequest:_clamp_NavRectRel_for_gamepad_move_n
call fcn.140024830
mov r11, qword [0x140070848]
mov rax, qword [rdi]
vmovss xmm9, dword [0x140064730]
vsubss xmm1, xmm6, xmm14
vmovss xmm0, dword [rax + 0x3c24]
mov rax, qword [rdi + 0x368]
vmulss xmm3, xmm0, dword [rdi + 0x290]
test rax, rax
je 0x140020f70
vmulss xmm0, xmm3, dword [rax + 0x290]
vmulss xmm3, xmm3, dword [rax + 0x290]
vmulss xmm2, xmm0, xmm9
vminss xmm4, xmm2, xmm1
jmp 0x140020f79
vmulss xmm0, xmm3, xmm9
vminss xmm4, xmm1, xmm0
vmovss xmm2, dword [0x14006496c]
vsubss xmm1, xmm7, xmm15
vmulss xmm0, xmm3, xmm9
vminss xmm5, xmm1, xmm0
test r14d, r14d
jne 0x140020f9e
vaddss xmm0, xmm14, xmm4
vsubss xmm3, xmm6, xmm4
jmp 0x140020fa7
vmovaps xmm0, xmm2
vmovaps xmm3, xmm13
test ebp, ebp
jne 0x140020fb5
vaddss xmm2, xmm15, xmm5
vsubss xmm1, xmm7, xmm5
jmp 0x140020fba
vmovaps xmm1, xmm13
movsxd rax, dword [rbx + 0x4910]
add rax, rax
vmovss xmm4, dword [rdi + rax*8 + 0x3ac]
vcomiss xmm4, xmm2
jae 0x140020fd9
vmovaps xmm6, xmm2
jmp 0x140020fdd
vminss xmm6, xmm4, xmm1
vmovss xmm4, dword [rdi + rax*8 + 0x3a8]
vcomiss xmm4, xmm0
jae 0x140020ff2
vmovaps xmm5, xmm0
jmp 0x140020ff6
vminss xmm5, xmm4, xmm3
vmovss dword [rdi + rax*8 + 0x3a8], xmm5
vmovss dword [rdi + rax*8 + 0x3ac], xmm6
vmovss xmm4, dword [rdi + rax*8 + 0x3b4]
vcomiss xmm4, xmm2
jb 0x14002101b
vminss xmm2, xmm1, xmm4
vmovss xmm1, dword [rdi + rax*8 + 0x3b0]
vcomiss xmm1, xmm0
jb 0x14002102e
vminss xmm0, xmm3, xmm1
vmovss dword [rdi + rax*8 + 0x3b0], xmm0
vmovss dword [rdi + rax*8 + 0x3b4], xmm2
mov dword [rbx + 0x48e0], r15d
jmp 0x140021064
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x38], xmm0
test rdi, rdi
je 0x1400211e0
vmovss xmm9, dword [0x140064730]
movsxd rcx, dword [rbx + 0x4910]
mov rax, rcx
add rax, rax
vmovss xmm0, dword [rdi + rax*8 + 0x3b0]
vcomiss xmm0, dword [rdi + rax*8 + 0x3a8]
jb 0x1400210a4
vmovss xmm0, dword [rdi + rax*8 + 0x3b4]
vcomiss xmm0, dword [rdi + rax*8 + 0x3ac]
jb 0x1400210a4
vmovups xmm0, xmmword [rdi + rax*8 + 0x3a8]
jmp 0x1400210a8
vxorps xmm0, xmm0, xmm0
lea rax, [rsp + 0x20]
vmovss xmm1, dword [rdi + 0x110]
vmovss xmm2, dword [rdi + 0x114]
vmovups xmmword [rsp + 0x20], xmm0
vmovups xmm3, xmmword [rax]
vshufps xmm0, xmm3, xmm3, 0xaa
vaddss xmm6, xmm1, xmm0
vshufps xmm0, xmm3, xmm3, 0x55
vaddss xmm5, xmm1, xmm3
vaddss xmm0, xmm2, xmm0
vshufps xmm3, xmm3, xmm3, 0xff
vaddss xmm4, xmm0, xmm12
vaddss xmm0, xmm2, xmm3
vaddss xmm3, xmm0, xmm12
vmovss dword [rsp + 0x44], xmm3
vmovss dword [rsp + 0x38], xmm5
vmovss dword [rsp + 0x40], xmm6
vmovss dword [rsp + 0x3c], xmm4
cmp byte [rbx + 0x4950], r15b
je 0x1400211f8
test byte [rbx + 0x4954], 0x80
mov rax, qword [r11 + 0x48d8]
mov r8d, dword [rsi]
mov rdx, qword [rdi + 0x390]
vmovss xmm7, dword [rax + 0x110]
vmovss xmm8, dword [rax + 0x114]
jne 0x140021185
vucomiss xmm13, dword [rdx + rcx*8 + 0x3c8]
jne 0x140021163
vaddss xmm0, xmm5, dword [0x140064780]
vminss xmm1, xmm0, xmm6
vsubss xmm2, xmm1, xmm7
vmovss dword [rdx + rcx*8 + 0x3c8], xmm2
vucomiss xmm13, dword [rdx + rcx*8 + 0x3cc]
jne 0x140021185
vaddss xmm0, xmm3, xmm4
vmovaps xmm1, xmm8
vfmsub231ss xmm1, xmm0, xmm9
vmovss dword [rdx + rcx*8 + 0x3cc], xmm1
lea eax, [r8 - 2]
cmp eax, 1
ja 0x1400211b4
vmovss xmm0, dword [rdx + rcx*8 + 0x3c8]
vucomiss xmm0, xmm13
je 0x1400211b4
vaddss xmm5, xmm7, xmm0
vmovss dword [rsp + 0x40], xmm5
vmovss dword [rsp + 0x38], xmm5
vmovaps xmm6, xmm5
jmp 0x1400211f8
cmp r8d, 1
ja 0x1400211f8
vmovss xmm0, dword [rdx + rcx*8 + 0x3cc]
vucomiss xmm0, xmm13
je 0x1400211f8
vaddss xmm4, xmm8, xmm0
vmovss dword [rsp + 0x44], xmm4
vmovss dword [rsp + 0x3c], xmm4
vmovaps xmm3, xmm4
jmp 0x1400211f8
vmovss xmm3, dword [rsp + 0x44]
vmovss xmm6, dword [rsp + 0x40]
vmovss xmm4, dword [rsp + 0x3c]
vmovss xmm5, dword [rsp + 0x38]
vmovups xmm0, xmmword [rsp + 0x38]
vmovaps xmm15, xmmword [rsp + 0x50]
vmovaps xmm14, xmmword [rsp + 0x60]
vmovaps xmm13, xmmword [rsp + 0x70]
vmovaps xmm12, xmmword [rsp + 0x80]
vmovaps xmm9, xmmword [rsp + 0xb0]
vmovaps xmm8, xmmword [rsp + 0xc0]
vmovaps xmm7, xmmword [rsp + 0xd0]
mov r15, qword [rsp + 0xf0]
mov r14, qword [rsp + 0xf8]
mov rdi, qword [rsp + 0x120]
mov rsi, qword [rsp + 0x118]
mov rbp, qword [rsp + 0x110]
vmovups xmmword [rbx + 0x496c], xmm0
vcomiss xmm5, dword [rbx + 0x497c]
jae 0x140021276
vmovss dword [rbx + 0x497c], xmm5
vcomiss xmm4, dword [rbx + 0x4980]
jae 0x140021288
vmovss dword [rbx + 0x4980], xmm4
vcomiss xmm6, dword [rbx + 0x4984]
jbe 0x14002129a
vmovss dword [rbx + 0x4984], xmm6
vcomiss xmm3, dword [rbx + 0x4988]
vmovaps xmm6, xmmword [rsp + 0xe0]
jbe 0x1400212b5
vmovss dword [rbx + 0x4988], xmm3
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140055610
add rsp, 0x100
pop rbx
ret