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

Disassembly:
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x8d8
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rsp + 0x8c0], rax
mov rax, qword [rsp + 0x8f0]
movzx eax, byte [rax + 8]
test eax, eax
je 0x1800bca45
jmp 0x1800bcd13
mov rax, qword [rsp + 0x8f0]
mov byte [rax + 8], 1
lea rax, [rsp + 0x90]
mov rdi, rax
xor eax, eax
mov ecx, 0x410
rep stosb byte [rdi], al
mov qword [rsp + 0x40], 0
lea r8, [rsp + 0x40]
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x1800bcadf
lea rdx, [rsp + 0x90]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1800bcab0
cmp qword [rsp + 0x40], 0
je 0x1800bcaae
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
jmp 0x1800bcadf
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0x410
jae 0x1800bcacb
jmp 0x1800bcad0
call fcn.1800bd40c
xor eax, eax
mov rcx, qword [rsp + 0x60]
mov word [rsp + rcx + 0x90], ax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
sub qword [rsp + 0x20], 2
add qword [rsp + 0x20], 2
mov rax, qword [rsp + 0x20]
cmp word [rax], 0
jne 0x1800bcaf2
mov rax, qword [rsp + 0x20]
lea rcx, [0x1800dc0a4]
mov rdi, rax
mov rsi, rcx
mov ecx, 4
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x90]
mov qword [rsp + 0x28], rax
sub qword [rsp + 0x28], 2
add qword [rsp + 0x28], 2
mov rax, qword [rsp + 0x28]
cmp word [rax], 0
jne 0x1800bcb2f
mov rax, qword [rsp + 0x28]
lea rcx, str.KeanPdfConverter
mov rdi, rax
mov rsi, rcx
mov ecx, 0x22
rep movsb byte [rdi], byte [rsi]
lea rcx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1800bcb9b
mov eax, 2
imul rax, rax, 0
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0x410
jae 0x1800bcb87
jmp 0x1800bcb8c
call fcn.1800bd40c
xor eax, eax
mov rcx, qword [rsp + 0x68]
mov word [rsp + rcx + 0x90], ax
lea rax, [rsp + 0x4a0]
mov rdi, rax
xor eax, eax
mov ecx, 0x412
rep stosb byte [rdi], al
lea rax, [rsp + 0x90]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x48]
cmp word [rax + rcx*2], 0
jne 0x1800bcbc5
mov rax, qword [rsp + 0x48]
test rax, rax
jbe 0x1800bccb5
mov r8d, 0x207
lea rdx, [rsp + 0x90]
lea rcx, [rsp + 0x4a0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy]
lea rax, [rsp + 0x4a0]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x50], 0xffffffffffffffff
inc qword [rsp + 0x50]
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x50]
cmp word [rax + rcx*2], 0
jne 0x1800bcc1b
mov rax, qword [rsp + 0x50]
test rax, rax
jbe 0x1800bccb5
lea rax, [rsp + 0x4a0]
mov qword [rsp + 0x30], rax
sub qword [rsp + 0x30], 2
add qword [rsp + 0x30], 2
mov rax, qword [rsp + 0x30]
cmp word [rax], 0
jne 0x1800bcc4e
mov rax, qword [rsp + 0x30]
lea rcx, [0x1800dc0a4]
mov rdi, rax
mov rsi, rcx
mov ecx, 4
rep movsb byte [rdi], byte [rsi]
lea rax, [rsp + 0x4a0]
mov qword [rsp + 0x38], rax
sub qword [rsp + 0x38], 2
add qword [rsp + 0x38], 2
mov rax, qword [rsp + 0x38]
cmp word [rax], 0
jne 0x1800bcc8b
mov rax, qword [rsp + 0x38]
lea rcx, str.KeanPdfConverter.hzv
mov rdi, rax
mov rsi, rcx
mov ecx, 0x2a
rep movsb byte [rdi], byte [rsi]
call fcn.1800a64b0
mov qword [rsp + 0x88], rax
lea rax, [rsp + 0x4a0]
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x58], 0xffffffffffffffff
inc qword [rsp + 0x58]
mov rax, qword [rsp + 0x80]
mov rcx, qword [rsp + 0x58]
cmp word [rax + rcx*2], 0
jne 0x1800bccdb
mov rax, qword [rsp + 0x58]
test rax, rax
jbe 0x1800bcd13
lea rdx, [rsp + 0x4a0]
mov rcx, qword [rsp + 0x88]
call fcn.1800a65d0
mov rcx, qword [rsp + 0x8c0]
xor rcx, rsp
call fcn.1800bd270
add rsp, 0x8d8
pop rdi
pop rsi
ret