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

Disassembly:
mov r11, rsp
push rbx
push rdi
push r12
push r15
sub rsp, 0x88
mov rax, qword [0x18017f048]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r10, qword [0x1801cd898]
mov qword [r11 + 8], rbp
mov rbx, r10
mov qword [r11 + 0x10], rsi
mov ebp, 3
mov qword [r11 + 0x18], r13
test byte [r10 + 8], 2
mov byte [r10 + 0xdb], 0
je 0x180040696
test byte [r10 + 0xc], 1
je 0x180040696
movdqa xmm0, xmmword [0x18016c550]
lea r11, [r11 - 0x50]
movdqa xmm1, xmmword [0x18016c560]
mov dil, 1
movdqu xmmword [rsp + 0x58], xmm0
movdqu xmmword [rsp + 0x68], xmm1
nop dword [rax + rax]
mov r9d, dword [r11]
mov rcx, r10
mov edx, r9d
call fcn.18003a310
cmp byte [rax], 0
je 0x180040686
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x18004066e
cmp r9d, 0x1000
je 0x18004066e
cmp r9d, 0x2000
je 0x18004066e
cmp r9d, 0x4000
je 0x18004066e
cmp r9d, 0x8000
je 0x18004066e
cmp r9d, 0x800
jne 0x18004067f
mov edx, r9d
mov rcx, r10
call fcn.18002c540
cmp byte [rax + 8], 0
jne 0x180040686
mov dword [r10 + 0x490c], ebp
add r11, 4
lea rax, [rsp + 0x78]
cmp r11, rax
jne 0x180040620
jmp 0x180040699
xor dil, dil
movzx ebp, byte [r10 + 8]
movdqa xmm0, xmmword [0x18016c540]
and bpl, 1
mov byte [rsp + 0x20], bpl
movdqu xmmword [rsp + 0x38], xmm0
mov dword [rsp + 0x48], 0x201
mov dword [rsp + 0x4c], 0x203
mov dword [rsp + 0x50], 0x204
je 0x180040758
lea r11, [rsp + 0x38]
nop dword [rax + rax]
mov r9d, dword [r11]
mov rcx, r10
mov edx, r9d
call fcn.18003a310
cmp byte [rax], 0
je 0x18004074a
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x18004072e
cmp r9d, 0x1000
je 0x18004072e
cmp r9d, 0x2000
je 0x18004072e
cmp r9d, 0x4000
je 0x18004072e
cmp r9d, 0x8000
je 0x18004072e
cmp r9d, 0x800
jne 0x18004073f
mov edx, r9d
mov rcx, r10
call fcn.18002c540
cmp byte [rax + 8], 0
jne 0x18004074a
mov dword [r10 + 0x490c], 2
add r11, 4
lea rax, [rsp + 0x54]
cmp r11, rax
jne 0x1800406e0
mov edx, dword [r10 + 0x4928]
xor r15d, r15d
mov qword [rsp + 0x80], r14
mov dword [r10 + 0x48f8], r15d
test edx, edx
je 0x18004088e
mov r9, qword [r10 + 0x48d8]
mov rsi, r10
test r9, r9
je 0x18004088e
cmp dword [r10 + 0x48e0], edx
je 0x1800407b1
mov dword [r10 + 0x48f8], edx
mov eax, dword [r10 + 0x492c]
mov dword [r10 + 0x48fc], eax
mov dword [r10 + 0x4900], r15d
test byte [r10 + 0x5ce4], 8
je 0x1800407d9
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [r10 + 0x4910]
call fcn.180044dc0
mov r10, qword [0x1801cd898]
mov eax, dword [rsi + 0x492c]
movsxd rcx, dword [rsi + 0x4910]
mov edx, dword [rbx + 0x4928]
mov r8, rcx
mov dword [r10 + 0x48e4], eax
add r8, r8
mov rax, qword [r10 + 0x48d8]
mov dword [r10 + 0x48e0], edx
mov dword [r10 + 0x4910], ecx
mov dword [rax + rcx*4 + 0x3a0], edx
mov rax, qword [r10 + 0x48d8]
movups xmm0, xmmword [rsi + 0x4930]
movups xmmword [rax + r8*8 + 0x3a8], xmm0
mov rax, qword [r10 + 0x48d8]
movsxd rdx, dword [r10 + 0x4910]
mov rcx, qword [rax + 0x390]
mov dword [rcx + rdx*8 + 0x3c8], 0x7f7fffff
mov rax, qword [r10 + 0x48d8]
movsxd rdx, dword [r10 + 0x4910]
mov rcx, qword [rax + 0x390]
mov dword [rcx + rdx*8 + 0x3cc], 0x7f7fffff
mov byte [rsi + 0x4914], 1
cmp byte [rsi + 0x491a], r15b
je 0x18004088e
mov word [r10 + 0x4915], 1
mov byte [r10 + 0x4917], 1
mov word [rbx + 0x4919], r15w
mov dword [rbx + 0x4928], r15d
cmp byte [rbx + 0x4950], r15b
je 0x1800408ab
call fcn.180041c10
xor r12b, r12b
mov dword [rbx + 0x4994], r15d
mov r13d, 1
mov word [rbx + 0x4950], r15w
mov dword [rsp + 0x30], r12d
cmp byte [rbx + 0x4915], r15b
je 0x180040900
cmp byte [rbx + 0x4914], r15b
je 0x180040900
cmp byte [rbx + 0x4916], r15b
jne 0x180040900
cmp byte [rbx + 0x4917], r15b
je 0x180040900
cmp qword [rbx + 0x48d8], r15
movzx r12d, r12b
cmovne r12d, r13d
mov dword [rsp + 0x30], r12d
mov rcx, qword [rbx + 0x48d8]
mov byte [rbx + 0x4915], r15b
test rcx, rcx
je 0x180040942
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x180040936
test dword [rax + 0x14], 0x14000000
jne 0x180040936
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x180040916
jmp 0x180040942
cmp rax, rcx
je 0x180040942
mov qword [rax + 0x398], rcx
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x180040967
cmp qword [rax + 0x398], r15
je 0x180040967
cmp dword [rbx + 0x4910], r15d
jne 0x180040967
mov qword [rax + 0x398], r15
call fcn.180042b50
test bpl, bpl
jne 0x18004097a
test dil, dil
je 0x180040ac6
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x180040ac6
test dword [rax + 0x14], 0x40000
jne 0x180040ac6
mov byte [rbx + 0xdd], r13b
cmp dword [rbx + 0x48e0], r15d
je 0x180040acd
lea r14, [rbx + 0x4916]
cmp byte [r14], r15b
jne 0x180040acd
lea rbp, [rbx + 0x4a60]
movzx eax, r13b
mov qword [rsp + 0x28], rbp
mov byte [rbx + 0xde], al
call fcn.180042060
mov qword [rbx + 0x48ec], r15
mov dword [rbx + 0x48e8], r15d
mov dword [rbx + 0x48f4], r15d
mov r15d, dword [rbx + 0x48e0]
test r15d, r15d
je 0x180040bfb
lea rbp, [rbx + 0x4916]
cmp byte [rbp], 0
mov r14, rbp
jne 0x180040bf6
mov rax, qword [rsp + 0x28]
cmp qword [rax], 0
jne 0x180040cbc
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x180040bf6
test dword [rax + 0x14], 0x40000
jne 0x180040bf6
movzx r9d, byte [rsp + 0x20]
mov rsi, qword [0x1801cd898]
test r9b, r9b
je 0x180040a68
mov edx, 0x20c
mov rcx, rsi
call fcn.18003a310
cmp byte [rax], 0
je 0x180040a68
cmp byte [rsi + 0x4038], 0
je 0x180040a8c
test dil, dil
je 0x180040af1
mov edx, 0x26e
mov rcx, rsi
call fcn.18003a310
cmp byte [rax], 0
je 0x180040af1
cmp byte [rsi + 0x44d0], 0
jne 0x180040af1
movzx r14d, r13b
test r9b, r9b
je 0x180040aa8
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.18003aa80
test al, al
jne 0x180040ac0
test dil, dil
je 0x180040af4
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.18003aa80
test al, al
je 0x180040af4
movzx r12d, r13b
jmp 0x180040af7
mov byte [rbx + 0xdd], r15b
lea rbp, [rbx + 0x4a60]
lea r14, [rbx + 0x4916]
mov qword [rsp + 0x28], rbp
cmp qword [rbp], r15
jne 0x1800409c2
xor al, al
jmp 0x1800409cb
xor r14b, r14b
xor r12b, r12b
movzx r9d, byte [rsp + 0x20]
test r9b, r9b
je 0x180040b1d
mov edx, 0x20d
mov rcx, rsi
call fcn.18003a310
cmp byte [rax], 0
je 0x180040b1d
cmp byte [rsi + 0x4044], 0
je 0x180040b3d
test dil, dil
je 0x180040b77
mov edx, 0x26d
mov rcx, rsi
call fcn.18003a310
cmp byte [rax], 0
je 0x180040b77
cmp byte [rsi + 0x44c4], 0
jne 0x180040b77
movzx esi, r13b
test r9b, r9b
je 0x180040b59
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.18003aa80
test al, al
jne 0x180040b71
test dil, dil
je 0x180040b7a
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.18003aa80
test al, al
je 0x180040b7a
movzx ecx, r13b
jmp 0x180040b7c
xor sil, sil
xor cl, cl
mov eax, dword [rbx + 0x3f58]
test eax, eax
jne 0x180040b9e
test r12b, r12b
je 0x180040ba3
mov dword [rbx + 0x48e8], r15d
mov dword [rbx + 0x48f4], 2
jmp 0x180040ba3
cmp eax, r15d
jne 0x180040bd3
test cl, cl
je 0x180040bb5
mov dword [rbx + 0x48e8], r15d
mov dword [rbx + 0x48f4], r13d
test eax, eax
je 0x180040bbe
cmp eax, r15d
jne 0x180040bd3
test r14b, r14b
jne 0x180040bc8
test sil, sil
je 0x180040bcf
mov dword [rbx + 0x48ec], r15d
test eax, eax
je 0x180040bdb
mov r14, rbp
cmp eax, r15d
jne 0x180040bf1
test r12b, r12b
jne 0x180040be7
mov r14, rbp
test cl, cl
je 0x180040bf1
mov dword [rbx + 0x48f0], r15d
mov r14, rbp
mov r12d, dword [rsp + 0x30]
mov rbp, qword [rsp + 0x28]
mov rax, qword [rbx + 0x48d8]
test rax, rax
je 0x180040c13
test dword [rax + 0x14], 0x40000
je 0x180040c13
mov byte [r14], r13b
mov eax, dword [rbx + 0x4904]
test eax, eax
je 0x180040c3b
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
xor r15d, r15d
mov dword [rbx + 0x4904], r15d
call fcn.1800410d0
cmp dword [rbx + 0x4960], 0xffffffff
xorps xmm5, xmm5
mov rsi, qword [0x1801cd898]
jne 0x180040db2
mov r11, qword [rsi + 0x48d8]
test r11, r11
je 0x180040db2
cmp qword [rsi + 0x4a60], r15
jne 0x180040db2
test dword [r11 + 0x14], 0x40000
jne 0x180040db2
mov edx, 0x200
mov rcx, rsi
call fcn.18003a310
cmp byte [rax], r15b
je 0x180040db2
movss xmm0, dword [rax + 4]
comiss xmm5, xmm0
ja 0x180040db2
ucomiss xmm0, xmm5
jp 0x180040cc4
jne 0x180040cc4
mov r10, rsi
jmp 0x180040cec
mov rbp, rax
jmp 0x180040bfb
movss xmm1, dword [rsi + 0x3c]
mov r10, rsi
comiss xmm0, xmm1
jbe 0x180040db2
movss xmm2, dword [rsi + 0x40]
mov ecx, 0x200
call fcn.18003a4a0
test eax, eax
jle 0x180040db2
cmp byte [r10 + 0x476c], r15b
je 0x180040d03
cmp dword [r10 + 0x3f58], 0xffffffff
jne 0x180040db2
cmp dword [r10 + 0x3fa0], 0xffffffff
jne 0x180040db2
cmp byte [rsi + 0xe24], r15b
jne 0x180040db2
cmp byte [rsi + 0xe26], r15b
jne 0x180040db2
movzx eax, byte [rsi + 0xe25]
test byte [rsi + 8], r13b
je 0x180040d5b
test al, al
je 0x180040d44
mov r13d, 0xffffffff
jmp 0x180040d75
cmp byte [rsi + 0x4916], r13b
jne 0x180040d75
cmp dword [rsi + 0x3f58], r15d
jne 0x180040d75
mov r13d, r15d
jmp 0x180040d75
test al, al
je 0x180040d67
mov r13d, 0xffffffff
jmp 0x180040d75
cmp dword [rsi + 0x3f58], r15d
mov r13d, r15d
setne r13b
mov dword [rsi + 0x4990], r13d
mov eax, 0x21
cmp byte [r11 + 0xbc], r15b
mov r9d, 3
mov r8d, 0x400
cmovne r9d, eax
sar r13d, 0x1f
lea ecx, [rax - 0x22]
lea edx, [r13 + 3]
call fcn.18003fdb0
mov dword [rsi + 0x4994], 0xffffffff
mov r13, qword [rsp + 0xc0]
cmp byte [rsi + 0x4951], r15b
jne 0x180040dd0
cmp byte [rsi + 0x4919], r15b
jne 0x180040dd0
xor al, al
jmp 0x180040dd2
mov al, 1
mov byte [rsi + 0x4918], al
mov r11, qword [rbx + 0x48d8]
mov byte [rbx + 0x4914], r15b
test r11, r11
je 0x180041023
test dword [r11 + 0x14], 0x40000
jne 0x180041023
cmp qword [rbp], r15
jne 0x180041023
mov rax, qword [r11]
movss xmm0, dword [rax + 0x3c24]
mov rax, qword [r11 + 0x368]
mulss xmm0, dword [r11 + 0x290]
test rax, rax
je 0x180040e2f
mulss xmm0, dword [rax + 0x290]
mulss xmm0, dword [0x18016c120]
mov ecx, dword [rbx + 0x4960]
movss xmm2, dword [0x18016bfc4]
mulss xmm0, dword [rbx + 0x18]
addss xmm0, dword [0x18016bf68]
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
cmp word [r11 + 0x15c], r15w
jne 0x180040f05
cmp byte [r11 + 0x162], r15b
je 0x180040f05
cmp ecx, 0xffffffff
je 0x180040f05
movss xmm1, dword [0x18016c2a4]
test ecx, ecx
je 0x180040e97
cmp ecx, 1
jne 0x180040ec9
movaps xmm0, xmm2
jmp 0x180040e9a
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 0x180040ed6
cmp ecx, 3
jne 0x180040f05
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 dil, dil
je 0x180041023
mov edx, 0x27b
mov rcx, rsi
call fcn.18003a310
mov edx, 0x27a
mov rcx, rsi
mov r10, rax
call fcn.18003a310
mov edx, 0x279
mov rcx, rsi
mov r9, rax
call fcn.18003a310
movss xmm0, dword [r9 + 0xc]
mov edx, 0x27c
mov rcx, rsi
subss xmm0, dword [rax + 0xc]
call fcn.18003a310
mov edx, 0x273
mov rcx, rsi
movss xmm1, dword [rax + 0xc]
subss xmm1, dword [r10 + 0xc]
call fcn.18003a310
cmp byte [rax], r15b
je 0x180040f83
cmp byte [rsi + 0x450c], r15b
jne 0x180040f83
movss xmm2, dword [0x18016bf30]
jmp 0x180040fa6
mov edx, 0x274
mov rcx, rsi
call fcn.18003a310
cmp byte [rax], r15b
je 0x180040fa6
cmp byte [rsi + 0x4518], r15b
jne 0x180040fa6
movss xmm2, dword [0x18016c098]
ucomiss xmm0, xmm5
jp 0x180040fad
je 0x180040fe9
cmp byte [r11 + 0xb4], r15b
je 0x180040fe9
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 0x180040ff0
je 0x180041023
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
mov rsi, qword [rsp + 0xb8]
mov rbp, qword [rsp + 0xb0]
cmp byte [rsp + 0x20], r15b
jne 0x18004104c
test dil, dil
jne 0x18004104c
mov byte [r14], 1
mov byte [rbx + 0x4917], r15b
jmp 0x180041097
test r12b, r12b
je 0x180041097
test byte [rbx + 8], 4
je 0x180041097
test byte [rbx + 0xc], 4
je 0x180041097
lea rcx, [rsp + 0x28]
call fcn.1800402b0
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 r14, qword [rsp + 0x80]
mov dword [rbx + 0x498c], r15d
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1800e6dc0
add rsp, 0x88
pop r15
pop r12
pop rdi
pop rbx
ret