Function at 0x140026500
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x880
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x14003e050]
xor rax, rsp
mov qword [rsp + 0x870], rax
call fcn.1400117b0
mov rdi, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140026549
mov rcx, rax
call fcn.14000fdb0
nop
mov ecx, dword [0x14003e7b0]
xor esi, esi
test cl, 1
jne 0x14002657a
or ecx, 1
mov dword [0x14003e7b0], ecx
mov qword [0x14003e7a0], rsi
mov byte [0x14003e7a8], sil
lea rcx, [0x14002dcd0]
call fcn.140028944
nop
cmp byte [0x14003e7a8], 0
jne 0x140026754
mov byte [0x14003e7a8], 1
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], rsi
lea r8, [rsp + 0x20]
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x1400265e6
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1400265e1
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x1400265e6
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1400265e6
mov word [rsp + 0x40], si
lea rcx, [rsp + 0x40]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400265f0
mov eax, dword [0x14002f86c]
mov dword [rcx], eax
lea rcx, [rsp + 0x40]
sub rcx, 2
nop dword [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x140026610
movups xmm0, xmmword [str.2345PdfConverter]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x140030780]
movups xmmword [rcx + 0x10], xmm1
movzx eax, word [0x140030790]
mov word [rcx + 0x20], ax
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14002664f
mov word [rsp + 0x40], si
xor edx, edx
mov r8d, 0x412
lea rcx, [rsp + 0x450]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x40]
mov rbx, 0xffffffffffffffff
mov rax, rbx
inc rax
cmp word [rcx + rax*2], 0
jne 0x140026673
test rax, rax
je 0x140026727
mov r8d, 0x207
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x450]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
lea rcx, [rsp + 0x450]
mov rax, rbx
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400266b0
test rax, rax
je 0x140026727
lea rcx, [rsp + 0x450]
sub rcx, 2
nop dword [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400266d0
mov eax, dword [0x14002f86c]
mov dword [rcx], eax
lea rcx, [rsp + 0x450]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400266f0
movups xmm0, xmmword [str.2345PdfConverter.hzv]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x14002e778]
movups xmmword [rcx + 0x10], xmm1
movsd xmm0, qword [0x14002e788]
movsd qword [rcx + 0x20], xmm0
movzx eax, word [0x14002e790]
mov word [rcx + 0x28], ax
call fcn.14001b790
lea rcx, [rsp + 0x450]
inc rbx
cmp word [rcx + rbx*2], 0
jne 0x140026734
test rbx, rbx
je 0x140026754
lea rdx, [rsp + 0x450]
mov rcx, rax
call fcn.14001b8b0
nop
test rdi, rdi
je 0x140026766
mov rcx, rdi
call fcn.14000fdc0
mov qword [rsp + 0x28], rsi
lea rax, [0x14003e7a0]
mov rcx, qword [rsp + 0x870]
xor rcx, rsp
call fcn.140028370
lea r11, [rsp + 0x880]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret