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

Disassembly:
mov r11, rsp
push rsi
sub rsp, 0x110
mov rax, qword [0x140117080]
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
vmovaps xmmword [r11 - 0x38], xmm6
vmovaps xmmword [r11 - 0x48], xmm7
vmovaps xmmword [r11 - 0x98], xmm12
mov r11, qword [0x140119210]
mov rbx, r11
mov r12d, dword [r11 + 8]
mov rdi, qword [r11 + 0x48d8]
test r12b, 2
je 0x14003a5a6
test byte [r11 + 0xc], 1
je 0x14003a5a6
mov r10b, 1
jmp 0x14003a5a9
xor r10b, r10b
mov qword [rsp + 0x128], rbp
and r12b, 1
mov qword [rsp + 0x100], r13
xor esi, esi
mov qword [rsp + 0xf8], r14
vmovaps xmmword [rsp + 0xc0], xmm8
vmovaps xmmword [rsp + 0x70], xmm13
cmp byte [r11 + 0x4952], sil
je 0x14003a635
test rdi, rdi
je 0x14003a635
test byte [r11 + 0x5ce4], 8
lea r14, [r11 + 0x4960]
je 0x14003a60b
mov edx, dword [r14]
lea rcx, str._nav__NavMoveRequestForward__d_n
call fcn.14003e680
mov r11, qword [0x140119210]
lea rsi, [rbx + 0x497c]
mov r15, r14
lea rbp, [rbx + 0x4954]
mov r13, rsi
mov qword [rsp + 0x20], rbp
mov rax, r14
vxorps xmm6, xmm6, xmm6
vxorps xmm13, xmm13, xmm13
jmp 0x14003aa0e
mov dword [r11 + 0x4958], esi
lea r14, [r11 + 0x4954]
mov qword [rsp + 0x20], r14
lea r15, [r11 + 0x4960]
mov dword [r15], 0xffffffff
mov dword [r14], esi
vxorps xmm6, xmm6, xmm6
test rdi, rdi
je 0x14003a9c7
cmp qword [r11 + 0x4a60], rsi
jne 0x14003a9c7
test dword [rdi + 0x14], 0x40000
jne 0x14003a9c7
test byte [r11 + 0x4768], 1
vmovss xmm7, dword [0x14010086c]
vmovss xmm8, dword [0x140100878]
jne 0x14003a758
test r10b, r10b
je 0x14003a6f0
mov edx, 0x26f
mov rcx, r11
call fcn.140033940
cmp byte [rax], sil
je 0x14003a6f0
vmovss xmm3, dword [rax + 4]
vcomiss xmm3, xmm6
jb 0x14003a6f0
vucomiss xmm3, xmm6
je 0x14003a6e6
vmulss xmm1, xmm7, dword [r11 + 0x3c]
vcomiss xmm3, xmm1
vmulss xmm2, xmm8, dword [r11 + 0x40]
jbe 0x14003a6f0
mov ecx, 0x26f
call fcn.140033ad0
test eax, eax
jle 0x14003a6f0
cmp dword [r11 + 0x44d4], 0xffffffff
je 0x14003a755
test r12b, r12b
je 0x14003a758
mov edx, 0x201
mov rcx, r11
call fcn.140033940
cmp byte [rax], sil
je 0x14003a758
vmovss xmm3, dword [rax + 4]
vcomiss xmm3, xmm6
jb 0x14003a758
vucomiss xmm3, xmm6
je 0x14003a738
vmulss xmm1, xmm7, dword [r11 + 0x3c]
vcomiss xmm3, xmm1
vmulss xmm2, xmm8, dword [r11 + 0x40]
jbe 0x14003a758
mov ecx, 0x201
call fcn.140033ad0
test eax, eax
jle 0x14003a758
cmp byte [r11 + 0x476c], sil
je 0x14003a74b
cmp dword [r11 + 0x3f58], 0xffffffff
jne 0x14003a758
cmp dword [r11 + 0x3fac], 0xffffffff
jne 0x14003a758
mov dword [r15], esi
mov eax, dword [r11 + 0x4768]
shr eax, 1
test al, 1
jne 0x14003a827
test r10b, r10b
je 0x14003a7bb
mov edx, 0x270
mov rcx, r11
call fcn.140033940
cmp byte [rax], sil
je 0x14003a7bb
vmovss xmm3, dword [rax + 4]
vcomiss xmm3, xmm6
jb 0x14003a7bb
vucomiss xmm3, xmm6
je 0x14003a7b1
vmulss xmm1, xmm7, dword [r11 + 0x3c]
vcomiss xmm3, xmm1
vmulss xmm2, xmm8, dword [r11 + 0x40]
jbe 0x14003a7bb
mov ecx, 0x270
call fcn.140033ad0
test eax, eax
jle 0x14003a7bb
cmp dword [r11 + 0x44e0], 0xffffffff
je 0x14003a820
test r12b, r12b
je 0x14003a827
mov edx, 0x202
mov rcx, r11
call fcn.140033940
cmp byte [rax], sil
je 0x14003a827
vmovss xmm3, dword [rax + 4]
vcomiss xmm3, xmm6
jb 0x14003a827
vucomiss xmm3, xmm6
je 0x14003a803
vmulss xmm1, xmm7, dword [r11 + 0x3c]
vcomiss xmm3, xmm1
vmulss xmm2, xmm8, dword [r11 + 0x40]
jbe 0x14003a827
mov ecx, 0x202
call fcn.140033ad0
test eax, eax
jle 0x14003a827
cmp byte [r11 + 0x476c], sil
je 0x14003a816
cmp dword [r11 + 0x3f58], 0xffffffff
jne 0x14003a827
cmp dword [r11 + 0x3fb8], 0xffffffff
jne 0x14003a827
mov dword [r15], 1
mov eax, dword [r11 + 0x4768]
shr eax, 2
test al, 1
jne 0x14003a8f7
test r10b, r10b
je 0x14003a88b
mov edx, 0x271
mov rcx, r11
call fcn.140033940
cmp byte [rax], sil
je 0x14003a88b
vmovss xmm3, dword [rax + 4]
vcomiss xmm3, xmm6
jb 0x14003a88b
vucomiss xmm3, xmm6
je 0x14003a881
vmulss xmm1, xmm7, dword [r11 + 0x3c]
vcomiss xmm3, xmm1
vmulss xmm2, xmm8, dword [r11 + 0x40]
jbe 0x14003a88b
mov ecx, 0x271
call fcn.140033ad0
test eax, eax
jle 0x14003a88b
cmp dword [r11 + 0x44ec], 0xffffffff
je 0x14003a8f0
test r12b, r12b
je 0x14003a8f7
mov edx, 0x203
mov rcx, r11
call fcn.140033940
cmp byte [rax], sil
je 0x14003a8f7
vmovss xmm3, dword [rax + 4]
vcomiss xmm3, xmm6
jb 0x14003a8f7
vucomiss xmm3, xmm6
je 0x14003a8d3
vmulss xmm1, xmm7, dword [r11 + 0x3c]
vcomiss xmm3, xmm1
vmulss xmm2, xmm8, dword [r11 + 0x40]
jbe 0x14003a8f7
mov ecx, 0x203
call fcn.140033ad0
test eax, eax
jle 0x14003a8f7
cmp byte [r11 + 0x476c], sil
je 0x14003a8e6
cmp dword [r11 + 0x3f58], 0xffffffff
jne 0x14003a8f7
cmp dword [r11 + 0x3fc4], 0xffffffff
jne 0x14003a8f7
mov dword [r15], 2
mov eax, dword [r11 + 0x4768]
shr eax, 3
test al, 1
jne 0x14003a9c7
test r10b, r10b
je 0x14003a95b
mov edx, 0x272
mov rcx, r11
call fcn.140033940
cmp byte [rax], sil
je 0x14003a95b
vmovss xmm3, dword [rax + 4]
vcomiss xmm3, xmm6
jb 0x14003a95b
vucomiss xmm3, xmm6
je 0x14003a951
vmulss xmm1, xmm7, dword [r11 + 0x3c]
vcomiss xmm3, xmm1
vmulss xmm2, xmm8, dword [r11 + 0x40]
jbe 0x14003a95b
mov ecx, 0x272
call fcn.140033ad0
test eax, eax
jle 0x14003a95b
cmp dword [r11 + 0x44f8], 0xffffffff
je 0x14003a9c0
test r12b, r12b
je 0x14003a9c7
mov edx, 0x204
mov rcx, r11
call fcn.140033940
cmp byte [rax], sil
je 0x14003a9c7
vmovss xmm3, dword [rax + 4]
vcomiss xmm3, xmm6
jb 0x14003a9c7
vucomiss xmm3, xmm6
je 0x14003a9a3
vmulss xmm1, xmm7, dword [r11 + 0x3c]
vcomiss xmm3, xmm1
vmulss xmm2, xmm8, dword [r11 + 0x40]
jbe 0x14003a9c7
mov ecx, 0x204
call fcn.140033ad0
test eax, eax
jle 0x14003a9c7
cmp byte [r11 + 0x476c], sil
je 0x14003a9b6
cmp dword [r11 + 0x3f58], 0xffffffff
jne 0x14003a9c7
cmp dword [r11 + 0x3fd0], 0xffffffff
jne 0x14003a9c7
mov dword [r15], 3
mov eax, dword [r15]
lea r13, [r11 + 0x497c]
mov dword [r11 + 0x4968], 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
vxorps xmm13, xmm13, xmm13
test rdi, rdi
je 0x14003aa5c
cmp dword [rax], 0xffffffff
jne 0x14003aa5c
test r12b, r12b
je 0x14003aa5c
call fcn.14003b740
vucomiss xmm0, xmm6
mov r11, qword [0x140119210]
vmovaps xmm13, xmm0
je 0x14003aa5c
vmovups xmm1, xmmword [rdi + 0x1f8]
vmovups xmmword [r13], xmm1
vaddss xmm1, xmm0, dword [rbx + 0x4980]
vaddss xmm2, xmm0, dword [rbx + 0x4988]
vmovss dword [rbx + 0x4980], xmm1
vmovss dword [rbx + 0x4988], xmm2
mov ecx, dword [r15]
mov r13, qword [rsp + 0x100]
mov byte [rbx + 0x4952], 0
cmp ecx, 0xffffffff
je 0x14003aa8c
mov r9d, dword [rbx + 0x4958]
mov r8d, dword [rbx + 0x4954]
mov edx, dword [rbx + 0x4968]
call fcn.1400391d0
movzx eax, byte [rbx + 0x4950]
vmovaps xmmword [rsp + 0xb0], xmm9
vmovaps xmmword [rsp + 0x60], xmm14
vmovaps xmmword [rsp + 0x50], xmm15
vmovss xmm12, dword [0x140100a24]
vmovss xmm2, dword [0x140100898]
test al, al
je 0x14003ada1
cmp dword [rbx + 0x48e0], 0
jne 0x14003ab2f
test byte [rbx + 0x5ce4], 8
je 0x14003ab0d
test rdi, rdi
je 0x14003aadd
mov rdx, qword [rdi + 8]
jmp 0x14003aae4
lea rdx, str._NULL_
mov r8d, dword [rbx + 0x4910]
lea rcx, str._nav__NavInitRequest:_from_move__window___s___layer_d_n
call fcn.14003e680
movzx eax, byte [rbx + 0x4950]
mov r11, qword [0x140119210]
vmovss xmm2, dword [0x140100898]
mov word [rbx + 0x4919], 0x101
mov dword [rbx + 0x4928], 0
mov byte [rbx + 0x4916], 0
test al, al
je 0x14003ada1
cmp dword [rbx + 0x490c], 3
jne 0x14003ada1
cmp dword [rbx + 0x4910], 0
jne 0x14003ada1
test rdi, rdi
je 0x14003ada1
mov r15, qword [rsp + 0x20]
lea rcx, [rsp + 0x20]
vmovss xmm0, dword [rdi + 0x1f8]
vmovss xmm1, dword [rdi + 0x1fc]
vmovss xmm8, dword [rdi + 0x110]
mov r15d, dword [r15]
mov rdx, rdi
vmovss xmm9, dword [rdi + 0x114]
vmovaps xmmword [rsp + 0xa0], xmm10
mov r12d, r15d
vaddss xmm10, xmm2, dword [rdi + 0x200]
vmovaps xmmword [rsp + 0x90], xmm11
and r15d, 0xa
vaddss xmm11, xmm2, dword [rdi + 0x204]
vsubss xmm6, xmm0, xmm2
vsubss xmm7, xmm1, xmm2
call fcn.140036b80
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 r12d, 5
je 0x14003ac16
test r15d, r15d
jne 0x14003ada1
movsxd rax, dword [rbx + 0x4910]
add rax, rax
vcomiss xmm14, dword [rdi + rax*8 + 0x3a8]
ja 0x14003ac5b
vcomiss xmm15, dword [rdi + rax*8 + 0x3ac]
ja 0x14003ac5b
vcomiss xmm6, dword [rdi + rax*8 + 0x3b0]
jb 0x14003ac5b
vcomiss xmm7, dword [rdi + rax*8 + 0x3b4]
jb 0x14003ac5b
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x38], xmm0
jmp 0x14003adb4
test byte [rbx + 0x5ce4], 8
je 0x14003ac77
lea rcx, str._nav__NavMoveRequest:_clamp_NavRectRel_for_gamepad_move_n
call fcn.14003e680
mov r11, qword [0x140119210]
mov rax, qword [rdi]
vmovss xmm9, dword [0x140100850]
vsubss xmm1, xmm6, xmm14
vmovss xmm0, dword [rax + 0x3c24]
mov rax, qword [rdi + 0x368]
vmulss xmm2, xmm0, dword [rdi + 0x290]
test rax, rax
je 0x14003acba
vmulss xmm0, xmm2, dword [rax + 0x290]
vmulss xmm2, xmm2, dword [rax + 0x290]
vmulss xmm0, xmm0, xmm9
jmp 0x14003acbf
vmulss xmm0, xmm2, xmm9
vminss xmm3, xmm1, xmm0
vmulss xmm0, xmm2, xmm9
vmovss xmm2, dword [0x140100a80]
vsubss xmm1, xmm7, xmm15
vminss xmm4, xmm1, xmm0
test r12d, r12d
jne 0x14003ace8
vaddss xmm0, xmm14, xmm3
vsubss xmm3, xmm6, xmm3
jmp 0x14003acf1
vmovaps xmm0, xmm2
vmovaps xmm3, xmm12
test r15d, r15d
jne 0x14003ad00
vaddss xmm2, xmm15, xmm4
vsubss xmm1, xmm7, xmm4
jmp 0x14003ad05
vmovaps xmm1, xmm12
movsxd rax, dword [rbx + 0x4910]
add rax, rax
vmovss xmm4, dword [rdi + rax*8 + 0x3ac]
vcomiss xmm4, xmm2
jae 0x14003ad24
vmovaps xmm6, xmm2
jmp 0x14003ad28
vminss xmm6, xmm1, xmm4
vmovss xmm4, dword [rdi + rax*8 + 0x3a8]
vcomiss xmm4, xmm0
jae 0x14003ad3d
vmovaps xmm5, xmm0
jmp 0x14003ad41
vminss xmm5, xmm3, xmm4
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 0x14003ad66
vminss xmm2, xmm1, xmm4
vmovss xmm1, dword [rdi + rax*8 + 0x3b0]
vcomiss xmm1, xmm0
jb 0x14003ad79
vminss xmm0, xmm3, xmm1
vmovss dword [rdi + rax*8 + 0x3b0], xmm0
vxorps xmm0, xmm0, xmm0
vmovss dword [rdi + rax*8 + 0x3b4], xmm2
vmovups xmmword [rsp + 0x38], xmm0
mov dword [rbx + 0x48e0], 0
jmp 0x14003adbc
vxorps xmm2, xmm2, xmm2
vmovups xmmword [rsp + 0x38], xmm2
test rdi, rdi
je 0x14003af47
vmovss xmm9, dword [0x140100850]
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 0x14003adfc
vmovss xmm0, dword [rdi + rax*8 + 0x3b4]
vcomiss xmm0, dword [rdi + rax*8 + 0x3ac]
jb 0x14003adfc
vmovups xmm0, xmmword [rdi + rax*8 + 0x3a8]
jmp 0x14003ae00
vxorps xmm0, xmm0, xmm0
cmp byte [rbx + 0x4950], 0
lea rax, [rsp + 0x28]
vmovss xmm1, dword [rdi + 0x110]
vmovss xmm2, dword [rdi + 0x114]
vmovups xmmword [rsp + 0x28], xmm0
vmovups xmm3, xmmword [rax]
vshufps xmm0, xmm3, xmm3, 0xaa
vaddss xmm6, xmm0, xmm1
vshufps xmm0, xmm3, xmm3, 0x55
vaddss xmm0, xmm0, xmm2
vaddss xmm7, xmm3, xmm1
vaddss xmm4, xmm0, xmm13
vshufps xmm3, xmm3, xmm3, 0xff
vaddss xmm0, xmm3, xmm2
vaddss xmm5, xmm0, xmm13
vmovss dword [rsp + 0x44], xmm5
vmovss dword [rsp + 0x38], xmm7
vmovss dword [rsp + 0x40], xmm6
vmovss dword [rsp + 0x3c], xmm4
je 0x14003af3f
test byte [rbp], 0x80
mov rax, qword [r11 + 0x48d8]
mov r8d, dword [r14]
mov rdx, qword [rdi + 0x390]
vmovss xmm3, dword [rax + 0x110]
vmovss xmm8, dword [rax + 0x114]
jne 0x14003aeda
vucomiss xmm12, dword [rdx + rcx*8 + 0x3c8]
jne 0x14003aeb8
vaddss xmm0, xmm7, dword [0x140100898]
vminss xmm1, xmm0, xmm6
vsubss xmm2, xmm1, xmm3
vmovss dword [rdx + rcx*8 + 0x3c8], xmm2
vucomiss xmm12, dword [rdx + rcx*8 + 0x3cc]
jne 0x14003aeda
vaddss xmm0, xmm5, xmm4
vmovaps xmm1, xmm8
vfmsub231ss xmm1, xmm0, xmm9
vmovss dword [rdx + rcx*8 + 0x3cc], xmm1
lea eax, [r8 - 2]
cmp eax, 1
ja 0x14003af0d
vmovss xmm0, dword [rdx + rcx*8 + 0x3c8]
vucomiss xmm0, xmm12
je 0x14003af0d
vmovups xmm2, xmmword [rsp + 0x38]
vaddss xmm7, xmm3, xmm0
vinsertps xmm2, xmm2, xmm7, 0x20
vmovss xmm2, xmm2, xmm7
vmovaps xmm6, xmm7
jmp 0x14003af57
cmp r8d, 1
ja 0x14003af3f
vmovss xmm0, dword [rdx + rcx*8 + 0x3cc]
vucomiss xmm0, xmm12
je 0x14003af3f
vmovups xmm2, xmmword [rsp + 0x38]
vaddss xmm4, xmm8, xmm0
vinsertps xmm2, xmm2, xmm4, 0x30
vinsertps xmm2, xmm2, xmm4, 0x10
vmovaps xmm5, xmm4
jmp 0x14003af57
vmovups xmm2, xmmword [rsp + 0x38]
jmp 0x14003af57
vmovups xmm5, xmm2
vmovups xmm6, xmm2
vmovups xmm4, xmm2
vxorps xmm7, xmm7, xmm7
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]
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]
vmovups xmmword [rbx + 0x496c], xmm2
vcomiss xmm7, dword [rsi]
mov rbx, qword [rsp + 0x120]
jae 0x14003afc6
vmovss dword [rsi], xmm7
vcomiss xmm4, dword [rsi + 4]
vmovaps xmm7, xmmword [rsp + 0xd0]
jae 0x14003afdb
vmovss dword [rsi + 4], xmm4
vcomiss xmm6, dword [rsi + 8]
jbe 0x14003afe7
vmovss dword [rsi + 8], xmm6
vcomiss xmm5, dword [rsi + 0xc]
vmovaps xmm6, xmmword [rsp + 0xe0]
jbe 0x14003affc
vmovss dword [rsi + 0xc], xmm5
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400dd870
add rsp, 0x110
pop rsi
ret