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

Disassembly:
mov rax, rsp
push rsi
push rdi
push r13
sub rsp, 0xc0
mov rdi, qword [0x1403d8458]
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 0x14001ad09
test byte [rdi + 0xc], 1
je 0x14001ad09
movdqa xmm0, xmmword [0x1400f3470]
lea r14, [rsp + 0x40]
movdqa xmm1, xmmword [0x1400f3480]
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 [0x1403d8458]
call fcn.1400135a0
cmp byte [rax], 0
je 0x14001acf9
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x14001acdb
cmp ebx, 0x1000
je 0x14001acdb
cmp ebx, 0x2000
je 0x14001acdb
cmp ebx, 0x4000
je 0x14001acdb
cmp ebx, 0x8000
je 0x14001acdb
cmp ebx, 0x800
jne 0x14001acef
mov rcx, qword [0x1403d8458]
mov edx, ebx
call fcn.140002500
cmp byte [rax + 8], 0
jne 0x14001acf9
mov dword [rdi + 0x490c], 3
add r14, 4
lea rax, [rsp + 0x60]
cmp r14, rax
jne 0x14001ac90
jmp 0x14001ad0c
xor sil, sil
movzx r15d, byte [rdi + 8]
movdqa xmm0, xmmword [0x1400f3460]
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 0x14001adc7
lea r14, [rsp + 0x20]
nop
mov ebx, dword [r14]
mov edx, ebx
mov rcx, qword [0x1403d8458]
call fcn.1400135a0
cmp byte [rax], 0
je 0x14001adb9
lea eax, [rbx - 0x200]
cmp eax, 0x8b
jbe 0x14001ad9b
cmp ebx, 0x1000
je 0x14001ad9b
cmp ebx, 0x2000
je 0x14001ad9b
cmp ebx, 0x4000
je 0x14001ad9b
cmp ebx, 0x8000
je 0x14001ad9b
cmp ebx, 0x800
jne 0x14001adaf
mov rcx, qword [0x1403d8458]
mov edx, ebx
call fcn.140002500
cmp byte [rax + 8], 0
jne 0x14001adb9
mov dword [rdi + 0x490c], 2
add r14, 4
lea rax, [rsp + 0x3c]
cmp r14, rax
jne 0x14001ad50
cmp dword [rdi + 0x491c], 0
je 0x14001ae4b
mov rbx, qword [0x1403d8458]
mov r9, qword [rbx + 0x48d8]
test r9, r9
je 0x14001ae4b
test byte [rbx + 0x5cc4], 8
je 0x14001ae09
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.14001fcf0
mov edx, dword [rbx + 0x4910]
lea r9, [rbx + 0x4920]
mov ecx, dword [rbx + 0x491c]
xor r8d, r8d
call fcn.140019440
cmp byte [rbx + 0x491a], 0
mov byte [rbx + 0x4914], 1
je 0x14001ae4b
mov rax, qword [0x1403d8458]
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 0x14001ae73
call fcn.14001c470
xor r13b, r13b
mov dword [rdi + 0x4974], r14d
mov ebp, 1
mov word [rdi + 0x4930], r14w
cmp byte [rdi + 0x4915], r13b
je 0x14001aebd
cmp byte [rdi + 0x4914], r13b
je 0x14001aebd
cmp byte [rdi + 0x4916], r13b
jne 0x14001aebd
cmp byte [rdi + 0x4917], r13b
je 0x14001aebd
cmp qword [rdi + 0x48d8], r14
movzx r13d, r13b
cmovne r13d, ebp
mov byte [rdi + 0x4915], r14b
cmp dword [rdi + 0x4910], ebp
jbe 0x14001aee6
mov r8d, 0x2cb8
lea rdx, str.C:UserszeyadDownloadsimgui_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 0x14001af21
mov rax, rcx
cmp qword [rax + 0x378], rax
je 0x14001af15
test dword [rax + 0x14], 0x14000000
jne 0x14001af15
mov rax, qword [rax + 0x368]
test rax, rax
jne 0x14001aef5
jmp 0x14001af21
cmp rax, rcx
je 0x14001af21
mov qword [rax + 0x398], rcx
mov rax, qword [rdi + 0x48d8]
test rax, rax
je 0x14001af46
cmp qword [rax + 0x398], r14
je 0x14001af46
cmp dword [rdi + 0x4910], r14d
jne 0x14001af46
mov qword [rax + 0x398], r14
call fcn.14001d5c0
test r15b, r15b
jne 0x14001af59
test sil, sil
je 0x14001b0aa
mov rax, qword [rdi + 0x48d8]
test rax, rax
je 0x14001b0aa
test dword [rax + 0x14], 0x40000
jne 0x14001b0aa
mov byte [rdi + 0xdd], bpl
cmp dword [rdi + 0x48e0], r14d
je 0x14001b0b1
cmp byte [rdi + 0x4916], r14b
jne 0x14001b0b1
movzx eax, bpl
mov byte [rdi + 0xde], al
call fcn.14001c8f0
mov qword [rdi + 0x48ec], r14
mov dword [rdi + 0x48e8], r14d
mov dword [rdi + 0x48f4], r14d
cmp dword [rdi + 0x48e0], r14d
je 0x14001b20d
cmp byte [rdi + 0x4916], r14b
jne 0x14001b20d
cmp qword [rdi + 0x4a40], r14
jne 0x14001b20d
mov rax, qword [rdi + 0x48d8]
test rax, rax
je 0x14001b20d
test dword [rax + 0x14], 0x40000
jne 0x14001b20d
test r15b, r15b
je 0x14001b031
mov rcx, qword [0x1403d8458]
mov edx, 0x20c
call fcn.1400135a0
cmp byte [rax], r14b
je 0x14001b031
mov rcx, qword [0x1403d8458]
mov edx, 0x20c
call fcn.140002500
cmp byte [rax + 8], r14b
je 0x14001b067
test sil, sil
je 0x14001b0c5
mov rcx, qword [0x1403d8458]
mov edx, 0x26e
call fcn.1400135a0
cmp byte [rax], r14b
je 0x14001b0c5
mov rcx, qword [0x1403d8458]
mov edx, 0x26e
call fcn.140002500
cmp byte [rax + 8], r14b
jne 0x14001b0c5
movzx r14d, byte [rsp + 0xe0]
movzx r15d, bpl
test r14b, r14b
je 0x14001b08c
xor r8d, r8d
xor edx, edx
mov ecx, 0x20c
call fcn.140013e90
test al, al
jne 0x14001b0a4
test sil, sil
je 0x14001b0d1
xor r8d, r8d
xor edx, edx
mov ecx, 0x26e
call fcn.140013e90
test al, al
je 0x14001b0d1
movzx ebx, bpl
jmp 0x14001b0d3
mov byte [rdi + 0xdd], r14b
cmp qword [rdi + 0x4a40], r14
jne 0x14001af97
xor al, al
jmp 0x14001af9b
movzx r14d, byte [rsp + 0xe0]
xor r15b, r15b
xor bl, bl
test r14b, r14b
je 0x14001b105
mov rcx, qword [0x1403d8458]
mov edx, 0x20d
call fcn.1400135a0
cmp byte [rax], 0
je 0x14001b105
mov rcx, qword [0x1403d8458]
mov edx, 0x20d
call fcn.140002500
cmp byte [rax + 8], 0
je 0x14001b137
test sil, sil
je 0x14001b176
mov rcx, qword [0x1403d8458]
mov edx, 0x26d
call fcn.1400135a0
cmp byte [rax], 0
je 0x14001b176
mov rcx, qword [0x1403d8458]
mov edx, 0x26d
call fcn.140002500
cmp byte [rax + 8], 0
jne 0x14001b176
cmp byte [rsp + 0xe0], 0
movzx r14d, bpl
je 0x14001b158
xor r8d, r8d
xor edx, edx
mov ecx, 0x20d
call fcn.140013e90
test al, al
jne 0x14001b170
test sil, sil
je 0x14001b179
xor r8d, r8d
xor edx, edx
mov ecx, 0x26d
call fcn.140013e90
test al, al
je 0x14001b179
movzx edx, bpl
jmp 0x14001b17b
xor r14b, r14b
xor dl, dl
mov ecx, dword [rdi + 0x3f58]
test ecx, ecx
jne 0x14001b1a1
test bl, bl
je 0x14001b1a9
mov eax, dword [rdi + 0x48e0]
mov dword [rdi + 0x48e8], eax
mov dword [rdi + 0x48f4], 2
jmp 0x14001b1a9
cmp ecx, dword [rdi + 0x48e0]
jne 0x14001b201
test dl, dl
je 0x14001b1bf
mov eax, dword [rdi + 0x48e0]
mov dword [rdi + 0x48e8], eax
mov dword [rdi + 0x48f4], ebp
test ecx, ecx
je 0x14001b1cb
cmp ecx, dword [rdi + 0x48e0]
jne 0x14001b201
test r15b, r15b
jne 0x14001b1d5
test r14b, r14b
je 0x14001b1e1
mov eax, dword [rdi + 0x48e0]
mov dword [rdi + 0x48ec], eax
test ecx, ecx
je 0x14001b1ed
cmp ecx, dword [rdi + 0x48e0]
jne 0x14001b201
test bl, bl
jne 0x14001b1f5
test dl, dl
je 0x14001b201
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 0x14001b229
test dword [rax + 0x14], 0x40000
je 0x14001b229
mov byte [rdi + 0x4916], bpl
mov eax, dword [rdi + 0x48e8]
test eax, eax
je 0x14001b255
cmp dword [rdi + 0x48ec], eax
je 0x14001b255
mov r8d, 0x2ce5
lea rdx, str.C:UserszeyadDownloadsimgui_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 0x14001b27d
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.14001b7f0
cmp dword [rdi + 0x4940], 0xffffffff
xorps xmm10, xmm10
jne 0x14001b417
mov rbx, qword [0x1403d8458]
cmp dword [rbx + 0x4940], 0xffffffff
mov r14, qword [rbx + 0x48d8]
je 0x14001b2cb
mov r8d, 0x2dd0
lea rdx, str.C:UserszeyadDownloadsimgui_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 0x14001b417
cmp qword [rbx + 0x4a40], 0
jne 0x14001b417
test dword [r14 + 0x14], 0x40000
jne 0x14001b417
mov rcx, qword [0x1403d8458]
mov edx, 0x200
call fcn.1400135a0
cmp byte [rax], 0
je 0x14001b417
movss xmm0, dword [rax + 4]
comiss xmm10, xmm0
ja 0x14001b417
ucomiss xmm0, xmm10
jp 0x14001b321
je 0x14001b34d
mov rax, qword [0x1403d8458]
movss xmm1, dword [rax + 0x3c]
comiss xmm0, xmm1
jbe 0x14001b417
movss xmm2, dword [rax + 0x40]
mov ecx, 0x200
call fcn.140013780
test eax, eax
jle 0x14001b417
mov rcx, qword [0x1403d8458]
cmp byte [rcx + 0x476c], 0
je 0x14001b36a
cmp dword [rcx + 0x3f58], 0xffffffff
jne 0x14001b417
mov edx, 0x200
call fcn.140002500
cmp dword [rax], 0xffffffff
jne 0x14001b417
cmp byte [rbx + 0xe24], 0
jne 0x14001b417
cmp byte [rbx + 0xe26], 0
jne 0x14001b417
movzx eax, byte [rbx + 0xe25]
test byte [rbx + 8], bpl
je 0x14001b3c5
test al, al
je 0x14001b3af
mov ebp, 0xffffffff
jmp 0x14001b3dc
cmp byte [rbx + 0x4916], bpl
jne 0x14001b3dc
cmp dword [rbx + 0x3f58], 0
jne 0x14001b3dc
xor ebp, ebp
jmp 0x14001b3dc
test al, al
je 0x14001b3d0
mov ebp, 0xffffffff
jmp 0x14001b3dc
xor ebp, ebp
cmp dword [rbx + 0x3f58], ebp
setne bpl
mov dword [rbx + 0x4970], ebp
mov eax, 0x21
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.14001a2e0
mov dword [rbx + 0x4974], 0xffffffff
mov rax, qword [0x1403d8458]
mov rbp, qword [rsp + 0xf0]
cmp byte [rax + 0x4931], 0
jne 0x14001b441
cmp byte [rax + 0x4919], 0
jne 0x14001b441
mov byte [rax + 0x4918], 0
jmp 0x14001b46c
cmp qword [rax + 0x48d8], 0
mov byte [rax + 0x4918], 1
jne 0x14001b46c
mov r8d, 0x2c36
lea rdx, str.C:UserszeyadDownloadsimgui_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 0x14001b755
test dword [r14 + 0x14], 0x40000
jne 0x14001b755
cmp qword [rdi + 0x4a40], 0
jne 0x14001b755
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 0x14001b4de
mulss xmm0, dword [rax + 0x290]
cmp word [r14 + 0x15c], 0
mulss xmm0, dword [0x1400f32c0]
mov ecx, dword [rdi + 0x4940]
movss xmm8, dword [0x1400f31a8]
mulss xmm0, dword [rdi + 0x18]
addss xmm0, dword [0x1400f3174]
cvttss2si eax, xmm0
movd xmm9, eax
cvtdq2ps xmm9, xmm9
jne 0x14001b5c3
cmp byte [r14 + 0x162], 0
je 0x14001b5c3
cmp ecx, 0xffffffff
je 0x14001b5c3
movss xmm1, dword [0x1400f3370]
test ecx, ecx
je 0x14001b54c
cmp ecx, 1
jne 0x14001b583
movaps xmm0, xmm8
jmp 0x14001b54f
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 0x14001b585
xor edx, edx
cmp ecx, 2
je 0x14001b593
cmp ecx, 3
jne 0x14001b5c3
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 0x14001b746
mov rcx, qword [0x1403d8458]
mov edx, 0x27c
movaps xmmword [rsp + 0xa0], xmm6
movaps xmmword [rsp + 0x90], xmm7
call fcn.1400135a0
mov rcx, qword [0x1403d8458]
mov edx, 0x27b
mov rbx, rax
call fcn.1400135a0
movss xmm6, dword [rbx + 0xc]
mov edx, 0x27a
mov rcx, qword [0x1403d8458]
subss xmm6, dword [rax + 0xc]
call fcn.1400135a0
mov rcx, qword [0x1403d8458]
mov edx, 0x279
mov rbx, rax
call fcn.1400135a0
movss xmm7, dword [rbx + 0xc]
mov edx, 0x273
mov rcx, qword [0x1403d8458]
subss xmm7, dword [rax + 0xc]
call fcn.1400135a0
cmp byte [rax], 0
je 0x14001b672
mov rcx, qword [0x1403d8458]
mov edx, 0x273
call fcn.140002500
cmp byte [rax + 8], 0
jne 0x14001b672
movss xmm8, dword [0x1400f3144]
jmp 0x14001b6a8
mov rcx, qword [0x1403d8458]
mov edx, 0x274
call fcn.1400135a0
cmp byte [rax], 0
je 0x14001b6a8
mov rcx, qword [0x1403d8458]
mov edx, 0x274
call fcn.140002500
cmp byte [rax + 8], 0
jne 0x14001b6a8
movss xmm8, dword [0x1400f3240]
ucomiss xmm7, xmm10
jp 0x14001b6b0
je 0x14001b6f1
cmp byte [r14 + 0xb4], 0
je 0x14001b6f1
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 0x14001b701
je 0x14001b73e
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 0x14001b788
test sil, sil
jne 0x14001b788
mov word [rdi + 0x4916], 1
jmp 0x14001b7d6
test r13b, r13b
je 0x14001b7d6
test byte [rdi + 8], 4
je 0x14001b7d6
test byte [rdi + 0xc], 4
je 0x14001b7d6
lea rcx, [rsp + 0xe0]
call fcn.14001a8c0
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