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

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5f8]
sub rsp, 0x6f8
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x18011a300]
xor rax, rsp
mov qword [rbp + 0x5e0], rax
mov r15, r9
mov r14d, r8d
mov rsi, rdx
mov r13, rcx
mov rax, qword [rbp + 0x668]
mov qword [rsp + 0x60], rax
mov rbx, qword [rbp + 0x678]
mov r12, qword [rbp + 0x688]
test rcx, rcx
jne 0x180014138
xor eax, eax
jmp 0x18001447f
xor eax, eax
mov edi, eax
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x18001442e
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov dword [rsp + 0x40], eax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [0x1800de620]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1800e0b50]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x18001442e
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
lea rdx, [0x1800dfa10]
call qword [rax]
test eax, eax
js 0x18001442e
mov rdx, r13
lea rcx, [rsp + 0x58]
call fcn.18002bea0
nop
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rsp + 0x58]
call qword [rax + 0x28]
test eax, eax
jns 0x1800141e2
jmp 0x180014424
mov r8d, dword [rbp + 0x690]
test r8d, r8d
je 0x1800141fe
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x98]
test rsi, rsi
je 0x1800142f2
test r14d, r14d
je 0x1800142f2
mov r8, r14
add r8, r8
xor edx, edx
mov rcx, rsi
call fcn.180043ef0
xor edi, edi
mov dword [rsp + 0x70], edi
xor edx, edx
mov r8d, 0x24c
lea rcx, [rsp + 0x74]
call fcn.180043ef0
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x70]
mov r8d, r14d
mov rdx, rsi
call qword [rax + 0x18]
test eax, eax
js 0x180014292
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rsi
repne scasw ax, word [rdi]
not rcx
dec rcx
je 0x180014290
lea edx, [rax + 0x7b]
mov rcx, rsi
call fcn.180045ec0
test rax, rax
je 0x1800142f2
mov edx, 0x7d
mov rcx, rsi
call fcn.180045ec0
test rax, rax
je 0x1800142f2
xor edi, edi
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [rsp + 0x48]
call qword [rax + 0x20]
test eax, eax
js 0x1800142f2
mov r13d, 1
mov word [rbp + 0x1c0], di
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x1c2]
call fcn.180043ef0
lea rdx, [rbp + 0x1c0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1800142f7
lea r8d, [r14 - 1]
lea rdx, [rbp + 0x1c0]
mov rcx, rsi
call fcn.180043e60
jmp 0x1800142f7
mov r13d, dword [rsp + 0x30]
test r15, r15
je 0x180014327
mov edi, dword [rbp + 0x660]
test edi, edi
je 0x180014327
mov r8d, edi
add r8, r8
xor edx, edx
mov rcx, r15
call fcn.180043ef0
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov r8d, edi
mov rdx, r15
call qword [rax + 0x50]
mov rsi, qword [rsp + 0x60]
test rsi, rsi
je 0x18001436e
mov edi, dword [rbp + 0x670]
test edi, edi
je 0x18001436e
mov r8d, edi
add r8, r8
xor edx, edx
mov rcx, rsi
call fcn.180043ef0
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea r9, [rsp + 0x30]
mov r8d, edi
mov rdx, rsi
call qword [rax + 0x80]
jmp 0x180014371
xor r14d, r14d
test rbx, rbx
je 0x1800143f3
mov edi, dword [rbp + 0x680]
test edi, edi
je 0x1800143f3
mov r8d, edi
add r8, r8
xor edx, edx
mov rcx, rbx
call fcn.180043ef0
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov r8d, edi
mov rdx, rbx
call qword [rax + 0x40]
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
je 0x1800143f3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x1800143f3
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
lea rax, [rcx - 2]
cdqe
cmp word [rbx + rax*2], 0x5c
je 0x1800143f3
mov rdi, rbx
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov eax, dword [0x1800d1d30]
mov dword [rdi - 2], eax
test r12, r12
je 0x18001441f
mov qword [r12], r14
test r13d, r13d
je 0x180014411
mov rax, qword [rsp + 0x48]
mov qword [r12], rax
mov qword [rsp + 0x48], r14
jmp 0x18001441f
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + 0x20]
mov edi, 1
lea rcx, [rsp + 0x58]
call fcn.180029530
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x180014447
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x50], 0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180014460
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180014470
call qword [sym.imp.ole32.dll_CoTaskMemFree]
cmp dword [rsp + 0x40], 0
jl 0x18001447d
call qword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
mov rcx, qword [rbp + 0x5e0]
xor rcx, rsp
call fcn.180043ec0
add rsp, 0x6f8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret