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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3b8]
sub rsp, 0x4b8
movzx eax, byte [rcx + 1]
xor ebx, ebx
cmp al, 1
jbe 0x14008132e
mov r8, qword [0x140136498]
mov rdi, r8
cmp al, 2
jbe 0x140081331
mov rdx, qword [0x1401364a0]
mov rsi, rdx
cmp al, 3
jbe 0x140081334
mov rcx, qword [0x1401364a8]
mov r15, rcx
cmp al, 4
jbe 0x140081337
mov r9, qword [0x1401364b0]
mov r13, r9
cmp al, 5
jbe 0x14008133a
mov r10, qword [0x1401364b8]
mov r12, r10
cmp al, 6
jbe 0x14008133d
mov r14, qword [0x1401364c0]
cmp al, 7
jbe 0x140081340
mov rax, qword [0x1401364c8]
mov qword [rsp + 0x38], rax
jmp 0x140081345
mov rdi, rbx
mov rsi, rbx
mov r15, rbx
mov r13, rbx
mov r12, rbx
mov r14, rbx
mov qword [rsp + 0x38], rbx
test rdi, rdi
je 0x140081360
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, rdi
lea r8, [r9 - 1]
call fcn.1400b0830
test rsi, rsi
je 0x14008137b
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, rsi
lea r8, [r9 - 1]
call fcn.1400b0830
test r15, r15
je 0x140081396
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, r15
lea r8, [r9 - 1]
call fcn.1400b0830
test r13, r13
je 0x1400813b1
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, r13
lea r8, [r9 - 1]
call fcn.1400b0830
test r12, r12
je 0x1400813cc
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, r12
lea r8, [r9 - 1]
call fcn.1400b0830
test r14, r14
je 0x1400813e7
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, r14
lea r8, [r9 - 1]
call fcn.1400b0830
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140081407
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, rax
lea r8, [r9 - 1]
call fcn.1400b0830
mov rcx, qword [rbp + 0x408]
mov edx, 0x2a
mov byte [rbp + 0x410], bl
call fcn.1400cbb24
test rax, rax
jne 0x140081481
mov rcx, qword [rbp + 0x408]
lea edx, [rax + 0x3f]
call fcn.1400cbb24
test rax, rax
jne 0x140081481
mov rcx, qword [rbp + 0x408]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1400814a4
mov rax, qword [0x14012fc08]
lea rdx, [0x14011037c]
test byte [rax + 0x140], 1
jne 0x1400816f6
mov rcx, qword [0x140134210]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400b0830
jmp 0x14008170c
mov rcx, qword [rbp + 0x408]
lea rdx, [rbp + 0x160]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x140081449
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor edx, edx
lea rax, [rsp + 0x30]
lea r9, [0x1400f30c0]
mov qword [rsp + 0x20], rax
lea rcx, [0x1400f30d0]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400816dc
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rdx, [0x1400f30e0]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
js 0x1400816d1
mov rcx, qword [rsp + 0x40]
xor r8d, r8d
mov rdx, qword [rbp + 0x408]
mov rax, qword [rcx]
call qword [rax + 0x28]
test eax, eax
js 0x1400816c6
test rdi, rdi
je 0x140081552
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x50]
xor r9d, r9d
mov dword [rsp + 0x20], 2
mov r8d, 0x104
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rsp + 0x50]
mov rcx, rdi
lea r8, [r9 - 1]
call fcn.1400b0830
test rsi, rsi
je 0x140081586
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov r8d, 0x104
mov rax, qword [rcx]
call qword [rax + 0x40]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rsp + 0x50]
mov rcx, rsi
lea r8, [r9 - 1]
call fcn.1400b0830
test r15, r15
je 0x1400815ba
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov r8d, 0x104
mov rax, qword [rcx]
call qword [rax + 0x50]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rsp + 0x50]
mov rcx, r15
lea r8, [r9 - 1]
call fcn.1400b0830
test r13, r13
je 0x1400815ee
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x50]
mov r8d, 0x104
mov rax, qword [rcx]
call qword [rax + 0x30]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rsp + 0x50]
mov rcx, r13
lea r8, [r9 - 1]
call fcn.1400b0830
test r12, r12
jne 0x1400815f8
test r14, r14
je 0x140081672
mov rcx, qword [rsp + 0x30]
lea r9, [rbp + 0x410]
mov r8d, 0x104
lea rdx, [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x80]
test r12, r12
je 0x140081636
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rsp + 0x50]
mov rcx, r12
lea r8, [r9 - 1]
call fcn.1400b0830
test r14, r14
je 0x140081672
mov rcx, r14
cmp word [rsp + 0x50], bx
je 0x14008165f
mov eax, dword [rbp + 0x410]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
test eax, eax
setns bl
add ebx, eax
movsxd rdx, ebx
call fcn.1400014b0
jmp 0x140081672
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
lea r8, [r9 - 1]
call fcn.1400b0830
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x1400816a0
mov rcx, qword [rsp + 0x30]
lea rdx, [rbp + 0x418]
mov rax, qword [rcx]
call qword [rax + reloc.WSOCK32.dll_WSASetLastError]
movsxd rdx, dword [rbp + 0x418]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rbx
call fcn.1400014b0
mov rcx, qword [0x140134210]
lea rdx, [0x1400fb96c]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400b0830
mov byte [rbp + 0x410], 1
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rcx]
call qword [rdx + reloc.WSOCK32.dll_recv]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx]
call qword [rdx + reloc.WSOCK32.dll_recv]
call qword [sym.imp.ole32.dll_CoUninitialize]
cmp byte [rbp + 0x410], 0
je 0x140081449
mov eax, 1
jmp 0x14008170c
mov rcx, qword [rbp + 0x400]
lea r9, [0x1400fb87c]
xor r8d, r8d
call fcn.140050b90
add rsp, 0x4b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret