Function at 0x140013b30
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 [0x140022050]
xor rax, rsp
mov qword [rsp + 0x870], rax
call fcn.140004410
mov rdi, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140013b79
mov rcx, rax
call fcn.1400043f0
nop
mov ecx, dword [0x140022330]
xor esi, esi
test cl, 1
jne 0x140013baa
or ecx, 1
mov dword [0x140022330], ecx
mov qword [0x140022320], rsi
mov byte [0x140022328], sil
lea rcx, [0x1400182b0]
call fcn.140015630
nop
cmp byte [0x140022328], 0
jne 0x140013d84
mov byte [0x140022328], 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 0x140013c16
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x140013c11
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140013c16
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x140013c16
mov word [rsp + 0x40], si
lea rcx, [rsp + 0x40]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x140013c20
mov eax, dword [0x140019ce8]
mov dword [rcx], eax
lea rcx, [rsp + 0x40]
sub rcx, 2
nop dword [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x140013c40
movups xmm0, xmmword [str.2345PdfConverter]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x14001a540]
movups xmmword [rcx + 0x10], xmm1
movzx eax, word [0x14001a550]
mov word [rcx + 0x20], ax
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140013c7f
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 0x140013ca3
test rax, rax
je 0x140013d57
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 0x140013ce0
test rax, rax
je 0x140013d57
lea rcx, [rsp + 0x450]
sub rcx, 2
nop dword [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x140013d00
mov eax, dword [0x140019ce8]
mov dword [rcx], eax
lea rcx, [rsp + 0x450]
sub rcx, 2
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x140013d20
movups xmm0, xmmword [str.2345PdfConverter.hzv]
movups xmmword [rcx], xmm0
movups xmm1, xmmword [0x140019498]
movups xmmword [rcx + 0x10], xmm1
movsd xmm0, qword [0x1400194a8]
movsd qword [rcx + 0x20], xmm0
movzx eax, word [0x1400194b0]
mov word [rcx + 0x28], ax
call fcn.140002f60
lea rcx, [rsp + 0x450]
inc rbx
cmp word [rcx + rbx*2], 0
jne 0x140013d64
test rbx, rbx
je 0x140013d84
lea rdx, [rsp + 0x450]
mov rcx, rax
call fcn.140003080
nop
test rdi, rdi
je 0x140013d96
mov rcx, rdi
call fcn.140004400
mov qword [rsp + 0x28], rsi
lea rax, [0x140022320]
mov rcx, qword [rsp + 0x870]
xor rcx, rsp
call fcn.1400150c0
lea r11, [rsp + 0x880]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret