Function at 0x140018580
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, 0x70
mov rax, qword [0x1400fe040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r11, qword [0x140125550]
mov ebp, 3
mov rbx, r11
test byte [r11 + 8], 2
mov byte [r11 + 0xdb], 0
je 0x140018676
test byte [r11 + 0xc], 1
je 0x140018676
movdqa xmm0, xmmword [0x1400ec7d0]
lea r10, [rsp + 0x48]
movdqa xmm1, xmmword [0x1400ec7e0]
mov r12b, 1
movdqu xmmword [rsp + 0x48], xmm0
movdqu xmmword [rsp + 0x58], xmm1
nop dword [rax]
mov r9d, dword [r10]
mov rcx, r11
mov edx, r9d
call fcn.140012600
cmp byte [rax], 0
je 0x140018666
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x14001864e
cmp r9d, 0x1000
je 0x14001864e
cmp r9d, 0x2000
je 0x14001864e
cmp r9d, 0x4000
je 0x14001864e
cmp r9d, 0x8000
je 0x14001864e
cmp r9d, 0x800
jne 0x14001865f
mov edx, r9d
mov rcx, r11
call fcn.140004910
cmp byte [rax + 8], 0
jne 0x140018666
mov dword [r11 + 0x48dc], ebp
add r10, 4
lea rax, [rsp + 0x68]
cmp r10, rax
jne 0x140018600
jmp 0x140018679
xor r12b, r12b
movzx r13d, byte [r11 + 8]
movdqa xmm0, xmmword [0x1400ec7c0]
mov dword [rsp + 0x38], 0x201
mov dword [rsp + 0x3c], 0x203
mov dword [rsp + 0x40], 0x204
movdqu xmmword [rsp + 0x28], xmm0
and r13b, 1
je 0x140018728
lea r10, [rsp + 0x28]
nop
mov r9d, dword [r10]
mov rcx, r11
mov edx, r9d
call fcn.140012600
cmp byte [rax], 0
je 0x14001871a
lea eax, [r9 - 0x200]
cmp eax, 0x8b
jbe 0x1400186fe
cmp r9d, 0x1000
je 0x1400186fe
cmp r9d, 0x2000
je 0x1400186fe
cmp r9d, 0x4000
je 0x1400186fe
cmp r9d, 0x8000
je 0x1400186fe
cmp r9d, 0x800
jne 0x14001870f
mov edx, r9d
mov rcx, r11
call fcn.140004910
cmp byte [rax + 8], 0
jne 0x14001871a
mov dword [r11 + 0x48dc], 2
add r10, 4
lea rax, [rsp + 0x44]
cmp r10, rax
jne 0x1400186b0
mov edx, dword [r11 + 0x48ec]
xor esi, esi
test edx, edx
je 0x1400187e2
mov r9, qword [r11 + 0x48a8]
mov rdi, r11
test r9, r9
je 0x1400187e2
test byte [r11 + 0x5c94], 8
je 0x140018774
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [r11 + 0x48e0]
call fcn.14001cd00
mov r11, qword [0x140125550]
movsxd rax, dword [rdi + 0x48e0]
mov ecx, dword [rbx + 0x48ec]
mov rdx, rax
mov dword [r11 + 0x48e0], eax
mov rax, qword [r11 + 0x48a8]
mov dword [r11 + 0x48b0], ecx
mov dword [r11 + 0x48b4], esi
mov dword [rax + rdx*4 + 0x3a0], ecx
add rdx, rdx
mov rax, qword [r11 + 0x48a8]
movups xmm0, xmmword [rdi + 0x48f0]
movups xmmword [rax + rdx*8 + 0x3a8], xmm0
mov byte [rdi + 0x48e4], 1
cmp byte [rdi + 0x48ea], sil
je 0x1400187e2
mov word [r11 + 0x48e5], 1
mov byte [r11 + 0x48e7], 1
cmp byte [rbx + 0x4900], 0
mov word [rbx + 0x48e9], 0
mov dword [rbx + 0x48ec], esi
mov dword [rbx + 0x48c8], esi
je 0x140018805
call fcn.140019930
xor r15b, r15b
mov dword [rbx + 0x4944], esi
mov r14d, 1
mov word [rbx + 0x4900], 0
cmp byte [rbx + 0x48e5], r15b
je 0x140018851
cmp byte [rbx + 0x48e4], r15b
je 0x140018851
cmp byte [rbx + 0x48e6], r15b
jne 0x140018851
cmp byte [rbx + 0x48e7], r15b
je 0x140018851
cmp qword [rbx + 0x48a8], 0
movzx r15d, r15b
cmovne r15d, r14d
mov rcx, qword [rbx + 0x48a8]
mov byte [rbx + 0x48e5], 0
test rcx, rcx
je 0x140018893
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x140018887
test dword [rax + 0x14], 0x14000000
jne 0x140018887
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140018867
jmp 0x140018893
cmp rax, rcx
je 0x140018893
mov qword [rax + 0x398], rcx
mov rax, qword [rbx + 0x48a8]
test rax, rax
je 0x1400188b9
cmp qword [rax + 0x398], 0
je 0x1400188b9
cmp dword [rbx + 0x48e0], 0
jne 0x1400188b9
mov qword [rax + 0x398], rsi
call fcn.14001a6f0
test r13b, r13b
jne 0x1400188cc
test r12b, r12b
je 0x1400189e4
mov rax, qword [rbx + 0x48a8]
test rax, rax
je 0x1400189e4
test dword [rax + 0x14], 0x40000
jne 0x1400189e4
mov byte [rbx + 0xdd], r14b
cmp dword [rbx + 0x48b0], 0
je 0x1400189eb
cmp byte [rbx + 0x48e6], 0
jne 0x1400189eb
movzx eax, r14b
mov byte [rbx + 0xde], al
call fcn.140019c70
cmp dword [rbx + 0x48b0], 0
mov qword [rbx + 0x48bc], 0
mov dword [rbx + 0x48b8], esi
mov dword [rbx + 0x48c4], esi
je 0x140018b09
cmp byte [rbx + 0x48e6], 0
jne 0x140018b09
cmp qword [rbx + 0x4a10], 0
jne 0x140018b09
mov rax, qword [rbx + 0x48a8]
test rax, rax
je 0x140018b09
test dword [rax + 0x14], 0x40000
jne 0x140018b09
mov rdi, qword [0x140125550]
test r13b, r13b
je 0x140018993
cmp byte [rdi + 0x2eec], 0
je 0x140018993
cmp byte [rdi + 0x4008], 0
je 0x1400189aa
test r12b, r12b
je 0x140018a00
cmp byte [rdi + 0x350c], 0
je 0x140018a00
cmp byte [rdi + 0x44a0], 0
jne 0x140018a00
movzx ebp, r14b
test r13b, r13b
je 0x1400189c6
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.140012d30
test al, al
jne 0x1400189de
test r12b, r12b
je 0x140018a03
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.140012d30
test al, al
je 0x140018a03
movzx esi, r14b
jmp 0x140018a06
mov byte [rbx + 0xdd], 0
cmp qword [rbx + 0x4a10], 0
jne 0x14001890a
xor al, al
jmp 0x14001890e
xor bpl, bpl
xor sil, sil
test r13b, r13b
je 0x140018a1d
cmp byte [rdi + 0x2efc], 0
je 0x140018a1d
cmp byte [rdi + 0x4014], 0
je 0x140018a34
test r12b, r12b
je 0x140018a6e
cmp byte [rdi + 0x34fc], 0
je 0x140018a6e
cmp byte [rdi + 0x4494], 0
jne 0x140018a6e
movzx edi, r14b
test r13b, r13b
je 0x140018a50
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.140012d30
test al, al
jne 0x140018a68
test r12b, r12b
je 0x140018a71
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.140012d30
test al, al
je 0x140018a71
movzx edx, r14b
jmp 0x140018a73
xor dil, dil
xor dl, dl
mov ecx, dword [rbx + 0x3f28]
test ecx, ecx
jne 0x140018a9a
test sil, sil
je 0x140018aa2
mov eax, dword [rbx + 0x48b0]
mov dword [rbx + 0x48b8], eax
mov dword [rbx + 0x48c4], 2
jmp 0x140018aa2
cmp ecx, dword [rbx + 0x48b0]
jne 0x140018adb
test dl, dl
je 0x140018ab9
mov eax, dword [rbx + 0x48b0]
mov dword [rbx + 0x48b8], eax
mov dword [rbx + 0x48c4], r14d
test ecx, ecx
je 0x140018ac5
cmp ecx, dword [rbx + 0x48b0]
jne 0x140018adb
test bpl, bpl
jne 0x140018acf
test dil, dil
je 0x140018adb
mov eax, dword [rbx + 0x48b0]
mov dword [rbx + 0x48bc], eax
mov eax, dword [rbx + 0x3f28]
test eax, eax
je 0x140018aed
cmp eax, dword [rbx + 0x48b0]
jne 0x140018b02
test sil, sil
jne 0x140018af6
test dl, dl
je 0x140018b02
mov eax, dword [rbx + 0x48b0]
mov dword [rbx + 0x48c0], eax
mov ebp, 3
xor esi, esi
mov rax, qword [rbx + 0x48a8]
test rax, rax
je 0x140018b25
test dword [rax + 0x14], 0x40000
je 0x140018b25
mov byte [rbx + 0x48e6], r14b
mov eax, dword [rbx + 0x48d4]
test eax, eax
je 0x140018b4d
mov dword [rbx + 0x48c0], eax
mov dword [rbx + 0x48bc], eax
mov dword [rbx + 0x48b8], eax
mov eax, dword [rbx + 0x48d8]
mov dword [rbx + 0x48c4], eax
mov dword [rbx + 0x48d4], esi
call fcn.140018f70
cmp dword [rbx + 0x4910], 0xffffffff
xorps xmm5, xmm5
mov r11, qword [0x140125550]
jne 0x140018cb6
mov rdi, qword [r11 + 0x48a8]
test rdi, rdi
je 0x140018cb6
cmp qword [r11 + 0x4a10], 0
jne 0x140018cb6
test dword [rdi + 0x14], 0x40000
jne 0x140018cb6
cmp byte [r11 + 0x2e2c], 0
je 0x140018cb6
movss xmm0, dword [r11 + 0x2e30]
comiss xmm5, xmm0
ja 0x140018cb6
ucomiss xmm0, xmm5
mov r10, r11
jp 0x140018bc4
je 0x140018beb
movss xmm1, dword [r11 + 0x3c]
comiss xmm0, xmm1
jbe 0x140018cb6
movss xmm2, dword [r11 + 0x40]
mov ecx, 0x200
call fcn.140012750
test eax, eax
jle 0x140018cb6
cmp byte [r10 + 0x473c], 0
je 0x140018c03
cmp dword [r10 + 0x3f28], 0xffffffff
jne 0x140018cb6
cmp dword [r10 + 0x3f70], 0xffffffff
jne 0x140018cb6
cmp byte [r11 + 0xe24], 0
jne 0x140018cb6
cmp byte [r11 + 0xe26], 0
jne 0x140018cb6
movzx eax, byte [r11 + 0xe25]
test byte [r11 + 8], r14b
je 0x140018c5f
test al, al
je 0x140018c47
mov r14d, 0xffffffff
jmp 0x140018c7a
cmp byte [r11 + 0x48e6], r14b
jne 0x140018c7a
cmp dword [r11 + 0x3f28], 0
jne 0x140018c7a
mov r14d, esi
jmp 0x140018c7a
test al, al
je 0x140018c6b
mov r14d, 0xffffffff
jmp 0x140018c7a
cmp dword [r11 + 0x3f28], 0
mov r14d, esi
setne r14b
mov dword [r11 + 0x4940], r14d
mov eax, 0x21
cmp byte [rdi + 0xbc], 0
mov ecx, 0xffffffff
mov r8d, 0x400
cmovne ebp, eax
sar r14d, 0x1f
mov r9d, ebp
lea edx, [r14 + 3]
call fcn.140017e00
mov dword [r11 + 0x4944], 0xffffffff
cmp byte [r11 + 0x4901], 0
jne 0x140018cce
cmp byte [r11 + 0x48e9], 0
jne 0x140018cce
xor al, al
jmp 0x140018cd0
mov al, 1
mov byte [r11 + 0x48e8], al
mov rcx, qword [rbx + 0x48a8]
mov byte [rbx + 0x48e4], 0
test rcx, rcx
je 0x140018ed9
test dword [rcx + 0x14], 0x40000
jne 0x140018ed9
cmp qword [rbx + 0x4a10], 0
jne 0x140018ed9
mov rax, qword [rcx]
movss xmm0, dword [rax + 0x3c2c]
mov rax, qword [rcx + 0x368]
mulss xmm0, dword [rcx + 0x290]
test rax, rax
je 0x140018d30
mulss xmm0, dword [rax + 0x290]
cmp word [rcx + 0x15c], 0
mulss xmm0, dword [0x1400ec5e0]
mov edx, dword [rbx + 0x4910]
movss xmm2, dword [0x1400ec4a0]
mulss xmm0, dword [rbx + 0x18]
addss xmm0, dword [0x1400ec46c]
cvttss2si eax, xmm0
movd xmm4, eax
cvtdq2ps xmm4, xmm4
jne 0x140018dfa
cmp byte [rcx + 0x161], 0
je 0x140018dfa
cmp edx, 0xffffffff
je 0x140018dfa
movss xmm1, dword [0x1400ec660]
test edx, edx
je 0x140018d94
cmp edx, 1
jne 0x140018dc2
movaps xmm0, xmm2
jmp 0x140018d97
movaps xmm0, xmm1
mulss xmm0, xmm4
mov dword [rcx + 0x9c], esi
mov dword [rcx + 0xa4], esi
addss xmm0, dword [rcx + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x94], xmm0
cmp edx, 2
je 0x140018dcf
cmp edx, 3
jne 0x140018dfa
movaps xmm1, xmm2
mulss xmm1, xmm4
mov dword [rcx + 0xa0], esi
mov dword [rcx + 0xa8], esi
addss xmm1, dword [rcx + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x98], xmm0
test r12b, r12b
je 0x140018ed9
cmp byte [r11 + 0x355c], 0
movss xmm1, dword [r11 + 0x35f8]
movss xmm3, dword [r11 + 0x35d8]
subss xmm1, dword [r11 + 0x35e8]
subss xmm3, dword [r11 + 0x35c8]
je 0x140018e45
cmp byte [r11 + 0x44dc], 0
jne 0x140018e45
movss xmm2, dword [0x1400ec444]
jmp 0x140018e61
cmp byte [r11 + 0x356c], 0
je 0x140018e61
cmp byte [r11 + 0x44e8], 0
jne 0x140018e61
movss xmm2, dword [0x1400ec588]
ucomiss xmm3, xmm5
jp 0x140018e68
je 0x140018ea3
cmp byte [rcx + 0xb4], 0
je 0x140018ea3
movaps xmm0, xmm4
mov dword [rcx + 0x9c], esi
mulss xmm0, xmm3
mov dword [rcx + 0xa4], esi
mulss xmm0, xmm2
addss xmm0, dword [rcx + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x94], xmm0
ucomiss xmm1, xmm5
jp 0x140018eaa
je 0x140018ed9
mulss xmm1, xmm4
mov dword [rcx + 0xa0], esi
mov dword [rcx + 0xa8], esi
mulss xmm1, xmm2
addss xmm1, dword [rcx + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rcx + 0x98], xmm0
test r13b, r13b
jne 0x140018eee
test r12b, r12b
jne 0x140018eee
mov word [rbx + 0x48e6], 1
jmp 0x140018f39
test r15b, r15b
je 0x140018f39
test byte [rbx + 8], 4
je 0x140018f39
test byte [rbx + 0xc], 4
je 0x140018f39
lea rcx, [rsp + 0x20]
call fcn.140018290
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 + 0x493c], esi
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400c37c0
lea r11, [rsp + 0x70]
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