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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1400bd040]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, qword [0x1401cb940]
mov r13d, 3
mov rbx, rdi
test byte [rdi + 8], 2
mov byte [rdi + 0xdb], 0
je 0x14005a498
test byte [rdi + 0xc], 1
je 0x14005a498
movdqa xmm0, xmmword [0x1400abe00]
lea r11, [rsp + 0x50]
movdqa xmm1, xmmword [0x1400abe10]
mov sil, 1
movdqu xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x60], xmm1
mov ecx, dword [r11]
call fcn.140054ce0
test al, al
je 0x14005a488
mov dword [rdi + 0x490c], r13d
add r11, 4
lea rax, [rsp + 0x70]
cmp r11, rax
jne 0x14005a475
jmp 0x14005a49b
xor sil, sil
movzx r14d, byte [rdi + 8]
movdqa xmm0, xmmword [0x1400abdf0]
and r14b, 1
mov byte [rsp + 0x20], r14b
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x201
mov dword [rsp + 0x44], 0x203
mov dword [rsp + 0x48], 0x204
je 0x14005a557
lea r10, [rsp + 0x30]
nop word [rax + rax]
mov r9d, dword [r10]
mov rcx, rdi
mov edx, r9d
call fcn.140054600
cmp byte [rax], 0
je 0x14005a549
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x14005a52e
cmp r9d, 0x1000
je 0x14005a52e
cmp r9d, 0x2000
je 0x14005a52e
cmp r9d, 0x4000
je 0x14005a52e
cmp r9d, 0x8000
je 0x14005a52e
cmp r9d, 0x800
jne 0x14005a53f
mov edx, r9d
mov rcx, rdi
call fcn.140046220
cmp byte [rax + 8], 0
jne 0x14005a549
mov dword [rdi + 0x490c], 2
add r10, 4
lea rax, [rsp + 0x4c]
cmp r10, rax
jne 0x14005a4e0
mov edx, dword [rdi + 0x491c]
xor r15d, r15d
test edx, edx
je 0x14005a64c
mov r9, qword [rdi + 0x48d8]
mov rbp, rdi
test r9, r9
je 0x14005a64c
test byte [rdi + 0x5cc4], 8
je 0x14005a5a2
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [rdi + 0x4910]
call fcn.14005ec30
mov rdi, qword [0x1401cb940]
movsxd rax, dword [rbp + 0x4910]
mov ecx, dword [rbx + 0x491c]
mov rdx, rax
mov dword [rdi + 0x4910], eax
mov rax, qword [rdi + 0x48d8]
mov dword [rdi + 0x48e0], ecx
mov dword [rdi + 0x48e4], r15d
mov dword [rax + rdx*4 + 0x3a0], ecx
add rdx, rdx
mov rax, qword [rdi + 0x48d8]
movups xmm0, xmmword [rbp + 0x4920]
movups xmmword [rax + rdx*8 + 0x3a8], xmm0
mov rax, qword [rdi + 0x48d8]
movsxd rdx, dword [rdi + 0x4910]
mov rcx, qword [rax + 0x390]
mov dword [rcx + rdx*8 + 0x3c8], 0x7f7fffff
mov rax, qword [rdi + 0x48d8]
movsxd rdx, dword [rdi + 0x4910]
mov rcx, qword [rax + 0x390]
mov dword [rcx + rdx*8 + 0x3cc], 0x7f7fffff
mov byte [rbp + 0x4914], 1
cmp byte [rbp + 0x491a], r15b
je 0x14005a64c
mov word [rdi + 0x4915], 1
mov byte [rdi + 0x4917], 1
mov word [rbx + 0x4919], r15w
mov dword [rbx + 0x491c], r15d
mov dword [rbx + 0x48f8], r15d
cmp byte [rbx + 0x4930], r15b
je 0x14005a670
call fcn.14005b970
xor r12b, r12b
mov dword [rbx + 0x4974], r15d
mov ebp, 1
mov word [rbx + 0x4930], r15w
cmp byte [rbx + 0x4915], r12b
je 0x14005a6ba
cmp byte [rbx + 0x4914], r12b
je 0x14005a6ba
cmp byte [rbx + 0x4916], r12b
jne 0x14005a6ba
cmp byte [rbx + 0x4917], r12b
je 0x14005a6ba
cmp qword [rbx + 0x48d8], r15
movzx r12d, r12b
cmovne r12d, ebp
mov rcx, qword [rbx + 0x48d8]
mov byte [rbx + 0x4915], r15b
test rcx, rcx
je 0x14005a6fc
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x14005a6f0
test dword [rax + 0x14], 0x14000000
jne 0x14005a6f0
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x14005a6d0
jmp 0x14005a6fc
cmp rax, rcx
je 0x14005a6fc
mov qword [rax + 0x398], rcx
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x14005a721
cmp qword [rax + 0x398], r15
je 0x14005a721
cmp dword [rbx + 0x4910], r15d
jne 0x14005a721
mov qword [rax + 0x398], r15
call fcn.14005c8f0
test r14b, r14b
jne 0x14005a734
test sil, sil
je 0x14005a85b
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x14005a85b
test dword [rax + 0x14], 0x40000
jne 0x14005a85b
mov byte [rbx + 0xdd], bpl
cmp dword [rbx + 0x48e0], r15d
je 0x14005a862
cmp byte [rbx + 0x4916], r15b
jne 0x14005a862
movzx eax, bpl
mov byte [rbx + 0xde], al
call fcn.14005bde0
mov qword [rbx + 0x48ec], r15
mov dword [rbx + 0x48e8], r15d
mov dword [rbx + 0x48f4], r15d
cmp dword [rbx + 0x48e0], r15d
je 0x14005a98f
cmp byte [rbx + 0x4916], r15b
jne 0x14005a98f
cmp qword [rbx + 0x4a40], r15
jne 0x14005a98f
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x14005a98f
test dword [rax + 0x14], 0x40000
jne 0x14005a98f
mov rdi, qword [0x1401cb940]
test r14b, r14b
je 0x14005a801
mov edx, 0x20c
mov rcx, rdi
call fcn.140054600
cmp byte [rax], r15b
je 0x14005a801
cmp byte [rdi + 0x4038], r15b
je 0x14005a821
test sil, sil
je 0x14005a876
mov edx, 0x26e
mov rcx, rdi
call fcn.140054600
cmp byte [rax], r15b
je 0x14005a876
cmp byte [rdi + 0x44d0], r15b
jne 0x14005a876
movzx r15d, bpl
test r14b, r14b
je 0x14005a83d
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.140054d60
test al, al
jne 0x14005a855
test sil, sil
je 0x14005a876
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.140054d60
test al, al
je 0x14005a876
movzx r14d, bpl
jmp 0x14005a879
mov byte [rbx + 0xdd], r15b
cmp qword [rbx + 0x4a40], r15
jne 0x14005a772
xor al, al
jmp 0x14005a776
xor r14b, r14b
movzx r9d, byte [rsp + 0x20]
test r9b, r9b
je 0x14005a89f
mov edx, 0x20d
mov rcx, rdi
call fcn.140054600
cmp byte [rax], 0
je 0x14005a89f
cmp byte [rdi + 0x4044], 0
je 0x14005a8bf
test sil, sil
je 0x14005a8f9
mov edx, 0x26d
mov rcx, rdi
call fcn.140054600
cmp byte [rax], 0
je 0x14005a8f9
cmp byte [rdi + 0x44c4], 0
jne 0x14005a8f9
movzx edi, bpl
test r9b, r9b
je 0x14005a8db
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.140054d60
test al, al
jne 0x14005a8f3
test sil, sil
je 0x14005a8fc
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.140054d60
test al, al
je 0x14005a8fc
movzx edx, bpl
jmp 0x14005a8fe
xor dil, dil
xor dl, dl
mov ecx, dword [rbx + 0x3f58]
test ecx, ecx
jne 0x14005a925
test r14b, r14b
je 0x14005a92d
mov eax, dword [rbx + 0x48e0]
mov dword [rbx + 0x48e8], eax
mov dword [rbx + 0x48f4], 2
jmp 0x14005a92d
cmp ecx, dword [rbx + 0x48e0]
jne 0x14005a986
test dl, dl
je 0x14005a943
mov eax, dword [rbx + 0x48e0]
mov dword [rbx + 0x48e8], eax
mov dword [rbx + 0x48f4], ebp
test ecx, ecx
je 0x14005a94f
cmp ecx, dword [rbx + 0x48e0]
jne 0x14005a986
test r15b, r15b
jne 0x14005a959
test dil, dil
je 0x14005a965
mov eax, dword [rbx + 0x48e0]
mov dword [rbx + 0x48ec], eax
test ecx, ecx
je 0x14005a971
cmp ecx, dword [rbx + 0x48e0]
jne 0x14005a986
test r14b, r14b
jne 0x14005a97a
test dl, dl
je 0x14005a986
mov eax, dword [rbx + 0x48e0]
mov dword [rbx + 0x48f0], eax
movzx r14d, byte [rsp + 0x20]
xor r15d, r15d
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x14005a9ab
test dword [rax + 0x14], 0x40000
je 0x14005a9ab
mov byte [rbx + 0x4916], bpl
mov eax, dword [rbx + 0x4904]
test eax, eax
je 0x14005a9d3
mov dword [rbx + 0x48f0], eax
mov dword [rbx + 0x48ec], eax
mov dword [rbx + 0x48e8], eax
mov eax, dword [rbx + 0x4908]
mov dword [rbx + 0x48f4], eax
mov dword [rbx + 0x4904], r15d
call fcn.14005ae40
cmp dword [rbx + 0x4940], 0xffffffff
xorps xmm5, xmm5
mov rdi, qword [0x1401cb940]
jne 0x14005ab3a
mov r11, qword [rdi + 0x48d8]
test r11, r11
je 0x14005ab3a
cmp qword [rdi + 0x4a40], 0
jne 0x14005ab3a
test dword [r11 + 0x14], 0x40000
jne 0x14005ab3a
mov edx, 0x200
mov rcx, rdi
call fcn.140054600
cmp byte [rax], 0
je 0x14005ab3a
movss xmm0, dword [rax + 4]
comiss xmm5, xmm0
ja 0x14005ab3a
ucomiss xmm0, xmm5
jp 0x14005aa52
jne 0x14005aa52
mov r10, rdi
jmp 0x14005aa7a
movss xmm1, dword [rdi + 0x3c]
mov r10, rdi
comiss xmm0, xmm1
jbe 0x14005ab3a
movss xmm2, dword [rdi + 0x40]
mov ecx, 0x200
call fcn.140054790
test eax, eax
jle 0x14005ab3a
cmp byte [r10 + 0x476c], 0
je 0x14005aa92
cmp dword [r10 + 0x3f58], 0xffffffff
jne 0x14005ab3a
cmp dword [r10 + 0x3fa0], 0xffffffff
jne 0x14005ab3a
cmp byte [rdi + 0xe24], 0
jne 0x14005ab3a
cmp byte [rdi + 0xe26], 0
jne 0x14005ab3a
movzx eax, byte [rdi + 0xe25]
test byte [rdi + 8], bpl
je 0x14005aae9
test al, al
je 0x14005aad2
mov ebp, 0xffffffff
jmp 0x14005ab02
cmp byte [rdi + 0x4916], bpl
jne 0x14005ab02
cmp dword [rdi + 0x3f58], 0
jne 0x14005ab02
mov ebp, r15d
jmp 0x14005ab02
test al, al
je 0x14005aaf4
mov ebp, 0xffffffff
jmp 0x14005ab02
cmp dword [rdi + 0x3f58], 0
mov ebp, r15d
setne bpl
mov dword [rdi + 0x4970], ebp
mov eax, 0x21
cmp byte [r11 + 0xbc], 0
mov r8d, 0x400
cmovne r13d, eax
sar ebp, 0x1f
mov r9d, r13d
lea ecx, [rax - 0x22]
lea edx, [rbp + 3]
call fcn.140059c10
mov dword [rdi + 0x4974], 0xffffffff
cmp byte [rdi + 0x4931], 0
jne 0x14005ab50
cmp byte [rdi + 0x4919], 0
jne 0x14005ab50
xor al, al
jmp 0x14005ab52
mov al, 1
mov byte [rdi + 0x4918], al
mov r11, qword [rbx + 0x48d8]
mov byte [rbx + 0x4914], 0
test r11, r11
je 0x14005adaa
test dword [r11 + 0x14], 0x40000
jne 0x14005adaa
cmp qword [rbx + 0x4a40], 0
jne 0x14005adaa
mov rax, qword [r11]
movss xmm0, dword [rax + 0x3c24]
mov rax, qword [r11 + 0x368]
mulss xmm0, dword [r11 + 0x290]
test rax, rax
je 0x14005abb3
mulss xmm0, dword [rax + 0x290]
cmp word [r11 + 0x15c], 0
mulss xmm0, dword [0x1400abb40]
mov ecx, dword [rbx + 0x4940]
movss xmm2, dword [0x1400aba08]
mulss xmm0, dword [rbx + 0x18]
addss xmm0, dword [0x1400ab9d0]
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
jne 0x14005ac8b
cmp byte [r11 + 0x162], 0
je 0x14005ac8b
cmp ecx, 0xffffffff
je 0x14005ac8b
movss xmm1, dword [0x1400abbbc]
test ecx, ecx
je 0x14005ac1d
cmp ecx, 1
jne 0x14005ac4f
movaps xmm0, xmm2
jmp 0x14005ac20
movaps xmm0, xmm1
mulss xmm0, xmm3
mov dword [r11 + 0x9c], r15d
mov dword [r11 + 0xa4], r15d
addss xmm0, dword [r11 + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r11 + 0x94], xmm0
cmp ecx, 2
je 0x14005ac5c
cmp ecx, 3
jne 0x14005ac8b
movaps xmm1, xmm2
mulss xmm1, xmm3
mov dword [r11 + 0xa0], r15d
mov dword [r11 + 0xa8], r15d
addss xmm1, dword [r11 + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r11 + 0x98], xmm0
test sil, sil
je 0x14005adaa
mov edx, 0x27c
mov rcx, rdi
call fcn.140054600
mov edx, 0x27a
mov rcx, rdi
mov r10, rax
call fcn.140054600
mov edx, 0x279
mov rcx, rdi
mov r9, rax
call fcn.140054600
movss xmm0, dword [r9 + 0xc]
mov edx, 0x27b
mov rcx, rdi
subss xmm0, dword [rax + 0xc]
call fcn.140054600
movss xmm1, dword [r10 + 0xc]
mov edx, 0x273
mov rcx, rdi
subss xmm1, dword [rax + 0xc]
call fcn.140054600
cmp byte [rax], 0
je 0x14005ad09
cmp byte [rdi + 0x450c], 0
jne 0x14005ad09
movss xmm2, dword [0x1400ab9a8]
jmp 0x14005ad2c
mov edx, 0x274
mov rcx, rdi
call fcn.140054600
cmp byte [rax], 0
je 0x14005ad2c
cmp byte [rdi + 0x4518], 0
jne 0x14005ad2c
movss xmm2, dword [0x1400abae4]
ucomiss xmm0, xmm5
jp 0x14005ad33
je 0x14005ad70
cmp byte [r11 + 0xb4], 0
je 0x14005ad70
mulss xmm0, xmm3
mov dword [r11 + 0x9c], r15d
mov dword [r11 + 0xa4], r15d
mulss xmm0, xmm2
addss xmm0, dword [r11 + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r11 + 0x94], xmm0
ucomiss xmm1, xmm5
jp 0x14005ad77
je 0x14005adaa
mulss xmm1, xmm3
mov dword [r11 + 0xa0], r15d
mov dword [r11 + 0xa8], r15d
mulss xmm1, xmm2
addss xmm1, dword [r11 + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r11 + 0x98], xmm0
test r14b, r14b
jne 0x14005adbf
test sil, sil
jne 0x14005adbf
mov word [rbx + 0x4916], 1
jmp 0x14005ae0a
test r12b, r12b
je 0x14005ae0a
test byte [rbx + 8], 4
je 0x14005ae0a
test byte [rbx + 0xc], 4
je 0x14005ae0a
lea rcx, [rsp + 0x24]
call fcn.14005a110
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rbx + 0x36f0], xmm0
movss dword [rbx + 0x36f4], xmm1
movss dword [rbx + 0xe08], xmm0
movss dword [rbx + 0xe0c], xmm1
mov byte [rbx + 0xdb], 1
mov dword [rbx + 0x496c], r15d
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140092d60
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret