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

Disassembly:
mov rax, rsp
push rdi
push r13
push r15
sub rsp, 0xc0
mov rdi, qword [0x14034f2e0]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
test byte [rdi + 8], 2
mov qword [rax - 0x20], r12
mov qword [rax - 0x28], r14
movaps xmmword [rax - 0x78], xmm10
mov byte [rdi + 0xdb], 0
je 0x14001992a
test byte [rdi + 0xc], 1
je 0x14001992a
movdqa xmm0, xmmword [0x1400f6670]
lea rsi, [rsp + 0x40]
movdqa xmm1, xmmword [0x1400f6680]
mov r15b, 1
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
nop
mov ebx, dword [rsi]
mov ecx, ebx
call fcn.140012310
cmp byte [rax], 0
je 0x14001991a
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x140019903
cmp ebx, 0x1000
je 0x140019903
cmp ebx, 0x2000
je 0x140019903
cmp ebx, 0x4000
je 0x140019903
cmp ebx, 0x8000
je 0x140019903
cmp ebx, 0x800
jne 0x140019910
mov ecx, ebx
call fcn.140002510
cmp byte [rax + 8], 0
jne 0x14001991a
mov dword [rdi + 0x4904], 3
add rsi, 4
lea rax, [rsp + 0x60]
cmp rsi, rax
jne 0x1400198c0
jmp 0x14001992d
xor r15b, r15b
movzx r14d, byte [rdi + 8]
movdqa xmm0, xmmword [0x1400f6660]
and r14b, 1
mov byte [rsp + 0xe0], r14b
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x201
mov dword [rsp + 0x34], 0x203
mov dword [rsp + 0x38], 0x204
je 0x1400199d8
lea rsi, [rsp + 0x20]
nop dword [rax + rax]
mov ebx, dword [rsi]
mov ecx, ebx
call fcn.140012310
cmp byte [rax], 0
je 0x1400199ca
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x1400199b3
cmp ebx, 0x1000
je 0x1400199b3
cmp ebx, 0x2000
je 0x1400199b3
cmp ebx, 0x4000
je 0x1400199b3
cmp ebx, 0x8000
je 0x1400199b3
cmp ebx, 0x800
jne 0x1400199c0
mov ecx, ebx
call fcn.140002510
cmp byte [rax + 8], 0
jne 0x1400199ca
mov dword [rdi + 0x4904], 2
add rsi, 4
lea rax, [rsp + 0x3c]
cmp rsi, rax
jne 0x140019970
xor r12d, r12d
cmp dword [rdi + 0x4914], r12d
je 0x140019aeb
mov rbx, qword [0x14034f2e0]
mov r9, qword [rbx + 0x48d0]
test r9, r9
je 0x140019aeb
test byte [rbx + 0x5ca4], 8
je 0x140019a25
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]
mov edx, dword [rbx + 0x4914]
call fcn.14001e2a0
mov rsi, qword [0x14034f2e0]
movsxd rbp, dword [rbx + 0x4908]
mov r14d, dword [rbx + 0x4914]
cmp qword [rsi + 0x48d0], r12
jne 0x140019a5d
mov r8d, 0x2962
lea rdx, str.C:UsersHassanDesktopkilzxdlimgui.cpp
lea rcx, str.g.NavWindow___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
cmp ebp, 1
jbe 0x140019a7c
mov r8d, 0x2963
lea rdx, str.C:UsersHassanDesktopkilzxdlimgui.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 [rsi + 0x48d0]
mov rcx, rbp
mov dword [rsi + 0x48d8], r14d
add rcx, rcx
mov dword [rsi + 0x4908], ebp
mov dword [rsi + 0x48dc], r12d
mov dword [rax + rbp*4 + 0x3a0], r14d
mov rax, qword [rsi + 0x48d0]
movups xmm0, xmmword [rbx + 0x4918]
movzx r14d, byte [rsp + 0xe0]
movups xmmword [rax + rcx*8 + 0x3a8], xmm0
mov byte [rbx + 0x490c], 1
cmp byte [rbx + 0x4912], r12b
je 0x140019aeb
mov rax, qword [0x14034f2e0]
mov word [rax + 0x490d], 1
mov byte [rax + 0x490f], 1
mov word [rdi + 0x4911], r12w
mov dword [rdi + 0x4914], r12d
mov dword [rdi + 0x48f0], r12d
cmp byte [rdi + 0x4928], r12b
je 0x140019b0f
call fcn.14001aef0
xor r13b, r13b
mov dword [rdi + 0x496c], r12d
mov ebp, 1
mov word [rdi + 0x4928], r12w
cmp byte [rdi + 0x490d], r12b
je 0x140019b59
cmp byte [rdi + 0x490c], r12b
je 0x140019b59
cmp byte [rdi + 0x490e], r12b
jne 0x140019b59
cmp byte [rdi + 0x490f], r12b
je 0x140019b59
cmp qword [rdi + 0x48d0], r12
movzx r13d, r13b
cmovne r13d, ebp
mov byte [rdi + 0x490d], r12b
cmp dword [rdi + 0x4908], ebp
jbe 0x140019b82
mov r8d, 0x2bad
lea rdx, str.C:UsersHassanDesktopkilzxdlimgui.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 0x140019bbd
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x140019bb1
test dword [rax + 0x14], 0x14000000
jne 0x140019bb1
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x140019b91
jmp 0x140019bbd
cmp rax, rcx
je 0x140019bbd
mov qword [rax + 0x398], rcx
mov rax, qword [rdi + 0x48d0]
test rax, rax
je 0x140019be2
cmp qword [rax + 0x398], r12
je 0x140019be2
cmp dword [rdi + 0x4908], r12d
jne 0x140019be2
mov qword [rax + 0x398], r12
call fcn.14001bec0
test r14b, r14b
jne 0x140019bf5
test r15b, r15b
je 0x140019d25
mov rax, qword [rdi + 0x48d0]
test rax, rax
je 0x140019d25
test dword [rax + 0x14], 0x40000
jne 0x140019d25
mov byte [rdi + 0xdd], bpl
cmp dword [rdi + 0x48d8], r12d
je 0x140019d2c
cmp byte [rdi + 0x490e], r12b
jne 0x140019d2c
movzx eax, bpl
mov byte [rdi + 0xde], al
call fcn.14001b200
mov qword [rdi + 0x48e4], r12
mov dword [rdi + 0x48e0], r12d
mov dword [rdi + 0x48ec], r12d
cmp dword [rdi + 0x48d8], r12d
je 0x140019e6e
cmp byte [rdi + 0x490e], r12b
jne 0x140019e6e
cmp qword [rdi + 0x4a38], r12
jne 0x140019e6e
mov rax, qword [rdi + 0x48d0]
test rax, rax
je 0x140019e6e
test dword [rax + 0x14], 0x40000
jne 0x140019e6e
test r14b, r14b
je 0x140019cbf
mov ecx, 0x20c
call fcn.140012310
cmp byte [rax], r12b
je 0x140019cbf
mov ecx, 0x20c
call fcn.140002510
cmp byte [rax + 8], r12b
je 0x140019ce3
test r15b, r15b
je 0x140019d40
mov ecx, 0x26e
call fcn.140012310
cmp byte [rax], r12b
je 0x140019d40
mov ecx, 0x26e
call fcn.140002510
cmp byte [rax + 8], r12b
jne 0x140019d40
movzx esi, byte [rsp + 0xe0]
movzx r14d, bpl
test sil, sil
je 0x140019d07
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.140012b90
test al, al
jne 0x140019d1f
test r15b, r15b
je 0x140019d4b
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.140012b90
test al, al
je 0x140019d4b
movzx ebx, bpl
jmp 0x140019d4d
mov byte [rdi + 0xdd], r12b
cmp qword [rdi + 0x4a38], r12
jne 0x140019c33
xor al, al
jmp 0x140019c37
movzx esi, byte [rsp + 0xe0]
xor r14b, r14b
xor bl, bl
test sil, sil
je 0x140019d71
mov ecx, 0x20d
call fcn.140012310
cmp byte [rax], r12b
je 0x140019d71
mov ecx, 0x20d
call fcn.140002510
cmp byte [rax + 8], r12b
je 0x140019d95
test r15b, r15b
je 0x140019dd4
mov ecx, 0x26d
call fcn.140012310
cmp byte [rax], r12b
je 0x140019dd4
mov ecx, 0x26d
call fcn.140002510
cmp byte [rax + 8], r12b
jne 0x140019dd4
movzx esi, bpl
cmp byte [rsp + 0xe0], r12b
je 0x140019db6
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.140012b90
test al, al
jne 0x140019dce
test r15b, r15b
je 0x140019dd7
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.140012b90
test al, al
je 0x140019dd7
movzx edx, bpl
jmp 0x140019dd9
xor sil, sil
xor dl, dl
mov ecx, dword [rdi + 0x3f50]
test ecx, ecx
jne 0x140019dff
test bl, bl
je 0x140019e07
mov eax, dword [rdi + 0x48d8]
mov dword [rdi + 0x48e0], eax
mov dword [rdi + 0x48ec], 2
jmp 0x140019e07
cmp ecx, dword [rdi + 0x48d8]
jne 0x140019e3f
test dl, dl
je 0x140019e1d
mov eax, dword [rdi + 0x48d8]
mov dword [rdi + 0x48e0], eax
mov dword [rdi + 0x48ec], ebp
test ecx, ecx
je 0x140019e29
cmp ecx, dword [rdi + 0x48d8]
jne 0x140019e3f
test r14b, r14b
jne 0x140019e33
test sil, sil
je 0x140019e3f
mov eax, dword [rdi + 0x48d8]
mov dword [rdi + 0x48e4], eax
mov eax, dword [rdi + 0x3f50]
test eax, eax
je 0x140019e51
cmp eax, dword [rdi + 0x48d8]
jne 0x140019e65
test bl, bl
jne 0x140019e59
test dl, dl
je 0x140019e65
mov eax, dword [rdi + 0x48d8]
mov dword [rdi + 0x48e8], eax
movzx r14d, byte [rsp + 0xe0]
mov rax, qword [rdi + 0x48d0]
test rax, rax
je 0x140019e8a
test dword [rax + 0x14], 0x40000
je 0x140019e8a
mov byte [rdi + 0x490e], bpl
mov eax, dword [rdi + 0x48e0]
test eax, eax
je 0x140019eb6
cmp dword [rdi + 0x48e4], eax
je 0x140019eb6
mov r8d, 0x2bda
lea rdx, str.C:UsersHassanDesktopkilzxdlimgui.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 0x140019ede
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
mov dword [rdi + 0x48fc], r12d
call fcn.14001a410
cmp dword [rdi + 0x4938], 0xffffffff
xorps xmm10, xmm10
jne 0x14001a070
mov rbx, qword [0x14034f2e0]
cmp dword [rbx + 0x4938], 0xffffffff
mov rsi, qword [rbx + 0x48d0]
je 0x140019f2c
mov r8d, 0x2caa
lea rdx, str.C:UsersHassanDesktopkilzxdlimgui.cpp
lea rcx, str.g.NavMoveDir__ImGuiDir_None
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rsi, rsi
je 0x14001a070
cmp qword [rbx + 0x4a38], r12
jne 0x14001a070
test dword [rsi + 0x14], 0x40000
jne 0x14001a070
mov ecx, 0x200
call fcn.140012310
cmp byte [rax], r12b
je 0x14001a070
movss xmm0, dword [rax + 4]
comiss xmm10, xmm0
ja 0x14001a070
ucomiss xmm0, xmm10
jp 0x140019f79
je 0x140019fa5
mov rax, qword [0x14034f2e0]
movss xmm1, dword [rax + 0x3c]
comiss xmm0, xmm1
jbe 0x14001a070
movss xmm2, dword [rax + 0x40]
mov ecx, 0x200
call fcn.140012510
test eax, eax
jle 0x14001a070
mov rax, qword [0x14034f2e0]
cmp byte [rax + 0x4764], r12b
je 0x140019fc2
cmp dword [rax + 0x3f50], 0xffffffff
jne 0x14001a070
mov ecx, 0x200
call fcn.140002510
cmp dword [rax], 0xffffffff
jne 0x14001a070
cmp byte [rbx + 0xe20], r12b
jne 0x14001a070
cmp byte [rbx + 0xe22], r12b
jne 0x14001a070
movzx eax, byte [rbx + 0xe21]
test byte [rbx + 8], bpl
je 0x14001a01d
test al, al
je 0x14001a007
mov ebp, 0xffffffff
jmp 0x14001a034
cmp byte [rbx + 0x490e], bpl
jne 0x14001a034
cmp dword [rbx + 0x3f50], r12d
jne 0x14001a034
xor ebp, ebp
jmp 0x14001a034
test al, al
je 0x14001a028
mov ebp, 0xffffffff
jmp 0x14001a034
xor ebp, ebp
cmp dword [rbx + 0x3f50], ebp
setne bpl
mov dword [rbx + 0x4968], ebp
mov eax, 0x21
cmp byte [rsi + 0xbc], r12b
mov r9d, 3
mov ecx, 0xffffffff
mov r8d, 0x400
cmovne r9d, eax
sar ebp, 0x1f
lea edx, [rbp + 3]
call fcn.140018fc0
mov dword [rbx + 0x496c], 0xffffffff
mov rax, qword [0x14034f2e0]
mov rbp, qword [rsp + 0xf0]
cmp byte [rax + 0x4929], r12b
jne 0x14001a09a
cmp byte [rax + 0x4911], r12b
jne 0x14001a09a
mov byte [rax + 0x4910], r12b
jmp 0x14001a0c4
mov byte [rax + 0x4910], 1
cmp qword [rax + 0x48d0], r12
jne 0x14001a0c4
mov r8d, 0x2b2b
lea rdx, str.C:UsersHassanDesktopkilzxdlimgui.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 + 0x48d0]
mov byte [rdi + 0x490c], r12b
mov r12, qword [rsp + 0xb8]
test rsi, rsi
je 0x14001a370
test dword [rsi + 0x14], 0x40000
jne 0x14001a370
cmp qword [rdi + 0x4a38], 0
jne 0x14001a370
mov rax, qword [rsi]
movaps xmmword [rsp + 0x80], xmm8
movaps xmmword [rsp + 0x70], xmm9
movss xmm0, dword [rax + 0x3c44]
mov rax, qword [rsi + 0x368]
mulss xmm0, dword [rsi + 0x290]
test rax, rax
je 0x14001a134
mulss xmm0, dword [rax + 0x290]
cmp word [rsi + 0x15c], 0
mulss xmm0, dword [0x1400f648c]
mov ecx, dword [rdi + 0x4938]
movss xmm8, dword [0x1400f63e0]
mulss xmm0, dword [rdi + 0x18]
addss xmm0, dword [0x1400f63ac]
cvttss2si eax, xmm0
movd xmm9, eax
cvtdq2ps xmm9, xmm9
jne 0x14001a219
cmp byte [rsi + 0x161], 0
je 0x14001a219
cmp ecx, 0xffffffff
je 0x14001a219
movss xmm1, dword [0x1400f64f4]
test ecx, ecx
je 0x14001a1a0
cmp ecx, 1
jne 0x14001a1d7
movaps xmm0, xmm8
jmp 0x14001a1a3
movaps xmm0, xmm1
mulss xmm0, xmm9
mov dword [rsi + 0x9c], 0
mov dword [rsi + 0xa4], 0
addss xmm0, dword [rsi + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x94], xmm0
cmp ecx, 2
je 0x14001a1e5
cmp ecx, 3
jne 0x14001a219
movaps xmm1, xmm8
mulss xmm1, xmm9
mov dword [rsi + 0xa0], 0
mov dword [rsi + 0xa8], 0
addss xmm1, dword [rsi + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x98], xmm0
test r15b, r15b
je 0x14001a361
movaps xmmword [rsp + 0xa0], xmm6
mov ecx, 0x27c
movaps xmmword [rsp + 0x90], xmm7
call fcn.140012310
mov ecx, 0x27b
mov rbx, rax
call fcn.140012310
movss xmm6, dword [rbx + 0xc]
mov ecx, 0x27a
subss xmm6, dword [rax + 0xc]
call fcn.140012310
mov ecx, 0x279
mov rbx, rax
call fcn.140012310
movss xmm7, dword [rbx + 0xc]
mov ecx, 0x273
subss xmm7, dword [rax + 0xc]
call fcn.140012310
cmp byte [rax], 0
je 0x14001a29e
mov ecx, 0x273
call fcn.140002510
cmp byte [rax + 8], 0
jne 0x14001a29e
movss xmm8, dword [0x1400f638c]
jmp 0x14001a2c6
mov ecx, 0x274
call fcn.140012310
cmp byte [rax], 0
je 0x14001a2c6
mov ecx, 0x274
call fcn.140002510
cmp byte [rax + 8], 0
jne 0x14001a2c6
movss xmm8, dword [0x1400f643c]
ucomiss xmm7, xmm10
jp 0x14001a2ce
je 0x14001a310
cmp byte [rsi + 0xb4], 0
je 0x14001a310
mulss xmm7, xmm9
mov dword [rsi + 0x9c], 0
mov dword [rsi + 0xa4], 0
mulss xmm7, xmm8
addss xmm7, dword [rsi + 0x84]
cvttss2si eax, xmm7
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x94], xmm0
ucomiss xmm6, xmm10
movaps xmm7, xmmword [rsp + 0x90]
jp 0x14001a320
je 0x14001a359
mulss xmm6, xmm9
mov dword [rsi + 0xa0], 0
mov dword [rsi + 0xa8], 0
mulss xmm6, xmm8
addss xmm6, dword [rsi + 0x88]
cvttss2si eax, xmm6
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [rsi + 0x98], xmm0
movaps xmm6, xmmword [rsp + 0xa0]
movaps xmm8, xmmword [rsp + 0x80]
movaps xmm9, xmmword [rsp + 0x70]
movaps xmm10, xmmword [rsp + 0x60]
test r14b, r14b
mov r14, qword [rsp + 0xb0]
mov rsi, qword [rsp + 0xf8]
mov rbx, qword [rsp + 0xe8]
jne 0x14001a3a3
test r15b, r15b
jne 0x14001a3a3
mov word [rdi + 0x490e], 1
jmp 0x14001a3f1
test r13b, r13b
je 0x14001a3f1
test byte [rdi + 8], 4
je 0x14001a3f1
test byte [rdi + 0xc], 4
je 0x14001a3f1
lea rcx, [rsp + 0xe0]
call fcn.1400195d0
movss xmm0, dword [rax]
movss xmm1, dword [rax + 4]
movss dword [rdi + 0x36ec], xmm0
movss dword [rdi + 0x36f0], xmm1
movss dword [rdi + 0xe08], xmm0
movss dword [rdi + 0xe0c], xmm1
mov byte [rdi + 0xdb], 1
mov dword [rdi + 0x4964], 0
add rsp, 0xc0
pop r15
pop r13
pop rdi
ret