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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
sub rsp, 0xa0
mov rdi, qword [0x1801d6ee0]
mov qword [rax + 0x18], rbx
mov qword [rax - 0x20], rsi
mov qword [rax - 0x28], r12
mov r12d, dword [rdi + 8]
mov qword [rax - 0x30], r13
mov r13d, 3
mov qword [rax - 0x38], r15
mov byte [rdi + 0xcd], 0
test r12b, 2
je 0x18001aeee
test byte [rdi + 0xc], 1
je 0x18001aeee
movdqa xmm0, xmmword [0x180091c00]
lea rbx, [rsp + 0x20]
movdqa xmm1, xmmword [0x180091c10]
mov bpl, 1
movdqu xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
nop word [rax + rax]
mov esi, dword [rbx]
mov edx, esi
mov rcx, qword [0x1801d6ee0]
call fcn.180013380
cmp byte [rax], 0
je 0x18001aed9
xor edx, edx
mov ecx, esi
call fcn.180015fd0
test al, al
je 0x18001aed9
mov dword [rdi + 0x4b6c], r13d
add rbx, 4
lea rax, [rsp + 0x40]
cmp rbx, rax
jne 0x18001aeb0
movzx r12d, byte [rdi + 8]
jmp 0x18001aef1
xor bpl, bpl
movdqa xmm0, xmmword [0x180091bf0]
mov dword [rsp + 0x30], 0x201
mov dword [rsp + 0x34], 0x203
mov dword [rsp + 0x38], 0x204
movdqu xmmword [rsp + 0x20], xmm0
and r12b, 1
je 0x18001af6a
lea rbx, [rsp + 0x20]
nop dword [rax]
nop word [rax + rax]
mov esi, dword [rbx]
mov edx, esi
mov rcx, qword [0x1801d6ee0]
call fcn.180013380
cmp byte [rax], 0
je 0x18001af5c
xor edx, edx
mov ecx, esi
call fcn.180015fd0
test al, al
je 0x18001af5c
mov dword [rdi + 0x4b6c], 2
add rbx, 4
lea rax, [rsp + 0x3c]
cmp rbx, rax
jne 0x18001af30
xor r14d, r14d
mov dword [rdi + 0x4b58], r14d
cmp dword [rdi + 0x4b90], r14d
je 0x18001b03b
mov rbx, qword [0x1801d6ee0]
mov r9, qword [rbx + 0x4b38]
test r9, r9
je 0x18001b03b
mov ecx, dword [rbx + 0x4b90]
cmp dword [rbx + 0x4b40], ecx
je 0x18001afbf
mov dword [rbx + 0x4b58], ecx
mov eax, dword [rbx + 0x4b94]
mov dword [rbx + 0x4b5c], eax
mov dword [rbx + 0x4b60], r14d
test byte [rbx + 0x603c], 8
je 0x18001afe7
mov r9, qword [r9 + 8]
mov edx, ecx
mov r8d, dword [rbx + 0x4b70]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
call fcn.18001f600
mov ecx, dword [rbx + 0x4b90]
mov r8d, dword [rbx + 0x4b94]
lea r9, [rbx + 0x4b98]
mov edx, dword [rbx + 0x4b70]
call fcn.180019830
mov byte [rbx + 0x4b80], 1
mov rax, qword [rbx + 0x4bb0]
cmp rax, 0xffffffffffffffff
je 0x18001b01b
mov qword [rbx + 0x4b78], rax
cmp byte [rbx + 0x4b86], r14b
je 0x18001b03b
mov rax, qword [0x1801d6ee0]
mov word [rax + 0x4b81], 1
mov byte [rax + 0x4b83], 1
mov word [rdi + 0x4b85], r14w
mov dword [rdi + 0x4b90], r14d
cmp byte [rdi + 0x4bc8], r14b
je 0x18001b058
call fcn.18001c280
xor al, al
mov dword [rdi + 0x4c0c], r14d
mov esi, 1
mov word [rdi + 0x4bc8], r14w
mov dword [rsp + 0xc8], eax
cmp byte [rdi + 0x4b81], r14b
je 0x18001b0ad
cmp byte [rdi + 0x4b80], r14b
je 0x18001b0ad
cmp byte [rdi + 0x4b82], r14b
jne 0x18001b0ad
cmp byte [rdi + 0x4b83], r14b
je 0x18001b0ad
cmp qword [rdi + 0x4b38], r14
movzx eax, al
cmovne eax, esi
mov dword [rsp + 0xc8], eax
mov byte [rdi + 0x4b81], r14b
cmp dword [rdi + 0x4b70], esi
jbe 0x18001b0d6
mov r8d, 0x2e07
lea rdx, str.D:PANELES_CCOSMOS_IMIGUISCOSMOS_PANEL_LINDOImGui_CHAMSimgui.cpp
lea rcx, str.g.NavLayer__ImGuiNavLayer_Main__g.NavLayer__ImGuiNavLayer_Menu
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rcx, qword [rdi + 0x4b38]
test rcx, rcx
je 0x18001b111
mov rax, rcx
cmp qword [rax + 0x388], rax
je 0x18001b105
test dword [rax + 0x14], 0x14000000
jne 0x18001b105
mov rax, qword [rax + 0x378]
test rax, rax
jne 0x18001b0e5
jmp 0x18001b111
cmp rax, rcx
je 0x18001b111
mov qword [rax + 0x3a8], rcx
mov rax, qword [rdi + 0x4b38]
test rax, rax
je 0x18001b136
cmp qword [rax + 0x3a8], r14
je 0x18001b136
cmp dword [rdi + 0x4b70], r14d
jne 0x18001b136
mov qword [rax + 0x3a8], r14
call fcn.18001d250
test r12b, r12b
jne 0x18001b149
test bpl, bpl
je 0x18001b283
mov rax, qword [rdi + 0x4b38]
test rax, rax
je 0x18001b283
test dword [rax + 0x14], 0x10000
jne 0x18001b283
mov byte [rdi + 0xcf], sil
cmp dword [rdi + 0x4b40], r14d
je 0x18001b28a
cmp byte [rdi + 0x4b82], r14b
jne 0x18001b28a
movzx eax, sil
movzx r15d, bpl
mov byte [rdi + 0xd0], al
call fcn.18001c740
mov qword [rdi + 0x4b4c], r14
mov dword [rdi + 0x4b48], r14d
mov dword [rdi + 0x4b54], r14d
cmp dword [rdi + 0x4b40], r14d
je 0x18001b3fb
cmp byte [rdi + 0x4b82], r14b
jne 0x18001b3fb
cmp qword [rdi + 0x4d18], r14
jne 0x18001b3fb
mov rax, qword [rdi + 0x4b38]
test rax, rax
je 0x18001b3fb
test dword [rax + 0x14], 0x10000
jne 0x18001b3fb
test r12b, r12b
je 0x18001b21e
mov rcx, qword [0x1801d6ee0]
mov edx, 0x20c
call fcn.180013380
cmp byte [rax], r14b
je 0x18001b21e
xor edx, edx
mov ecx, 0x20c
call fcn.180015fd0
test al, al
jne 0x18001b249
test bpl, bpl
je 0x18001b29e
mov rcx, qword [0x1801d6ee0]
mov edx, 0x27c
call fcn.180013380
cmp byte [rax], r14b
je 0x18001b29e
xor edx, edx
mov ecx, 0x27c
call fcn.180015fd0
test al, al
je 0x18001b29e
movzx r15d, sil
test r12b, r12b
je 0x18001b265
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.180013c50
test al, al
jne 0x18001b27d
test bpl, bpl
je 0x18001b2a1
xor r8d, r8d
xor edx, edx
mov ecx, 0x27c
call fcn.180013c50
test al, al
je 0x18001b2a1
movzx r14d, sil
jmp 0x18001b2a1
mov byte [rdi + 0xcf], r14b
cmp qword [rdi + 0x4d18], r14
jne 0x18001b187
xor al, al
jmp 0x18001b18b
xor r15b, r15b
test r12b, r12b
je 0x18001b2f2
mov rcx, qword [0x1801d6ee0]
mov edx, 0x20d
call fcn.180013380
cmp byte [rax], 0
je 0x18001b2cc
xor edx, edx
mov ecx, 0x20d
call fcn.180015fd0
test al, al
jne 0x18001b31d
mov rcx, qword [0x1801d6ee0]
mov edx, 0x273
call fcn.180013380
cmp byte [rax], 0
je 0x18001b2f2
xor edx, edx
mov ecx, 0x273
call fcn.180015fd0
test al, al
jne 0x18001b31d
test bpl, bpl
je 0x18001b369
mov rcx, qword [0x1801d6ee0]
mov edx, 0x27b
call fcn.180013380
cmp byte [rax], 0
je 0x18001b369
xor edx, edx
mov ecx, 0x27b
call fcn.180015fd0
test al, al
je 0x18001b369
movzx ebx, sil
test r12b, r12b
je 0x18001b34c
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.180013c50
test al, al
jne 0x18001b364
xor r8d, r8d
xor edx, edx
mov ecx, 0x273
call fcn.180013c50
test al, al
jne 0x18001b364
test bpl, bpl
je 0x18001b36b
xor r8d, r8d
xor edx, edx
mov ecx, 0x27b
call fcn.180013c50
test al, al
je 0x18001b36b
movzx edx, bl
jmp 0x18001b36d
xor bl, bl
xor dl, dl
mov ecx, dword [rdi + 0x409c]
test ecx, ecx
jne 0x18001b394
test r14b, r14b
je 0x18001b39c
mov eax, dword [rdi + 0x4b40]
mov dword [rdi + 0x4b48], eax
mov dword [rdi + 0x4b54], 2
jmp 0x18001b39c
cmp ecx, dword [rdi + 0x4b40]
jne 0x18001b3f4
test dl, dl
je 0x18001b3b2
mov eax, dword [rdi + 0x4b40]
mov dword [rdi + 0x4b48], eax
mov dword [rdi + 0x4b54], esi
test ecx, ecx
je 0x18001b3be
cmp ecx, dword [rdi + 0x4b40]
jne 0x18001b3f4
test r15b, r15b
jne 0x18001b3c7
test bl, bl
je 0x18001b3d3
mov eax, dword [rdi + 0x4b40]
mov dword [rdi + 0x4b4c], eax
test ecx, ecx
je 0x18001b3df
cmp ecx, dword [rdi + 0x4b40]
jne 0x18001b3f4
test r14b, r14b
jne 0x18001b3e8
test dl, dl
je 0x18001b3f4
mov eax, dword [rdi + 0x4b40]
mov dword [rdi + 0x4b50], eax
movzx r15d, bpl
xor r14d, r14d
mov rax, qword [rdi + 0x4b38]
test rax, rax
je 0x18001b417
test dword [rax + 0x14], 0x10000
je 0x18001b417
mov byte [rdi + 0x4b82], sil
mov eax, dword [rdi + 0x4b48]
test eax, eax
je 0x18001b443
cmp dword [rdi + 0x4b4c], eax
je 0x18001b443
mov r8d, 0x2e34
lea rdx, str.D:PANELES_CCOSMOS_IMIGUISCOSMOS_PANEL_LINDOImGui_CHAMSimgui.cpp
lea rcx, str.g.NavActivateDownId__g.NavActivateId
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov eax, dword [rdi + 0x4b64]
test eax, eax
je 0x18001b46b
mov dword [rdi + 0x4b50], eax
mov dword [rdi + 0x4b4c], eax
mov dword [rdi + 0x4b48], eax
mov eax, dword [rdi + 0x4b68]
mov dword [rdi + 0x4b54], eax
mov dword [rdi + 0x4b64], r14d
call fcn.18001b940
cmp dword [rdi + 0x4bd8], 0xffffffff
jne 0x18001b58e
mov rbx, qword [0x1801d6ee0]
cmp dword [rbx + 0x4bd8], 0xffffffff
mov r14, qword [rbx + 0x4b38]
je 0x18001b4b5
mov r8d, 0x2f25
lea rdx, str.D:PANELES_CCOSMOS_IMIGUISCOSMOS_PANEL_LINDOImGui_CHAMSimgui.cpp
lea rcx, str.g.NavMoveDir__ImGuiDir_None
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test r14, r14
je 0x18001b58b
cmp qword [rbx + 0x4d18], 0
jne 0x18001b58b
test dword [r14 + 0x14], 0x10000
jne 0x18001b58b
mov r8d, esi
mov edx, 0xffffffff
mov ecx, 0x200
call fcn.180013c50
test al, al
je 0x18001b58b
cmp byte [rbx + 0xe64], 0
jne 0x18001b58b
cmp byte [rbx + 0xe66], 0
jne 0x18001b58b
movzx eax, byte [rbx + 0xe65]
test byte [rbx + 8], sil
je 0x18001b53c
test al, al
je 0x18001b526
mov esi, 0xffffffff
jmp 0x18001b553
cmp byte [rbx + 0x4b82], sil
jne 0x18001b553
cmp dword [rbx + 0x409c], 0
jne 0x18001b553
xor esi, esi
jmp 0x18001b553
test al, al
je 0x18001b547
mov esi, 0xffffffff
jmp 0x18001b553
xor esi, esi
cmp dword [rbx + 0x409c], esi
setne sil
mov dword [rbx + 0x4c08], esi
mov eax, 0x21
cmp byte [r14 + 0xc4], 0
mov r8d, 0x1400
cmovne r13d, eax
sar esi, 0x1f
mov r9d, r13d
lea ecx, [rax - 0x22]
lea edx, [rsi + 3]
call fcn.18001a530
mov dword [rbx + 0x4c0c], 0xffffffff
xor r14d, r14d
mov rax, qword [0x1801d6ee0]
mov r13, qword [rsp + 0x88]
cmp byte [rax + 0x4bc9], 0
jne 0x18001b5b8
cmp byte [rax + 0x4b85], 0
jne 0x18001b5b8
mov byte [rax + 0x4b84], 0
jmp 0x18001b5e7
cmp qword [rax + 0x4b38], 0
movzx ebp, r15b
mov byte [rax + 0x4b84], 1
jne 0x18001b5e7
mov r8d, 0x2d86
lea rdx, str.D:PANELES_CCOSMOS_IMIGUISCOSMOS_PANEL_LINDOImGui_CHAMSimgui.cpp
lea rcx, str.g.NavWindow___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rsi, qword [rdi + 0x4b38]
mov r15, qword [rsp + 0x80]
mov byte [rdi + 0x4b80], 0
test rsi, rsi
je 0x18001b894
test dword [rsi + 0x14], 0x10000
jne 0x18001b894
cmp qword [rdi + 0x4d18], 0
jne 0x18001b894
mov rax, qword [rsi]
movaps xmmword [rsp + 0x50], xmm8
movaps xmmword [rsp + 0x40], xmm9
movss xmm0, dword [rax + 0x3d64]
mov rax, qword [rsi + 0x378]
mulss xmm0, dword [rsi + 0x2a0]
test rax, rax
je 0x18001b654
mulss xmm0, dword [rax + 0x2a0]
cmp word [rsi + 0x16c], 0
mulss xmm0, dword [0x180091a1c]
mov ecx, dword [rdi + 0x4bd8]
movss xmm8, dword [0x18009189c]
mulss xmm0, dword [rdi + 0x18]
addss xmm0, dword [0x180091844]
cvttss2si eax, xmm0
movd xmm9, eax
cvtdq2ps xmm9, xmm9
jne 0x18001b72d
cmp byte [rsi + 0x172], 0
je 0x18001b72d
cmp ecx, 0xffffffff
je 0x18001b72d
movss xmm1, dword [0x180091acc]
test ecx, ecx
je 0x18001b6c0
cmp ecx, 1
jne 0x18001b6f1
movaps xmm0, xmm8
jmp 0x18001b6c3
movaps xmm0, xmm1
mulss xmm0, xmm9
mov dword [rsi + 0xa4], r14d
mov dword [rsi + 0xac], r14d
addss xmm0, dword [rsi + 0x8c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x9c], xmm0
cmp ecx, 2
je 0x18001b6ff
cmp ecx, 3
jne 0x18001b72d
movaps xmm1, xmm8
mulss xmm1, xmm9
mov dword [rsi + 0xa8], r14d
mov dword [rsi + 0xb0], r14d
addss xmm1, dword [rsi + 0x90]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0xa0], xmm0
test bpl, bpl
je 0x18001b888
mov rcx, qword [0x1801d6ee0]
mov edx, 0x28a
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm7
call fcn.180013380
mov rcx, qword [0x1801d6ee0]
mov edx, 0x289
mov rbx, rax
call fcn.180013380
movss xmm6, dword [rbx + 0xc]
mov edx, 0x288
mov rcx, qword [0x1801d6ee0]
subss xmm6, dword [rax + 0xc]
call fcn.180013380
mov rcx, qword [0x1801d6ee0]
mov edx, 0x287
mov rbx, rax
call fcn.180013380
movss xmm7, dword [rbx + 0xc]
mov edx, 0x281
mov rcx, qword [0x1801d6ee0]
subss xmm7, dword [rax + 0xc]
call fcn.180013380
cmp byte [rax], 0
je 0x18001b7cf
xor edx, edx
mov ecx, 0x281
call fcn.180015fd0
test al, al
je 0x18001b7cf
movss xmm8, dword [0x180091800]
jmp 0x18001b7fe
mov rcx, qword [0x1801d6ee0]
mov edx, 0x282
call fcn.180013380
cmp byte [rax], 0
je 0x18001b7fe
xor edx, edx
mov ecx, 0x282
call fcn.180015fd0
test al, al
je 0x18001b7fe
movss xmm8, dword [0x1800919bc]
xorps xmm1, xmm1
ucomiss xmm7, xmm1
jp 0x18001b808
je 0x18001b844
cmp byte [rsi + 0xbc], 0
je 0x18001b844
mulss xmm7, xmm9
mov dword [rsi + 0xa4], r14d
mov dword [rsi + 0xac], r14d
mulss xmm7, xmm8
addss xmm7, dword [rsi + 0x8c]
cvttss2si eax, xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x9c], xmm0
ucomiss xmm6, xmm1
movaps xmm7, xmmword [rsp + 0x60]
jp 0x18001b850
je 0x18001b883
mulss xmm6, xmm9
mov dword [rsi + 0xa8], r14d
mov dword [rsi + 0xb0], r14d
mulss xmm6, xmm8
addss xmm6, dword [rsi + 0x90]
cvttss2si eax, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0xa0], xmm0
movaps xmm6, xmmword [rsp + 0x70]
movaps xmm8, xmmword [rsp + 0x50]
movaps xmm9, xmmword [rsp + 0x40]
mov rsi, qword [rsp + 0x98]
test r12b, r12b
mov r12, qword [rsp + 0x90]
mov rbx, qword [rsp + 0xd0]
jne 0x18001b8c1
test bpl, bpl
jne 0x18001b8c1
mov word [rdi + 0x4b82], 1
jmp 0x18001b926
cmp byte [rsp + 0xc8], 0
je 0x18001b926
test byte [rdi + 8], 4
je 0x18001b926
test byte [rdi + 0xc], 4
je 0x18001b926
lea rcx, [rsp + 0xc0]
call fcn.18001aae0
mov rcx, qword [0x1801d6ee0]
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rcx + 0x3810], xmm0
movss dword [rcx + 0x3814], xmm1
movss dword [rcx + 0xe48], xmm0
movss dword [rcx + 0xe4c], xmm1
mov qword [rcx + 0xe8], 0
mov byte [rcx + 0xcd], 1
mov dword [rdi + 0x4c04], r14d
add rsp, 0xa0
pop r14
pop rdi
pop rbp
ret