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

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x100
mov rax, qword [0x140083010]
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 [0x140084e70]
vmovaps xmmword [rsp + 0x70], xmm13
mov rbx, r11
mov ebp, dword [r11 + 8]
mov rdi, qword [r11 + 0x48d8]
test bpl, 2
je 0x1400205ed
test byte [r11 + 0xc], 1
je 0x1400205ed
mov r10b, 1
jmp 0x1400205f0
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 0x140020651
test rdi, rdi
je 0x140020651
test byte [r11 + 0x5ce4], 8
lea rsi, [r11 + 0x4960]
je 0x14002064a
mov edx, dword [rsi]
lea rcx, str._nav__NavMoveRequestForward__d_n
call fcn.1400245b0
mov r11, qword [0x140084e70]
mov eax, dword [rsi]
jmp 0x1400209ec
mov qword [r11 + 0x4954], r15
lea rsi, [r11 + 0x4960]
mov dword [rsi], 0xffffffff
test rdi, rdi
je 0x1400209c8
cmp qword [r11 + 0x4a60], r15
jne 0x1400209c8
test dword [rdi + 0x14], 0x40000
jne 0x1400209c8
test byte [r11 + 0x4768], 1
vmovss xmm7, dword [0x1400757c8]
vmovss xmm8, dword [0x1400757d4]
jne 0x14002075f
test r10b, r10b
je 0x140020701
mov edx, 0x26f
mov rcx, r11
call fcn.140019b00
cmp byte [rax], r15b
je 0x140020701
vmovss xmm3, dword [rax + 4]
vcomiss xmm3, xmm6
jb 0x140020701
vucomiss xmm3, xmm6
je 0x1400206ee
vmulss xmm1, xmm7, dword [r11 + 0x3c]
vcomiss xmm3, xmm1
vmulss xmm2, xmm8, dword [r11 + 0x40]
jbe 0x140020701
mov ecx, 0x26f
call fcn.140019cd0
test eax, eax
jle 0x140020701
mov edx, 0xffffffff
mov ecx, 0x26f
call fcn.14001bfd0
test al, al
jne 0x14002075c
test bpl, bpl
je 0x14002075f
mov edx, 0x201
mov rcx, r11
call fcn.140019b00
cmp byte [rax], r15b
je 0x14002075f
vmovss xmm3, dword [rax + 4]
vcomiss xmm3, xmm6
jb 0x14002075f
vucomiss xmm3, xmm6
je 0x140020749
vmulss xmm1, xmm7, dword [r11 + 0x3c]
vcomiss xmm3, xmm1
vmulss xmm2, xmm8, dword [r11 + 0x40]
jbe 0x14002075f
mov ecx, 0x201
call fcn.140019cd0
test eax, eax
jle 0x14002075f
mov edx, 0xffffffff
mov ecx, 0x201
call fcn.14001bfd0
test al, al
je 0x14002075f
mov dword [rsi], r15d
mov eax, dword [r11 + 0x4768]
shr eax, 1
test al, 1
jne 0x14002082c
test r10b, r10b
je 0x1400207cb
mov edx, 0x270
mov rcx, r11
call fcn.140019b00
cmp byte [rax], r15b
je 0x1400207cb
vmovss xmm3, dword [rax + 4]
vcomiss xmm3, xmm6
jb 0x1400207cb
vucomiss xmm3, xmm6
je 0x1400207b8
vmulss xmm1, xmm7, dword [r11 + 0x3c]
vcomiss xmm3, xmm1
vmulss xmm2, xmm8, dword [r11 + 0x40]
jbe 0x1400207cb
mov ecx, 0x270
call fcn.140019cd0
test eax, eax
jle 0x1400207cb
mov edx, 0xffffffff
mov ecx, 0x270
call fcn.14001bfd0
test al, al
jne 0x140020826
test bpl, bpl
je 0x14002082c
mov edx, 0x202
mov rcx, r11
call fcn.140019b00
cmp byte [rax], r15b
je 0x14002082c
vmovss xmm3, dword [rax + 4]
vcomiss xmm3, xmm6
jb 0x14002082c
vucomiss xmm3, xmm6
je 0x140020813
vmulss xmm1, xmm7, dword [r11 + 0x3c]
vcomiss xmm3, xmm1
vmulss xmm2, xmm8, dword [r11 + 0x40]
jbe 0x14002082c
mov ecx, 0x202
call fcn.140019cd0
test eax, eax
jle 0x14002082c
mov edx, 0xffffffff
mov ecx, 0x202
call fcn.14001bfd0
test al, al
je 0x14002082c
mov dword [rsi], 1
mov eax, dword [r11 + 0x4768]
shr eax, 2
test al, 1
jne 0x1400208fa
test r10b, r10b
je 0x140020899
mov edx, 0x271
mov rcx, r11
call fcn.140019b00
cmp byte [rax], r15b
je 0x140020899
vmovss xmm3, dword [rax + 4]
vcomiss xmm3, xmm6
jb 0x140020899
vucomiss xmm3, xmm6
je 0x140020886
vmulss xmm1, xmm7, dword [r11 + 0x3c]
vcomiss xmm3, xmm1
vmulss xmm2, xmm8, dword [r11 + 0x40]
jbe 0x140020899
mov ecx, 0x271
call fcn.140019cd0
test eax, eax
jle 0x140020899
mov edx, 0xffffffff
mov ecx, 0x271
call fcn.14001bfd0
test al, al
jne 0x1400208f4
test bpl, bpl
je 0x1400208fa
mov edx, 0x203
mov rcx, r11
call fcn.140019b00
cmp byte [rax], r15b
je 0x1400208fa
vmovss xmm3, dword [rax + 4]
vcomiss xmm3, xmm6
jb 0x1400208fa
vucomiss xmm3, xmm6
je 0x1400208e1
vmulss xmm1, xmm7, dword [r11 + 0x3c]
vcomiss xmm3, xmm1
vmulss xmm2, xmm8, dword [r11 + 0x40]
jbe 0x1400208fa
mov ecx, 0x203
call fcn.140019cd0
test eax, eax
jle 0x1400208fa
mov edx, 0xffffffff
mov ecx, 0x203
call fcn.14001bfd0
test al, al
je 0x1400208fa
mov dword [rsi], 2
mov eax, dword [r11 + 0x4768]
shr eax, 3
test al, 1
jne 0x1400209c8
test r10b, r10b
je 0x140020967
mov edx, 0x272
mov rcx, r11
call fcn.140019b00
cmp byte [rax], r15b
je 0x140020967
vmovss xmm3, dword [rax + 4]
vcomiss xmm3, xmm6
jb 0x140020967
vucomiss xmm3, xmm6
je 0x140020954
vmulss xmm1, xmm7, dword [r11 + 0x3c]
vcomiss xmm3, xmm1
vmulss xmm2, xmm8, dword [r11 + 0x40]
jbe 0x140020967
mov ecx, 0x272
call fcn.140019cd0
test eax, eax
jle 0x140020967
mov edx, 0xffffffff
mov ecx, 0x272
call fcn.14001bfd0
test al, al
jne 0x1400209c2
test bpl, bpl
je 0x1400209c8
mov edx, 0x204
mov rcx, r11
call fcn.140019b00
cmp byte [rax], r15b
je 0x1400209c8
vmovss xmm3, dword [rax + 4]
vcomiss xmm3, xmm6
jb 0x1400209c8
vucomiss xmm3, xmm6
je 0x1400209af
vmulss xmm1, xmm7, dword [r11 + 0x3c]
vcomiss xmm3, xmm1
vmulss xmm2, xmm8, dword [r11 + 0x40]
jbe 0x1400209c8
mov ecx, 0x204
call fcn.140019cd0
test eax, eax
jle 0x1400209c8
mov edx, 0xffffffff
mov ecx, 0x204
call fcn.14001bfd0
test al, al
je 0x1400209c8
mov dword [rsi], 3
mov eax, dword [rsi]
mov dword [r11 + 0x4968], eax
vmovups xmm0, xmmword [0x140075ca0]
vmovups xmmword [r11 + 0x497c], xmm0
vxorps xmm12, xmm12, xmm12
test rdi, rdi
je 0x140020a41
vxorps xmm12, xmm12, xmm12
cmp eax, 0xffffffff
jne 0x140020a41
test bpl, bpl
je 0x140020a41
call fcn.140021720
vucomiss xmm0, xmm6
mov r11, qword [0x140084e70]
vmovaps xmm12, xmm0
je 0x140020a41
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 0x140020a68
mov r9d, dword [rbx + 0x4958]
mov r8d, dword [rbx + 0x4954]
mov edx, dword [rbx + 0x4968]
call fcn.14001f290
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 [0x1400759a4]
vmovss xmm2, dword [0x1400757f8]
test al, al
je 0x140020d69
cmp dword [rbx + 0x48e0], r15d
jne 0x140020b10
test byte [rbx + 0x5ce4], 8
je 0x140020af1
test rdi, rdi
je 0x140020ac1
mov rdx, qword [rdi + 8]
jmp 0x140020ac8
lea rdx, str._NULL_
mov r8d, dword [rbx + 0x4910]
lea rcx, str._nav__NavInitRequest:_from_move__window___s___layer_d_n
call fcn.1400245b0
movzx eax, byte [rbx + 0x4950]
mov r11, qword [0x140084e70]
vmovss xmm2, dword [0x1400757f8]
mov word [rbx + 0x4919], 0x101
mov dword [rbx + 0x4928], r15d
mov byte [rbx + 0x4916], r15b
test al, al
je 0x140020d69
cmp dword [rbx + 0x490c], 3
jne 0x140020d69
cmp dword [rbx + 0x4910], r15d
jne 0x140020d69
test rdi, rdi
je 0x140020d69
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.14001cbf0
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 0x140020bf3
test ebp, ebp
jne 0x140020d69
movsxd rax, dword [rbx + 0x4910]
add rax, rax
vcomiss xmm14, dword [rdi + rax*8 + 0x3a8]
ja 0x140020c2d
vcomiss xmm15, dword [rdi + rax*8 + 0x3ac]
ja 0x140020c2d
vcomiss xmm6, dword [rdi + rax*8 + 0x3b0]
jb 0x140020c2d
vcomiss xmm7, dword [rdi + rax*8 + 0x3b4]
jae 0x140020d7c
test byte [rbx + 0x5ce4], 8
je 0x140020c49
lea rcx, str._nav__NavMoveRequest:_clamp_NavRectRel_for_gamepad_move_n
call fcn.1400245b0
mov r11, qword [0x140084e70]
mov rax, qword [rdi]
vmovss xmm9, dword [0x1400757a8]
vsubss xmm1, xmm6, xmm14
vmovss xmm0, dword [rax + 0x3c24]
mov rax, qword [rdi + 0x368]
vmulss xmm3, xmm0, dword [rdi + 0x290]
test rax, rax
je 0x140020c90
vmulss xmm0, xmm3, dword [rax + 0x290]
vmulss xmm3, xmm3, dword [rax + 0x290]
vmulss xmm2, xmm0, xmm9
vminss xmm4, xmm2, xmm1
jmp 0x140020c99
vmulss xmm0, xmm3, xmm9
vminss xmm4, xmm1, xmm0
vmovss xmm2, dword [0x140075a18]
vsubss xmm1, xmm7, xmm15
vmulss xmm0, xmm3, xmm9
vminss xmm5, xmm1, xmm0
test r14d, r14d
jne 0x140020cbe
vaddss xmm0, xmm14, xmm4
vsubss xmm3, xmm6, xmm4
jmp 0x140020cc7
vmovaps xmm0, xmm2
vmovaps xmm3, xmm13
test ebp, ebp
jne 0x140020cd5
vaddss xmm2, xmm15, xmm5
vsubss xmm1, xmm7, xmm5
jmp 0x140020cda
vmovaps xmm1, xmm13
movsxd rax, dword [rbx + 0x4910]
add rax, rax
vmovss xmm4, dword [rdi + rax*8 + 0x3ac]
vcomiss xmm4, xmm2
jae 0x140020cf9
vmovaps xmm6, xmm2
jmp 0x140020cfd
vminss xmm6, xmm4, xmm1
vmovss xmm4, dword [rdi + rax*8 + 0x3a8]
vcomiss xmm4, xmm0
jae 0x140020d12
vmovaps xmm5, xmm0
jmp 0x140020d16
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 0x140020d3b
vminss xmm2, xmm1, xmm4
vmovss xmm1, dword [rdi + rax*8 + 0x3b0]
vcomiss xmm1, xmm0
jb 0x140020d4e
vminss xmm0, xmm3, xmm1
vmovss dword [rdi + rax*8 + 0x3b0], xmm0
vmovss dword [rdi + rax*8 + 0x3b4], xmm2
mov dword [rbx + 0x48e0], r15d
jmp 0x140020d84
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x38], xmm0
test rdi, rdi
je 0x140020f00
vmovss xmm9, dword [0x1400757a8]
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 0x140020dc4
vmovss xmm0, dword [rdi + rax*8 + 0x3b4]
vcomiss xmm0, dword [rdi + rax*8 + 0x3ac]
jb 0x140020dc4
vmovups xmm0, xmmword [rdi + rax*8 + 0x3a8]
jmp 0x140020dc8
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 0x140020f18
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 0x140020ea5
vucomiss xmm13, dword [rdx + rcx*8 + 0x3c8]
jne 0x140020e83
vaddss xmm0, xmm5, dword [0x1400757f8]
vminss xmm1, xmm0, xmm6
vsubss xmm2, xmm1, xmm7
vmovss dword [rdx + rcx*8 + 0x3c8], xmm2
vucomiss xmm13, dword [rdx + rcx*8 + 0x3cc]
jne 0x140020ea5
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 0x140020ed4
vmovss xmm0, dword [rdx + rcx*8 + 0x3c8]
vucomiss xmm0, xmm13
je 0x140020ed4
vaddss xmm5, xmm7, xmm0
vmovss dword [rsp + 0x40], xmm5
vmovss dword [rsp + 0x38], xmm5
vmovaps xmm6, xmm5
jmp 0x140020f18
cmp r8d, 1
ja 0x140020f18
vmovss xmm0, dword [rdx + rcx*8 + 0x3cc]
vucomiss xmm0, xmm13
je 0x140020f18
vaddss xmm4, xmm8, xmm0
vmovss dword [rsp + 0x44], xmm4
vmovss dword [rsp + 0x3c], xmm4
vmovaps xmm3, xmm4
jmp 0x140020f18
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 0x140020f96
vmovss dword [rbx + 0x497c], xmm5
vcomiss xmm4, dword [rbx + 0x4980]
jae 0x140020fa8
vmovss dword [rbx + 0x4980], xmm4
vcomiss xmm6, dword [rbx + 0x4984]
jbe 0x140020fba
vmovss dword [rbx + 0x4984], xmm6
vcomiss xmm3, dword [rbx + 0x4988]
vmovaps xmm6, xmmword [rsp + 0xe0]
jbe 0x140020fd5
vmovss dword [rbx + 0x4988], xmm3
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140064dc0
add rsp, 0x100
pop rbx
ret