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

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
push r15
sub rsp, 0xd8
mov rax, qword [0x1800c53c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, qword [0x180118918]
mov r15d, 3
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], r12
mov qword [r11 - 0x28], r14
test byte [rdi + 8], 2
movaps xmmword [r11 - 0x78], xmm10
mov byte [rdi + 0xdb], 0
je 0x180021f26
test byte [rdi + 0xc], 1
je 0x180021f26
movdqa xmm0, xmmword [0x1800b91a0]
lea r14, [rsp + 0x50]
movdqa xmm1, xmmword [0x1800b91b0]
mov sil, 1
movdqu xmmword [rsp + 0x50], xmm0
movdqu xmmword [rsp + 0x60], xmm1
nop dword [rax + rax]
mov ebx, dword [r14]
mov edx, ebx
mov rcx, qword [0x180118918]
call fcn.18001a550
cmp byte [rax], 0
je 0x180021f16
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x180021efb
cmp ebx, 0x1000
je 0x180021efb
cmp ebx, 0x2000
je 0x180021efb
cmp ebx, 0x4000
je 0x180021efb
cmp ebx, 0x8000
je 0x180021efb
cmp ebx, 0x800
jne 0x180021f0f
mov rcx, qword [0x180118918]
mov edx, ebx
call fcn.18000a490
cmp byte [rax + 8], 0
jne 0x180021f16
mov dword [rdi + 0x48f4], r15d
add r14, 4
lea rax, [rsp + 0x70]
cmp r14, rax
jne 0x180021eb0
jmp 0x180021f29
xor sil, sil
movzx r15d, byte [rdi + 8]
movdqa xmm0, xmmword [0x1800b9190]
and r15b, 1
mov byte [rsp + 0x20], r15b
movdqu xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x40], 0x201
mov dword [rsp + 0x44], 0x203
mov dword [rsp + 0x48], 0x204
je 0x180021fe7
lea r14, [rsp + 0x30]
nop dword [rax + rax]
mov ebx, dword [r14]
mov edx, ebx
mov rcx, qword [0x180118918]
call fcn.18001a550
cmp byte [rax], 0
je 0x180021fd9
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x180021fbb
cmp ebx, 0x1000
je 0x180021fbb
cmp ebx, 0x2000
je 0x180021fbb
cmp ebx, 0x4000
je 0x180021fbb
cmp ebx, 0x8000
je 0x180021fbb
cmp ebx, 0x800
jne 0x180021fcf
mov rcx, qword [0x180118918]
mov edx, ebx
call fcn.18000a490
cmp byte [rax + 8], 0
jne 0x180021fd9
mov dword [rdi + 0x48f4], 2
add r14, 4
lea rax, [rsp + 0x4c]
cmp r14, rax
jne 0x180021f70
xor ebp, ebp
cmp dword [rdi + 0x4904], ebp
je 0x1800220fd
mov rbx, qword [0x180118918]
mov r9, qword [rbx + 0x48c0]
test r9, r9
je 0x1800220fd
test byte [rbx + 0x5cac], 8
je 0x180022032
mov r9, qword [r9 + 8]
lea rcx, str._nav__NavInitRequest:_ApplyResult:_NavID_0x_08X_in_Layer__d_Window___s__n
mov r8d, dword [rbx + 0x48f8]
mov edx, dword [rbx + 0x4904]
call fcn.1800270c0
mov rbp, qword [0x180118918]
movsxd r14, dword [rbx + 0x48f8]
mov r15d, dword [rbx + 0x4904]
cmp qword [rbp + 0x48c0], 0
jne 0x18002206b
mov r8d, 0x2976
lea rdx, str.D:ProjectsScropts_QOL_v3ImGui_DirectX_11_Kiero_Hookimguiimgui.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 0x18002208b
mov r8d, 0x2977
lea rdx, str.D:ProjectsScropts_QOL_v3ImGui_DirectX_11_Kiero_Hookimguiimgui.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 + 0x48c0]
mov rcx, r14
mov dword [rbp + 0x48c8], r15d
add rcx, rcx
mov dword [rbp + 0x48f8], r14d
mov dword [rbp + 0x48cc], 0
mov dword [rax + r14*4 + 0x3a0], r15d
mov rax, qword [rbp + 0x48c0]
xor ebp, ebp
movups xmm0, xmmword [rbx + 0x4908]
movzx r15d, byte [rsp + 0x20]
movups xmmword [rax + rcx*8 + 0x3a8], xmm0
mov byte [rbx + 0x48fc], 1
cmp byte [rbx + 0x4902], bpl
je 0x1800220fd
mov rax, qword [0x180118918]
mov word [rax + 0x48fd], 1
mov byte [rax + 0x48ff], 1
cmp byte [rdi + 0x4918], 0
mov word [rdi + 0x4901], 0
mov dword [rdi + 0x4904], ebp
mov dword [rdi + 0x48e0], ebp
je 0x180022120
call fcn.180023630
xor al, al
mov dword [rdi + 0x495c], ebp
mov r12d, 1
mov word [rdi + 0x4918], 0
mov dword [rsp + 0x24], eax
cmp byte [rdi + 0x48fd], al
je 0x18002216e
cmp byte [rdi + 0x48fc], al
je 0x18002216e
cmp byte [rdi + 0x48fe], al
jne 0x18002216e
cmp byte [rdi + 0x48ff], al
je 0x18002216e
cmp qword [rdi + 0x48c0], 0
movzx eax, al
cmovne eax, r12d
mov dword [rsp + 0x24], eax
mov byte [rdi + 0x48fd], 0
cmp dword [rdi + 0x48f8], r12d
jbe 0x180022198
mov r8d, 0x2bc1
lea rdx, str.D:ProjectsScropts_QOL_v3ImGui_DirectX_11_Kiero_Hookimguiimgui.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 + 0x48c0]
test rcx, rcx
je 0x1800221d3
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x1800221c7
test dword [rax + 0x14], 0x14000000
jne 0x1800221c7
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x1800221a7
jmp 0x1800221d3
cmp rax, rcx
je 0x1800221d3
mov qword [rax + 0x398], rcx
mov rax, qword [rdi + 0x48c0]
test rax, rax
je 0x1800221f9
cmp qword [rax + 0x398], 0
je 0x1800221f9
cmp dword [rdi + 0x48f8], 0
jne 0x1800221f9
mov qword [rax + 0x398], rbp
mov qword [rsp + 0x110], r13
call fcn.180024530
test r15b, r15b
jne 0x180022214
test sil, sil
je 0x180022376
mov rax, qword [rdi + 0x48c0]
test rax, rax
je 0x180022376
test dword [rax + 0x14], 0x40000
jne 0x180022376
mov byte [rdi + 0xdd], r12b
cmp dword [rdi + 0x48c8], 0
je 0x18002237d
lea r15, [rdi + 0x48fe]
cmp byte [r15], 0
jne 0x18002237d
lea r13, [rdi + 0x4a28]
movzx eax, r12b
movzx r14d, sil
mov byte [rdi + 0xde], al
call fcn.180023950
cmp dword [rdi + 0x48c8], 0
mov qword [rdi + 0x48d4], 0
mov dword [rdi + 0x48d0], ebp
mov dword [rdi + 0x48dc], ebp
je 0x1800224e0
lea rbx, [rdi + 0x48fe]
cmp byte [rbx], 0
mov r15, rbx
jne 0x1800224e0
cmp qword [r13], 0
jne 0x1800224e0
mov rax, qword [rdi + 0x48c0]
test rax, rax
je 0x1800224e0
test dword [rax + 0x14], 0x40000
jne 0x1800224e0
movzx ebp, byte [rsp + 0x20]
test bpl, bpl
je 0x180022306
mov rcx, qword [0x180118918]
mov edx, 0x20c
call fcn.18001a550
cmp byte [rax], 0
je 0x180022306
mov rcx, qword [0x180118918]
mov edx, 0x20c
call fcn.18000a490
cmp byte [rax + 8], 0
je 0x18002233c
test sil, sil
je 0x18002239d
mov rcx, qword [0x180118918]
mov edx, 0x26e
call fcn.18001a550
cmp byte [rax], 0
je 0x18002239d
mov rcx, qword [0x180118918]
mov edx, 0x26e
call fcn.18000a490
cmp byte [rax + 8], 0
jne 0x18002239d
movzx r15d, r12b
test bpl, bpl
je 0x180022358
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.18001ae20
test al, al
jne 0x180022370
test sil, sil
je 0x1800223a0
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.18001ae20
test al, al
je 0x1800223a0
movzx r14d, r12b
jmp 0x1800223a3
mov byte [rdi + 0xdd], 0
lea r13, [rdi + 0x4a28]
cmp qword [r13], 0
lea r15, [rdi + 0x48fe]
jne 0x18002225d
xor al, al
jmp 0x180022261
xor r15b, r15b
xor r14b, r14b
test bpl, bpl
je 0x1800223d5
mov rcx, qword [0x180118918]
mov edx, 0x20d
call fcn.18001a550
cmp byte [rax], 0
je 0x1800223d5
mov rcx, qword [0x180118918]
mov edx, 0x20d
call fcn.18000a490
cmp byte [rax + 8], 0
je 0x180022407
test sil, sil
je 0x180022443
mov rcx, qword [0x180118918]
mov edx, 0x26d
call fcn.18001a550
cmp byte [rax], 0
je 0x180022443
mov rcx, qword [0x180118918]
mov edx, 0x26d
call fcn.18000a490
cmp byte [rax + 8], 0
jne 0x180022443
cmp byte [rsp + 0x20], 0
movzx ebp, r12b
je 0x180022425
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.18001ae20
test al, al
jne 0x18002243d
test sil, sil
je 0x180022446
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.18001ae20
test al, al
je 0x180022446
movzx edx, r12b
jmp 0x180022448
xor bpl, bpl
xor dl, dl
mov ecx, dword [rdi + 0x3f40]
test ecx, ecx
jne 0x18002246f
test r14b, r14b
je 0x180022477
mov eax, dword [rdi + 0x48c8]
mov dword [rdi + 0x48d0], eax
mov dword [rdi + 0x48dc], 2
jmp 0x180022477
cmp ecx, dword [rdi + 0x48c8]
jne 0x1800224b4
test dl, dl
je 0x18002248e
mov eax, dword [rdi + 0x48c8]
mov dword [rdi + 0x48d0], eax
mov dword [rdi + 0x48dc], r12d
test ecx, ecx
je 0x18002249a
cmp ecx, dword [rdi + 0x48c8]
jne 0x1800224b4
test r15b, r15b
jne 0x1800224a4
test bpl, bpl
je 0x1800224b0
mov eax, dword [rdi + 0x48c8]
mov dword [rdi + 0x48d4], eax
test ecx, ecx
je 0x1800224bf
mov r15, rbx
cmp ecx, dword [rdi + 0x48c8]
jne 0x1800224da
test r14b, r14b
jne 0x1800224cb
mov r15, rbx
test dl, dl
je 0x1800224da
mov eax, dword [rdi + 0x48c8]
mov r15, rbx
mov dword [rdi + 0x48d8], eax
movzx r14d, sil
xor ebp, ebp
mov rax, qword [rdi + 0x48c0]
test rax, rax
je 0x1800224f8
test dword [rax + 0x14], 0x40000
je 0x1800224f8
mov byte [r15], r12b
mov eax, dword [rdi + 0x48d0]
test eax, eax
je 0x180022524
cmp dword [rdi + 0x48d4], eax
je 0x180022524
mov r8d, 0x2bee
lea rdx, str.D:ProjectsScropts_QOL_v3ImGui_DirectX_11_Kiero_Hookimguiimgui.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 + 0x48ec]
test eax, eax
je 0x18002254c
mov dword [rdi + 0x48d8], eax
mov dword [rdi + 0x48d4], eax
mov dword [rdi + 0x48d0], eax
mov eax, dword [rdi + 0x48f0]
mov dword [rdi + 0x48dc], eax
mov dword [rdi + 0x48ec], ebp
call fcn.180022ad0
cmp dword [rdi + 0x4928], 0xffffffff
xorps xmm10, xmm10
jne 0x1800226ee
mov rbx, qword [0x180118918]
cmp dword [rbx + 0x4928], 0xffffffff
mov rbp, qword [rbx + 0x48c0]
je 0x180022599
mov r8d, 0x2cbe
lea rdx, str.D:ProjectsScropts_QOL_v3ImGui_DirectX_11_Kiero_Hookimguiimgui.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 0x1800226ec
cmp qword [rbx + 0x4a28], 0
jne 0x1800226ec
test dword [rbp + 0x14], 0x40000
jne 0x1800226ec
mov rcx, qword [0x180118918]
mov edx, 0x200
call fcn.18001a550
cmp byte [rax], 0
je 0x1800226ec
movss xmm0, dword [rax + 4]
comiss xmm10, xmm0
ja 0x1800226ec
ucomiss xmm0, xmm10
jp 0x1800225ee
je 0x18002261a
mov rax, qword [0x180118918]
movss xmm1, dword [rax + 0x3c]
comiss xmm0, xmm1
jbe 0x1800226ec
movss xmm2, dword [rax + 0x40]
mov ecx, 0x200
call fcn.18001a730
test eax, eax
jle 0x1800226ec
mov rcx, qword [0x180118918]
cmp byte [rcx + 0x4754], 0
je 0x180022637
cmp dword [rcx + 0x3f40], 0xffffffff
jne 0x1800226ec
mov edx, 0x200
call fcn.18000a490
cmp dword [rax], 0xffffffff
jne 0x1800226ec
cmp byte [rbx + 0xe24], 0
jne 0x1800226ec
cmp byte [rbx + 0xe26], 0
jne 0x1800226ec
movzx eax, byte [rbx + 0xe25]
test byte [rbx + 8], r12b
je 0x180022694
test al, al
je 0x18002267d
mov r12d, 0xffffffff
jmp 0x1800226ae
cmp byte [rbx + 0x48fe], r12b
jne 0x1800226ae
cmp dword [rbx + 0x3f40], 0
jne 0x1800226ae
xor r12d, r12d
jmp 0x1800226ae
test al, al
je 0x1800226a0
mov r12d, 0xffffffff
jmp 0x1800226ae
xor r12d, r12d
cmp dword [rbx + 0x3f40], r12d
setne r12b
mov dword [rbx + 0x4958], 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.1800214a0
mov dword [rbx + 0x495c], 0xffffffff
xor ebp, ebp
mov rax, qword [0x180118918]
mov r12, qword [rsp + 0x108]
cmp byte [rax + 0x4919], 0
jne 0x180022718
cmp byte [rax + 0x4901], 0
jne 0x180022718
mov byte [rax + 0x4900], 0
jmp 0x180022747
cmp qword [rax + 0x48c0], 0
movzx esi, r14b
mov byte [rax + 0x4900], 1
jne 0x180022747
mov r8d, 0x2b3f
lea rdx, str.D:ProjectsScropts_QOL_v3ImGui_DirectX_11_Kiero_Hookimguiimgui.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 + 0x48c0]
mov byte [rdi + 0x48fc], 0
test r14, r14
je 0x180022a1b
test dword [r14 + 0x14], 0x40000
jne 0x180022a1b
cmp qword [r13], 0
jne 0x180022a1b
mov rax, qword [r14]
movaps xmmword [rsp + 0xa0], xmm8
movaps xmmword [rsp + 0x90], xmm9
movss xmm0, dword [rax + 0x3c1c]
mov rax, qword [r14 + 0x368]
mulss xmm0, dword [r14 + 0x290]
test rax, rax
je 0x1800227b1
mulss xmm0, dword [rax + 0x290]
cmp word [r14 + 0x15c], 0
mulss xmm0, dword [0x1800b9068]
mov ecx, dword [rdi + 0x4928]
movss xmm8, dword [0x1800b8fe4]
mulss xmm0, dword [rdi + 0x18]
addss xmm0, dword [0x1800b8fa4]
cvttss2si eax, xmm0
movd xmm9, eax
cvtdq2ps xmm9, xmm9
jne 0x180022890
cmp byte [r14 + 0x161], 0
je 0x180022890
cmp ecx, 0xffffffff
je 0x180022890
movss xmm1, dword [0x1800b90e8]
test ecx, ecx
je 0x18002281f
cmp ecx, 1
jne 0x180022852
movaps xmm0, xmm8
jmp 0x180022822
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 0x180022860
cmp ecx, 3
jne 0x180022890
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 0x180022a09
mov rcx, qword [0x180118918]
mov edx, 0x27c
movaps xmmword [rsp + 0xc0], xmm6
movaps xmmword [rsp + 0xb0], xmm7
call fcn.18001a550
mov rcx, qword [0x180118918]
mov edx, 0x27b
mov rbx, rax
call fcn.18001a550
movss xmm6, dword [rbx + 0xc]
mov edx, 0x27a
mov rcx, qword [0x180118918]
subss xmm6, dword [rax + 0xc]
call fcn.18001a550
mov rcx, qword [0x180118918]
mov edx, 0x279
mov rbx, rax
call fcn.18001a550
movss xmm7, dword [rbx + 0xc]
mov edx, 0x273
mov rcx, qword [0x180118918]
subss xmm7, dword [rax + 0xc]
call fcn.18001a550
cmp byte [rax], 0
je 0x18002293f
mov rcx, qword [0x180118918]
mov edx, 0x273
call fcn.18000a490
cmp byte [rax + 8], 0
jne 0x18002293f
movss xmm8, dword [0x1800b8f80]
jmp 0x180022975
mov rcx, qword [0x180118918]
mov edx, 0x274
call fcn.18001a550
cmp byte [rax], 0
je 0x180022975
mov rcx, qword [0x180118918]
mov edx, 0x274
call fcn.18000a490
cmp byte [rax + 8], 0
jne 0x180022975
movss xmm8, dword [0x1800b903c]
ucomiss xmm7, xmm10
jp 0x18002297d
je 0x1800229bc
cmp byte [r14 + 0xb4], 0
je 0x1800229bc
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 + 0xb0]
jp 0x1800229cc
je 0x180022a01
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 + 0xc0]
movaps xmm8, xmmword [rsp + 0xa0]
movaps xmm9, xmmword [rsp + 0x90]
cmp byte [rsp + 0x20], 0
movaps xmm10, xmmword [rsp + 0x80]
mov r14, qword [rsp + 0xd0]
mov r13, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x100]
jne 0x180022a55
test sil, sil
jne 0x180022a55
mov byte [r15], 1
mov byte [rdi + 0x48ff], sil
jmp 0x180022aa2
cmp byte [rsp + 0x24], 0
je 0x180022aa2
test byte [rdi + 8], 4
je 0x180022aa2
test byte [rdi + 0xc], 4
je 0x180022aa2
lea rcx, [rsp + 0x24]
call fcn.180021ab0
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 + 0x4954], ebp
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.18006ff20
add rsp, 0xd8
pop r15
pop rdi
pop rsi
pop rbp
ret