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

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r15
sub rsp, 0xc8
mov rdi, qword [0x1401f57b0]
mov qword [rax + 0x20], rbx
mov qword [rax - 0x28], r12
mov qword [rax - 0x38], r14
test byte [rdi + 8], 2
movaps xmmword [rsp + 0x60], xmm10
mov byte [rdi + 0xdb], 0
je 0x1400181e9
test byte [rdi + 0xc], 1
je 0x1400181e9
movdqa xmm0, xmmword [0x1400b9640]
lea r14, [rsp + 0x40]
movdqa xmm1, xmmword [0x1400b9650]
mov sil, 1
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
nop word [rax + rax]
mov ebx, dword [r14]
mov edx, ebx
mov rcx, qword [0x1401f57b0]
call fcn.140011100
cmp byte [rax], 0
je 0x1400181d9
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x1400181bb
cmp ebx, 0x1000
je 0x1400181bb
cmp ebx, 0x2000
je 0x1400181bb
cmp ebx, 0x4000
je 0x1400181bb
cmp ebx, 0x8000
je 0x1400181bb
cmp ebx, 0x800
jne 0x1400181cf
mov rcx, qword [0x1401f57b0]
mov edx, ebx
call fcn.140002540
cmp byte [rax + 8], 0
jne 0x1400181d9
mov dword [rdi + 0x490c], 3
add r14, 4
lea rax, [rsp + 0x60]
cmp r14, rax
jne 0x140018170
jmp 0x1400181ec
xor sil, sil
movzx r15d, byte [rdi + 8]
movdqa xmm0, xmmword [0x1400b9630]
and r15b, 1
mov byte [rsp + 0xf0], r15b
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x201
mov dword [rsp + 0x34], 0x203
mov dword [rsp + 0x38], 0x204
je 0x1400182a7
lea r14, [rsp + 0x20]
nop
mov ebx, dword [r14]
mov edx, ebx
mov rcx, qword [0x1401f57b0]
call fcn.140011100
cmp byte [rax], 0
je 0x140018299
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x14001827b
cmp ebx, 0x1000
je 0x14001827b
cmp ebx, 0x2000
je 0x14001827b
cmp ebx, 0x4000
je 0x14001827b
cmp ebx, 0x8000
je 0x14001827b
cmp ebx, 0x800
jne 0x14001828f
mov rcx, qword [0x1401f57b0]
mov edx, ebx
call fcn.140002540
cmp byte [rax + 8], 0
jne 0x140018299
mov dword [rdi + 0x490c], 2
add r14, 4
lea rax, [rsp + 0x3c]
cmp r14, rax
jne 0x140018230
xor ebp, ebp
cmp dword [rdi + 0x491c], ebp
je 0x1400183c0
mov rbx, qword [0x1401f57b0]
mov r9, qword [rbx + 0x48d8]
test r9, r9
je 0x1400183c0
test byte [rbx + 0x5cc4], 8
je 0x1400182f2
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [rbx + 0x4910]
mov edx, dword [rbx + 0x491c]
call fcn.14001cf00
mov rbp, qword [0x1401f57b0]
movsxd r14, dword [rbx + 0x4910]
mov r15d, dword [rbx + 0x491c]
cmp qword [rbp + 0x48d8], 0
jne 0x14001832b
mov r8d, 0x298c
lea rdx, str.C:UsersjeffnDesktopimgui_features_shadowsimgui.cpp
lea rcx, str.g.NavWindow___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp r14d, 1
jbe 0x14001834b
mov r8d, 0x298d
lea rdx, str.C:UsersjeffnDesktopimgui_features_shadowsimgui.cpp
lea rcx, str.nav_layer__ImGuiNavLayer_Main__nav_layer__ImGuiNavLayer_Menu
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov rax, qword [rbp + 0x48d8]
mov rcx, r14
mov dword [rbp + 0x48e0], r15d
add rcx, rcx
mov dword [rbp + 0x4910], r14d
mov dword [rbp + 0x48e4], 0
mov dword [rax + r14*4 + 0x3a0], r15d
mov rax, qword [rbp + 0x48d8]
xor ebp, ebp
movups xmm0, xmmword [rbx + 0x4920]
movzx r15d, byte [rsp + 0xf0]
movups xmmword [rax + rcx*8 + 0x3a8], xmm0
mov byte [rbx + 0x4914], 1
cmp byte [rbx + 0x491a], bpl
je 0x1400183c0
mov rax, qword [0x1401f57b0]
mov word [rax + 0x4915], 1
mov byte [rax + 0x4917], 1
cmp byte [rdi + 0x4930], 0
mov word [rdi + 0x4919], 0
mov dword [rdi + 0x491c], ebp
mov dword [rdi + 0x48f8], ebp
je 0x1400183e3
call fcn.1400198e0
xor al, al
mov dword [rdi + 0x4974], ebp
mov r12d, 1
mov word [rdi + 0x4930], 0
mov dword [rsp + 0x100], eax
cmp byte [rdi + 0x4915], al
je 0x140018437
cmp byte [rdi + 0x4914], al
je 0x140018437
cmp byte [rdi + 0x4916], al
jne 0x140018437
cmp byte [rdi + 0x4917], al
je 0x140018437
cmp qword [rdi + 0x48d8], 0
movzx eax, al
cmovne eax, r12d
mov dword [rsp + 0x100], eax
mov byte [rdi + 0x4915], 0
cmp dword [rdi + 0x4910], r12d
jbe 0x140018461
mov r8d, 0x2bd7
lea rdx, str.C:UsersjeffnDesktopimgui_features_shadowsimgui.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 + 0x48d8]
test rcx, rcx
je 0x14001849c
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x140018490
test dword [rax + 0x14], 0x14000000
jne 0x140018490
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140018470
jmp 0x14001849c
cmp rax, rcx
je 0x14001849c
mov qword [rax + 0x398], rcx
mov rax, qword [rdi + 0x48d8]
test rax, rax
je 0x1400184c2
cmp qword [rax + 0x398], 0
je 0x1400184c2
cmp dword [rdi + 0x4910], 0
jne 0x1400184c2
mov qword [rax + 0x398], rbp
mov qword [rsp + 0xb8], r13
call fcn.14001a8d0
test r15b, r15b
jne 0x1400184dd
test sil, sil
je 0x140018642
mov rax, qword [rdi + 0x48d8]
test rax, rax
je 0x140018642
test dword [rax + 0x14], 0x40000
jne 0x140018642
mov byte [rdi + 0xdd], r12b
cmp dword [rdi + 0x48e0], 0
je 0x140018649
lea r15, [rdi + 0x4916]
cmp byte [r15], 0
jne 0x140018649
lea r13, [rdi + 0x4a40]
movzx eax, r12b
movzx r14d, sil
mov byte [rdi + 0xde], al
call fcn.140019bf0
cmp dword [rdi + 0x48e0], 0
mov qword [rdi + 0x48ec], 0
mov dword [rdi + 0x48e8], ebp
mov dword [rdi + 0x48f4], ebp
je 0x1400187af
lea rbx, [rdi + 0x4916]
cmp byte [rbx], 0
mov r15, rbx
jne 0x1400187af
cmp qword [r13], 0
jne 0x1400187af
mov rax, qword [rdi + 0x48d8]
test rax, rax
je 0x1400187af
test dword [rax + 0x14], 0x40000
jne 0x1400187af
movzx ebp, byte [rsp + 0xf0]
test bpl, bpl
je 0x1400185d2
mov rcx, qword [0x1401f57b0]
mov edx, 0x20c
call fcn.140011100
cmp byte [rax], 0
je 0x1400185d2
mov rcx, qword [0x1401f57b0]
mov edx, 0x20c
call fcn.140002540
cmp byte [rax + 8], 0
je 0x140018608
test sil, sil
je 0x140018669
mov rcx, qword [0x1401f57b0]
mov edx, 0x26e
call fcn.140011100
cmp byte [rax], 0
je 0x140018669
mov rcx, qword [0x1401f57b0]
mov edx, 0x26e
call fcn.140002540
cmp byte [rax + 8], 0
jne 0x140018669
movzx r15d, r12b
test bpl, bpl
je 0x140018624
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.140011950
test al, al
jne 0x14001863c
test sil, sil
je 0x14001866c
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.140011950
test al, al
je 0x14001866c
movzx r14d, r12b
jmp 0x14001866f
mov byte [rdi + 0xdd], 0
lea r13, [rdi + 0x4a40]
cmp qword [r13], 0
lea r15, [rdi + 0x4916]
jne 0x140018526
xor al, al
jmp 0x14001852a
xor r15b, r15b
xor r14b, r14b
test bpl, bpl
je 0x1400186a1
mov rcx, qword [0x1401f57b0]
mov edx, 0x20d
call fcn.140011100
cmp byte [rax], 0
je 0x1400186a1
mov rcx, qword [0x1401f57b0]
mov edx, 0x20d
call fcn.140002540
cmp byte [rax + 8], 0
je 0x1400186d3
test sil, sil
je 0x140018712
mov rcx, qword [0x1401f57b0]
mov edx, 0x26d
call fcn.140011100
cmp byte [rax], 0
je 0x140018712
mov rcx, qword [0x1401f57b0]
mov edx, 0x26d
call fcn.140002540
cmp byte [rax + 8], 0
jne 0x140018712
cmp byte [rsp + 0xf0], 0
movzx ebp, r12b
je 0x1400186f4
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.140011950
test al, al
jne 0x14001870c
test sil, sil
je 0x140018715
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.140011950
test al, al
je 0x140018715
movzx edx, r12b
jmp 0x140018717
xor bpl, bpl
xor dl, dl
mov ecx, dword [rdi + 0x3f58]
test ecx, ecx
jne 0x14001873e
test r14b, r14b
je 0x140018746
mov eax, dword [rdi + 0x48e0]
mov dword [rdi + 0x48e8], eax
mov dword [rdi + 0x48f4], 2
jmp 0x140018746
cmp ecx, dword [rdi + 0x48e0]
jne 0x140018783
test dl, dl
je 0x14001875d
mov eax, dword [rdi + 0x48e0]
mov dword [rdi + 0x48e8], eax
mov dword [rdi + 0x48f4], r12d
test ecx, ecx
je 0x140018769
cmp ecx, dword [rdi + 0x48e0]
jne 0x140018783
test r15b, r15b
jne 0x140018773
test bpl, bpl
je 0x14001877f
mov eax, dword [rdi + 0x48e0]
mov dword [rdi + 0x48ec], eax
test ecx, ecx
je 0x14001878e
mov r15, rbx
cmp ecx, dword [rdi + 0x48e0]
jne 0x1400187a9
test r14b, r14b
jne 0x14001879a
mov r15, rbx
test dl, dl
je 0x1400187a9
mov eax, dword [rdi + 0x48e0]
mov r15, rbx
mov dword [rdi + 0x48f0], eax
movzx r14d, sil
xor ebp, ebp
mov rax, qword [rdi + 0x48d8]
test rax, rax
je 0x1400187c7
test dword [rax + 0x14], 0x40000
je 0x1400187c7
mov byte [r15], r12b
mov eax, dword [rdi + 0x48e8]
test eax, eax
je 0x1400187f3
cmp dword [rdi + 0x48ec], eax
je 0x1400187f3
mov r8d, 0x2c04
lea rdx, str.C:UsersjeffnDesktopimgui_features_shadowsimgui.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 + 0x4904]
test eax, eax
je 0x14001881b
mov dword [rdi + 0x48f0], eax
mov dword [rdi + 0x48ec], eax
mov dword [rdi + 0x48e8], eax
mov eax, dword [rdi + 0x4908]
mov dword [rdi + 0x48f4], eax
mov dword [rdi + 0x4904], ebp
call fcn.140018d90
cmp dword [rdi + 0x4940], 0xffffffff
xorps xmm10, xmm10
jne 0x1400189bd
mov rbx, qword [0x1401f57b0]
cmp dword [rbx + 0x4940], 0xffffffff
mov rbp, qword [rbx + 0x48d8]
je 0x140018868
mov r8d, 0x2cd4
lea rdx, str.C:UsersjeffnDesktopimgui_features_shadowsimgui.cpp
lea rcx, str.g.NavMoveDir__ImGuiDir_None
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rbp, rbp
je 0x1400189bb
cmp qword [rbx + 0x4a40], 0
jne 0x1400189bb
test dword [rbp + 0x14], 0x40000
jne 0x1400189bb
mov rcx, qword [0x1401f57b0]
mov edx, 0x200
call fcn.140011100
cmp byte [rax], 0
je 0x1400189bb
movss xmm0, dword [rax + 4]
comiss xmm10, xmm0
ja 0x1400189bb
ucomiss xmm0, xmm10
jp 0x1400188bd
je 0x1400188e9
mov rax, qword [0x1401f57b0]
movss xmm1, dword [rax + 0x3c]
comiss xmm0, xmm1
jbe 0x1400189bb
movss xmm2, dword [rax + 0x40]
mov ecx, 0x200
call fcn.1400112e0
test eax, eax
jle 0x1400189bb
mov rcx, qword [0x1401f57b0]
cmp byte [rcx + 0x476c], 0
je 0x140018906
cmp dword [rcx + 0x3f58], 0xffffffff
jne 0x1400189bb
mov edx, 0x200
call fcn.140002540
cmp dword [rax], 0xffffffff
jne 0x1400189bb
cmp byte [rbx + 0xe24], 0
jne 0x1400189bb
cmp byte [rbx + 0xe26], 0
jne 0x1400189bb
movzx eax, byte [rbx + 0xe25]
test byte [rbx + 8], r12b
je 0x140018963
test al, al
je 0x14001894c
mov r12d, 0xffffffff
jmp 0x14001897d
cmp byte [rbx + 0x4916], r12b
jne 0x14001897d
cmp dword [rbx + 0x3f58], 0
jne 0x14001897d
xor r12d, r12d
jmp 0x14001897d
test al, al
je 0x14001896f
mov r12d, 0xffffffff
jmp 0x14001897d
xor r12d, r12d
cmp dword [rbx + 0x3f58], r12d
setne r12b
mov dword [rbx + 0x4970], r12d
mov eax, 0x21
cmp byte [rbp + 0xbc], 0
mov r9d, 3
mov r8d, 0x400
cmovne r9d, eax
sar r12d, 0x1f
lea ecx, [rax - 0x22]
lea edx, [r12 + 3]
call fcn.1400178a0
mov dword [rbx + 0x4974], 0xffffffff
xor ebp, ebp
mov rax, qword [0x1401f57b0]
mov r12, qword [rsp + 0xc0]
cmp byte [rax + 0x4931], 0
jne 0x1400189e7
cmp byte [rax + 0x4919], 0
jne 0x1400189e7
mov byte [rax + 0x4918], 0
jmp 0x140018a16
cmp qword [rax + 0x48d8], 0
movzx esi, r14b
mov byte [rax + 0x4918], 1
jne 0x140018a16
mov r8d, 0x2b55
lea rdx, str.C:UsersjeffnDesktopimgui_features_shadowsimgui.cpp
lea rcx, str.g.NavWindow___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
mov r14, qword [rdi + 0x48d8]
mov byte [rdi + 0x4914], 0
test r14, r14
je 0x140018ce4
test dword [r14 + 0x14], 0x40000
jne 0x140018ce4
cmp qword [r13], 0
jne 0x140018ce4
mov rax, qword [r14]
movaps xmmword [rsp + 0x80], xmm8
movaps xmmword [rsp + 0x70], xmm9
movss xmm0, dword [rax + 0x3c24]
mov rax, qword [r14 + 0x368]
mulss xmm0, dword [r14 + 0x290]
test rax, rax
je 0x140018a7d
mulss xmm0, dword [rax + 0x290]
cmp word [r14 + 0x15c], 0
mulss xmm0, dword [0x1400b9504]
mov ecx, dword [rdi + 0x4940]
movss xmm8, dword [0x1400b9468]
mulss xmm0, dword [rdi + 0x18]
addss xmm0, dword [0x1400b942c]
cvttss2si eax, xmm0
movd xmm9, eax
cvtdq2ps xmm9, xmm9
jne 0x140018b5c
cmp byte [r14 + 0x161], 0
je 0x140018b5c
cmp ecx, 0xffffffff
je 0x140018b5c
movss xmm1, dword [0x1400b957c]
test ecx, ecx
je 0x140018aeb
cmp ecx, 1
jne 0x140018b1e
movaps xmm0, xmm8
jmp 0x140018aee
movaps xmm0, xmm1
mulss xmm0, xmm9
mov dword [r14 + 0x9c], ebp
mov dword [r14 + 0xa4], ebp
addss xmm0, dword [r14 + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r14 + 0x94], xmm0
cmp ecx, 2
je 0x140018b2c
cmp ecx, 3
jne 0x140018b5c
movaps xmm1, xmm8
mulss xmm1, xmm9
mov dword [r14 + 0xa0], ebp
mov dword [r14 + 0xa8], ebp
addss xmm1, dword [r14 + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r14 + 0x98], xmm0
test sil, sil
je 0x140018cd5
mov rcx, qword [0x1401f57b0]
mov edx, 0x27c
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm7
call fcn.140011100
mov rcx, qword [0x1401f57b0]
mov edx, 0x27b
mov rbx, rax
call fcn.140011100
movss xmm6, dword [rbx + 0xc]
mov edx, 0x27a
mov rcx, qword [0x1401f57b0]
subss xmm6, dword [rax + 0xc]
call fcn.140011100
mov rcx, qword [0x1401f57b0]
mov edx, 0x279
mov rbx, rax
call fcn.140011100
movss xmm7, dword [rbx + 0xc]
mov edx, 0x273
mov rcx, qword [0x1401f57b0]
subss xmm7, dword [rax + 0xc]
call fcn.140011100
cmp byte [rax], 0
je 0x140018c0b
mov rcx, qword [0x1401f57b0]
mov edx, 0x273
call fcn.140002540
cmp byte [rax + 8], 0
jne 0x140018c0b
movss xmm8, dword [0x1400b9400]
jmp 0x140018c41
mov rcx, qword [0x1401f57b0]
mov edx, 0x274
call fcn.140011100
cmp byte [rax], 0
je 0x140018c41
mov rcx, qword [0x1401f57b0]
mov edx, 0x274
call fcn.140002540
cmp byte [rax + 8], 0
jne 0x140018c41
movss xmm8, dword [0x1400b94bc]
ucomiss xmm7, xmm10
jp 0x140018c49
je 0x140018c88
cmp byte [r14 + 0xb4], 0
je 0x140018c88
mulss xmm7, xmm9
mov dword [r14 + 0x9c], ebp
mov dword [r14 + 0xa4], ebp
mulss xmm7, xmm8
addss xmm7, dword [r14 + 0x84]
cvttss2si eax, xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r14 + 0x94], xmm0
ucomiss xmm6, xmm10
movaps xmm7, xmmword [rsp + 0x90]
jp 0x140018c98
je 0x140018ccd
mulss xmm6, xmm9
mov dword [r14 + 0xa0], ebp
mov dword [r14 + 0xa8], ebp
mulss xmm6, xmm8
addss xmm6, dword [r14 + 0x88]
cvttss2si eax, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r14 + 0x98], xmm0
movaps xmm6, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm9, xmmword [rsp + 0x70]
cmp byte [rsp + 0xf0], 0
movaps xmm10, xmmword [rsp + 0x60]
mov r14, qword [rsp + 0xb0]
mov r13, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0x108]
jne 0x140018d1e
test sil, sil
jne 0x140018d1e
mov byte [r15], 1
mov byte [rdi + 0x4917], sil
jmp 0x140018d71
cmp byte [rsp + 0x100], 0
je 0x140018d71
test byte [rdi + 8], 4
je 0x140018d71
test byte [rdi + 0xc], 4
je 0x140018d71
lea rcx, [rsp + 0xf0]
call fcn.140017e80
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x36f0], xmm0
movss dword [rdi + 0x36f4], xmm1
movss dword [rdi + 0xe08], xmm0
movss dword [rdi + 0xe0c], xmm1
mov byte [rdi + 0xdb], 1
mov dword [rdi + 0x496c], ebp
add rsp, 0xc8
pop r15
pop rdi
pop rsi
pop rbp
ret