Function at 0x140118a70
Capabilities:
Check if file exists
Create shortcut via ishelllink
Get file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3f0]
sub rsp, 0x4f0
mov rax, qword [0x1405921c0]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
movzx r12d, r8b
mov rsi, rdx
mov r15, rcx
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x60], rdx
xor ebx, ebx
mov rax, qword [rdx]
lea r13, [0x140592ec8]
lea r14d, [rbx - 1]
cmp byte [rax], bl
je 0x140118ae5
lea rcx, [rsp + 0x68]
call fcn.140016140
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
cmp eax, 0xffffffff
jne 0x140118bab
mov rax, qword [rsi]
mov qword [rsp + 0x40], rax
add rax, 0xfffffffffffffff0
cmp rax, r13
je 0x140118af9
lock inc dword [rax]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea r8, [0x1404fa398]
lea rdx, str..lnk
lea rcx, [rsp + 0x40]
call fcn.140135520
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x48], rax
lea rcx, [rax - 0x10]
cmp rcx, r13
je 0x140118b36
lock inc dword [rcx]
mov rax, qword [rsp + 0x40]
lea rcx, [rax - 0x10]
cmp rcx, r13
je 0x140118b53
mov eax, r14d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x140118b53
call fcn.1400c9d7c
nop
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x50]
call fcn.140145b30
mov rax, qword [rsi]
mov rcx, qword [rsp + 0x50]
mov qword [rsi], rcx
lea rcx, [rax - 0x10]
cmp rcx, r13
je 0x140118b8a
mov eax, r14d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x140118b8a
call fcn.1400c9d7c
nop
mov rcx, qword [rsp + 0x48]
add rcx, 0xfffffffffffffff0
cmp rcx, r13
je 0x140118bab
mov eax, r14d
lock xadd dword [rcx], eax
dec eax
cmp eax, 0xffffffff
jne 0x140118bab
call fcn.1400c9d7c
mov rax, qword [rsi]
cmp byte [rax], 0
je 0x140118d4b
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.140016140
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
cmp eax, 0xffffffff
je 0x140118d4b
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x140508948]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14028efd0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140118d22
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140118d27
mov rax, qword [rbx]
mov rdi, qword [rax]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140118c31
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov qword [rsp + 0x38], 0
lea r8, [rsp + 0x38]
lea rdx, [0x140508a08]
mov rcx, rbx
call rdi
test eax, eax
js 0x140118d22
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x28]
mov rdx, rsi
lea rcx, [rsp + 0x78]
call fcn.140016140
xor r8d, r8d
mov rdx, qword [rax]
mov rcx, rbx
call rdi
test eax, eax
js 0x140118d22
test r12b, r12b
je 0x140118ca0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
xor edx, edx
lea r8d, [rdx + 3]
call qword [rax + 0x98]
test eax, eax
js 0x140118d22
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp - 0x80]
call fcn.140279e10
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov r10, qword [rax + 0x18]
mov eax, r12d
xor eax, 1
lea eax, [rax*4 + 2]
mov dword [rsp + 0x20], eax
lea r9, [rbp - 0x80]
mov r8d, 0x104
lea rdx, [rbp + 0x1d0]
call r10
test eax, eax
js 0x140118d22
lea rdx, [rbp + 0x1d0]
mov rcx, r15
call fcn.140018d60
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140118d07
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140118d18
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, rsi
call fcn.140002550
jmp 0x140118d74
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140118d3c
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140118d4b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
lea rax, [0x140592ed8]
mov qword [r15], rax
mov rcx, qword [rsi]
sub rcx, 0x10
cmp rcx, r13
je 0x140118d74
lock xadd dword [rcx], r14d
dec r14d
cmp r14d, 0xffffffff
jne 0x140118d74
call fcn.1400c9d7c
mov rax, r15
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.1400c9d20
mov rbx, qword [rsp + 0x540]
add rsp, 0x4f0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret