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

Disassembly:
mov rax, rsp
push rsi
push rdi
push r13
sub rsp, 0xc0
mov rdi, qword [0x140214670]
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], r12
test byte [rdi + 8], 2
mov qword [rax - 0x20], r14
mov qword [rax - 0x28], r15
movaps xmmword [rax - 0x78], xmm10
mov byte [rdi + 0xdb], 0
je 0x14001ad39
test byte [rdi + 0xc], 1
je 0x14001ad39
movdqa xmm0, xmmword [0x14015fb10]
lea r14, [rsp + 0x40]
movdqa xmm1, xmmword [0x14015fb20]
mov sil, 1
movdqu xmmword [rsp + 0x40], xmm0
movdqu xmmword [rsp + 0x50], xmm1
nop dword [rax]
mov ebx, dword [r14]
mov edx, ebx
mov rcx, qword [0x140214670]
call fcn.1400136b0
cmp byte [rax], 0
je 0x14001ad29
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x14001ad0b
cmp ebx, 0x1000
je 0x14001ad0b
cmp ebx, 0x2000
je 0x14001ad0b
cmp ebx, 0x4000
je 0x14001ad0b
cmp ebx, 0x8000
je 0x14001ad0b
cmp ebx, 0x800
jne 0x14001ad1f
mov rcx, qword [0x140214670]
mov edx, ebx
call fcn.1400028a0
cmp byte [rax + 8], 0
jne 0x14001ad29
mov dword [rdi + 0x490c], 3
add r14, 4
lea rax, [rsp + 0x60]
cmp r14, rax
jne 0x14001acc0
jmp 0x14001ad3c
xor sil, sil
movzx r15d, byte [rdi + 8]
movdqa xmm0, xmmword [0x14015fb00]
and r15b, 1
mov byte [rsp + 0xe0], r15b
movdqu xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x30], 0x201
mov dword [rsp + 0x34], 0x203
mov dword [rsp + 0x38], 0x204
je 0x14001adf7
lea r14, [rsp + 0x20]
nop
mov ebx, dword [r14]
mov edx, ebx
mov rcx, qword [0x140214670]
call fcn.1400136b0
cmp byte [rax], 0
je 0x14001ade9
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x14001adcb
cmp ebx, 0x1000
je 0x14001adcb
cmp ebx, 0x2000
je 0x14001adcb
cmp ebx, 0x4000
je 0x14001adcb
cmp ebx, 0x8000
je 0x14001adcb
cmp ebx, 0x800
jne 0x14001addf
mov rcx, qword [0x140214670]
mov edx, ebx
call fcn.1400028a0
cmp byte [rax + 8], 0
jne 0x14001ade9
mov dword [rdi + 0x490c], 2
add r14, 4
lea rax, [rsp + 0x3c]
cmp r14, rax
jne 0x14001ad80
cmp dword [rdi + 0x491c], 0
je 0x14001ae7b
mov rbx, qword [0x140214670]
mov r9, qword [rbx + 0x48d8]
test r9, r9
je 0x14001ae7b
test byte [rbx + 0x5cc4], 8
je 0x14001ae39
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.14001fd20
mov edx, dword [rbx + 0x4910]
lea r9, [rbx + 0x4920]
mov ecx, dword [rbx + 0x491c]
xor r8d, r8d
call fcn.140019550
cmp byte [rbx + 0x491a], 0
mov byte [rbx + 0x4914], 1
je 0x14001ae7b
mov rax, qword [0x140214670]
mov word [rax + 0x4915], 1
mov byte [rax + 0x4917], 1
xor r14d, r14d
mov word [rdi + 0x4919], 0
mov dword [rdi + 0x491c], r14d
mov dword [rdi + 0x48f8], r14d
cmp byte [rdi + 0x4930], r14b
je 0x14001aea3
call fcn.14001c4a0
xor r13b, r13b
mov dword [rdi + 0x4974], r14d
mov ebp, 1
mov word [rdi + 0x4930], r14w
cmp byte [rdi + 0x4915], r13b
je 0x14001aeed
cmp byte [rdi + 0x4914], r13b
je 0x14001aeed
cmp byte [rdi + 0x4916], r13b
jne 0x14001aeed
cmp byte [rdi + 0x4917], r13b
je 0x14001aeed
cmp qword [rdi + 0x48d8], r14
movzx r13d, r13b
cmovne r13d, ebp
mov byte [rdi + 0x4915], r14b
cmp dword [rdi + 0x4910], ebp
jbe 0x14001af16
mov r8d, 0x2cb8
lea rdx, str.C:UsersmohamedfettDownloadsGREAT_X_External_v6242_1_GREAT_X_External_v6imgui_facturaimgui_facturaimgui.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 0x14001af51
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x14001af45
test dword [rax + 0x14], 0x14000000
jne 0x14001af45
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x14001af25
jmp 0x14001af51
cmp rax, rcx
je 0x14001af51
mov qword [rax + 0x398], rcx
mov rax, qword [rdi + 0x48d8]
test rax, rax
je 0x14001af76
cmp qword [rax + 0x398], r14
je 0x14001af76
cmp dword [rdi + 0x4910], r14d
jne 0x14001af76
mov qword [rax + 0x398], r14
call fcn.14001d5f0
test r15b, r15b
jne 0x14001af89
test sil, sil
je 0x14001b0da
mov rax, qword [rdi + 0x48d8]
test rax, rax
je 0x14001b0da
test dword [rax + 0x14], 0x40000
jne 0x14001b0da
mov byte [rdi + 0xdd], bpl
cmp dword [rdi + 0x48e0], r14d
je 0x14001b0e1
cmp byte [rdi + 0x4916], r14b
jne 0x14001b0e1
movzx eax, bpl
mov byte [rdi + 0xde], al
call fcn.14001c920
mov qword [rdi + 0x48ec], r14
mov dword [rdi + 0x48e8], r14d
mov dword [rdi + 0x48f4], r14d
cmp dword [rdi + 0x48e0], r14d
je 0x14001b23d
cmp byte [rdi + 0x4916], r14b
jne 0x14001b23d
cmp qword [rdi + 0x4a40], r14
jne 0x14001b23d
mov rax, qword [rdi + 0x48d8]
test rax, rax
je 0x14001b23d
test dword [rax + 0x14], 0x40000
jne 0x14001b23d
test r15b, r15b
je 0x14001b061
mov rcx, qword [0x140214670]
mov edx, 0x20c
call fcn.1400136b0
cmp byte [rax], r14b
je 0x14001b061
mov rcx, qword [0x140214670]
mov edx, 0x20c
call fcn.1400028a0
cmp byte [rax + 8], r14b
je 0x14001b097
test sil, sil
je 0x14001b0f5
mov rcx, qword [0x140214670]
mov edx, 0x26e
call fcn.1400136b0
cmp byte [rax], r14b
je 0x14001b0f5
mov rcx, qword [0x140214670]
mov edx, 0x26e
call fcn.1400028a0
cmp byte [rax + 8], r14b
jne 0x14001b0f5
movzx r14d, byte [rsp + 0xe0]
movzx r15d, bpl
test r14b, r14b
je 0x14001b0bc
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.140013fa0
test al, al
jne 0x14001b0d4
test sil, sil
je 0x14001b101
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.140013fa0
test al, al
je 0x14001b101
movzx ebx, bpl
jmp 0x14001b103
mov byte [rdi + 0xdd], r14b
cmp qword [rdi + 0x4a40], r14
jne 0x14001afc7
xor al, al
jmp 0x14001afcb
movzx r14d, byte [rsp + 0xe0]
xor r15b, r15b
xor bl, bl
test r14b, r14b
je 0x14001b135
mov rcx, qword [0x140214670]
mov edx, 0x20d
call fcn.1400136b0
cmp byte [rax], 0
je 0x14001b135
mov rcx, qword [0x140214670]
mov edx, 0x20d
call fcn.1400028a0
cmp byte [rax + 8], 0
je 0x14001b167
test sil, sil
je 0x14001b1a6
mov rcx, qword [0x140214670]
mov edx, 0x26d
call fcn.1400136b0
cmp byte [rax], 0
je 0x14001b1a6
mov rcx, qword [0x140214670]
mov edx, 0x26d
call fcn.1400028a0
cmp byte [rax + 8], 0
jne 0x14001b1a6
cmp byte [rsp + 0xe0], 0
movzx r14d, bpl
je 0x14001b188
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.140013fa0
test al, al
jne 0x14001b1a0
test sil, sil
je 0x14001b1a9
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.140013fa0
test al, al
je 0x14001b1a9
movzx edx, bpl
jmp 0x14001b1ab
xor r14b, r14b
xor dl, dl
mov ecx, dword [rdi + 0x3f58]
test ecx, ecx
jne 0x14001b1d1
test bl, bl
je 0x14001b1d9
mov eax, dword [rdi + 0x48e0]
mov dword [rdi + 0x48e8], eax
mov dword [rdi + 0x48f4], 2
jmp 0x14001b1d9
cmp ecx, dword [rdi + 0x48e0]
jne 0x14001b231
test dl, dl
je 0x14001b1ef
mov eax, dword [rdi + 0x48e0]
mov dword [rdi + 0x48e8], eax
mov dword [rdi + 0x48f4], ebp
test ecx, ecx
je 0x14001b1fb
cmp ecx, dword [rdi + 0x48e0]
jne 0x14001b231
test r15b, r15b
jne 0x14001b205
test r14b, r14b
je 0x14001b211
mov eax, dword [rdi + 0x48e0]
mov dword [rdi + 0x48ec], eax
test ecx, ecx
je 0x14001b21d
cmp ecx, dword [rdi + 0x48e0]
jne 0x14001b231
test bl, bl
jne 0x14001b225
test dl, dl
je 0x14001b231
mov eax, dword [rdi + 0x48e0]
mov dword [rdi + 0x48f0], eax
movzx r15d, byte [rsp + 0xe0]
xor r14d, r14d
mov rax, qword [rdi + 0x48d8]
test rax, rax
je 0x14001b259
test dword [rax + 0x14], 0x40000
je 0x14001b259
mov byte [rdi + 0x4916], bpl
mov eax, dword [rdi + 0x48e8]
test eax, eax
je 0x14001b285
cmp dword [rdi + 0x48ec], eax
je 0x14001b285
mov r8d, 0x2ce5
lea rdx, str.C:UsersmohamedfettDownloadsGREAT_X_External_v6242_1_GREAT_X_External_v6imgui_facturaimgui_facturaimgui.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 0x14001b2ad
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], r14d
call fcn.14001b820
cmp dword [rdi + 0x4940], 0xffffffff
xorps xmm10, xmm10
jne 0x14001b447
mov rbx, qword [0x140214670]
cmp dword [rbx + 0x4940], 0xffffffff
mov r14, qword [rbx + 0x48d8]
je 0x14001b2fb
mov r8d, 0x2dd0
lea rdx, str.C:UsersmohamedfettDownloadsGREAT_X_External_v6242_1_GREAT_X_External_v6imgui_facturaimgui_facturaimgui.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 0x14001b447
cmp qword [rbx + 0x4a40], 0
jne 0x14001b447
test dword [r14 + 0x14], 0x40000
jne 0x14001b447
mov rcx, qword [0x140214670]
mov edx, 0x200
call fcn.1400136b0
cmp byte [rax], 0
je 0x14001b447
movss xmm0, dword [rax + 4]
comiss xmm10, xmm0
ja 0x14001b447
ucomiss xmm0, xmm10
jp 0x14001b351
je 0x14001b37d
mov rax, qword [0x140214670]
movss xmm1, dword [rax + 0x3c]
comiss xmm0, xmm1
jbe 0x14001b447
movss xmm2, dword [rax + 0x40]
mov ecx, 0x200
call fcn.140013890
test eax, eax
jle 0x14001b447
mov rcx, qword [0x140214670]
cmp byte [rcx + 0x476c], 0
je 0x14001b39a
cmp dword [rcx + 0x3f58], 0xffffffff
jne 0x14001b447
mov edx, 0x200
call fcn.1400028a0
cmp dword [rax], 0xffffffff
jne 0x14001b447
cmp byte [rbx + 0xe24], 0
jne 0x14001b447
cmp byte [rbx + 0xe26], 0
jne 0x14001b447
movzx eax, byte [rbx + 0xe25]
test byte [rbx + 8], bpl
je 0x14001b3f5
test al, al
je 0x14001b3df
mov ebp, 0xffffffff
jmp 0x14001b40c
cmp byte [rbx + 0x4916], bpl
jne 0x14001b40c
cmp dword [rbx + 0x3f58], 0
jne 0x14001b40c
xor ebp, ebp
jmp 0x14001b40c
test al, al
je 0x14001b400
mov ebp, 0xffffffff
jmp 0x14001b40c
xor ebp, ebp
cmp dword [rbx + 0x3f58], ebp
setne bpl
mov dword [rbx + 0x4970], ebp
mov eax, reloc.WLDAP32.dll_Ordinal_33
cmp byte [r14 + 0xbc], 0
mov r9d, 3
mov r8d, 0x400
cmovne r9d, eax
sar ebp, 0x1f
lea ecx, [rax - 0x22]
lea edx, [rbp + 3]
call fcn.14001a3f0
mov dword [rbx + 0x4974], 0xffffffff
mov rax, qword [0x140214670]
mov rbp, qword [rsp + 0xf0]
cmp byte [rax + 0x4931], 0
jne 0x14001b471
cmp byte [rax + 0x4919], 0
jne 0x14001b471
mov byte [rax + 0x4918], 0
jmp 0x14001b49c
cmp qword [rax + 0x48d8], 0
mov byte [rax + 0x4918], 1
jne 0x14001b49c
mov r8d, 0x2c36
lea rdx, str.C:UsersmohamedfettDownloadsGREAT_X_External_v6242_1_GREAT_X_External_v6imgui_facturaimgui_facturaimgui.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 r12, qword [rsp + 0xf8]
mov byte [rdi + 0x4914], 0
test r14, r14
je 0x14001b785
test dword [r14 + 0x14], 0x40000
jne 0x14001b785
cmp qword [rdi + 0x4a40], 0
jne 0x14001b785
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 0x14001b50e
mulss xmm0, dword [rax + 0x290]
cmp word [r14 + 0x15c], 0
mulss xmm0, dword [0x14015f984]
mov ecx, dword [rdi + 0x4940]
movss xmm8, dword [0x14015f894]
mulss xmm0, dword [rdi + 0x18]
addss xmm0, dword [0x14015f860]
cvttss2si eax, xmm0
movd xmm9, eax
cvtdq2ps xmm9, xmm9
jne 0x14001b5f3
cmp byte [r14 + 0x162], 0
je 0x14001b5f3
cmp ecx, 0xffffffff
je 0x14001b5f3
movss xmm1, dword [0x14015fa1c]
test ecx, ecx
je 0x14001b57c
cmp ecx, 1
jne 0x14001b5b3
movaps xmm0, xmm8
jmp 0x14001b57f
movaps xmm0, xmm1
mulss xmm0, xmm9
xor edx, edx
mov dword [r14 + 0x9c], edx
mov dword [r14 + 0xa4], edx
addss xmm0, dword [r14 + 0x84]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r14 + 0x94], xmm0
jmp 0x14001b5b5
xor edx, edx
cmp ecx, 2
je 0x14001b5c3
cmp ecx, 3
jne 0x14001b5f3
movaps xmm1, xmm8
mulss xmm1, xmm9
mov dword [r14 + 0xa0], edx
mov dword [r14 + 0xa8], edx
addss xmm1, dword [r14 + 0x88]
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [r14 + 0x98], xmm0
test sil, sil
je 0x14001b776
mov rcx, qword [0x140214670]
mov edx, 0x27c
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm7
call fcn.1400136b0
mov rcx, qword [0x140214670]
mov edx, 0x27b
mov rbx, rax
call fcn.1400136b0
movss xmm6, dword [rbx + 0xc]
mov edx, 0x27a
mov rcx, qword [0x140214670]
subss xmm6, dword [rax + 0xc]
call fcn.1400136b0
mov rcx, qword [0x140214670]
mov edx, 0x279
mov rbx, rax
call fcn.1400136b0
movss xmm7, dword [rbx + 0xc]
mov edx, 0x273
mov rcx, qword [0x140214670]
subss xmm7, dword [rax + 0xc]
call fcn.1400136b0
cmp byte [rax], 0
je 0x14001b6a2
mov rcx, qword [0x140214670]
mov edx, 0x273
call fcn.1400028a0
cmp byte [rax + 8], 0
jne 0x14001b6a2
movss xmm8, dword [0x14015f830]
jmp 0x14001b6d8
mov rcx, qword [0x140214670]
mov edx, 0x274
call fcn.1400136b0
cmp byte [rax], 0
je 0x14001b6d8
mov rcx, qword [0x140214670]
mov edx, 0x274
call fcn.1400028a0
cmp byte [rax + 8], 0
jne 0x14001b6d8
movss xmm8, dword [0x14015f90c]
ucomiss xmm7, xmm10
jp 0x14001b6e0
je 0x14001b721
cmp byte [r14 + 0xb4], 0
je 0x14001b721
mulss xmm7, xmm9
mulss xmm7, xmm8
addss xmm7, dword [r14 + 0x84]
cvttss2si eax, xmm7
movd xmm0, eax
xor eax, eax
cvtdq2ps xmm0, xmm0
mov dword [r14 + 0x9c], eax
mov dword [r14 + 0xa4], eax
movss dword [r14 + 0x94], xmm0
ucomiss xmm6, xmm10
movaps xmm7, xmmword [rsp + 0x90]
jp 0x14001b731
je 0x14001b76e
mulss xmm6, xmm9
mov dword [r14 + 0xa0], 0
mov dword [r14 + 0xa8], 0
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]
movaps xmm10, xmmword [rsp + 0x60]
test r15b, r15b
mov r15, qword [rsp + 0xb0]
mov r14, qword [rsp + 0xb8]
mov rbx, qword [rsp + 0xe8]
jne 0x14001b7b8
test sil, sil
jne 0x14001b7b8
mov word [rdi + 0x4916], 1
jmp 0x14001b806
test r13b, r13b
je 0x14001b806
test byte [rdi + 8], 4
je 0x14001b806
test byte [rdi + 0xc], 4
je 0x14001b806
lea rcx, [rsp + 0xe0]
call fcn.14001a9d0
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], 0
add rsp, 0xc0
pop r13
pop rdi
pop rsi
ret