Function at 0x1400476ac
Capabilities:
Check if file exists
Create shortcut via ishelllink

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1b0]
sub rsp, 0x2b0
mov rax, qword [0x14008d310]
xor rax, rsp
mov qword [rbp + 0x1a8], rax
mov rsi, rdx
mov rbx, rcx
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x40], r14
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov rcx, qword [rbx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14004770c
mov edi, 0x80030002
jmp 0x1400478c2
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x14006fbe8]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14006fbf8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov edi, eax
test eax, eax
js 0x1400478c2
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x14006fbd8]
call qword [rax]
mov edi, eax
test eax, eax
js 0x1400478c2
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400478bf
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rbx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayAllocDescriptorEx]
mov edi, eax
test eax, eax
js 0x1400478c2
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
xor r8d, r8d
xor edx, edx
call qword [rax + 0x98]
mov edi, eax
test eax, eax
js 0x1400478c2
call fcn.1400027c4
mov rcx, rax
test rax, rax
je 0x140047912
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
mov rdi, qword [rsp + 0x30]
mov edx, 1
sub edx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, 0x104
or eax, edx
jge 0x1400477e8
mov edx, 0x104
lea rcx, [rsp + 0x38]
call fcn.140002b54
mov rbx, qword [rsp + 0x38]
mov rax, qword [rdi]
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x50]
mov r8d, 0x104
mov rdx, rbx
mov rcx, rdi
call qword [rax + 0x18]
mov edi, eax
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsnlen]
test eax, eax
js 0x140047920
cmp eax, dword [rbx - 0xc]
jg 0x140047920
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r14w
test edi, edi
jns 0x140047854
lea rdx, [rbx - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1400478c2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400478c2
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.140002cec
nop
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.140006324
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1400478a0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
nop dword [rax]
nop word [rax + rax]
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x1400478bf
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, r14d
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400478d9
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400478e9
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov eax, edi
mov rcx, qword [rbp + 0x1a8]
xor rcx, rsp
call fcn.140001020
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400312f0
nop
jmp 0x14004791f
nop
mov ecx, 0x80070057
call fcn.1400312f0
int3