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

Disassembly:
mov r11, rsp
push rbx
push rsi
push rdi
push r12
push r14
sub rsp, 0x80
mov rax, qword [0x1400aa010]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov qword [r11 + 8], rbp
mov qword [r11 + 0x10], r13
mov r13d, 3
mov r11, qword [0x1400b0310]
mov rbx, r11
test byte [r11 + 8], 2
mov byte [r11 + 0xdb], 0
je 0x140013927
test byte [r11 + 0xc], 1
je 0x140013927
movdqa xmm0, xmmword [0x1400a4b30]
lea r9, [rsp + 0x50]
movdqa xmm1, xmmword [0x1400a4b40]
mov r12b, 1
movdqu xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x60], xmm1
mov r10d, dword [r9]
mov ecx, r10d
call fcn.14000fec0
cmp byte [rax], 0
je 0x140013917
xor edx, edx
mov ecx, r10d
call fcn.140010c20
test al, al
je 0x140013917
mov dword [r11 + 0x48a0], r13d
add r9, 4
lea rax, [rsp + 0x70]
cmp r9, rax
jne 0x1400138f2
jmp 0x14001392a
xor r12b, r12b
movzx edi, byte [r11 + 8]
movdqa xmm0, xmmword [0x1400a4b20]
and dil, 1
mov byte [rsp + 0x20], dil
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x201
mov dword [rsp + 0x44], 0x203
mov dword [rsp + 0x48], 0x204
je 0x14001399c
lea r9, [rsp + 0x30]
mov r10d, dword [r9]
mov ecx, r10d
call fcn.14000fec0
cmp byte [rax], 0
je 0x14001398e
xor edx, edx
mov ecx, r10d
call fcn.140010c20
test al, al
je 0x14001398e
mov dword [r11 + 0x48a0], 2
add r9, 4
lea rax, [rsp + 0x4c]
cmp r9, rax
jne 0x140013965
mov edx, dword [r11 + 0x48b0]
xor ebp, ebp
test edx, edx
je 0x140013a61
mov r9, qword [r11 + 0x4868]
mov rdi, r11
test r9, r9
je 0x140013a5c
test byte [r11 + 0x5bf4], 8
je 0x1400139e7
mov r9, qword [r9]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [r11 + 0x48a4]
call fcn.1400178d0
mov r11, qword [0x1400b0310]
movsxd rax, dword [rdi + 0x48a4]
mov ecx, dword [rbx + 0x48b0]
mov rdx, rax
mov dword [r11 + 0x48a4], eax
mov rax, qword [r11 + 0x4868]
mov dword [r11 + 0x4870], ecx
mov dword [r11 + 0x4874], ebp
mov dword [rax + rdx*4 + 0x380], ecx
add rdx, rdx
mov rax, qword [r11 + 0x4868]
movups xmm0, xmmword [rdi + 0x48b4]
movups xmmword [rax + rdx*8 + 0x388], xmm0
cmp byte [rdi + 0x48ae], bpl
mov byte [rdi + 0x48a8], 1
movzx edi, byte [rsp + 0x20]
je 0x140013a61
mov word [r11 + 0x48a9], 1
mov byte [r11 + 0x48ab], 1
jmp 0x140013a61
movzx edi, byte [rsp + 0x20]
mov word [rbx + 0x48ad], bp
mov dword [rbx + 0x48b0], ebp
mov dword [rbx + 0x488c], ebp
cmp byte [rbx + 0x48c4], bpl
je 0x140013a82
call fcn.140014b50
xor r14b, r14b
mov dword [rbx + 0x4908], ebp
mov eax, 1
mov word [rbx + 0x48c4], bp
mov dword [rsp + 0x24], r14d
cmp byte [rbx + 0x48a9], bpl
je 0x140013ad4
cmp byte [rbx + 0x48a8], bpl
je 0x140013ad4
cmp byte [rbx + 0x48aa], bpl
jne 0x140013ad4
cmp byte [rbx + 0x48ab], bpl
je 0x140013ad4
cmp qword [rbx + 0x4868], rbp
movzx r14d, r14b
cmovne r14d, eax
mov dword [rsp + 0x24], r14d
mov rcx, qword [rbx + 0x4868]
mov byte [rbx + 0x48a9], bpl
test rcx, rcx
je 0x140013b1c
mov rax, rcx
nop word [rax + rax]
cmp qword [rax + 0x358], rax
je 0x140013b10
test dword [rax + 0xc], 0x14000000
jne 0x140013b10
mov rax, qword [rax + 0x348]
test rax, rax
jne 0x140013af0
jmp 0x140013b1c
cmp rax, rcx
je 0x140013b1c
mov qword [rax + 0x378], rcx
mov rax, qword [rbx + 0x4868]
test rax, rax
je 0x140013b40
cmp qword [rax + 0x378], rbp
je 0x140013b40
cmp dword [rbx + 0x48a4], ebp
jne 0x140013b40
mov qword [rax + 0x378], rbp
mov qword [rsp + 0xc0], r15
call fcn.140015870
test dil, dil
jne 0x140013b5b
test r12b, r12b
je 0x140013c94
mov rax, qword [rbx + 0x4868]
test rax, rax
je 0x140013c94
test dword [rax + 0xc], 0x40000
jne 0x140013c94
mov byte [rbx + 0xdd], 1
cmp dword [rbx + 0x4870], ebp
je 0x140013c9b
lea rdi, [rbx + 0x48aa]
cmp byte [rdi], bpl
jne 0x140013c9b
lea r15, [rbx + 0x49d8]
mov al, 1
mov byte [rbx + 0xde], al
call fcn.140014e70
mov ebp, dword [rbx + 0x4870]
xor esi, esi
mov qword [rbx + 0x4880], rsi
mov qword [rbx + 0x4878], rsi
mov dword [rbx + 0x4888], esi
test ebp, ebp
je 0x140013db8
lea rsi, [rbx + 0x48aa]
cmp byte [rsi], 0
mov rdi, rsi
jne 0x140013db6
cmp qword [r15], 0
jne 0x140013db6
mov rax, qword [rbx + 0x4868]
test rax, rax
je 0x140013db6
test dword [rax + 0xc], 0x40000
jne 0x140013db6
movzx r9d, byte [rsp + 0x20]
test r9b, r9b
je 0x140013c37
mov ecx, 0x20c
call fcn.14000fec0
cmp byte [rax], 0
je 0x140013c37
xor edx, edx
mov ecx, 0x20c
call fcn.140010c20
test al, al
jne 0x140013c5b
test r12b, r12b
je 0x140013cb9
mov ecx, 0x26e
call fcn.14000fec0
cmp byte [rax], 0
je 0x140013cb9
xor edx, edx
mov ecx, 0x26e
call fcn.140010c20
test al, al
je 0x140013cb9
mov dil, 1
test r9b, r9b
je 0x140013c76
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.140010240
test al, al
jne 0x140013c8e
test r12b, r12b
je 0x140013cbc
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.140010240
test al, al
je 0x140013cbc
movzx r14d, dil
jmp 0x140013cbf
mov byte [rbx + 0xdd], bpl
lea r15, [rbx + 0x49d8]
lea rdi, [rbx + 0x48aa]
cmp qword [r15], rbp
jne 0x140013ba2
xor al, al
jmp 0x140013ba4
xor dil, dil
xor r14b, r14b
movzx r9d, byte [rsp + 0x20]
test r9b, r9b
je 0x140013ce9
mov ecx, 0x20d
call fcn.14000fec0
cmp byte [rax], 0
je 0x140013ce9
xor edx, edx
mov ecx, 0x20d
call fcn.140010c20
test al, al
jne 0x140013d12
test r12b, r12b
je 0x140013d41
mov ecx, 0x26d
call fcn.14000fec0
cmp byte [rax], 0
je 0x140013d41
xor edx, edx
mov ecx, 0x26d
call fcn.140010c20
test al, al
je 0x140013d41
test r9b, r9b
je 0x140013d25
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.140010240
test al, al
jne 0x140013d3d
test r12b, r12b
je 0x140013d41
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.140010240
test al, al
je 0x140013d41
mov cl, 1
jmp 0x140013d43
xor cl, cl
mov eax, dword [rbx + 0x3eec]
test eax, eax
jne 0x140013d64
test r14b, r14b
je 0x140013d68
mov dword [rbx + 0x4878], ebp
mov dword [rbx + 0x4888], 2
jmp 0x140013d68
cmp eax, ebp
jne 0x140013d93
test cl, cl
je 0x140013d7c
mov dword [rbx + 0x4884], ebp
mov dword [rbx + 0x4888], 1
test eax, eax
je 0x140013d84
cmp eax, ebp
jne 0x140013d93
test dil, dil
je 0x140013d8f
mov dword [rbx + 0x487c], ebp
test eax, eax
je 0x140013d9a
mov rdi, rsi
cmp eax, ebp
jne 0x140013db1
mov rdi, rsi
xor esi, esi
test r14b, r14b
mov r14d, dword [rsp + 0x24]
je 0x140013db8
mov dword [rbx + 0x4880], ebp
jmp 0x140013db8
mov r14d, dword [rsp + 0x24]
xor esi, esi
mov rax, qword [rbx + 0x4868]
mov rbp, qword [rsp + 0xb0]
test rax, rax
je 0x140013dd8
test dword [rax + 0xc], 0x40000
je 0x140013dd8
mov byte [rdi], 1
mov eax, dword [rbx + 0x4898]
test eax, eax
je 0x140013e0d
mov ecx, dword [rbx + 0x489c]
test cl, 1
je 0x140013df5
mov dword [rbx + 0x4884], eax
jmp 0x140013e07
mov dword [rbx + 0x4880], eax
mov dword [rbx + 0x487c], eax
mov dword [rbx + 0x4878], eax
mov dword [rbx + 0x4888], ecx
mov dword [rbx + 0x4898], esi
call fcn.140014200
cmp dword [rbx + 0x48d4], 0xffffffff
xorps xmm5, xmm5
mov r11, qword [0x1400b0310]
jne 0x140013f25
mov r9, qword [r11 + 0x4868]
test r9, r9
je 0x140013f25
cmp qword [r11 + 0x49d8], 0
jne 0x140013f25
test dword [r9 + 0xc], 0x40000
jne 0x140013f25
mov ecx, 0x200
call fcn.14000fec0
cmp byte [rax], 0
je 0x140013f25
movss xmm0, dword [rax + 4]
comiss xmm5, xmm0
ja 0x140013f25
ucomiss xmm0, xmm5
jp 0x140013e83
je 0x140013ea6
movss xmm1, dword [r11 + 0x3c]
comiss xmm0, xmm1
jbe 0x140013f25
movss xmm2, dword [r11 + 0x40]
mov ecx, 0x200
call fcn.140010030
test eax, eax
jle 0x140013f25
mov edx, 0xffffffff
mov ecx, 0x200
call fcn.140010c20
test al, al
je 0x140013f25
cmp byte [r11 + 0xe14], 0
jne 0x140013f25
cmp byte [r11 + 0xe16], 0
jne 0x140013f25
cmp byte [r11 + 0xe15], 0
je 0x140013ede
mov edx, 0xffffffff
jmp 0x140013eeb
cmp dword [r11 + 0x3eec], 0
mov edx, esi
setne dl
mov dword [r11 + 0x4904], edx
mov eax, 0x21
cmp byte [r9 + 0x9c], 0
mov r8d, 0x400
cmovne r13d, eax
sar edx, 0x1f
add edx, 3
lea ecx, [rax - 0x22]
mov r9d, r13d
call fcn.1400131c0
mov dword [r11 + 0x4908], 0xffffffff
cmp byte [r11 + 0x48c5], 0
mov r13, qword [rsp + 0xb8]
jne 0x140013f45
cmp byte [r11 + 0x48ad], 0
jne 0x140013f45
xor al, al
jmp 0x140013f47
mov al, 1
mov byte [r11 + 0x48ac], al
mov r10, qword [rbx + 0x4868]
mov byte [rbx + 0x48a8], 0
test r10, r10
je 0x140014170
test dword [r10 + 0xc], 0x40000
jne 0x140014170
cmp qword [r15], 0
jne 0x140014170
mov rax, qword [r10 + 0x348]
movss xmm0, dword [r11 + 0x3c04]
mulss xmm0, dword [r10 + 0x270]
test rax, rax
je 0x140013fa3
mulss xmm0, dword [rax + 0x270]
cmp word [r10 + 0x13c], 0
mulss xmm0, dword [0x1400a4a0c]
mov ecx, dword [rbx + 0x48d4]
movss xmm2, dword [0x1400a499c]
mulss xmm0, dword [rbx + 0x18]
addss xmm0, dword [0x1400a4964]
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
jne 0x140014064
cmp byte [r10 + 0x141], 0
je 0x140014064
cmp ecx, 0xffffffff
je 0x140014064
movss xmm1, dword [0x1400a4a8c]
test ecx, ecx
je 0x140014005
cmp ecx, 1
jne 0x14001402e
movaps xmm0, xmm2
jmp 0x140014008
movaps xmm0, xmm1
mulss xmm0, xmm3
mov dword [r10 + 0x7c], esi
mov dword [r10 + 0x84], esi
addss xmm0, dword [r10 + 0x64]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r10 + 0x74], xmm0
cmp ecx, 2
je 0x14001403b
cmp ecx, 3
jne 0x140014064
movaps xmm1, xmm2
mulss xmm1, xmm3
mov dword [r10 + 0x80], esi
mov dword [r10 + 0x88], esi
addss xmm1, dword [r10 + 0x68]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r10 + 0x78], xmm0
test r12b, r12b
je 0x140014170
mov ecx, 0x27a
call fcn.14000fec0
mov ecx, 0x279
mov r9, rax
call fcn.14000fec0
movss xmm0, dword [r9 + 0xc]
mov ecx, 0x27c
subss xmm0, dword [rax + 0xc]
call fcn.14000fec0
mov ecx, 0x27b
mov r9, rax
call fcn.14000fec0
movss xmm1, dword [r9 + 0xc]
mov ecx, 0x273
subss xmm1, dword [rax + 0xc]
call fcn.14000fec0
cmp byte [rax], 0
je 0x1400140da
xor edx, edx
mov ecx, 0x273
call fcn.140010c20
test al, al
je 0x1400140da
movss xmm2, dword [0x1400a4944]
jmp 0x140014101
mov ecx, 0x274
call fcn.14000fec0
cmp byte [rax], 0
je 0x140014101
xor edx, edx
mov ecx, 0x274
call fcn.140010c20
test al, al
je 0x140014101
movss xmm2, dword [0x1400a49dc]
ucomiss xmm0, xmm5
jp 0x140014108
je 0x14001413c
cmp byte [r10 + 0x94], 0
je 0x14001413c
mulss xmm0, xmm3
mov dword [r10 + 0x7c], esi
mov dword [r10 + 0x84], esi
mulss xmm0, xmm2
addss xmm0, dword [r10 + 0x64]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r10 + 0x74], xmm0
ucomiss xmm1, xmm5
jp 0x140014143
je 0x140014170
mulss xmm1, xmm3
mov dword [r10 + 0x80], esi
mov dword [r10 + 0x88], esi
mulss xmm1, xmm2
addss xmm1, dword [r10 + 0x68]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r10 + 0x78], xmm0
cmp byte [rsp + 0x20], 0
mov r15, qword [rsp + 0xc0]
jne 0x140014190
test r12b, r12b
jne 0x140014190
mov byte [rdi], 1
mov byte [rbx + 0x48ab], r12b
jmp 0x1400141db
test r14b, r14b
je 0x1400141db
test byte [rbx + 8], 4
je 0x1400141db
test byte [rbx + 0xc], 4
je 0x1400141db
lea rcx, [rsp + 0x24]
call fcn.140013640
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rbx + 0x36e0], xmm0
movss dword [rbx + 0x36e4], xmm1
movss dword [rbx + 0xdfc], xmm0
movss dword [rbx + 0xe00], xmm1
mov byte [rbx + 0xdb], 1
mov dword [rbx + 0x4900], esi
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140036560
add rsp, 0x80
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret