Function at 0x140022a40
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 [0x1401b4888]
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 + 0xd5], 0
je 0x140022b29
test byte [rdi + 0xc], 1
je 0x140022b29
movdqa xmm0, xmmword [0x1400f93a0]
lea r14, [rsp + 0x40]
movdqa xmm1, xmmword [0x1400f93b0]
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 [0x1401b4888]
call fcn.14001bd40
cmp byte [rax], 0
je 0x140022b19
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x140022afb
cmp ebx, 0x1000
je 0x140022afb
cmp ebx, 0x2000
je 0x140022afb
cmp ebx, 0x4000
je 0x140022afb
cmp ebx, 0x8000
je 0x140022afb
cmp ebx, 0x800
jne 0x140022b0f
mov rcx, qword [0x1401b4888]
mov edx, ebx
call fcn.14000d1f0
cmp byte [rax + 8], 0
jne 0x140022b19
mov dword [rdi + 0x4904], 3
add r14, 4
lea rax, [rsp + 0x60]
cmp r14, rax
jne 0x140022ab0
jmp 0x140022b2c
xor sil, sil
movzx ebp, byte [rdi + 8]
movdqa xmm0, xmmword [0x1400f9390]
and bpl, 1
mov byte [rsp + 0xf8], bpl
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x201
mov dword [rsp + 0x34], 0x203
mov dword [rsp + 0x38], 0x204
je 0x140022be7
lea r14, [rsp + 0x20]
nop dword [rax]
mov ebx, dword [r14]
mov edx, ebx
mov rcx, qword [0x1401b4888]
call fcn.14001bd40
cmp byte [rax], 0
je 0x140022bd9
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x140022bbb
cmp ebx, 0x1000
je 0x140022bbb
cmp ebx, 0x2000
je 0x140022bbb
cmp ebx, 0x4000
je 0x140022bbb
cmp ebx, 0x8000
je 0x140022bbb
cmp ebx, 0x800
jne 0x140022bcf
mov rcx, qword [0x1401b4888]
mov edx, ebx
call fcn.14000d1f0
cmp byte [rax + 8], 0
jne 0x140022bd9
mov dword [rdi + 0x4904], 2
add r14, 4
lea rax, [rsp + 0x3c]
cmp r14, rax
jne 0x140022b70
xor r15d, r15d
mov dword [rdi + 0x48f0], r15d
cmp dword [rdi + 0x4920], r15d
je 0x140022ca2
mov rbx, qword [0x1401b4888]
mov r9, qword [rbx + 0x48d0]
test r9, r9
je 0x140022ca2
mov edx, dword [rbx + 0x4920]
cmp dword [rbx + 0x48d8], edx
je 0x140022c3c
mov dword [rbx + 0x48f0], edx
mov eax, dword [rbx + 0x4924]
mov dword [rbx + 0x48f4], eax
mov dword [rbx + 0x48f8], r15d
test byte [rbx + 0x5cec], 8
je 0x140022c5c
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [rbx + 0x4908]
call fcn.1400277d0
mov r8d, dword [rbx + 0x4924]
lea r9, [rbx + 0x4928]
mov edx, dword [rbx + 0x4908]
mov ecx, dword [rbx + 0x4920]
call fcn.140021320
mov byte [rbx + 0x490c], 1
cmp byte [rbx + 0x4912], r15b
je 0x140022ca2
mov rax, qword [0x1401b4888]
mov word [rax + 0x490d], 1
mov byte [rax + 0x490f], 1
mov word [rdi + 0x4911], r15w
mov dword [rdi + 0x4920], r15d
cmp byte [rdi + 0x4948], r15b
je 0x140022cbf
call fcn.140024300
xor al, al
mov dword [rdi + 0x498c], r15d
mov r12d, 1
mov word [rdi + 0x4948], r15w
mov dword [rsp + 0x100], eax
cmp byte [rdi + 0x490d], r15b
je 0x140022d16
cmp byte [rdi + 0x490c], r15b
je 0x140022d16
cmp byte [rdi + 0x490e], r15b
jne 0x140022d16
cmp byte [rdi + 0x490f], r15b
je 0x140022d16
cmp qword [rdi + 0x48d0], r15
movzx eax, al
cmovne eax, r12d
mov dword [rsp + 0x100], eax
mov byte [rdi + 0x490d], r15b
cmp dword [rdi + 0x4908], r12d
jbe 0x140022d40
mov r8d, 0x2c9a
lea rdx, str.C:Users_tayeaOneDriveDesktopimgui_masterimgui.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 + 0x48d0]
test rcx, rcx
je 0x140022d7c
mov rax, rcx
nop
cmp qword [rax + 0x378], rax
je 0x140022d70
test dword [rax + 0x14], 0x14000000
jne 0x140022d70
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140022d50
jmp 0x140022d7c
cmp rax, rcx
je 0x140022d7c
mov qword [rax + 0x398], rcx
mov rax, qword [rdi + 0x48d0]
test rax, rax
je 0x140022da1
cmp qword [rax + 0x398], r15
je 0x140022da1
cmp dword [rdi + 0x4908], r15d
jne 0x140022da1
mov qword [rax + 0x398], r15
mov qword [rsp + 0xb8], r13
call fcn.140025470
test bpl, bpl
jne 0x140022dbc
test sil, sil
je 0x140022f14
mov rax, qword [rdi + 0x48d0]
test rax, rax
je 0x140022f14
test dword [rax + 0x14], 0x40000
jne 0x140022f14
mov byte [rdi + 0xd7], r12b
cmp dword [rdi + 0x48d8], r15d
je 0x140022f1b
lea r15, [rdi + 0x490e]
cmp byte [r15], 0
jne 0x140022f1b
lea r13, [rdi + 0x4a58]
movzx eax, r12b
movzx r14d, sil
mov byte [rdi + 0xd8], al
call fcn.1400247a0
xor eax, eax
mov qword [rdi + 0x48e4], rax
mov dword [rdi + 0x48e0], eax
mov dword [rdi + 0x48ec], eax
cmp dword [rdi + 0x48d8], eax
je 0x14002307f
lea rbx, [rdi + 0x490e]
mov r15, rbx
cmp byte [rbx], al
jne 0x14002307f
cmp qword [r13], rax
jne 0x14002307f
mov rax, qword [rdi + 0x48d0]
test rax, rax
je 0x14002307f
test dword [rax + 0x14], 0x40000
jne 0x14002307f
test bpl, bpl
je 0x140022ea4
mov rcx, qword [0x1401b4888]
mov edx, 0x20c
call fcn.14001bd40
cmp byte [rax], 0
je 0x140022ea4
mov rcx, qword [0x1401b4888]
mov edx, 0x20c
call fcn.14000d1f0
cmp byte [rax + 8], 0
je 0x140022eda
test sil, sil
je 0x140022f3b
mov rcx, qword [0x1401b4888]
mov edx, 0x26e
call fcn.14001bd40
cmp byte [rax], 0
je 0x140022f3b
mov rcx, qword [0x1401b4888]
mov edx, 0x26e
call fcn.14000d1f0
cmp byte [rax + 8], 0
jne 0x140022f3b
movzx r15d, r12b
test bpl, bpl
je 0x140022ef6
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.14001c590
test al, al
jne 0x140022f0e
test sil, sil
je 0x140022f3e
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.14001c590
test al, al
je 0x140022f3e
movzx r14d, r12b
jmp 0x140022f41
mov byte [rdi + 0xd7], r15b
lea r13, [rdi + 0x4a58]
cmp qword [r13], 0
lea r15, [rdi + 0x490e]
jne 0x140022e05
xor al, al
jmp 0x140022e09
xor r15b, r15b
xor r14b, r14b
test bpl, bpl
je 0x140022f73
mov rcx, qword [0x1401b4888]
mov edx, 0x20d
call fcn.14001bd40
cmp byte [rax], 0
je 0x140022f73
mov rcx, qword [0x1401b4888]
mov edx, 0x20d
call fcn.14000d1f0
cmp byte [rax + 8], 0
je 0x140022fa5
test sil, sil
je 0x140022fe4
mov rcx, qword [0x1401b4888]
mov edx, 0x26d
call fcn.14001bd40
cmp byte [rax], 0
je 0x140022fe4
mov rcx, qword [0x1401b4888]
mov edx, 0x26d
call fcn.14000d1f0
cmp byte [rax + 8], 0
jne 0x140022fe4
cmp byte [rsp + 0xf8], 0
movzx ebp, r12b
je 0x140022fc6
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.14001c590
test al, al
jne 0x140022fde
test sil, sil
je 0x140022fe7
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.14001c590
test al, al
je 0x140022fe7
movzx edx, r12b
jmp 0x140022fe9
xor bpl, bpl
xor dl, dl
mov ecx, dword [rdi + 0x3f38]
test ecx, ecx
jne 0x140023010
test r14b, r14b
je 0x140023018
mov eax, dword [rdi + 0x48d8]
mov dword [rdi + 0x48e0], eax
mov dword [rdi + 0x48ec], 2
jmp 0x140023018
cmp ecx, dword [rdi + 0x48d8]
jne 0x140023055
test dl, dl
je 0x14002302f
mov eax, dword [rdi + 0x48d8]
mov dword [rdi + 0x48e0], eax
mov dword [rdi + 0x48ec], r12d
test ecx, ecx
je 0x14002303b
cmp ecx, dword [rdi + 0x48d8]
jne 0x140023055
test r15b, r15b
jne 0x140023045
test bpl, bpl
je 0x140023051
mov eax, dword [rdi + 0x48d8]
mov dword [rdi + 0x48e4], eax
test ecx, ecx
je 0x140023060
mov r15, rbx
cmp ecx, dword [rdi + 0x48d8]
jne 0x14002307b
test r14b, r14b
jne 0x14002306c
mov r15, rbx
test dl, dl
je 0x14002307b
mov eax, dword [rdi + 0x48d8]
mov r15, rbx
mov dword [rdi + 0x48e8], eax
movzx r14d, sil
mov rax, qword [rdi + 0x48d0]
test rax, rax
je 0x140023097
test dword [rax + 0x14], 0x40000
je 0x140023097
mov byte [r15], r12b
mov eax, dword [rdi + 0x48e0]
test eax, eax
je 0x1400230c3
cmp dword [rdi + 0x48e4], eax
je 0x1400230c3
mov r8d, 0x2cc7
lea rdx, str.C:Users_tayeaOneDriveDesktopimgui_masterimgui.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 + 0x48fc]
test eax, eax
je 0x1400230eb
mov dword [rdi + 0x48e8], eax
mov dword [rdi + 0x48e4], eax
mov dword [rdi + 0x48e0], eax
mov eax, dword [rdi + 0x4900]
mov dword [rdi + 0x48ec], eax
xor ebp, ebp
mov dword [rdi + 0x48fc], ebp
call fcn.140023660
cmp dword [rdi + 0x4958], 0xffffffff
xorps xmm10, xmm10
jne 0x140023292
mov rbx, qword [0x1401b4888]
cmp dword [rbx + 0x4958], 0xffffffff
mov rbp, qword [rbx + 0x48d0]
je 0x14002313a
mov r8d, 0x2dba
lea rdx, str.C:Users_tayeaOneDriveDesktopimgui_masterimgui.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 0x140023290
cmp qword [rbx + 0x4a58], 0
jne 0x140023290
test dword [rbp + 0x14], 0x40000
jne 0x140023290
mov rcx, qword [0x1401b4888]
mov edx, 0x200
call fcn.14001bd40
cmp byte [rax], 0
je 0x140023290
movss xmm0, dword [rax + 4]
comiss xmm10, xmm0
ja 0x140023290
ucomiss xmm0, xmm10
jp 0x14002318f
je 0x1400231bb
mov rax, qword [0x1401b4888]
movss xmm1, dword [rax + 0x70]
comiss xmm0, xmm1
jbe 0x140023290
movss xmm2, dword [rax + 0x74]
mov ecx, 0x200
call fcn.14001bf20
test eax, eax
jle 0x140023290
mov rcx, qword [0x1401b4888]
cmp byte [rcx + 0x474c], 0
je 0x1400231d8
cmp dword [rcx + 0x3f38], 0xffffffff
jne 0x140023290
mov edx, 0x200
call fcn.14000d1f0
cmp dword [rax], 0xffffffff
jne 0x140023290
cmp byte [rbx + 0xe1c], 0
jne 0x140023290
cmp byte [rbx + 0xe1e], 0
jne 0x140023290
movzx eax, byte [rbx + 0xe1d]
test byte [rbx + 8], r12b
je 0x140023237
test al, al
je 0x14002321e
mov r12d, 0xffffffff
jmp 0x140023252
cmp byte [rbx + 0x490e], r12b
jne 0x140023252
cmp dword [rbx + 0x3f38], 0
jne 0x140023252
xor eax, eax
mov r12d, eax
jmp 0x140023252
test al, al
je 0x140023243
mov r12d, 0xffffffff
jmp 0x140023252
xor eax, eax
cmp dword [rbx + 0x3f38], eax
mov r12d, eax
setne r12b
mov dword [rbx + 0x4988], r12d
mov eax, reloc.WLDAP32.dll_Ordinal_33
cmp byte [rbp + 0xbc], 0
mov r9d, 3
mov r8d, 0x1400
cmovne r9d, eax
sar r12d, 0x1f
lea ecx, [rax - 0x22]
lea edx, [r12 + 3]
call fcn.1400221e0
mov dword [rbx + 0x498c], 0xffffffff
xor ebp, ebp
mov rax, qword [0x1401b4888]
mov r12, qword [rsp + 0xc0]
cmp byte [rax + 0x4949], 0
jne 0x1400232bc
cmp byte [rax + 0x4911], 0
jne 0x1400232bc
mov byte [rax + 0x4910], 0
jmp 0x1400232eb
cmp qword [rax + 0x48d0], 0
movzx esi, r14b
mov byte [rax + 0x4910], 1
jne 0x1400232eb
mov r8d, 0x2c19
lea rdx, str.C:Users_tayeaOneDriveDesktopimgui_masterimgui.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 + 0x48d0]
mov byte [rdi + 0x490c], 0
test r14, r14
je 0x1400235b9
test dword [r14 + 0x14], 0x40000
jne 0x1400235b9
cmp qword [r13], 0
jne 0x1400235b9
mov rax, qword [r14]
movaps xmmword [rsp + 0x80], xmm8
movaps xmmword [rsp + 0x70], xmm9
movss xmm0, dword [rax + 0x3c14]
mov rax, qword [r14 + 0x368]
mulss xmm0, dword [r14 + 0x290]
test rax, rax
je 0x140023352
mulss xmm0, dword [rax + 0x290]
cmp word [r14 + 0x15c], 0
mulss xmm0, dword [0x1400f920c]
mov ecx, dword [rdi + 0x4958]
movss xmm8, dword [0x1400f9198]
mulss xmm0, dword [rdi + 0x18]
addss xmm0, dword [0x1400f9160]
cvttss2si eax, xmm0
movd xmm9, eax
cvtdq2ps xmm9, xmm9
jne 0x140023431
cmp byte [r14 + 0x162], 0
je 0x140023431
cmp ecx, 0xffffffff
je 0x140023431
movss xmm1, dword [0x1400f9260]
test ecx, ecx
je 0x1400233c0
cmp ecx, 1
jne 0x1400233f3
movaps xmm0, xmm8
jmp 0x1400233c3
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 0x140023401
cmp ecx, 3
jne 0x140023431
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 0x1400235aa
mov rcx, qword [0x1401b4888]
mov edx, 0x27c
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm7
call fcn.14001bd40
mov rcx, qword [0x1401b4888]
mov edx, 0x27b
mov rbx, rax
call fcn.14001bd40
movss xmm6, dword [rbx + 0xc]
mov edx, 0x27a
mov rcx, qword [0x1401b4888]
subss xmm6, dword [rax + 0xc]
call fcn.14001bd40
mov rcx, qword [0x1401b4888]
mov edx, 0x279
mov rbx, rax
call fcn.14001bd40
movss xmm7, dword [rbx + 0xc]
mov edx, 0x273
mov rcx, qword [0x1401b4888]
subss xmm7, dword [rax + 0xc]
call fcn.14001bd40
cmp byte [rax], 0
je 0x1400234e0
mov rcx, qword [0x1401b4888]
mov edx, 0x273
call fcn.14000d1f0
cmp byte [rax + 8], 0
jne 0x1400234e0
movss xmm8, dword [0x1400f9140]
jmp 0x140023516
mov rcx, qword [0x1401b4888]
mov edx, 0x274
call fcn.14001bd40
cmp byte [rax], 0
je 0x140023516
mov rcx, qword [0x1401b4888]
mov edx, 0x274
call fcn.14000d1f0
cmp byte [rax + 8], 0
jne 0x140023516
movss xmm8, dword [0x1400f91dc]
ucomiss xmm7, xmm10
jp 0x14002351e
je 0x14002355d
cmp byte [r14 + 0xb4], 0
je 0x14002355d
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 0x14002356d
je 0x1400235a2
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 + 0xf8], 0
movaps xmm10, xmmword [rsp + 0x60]
mov r14, qword [rsp + 0xb0]
mov r13, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0x108]
jne 0x1400235f3
test sil, sil
jne 0x1400235f3
mov byte [r15], 1
mov byte [rdi + 0x490f], sil
jmp 0x140023646
cmp byte [rsp + 0x100], 0
je 0x140023646
test byte [rdi + 8], 4
je 0x140023646
test byte [rdi + 0xc], 4
je 0x140023646
lea rcx, [rsp + 0xf0]
call fcn.1400227c0
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x36e8], xmm0
movss dword [rdi + 0x36ec], xmm1
movss dword [rdi + 0xe00], xmm0
movss dword [rdi + 0xe04], xmm1
mov byte [rdi + 0xd5], 1
mov dword [rdi + 0x4984], ebp
add rsp, 0xc8
pop r15
pop rdi
pop rsi
pop rbp
ret