Function at 0x14007a210
Capabilities:
Create shortcut via ishelllink

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 - 0x168]
sub rsp, 0x268
movzx eax, byte [rcx + 1]
xor r14d, r14d
cmp al, 1
mov ecx, r14d
mov r15d, r14d
mov r12d, r14d
cmova rcx, qword [0x140104ae8]
mov r13d, r14d
cmp al, 2
mov qword [rbp + 0x1c0], rcx
mov edi, r14d
mov ebx, r14d
cmova r15, qword [0x140104af0]
mov esi, r14d
cmp al, 3
cmova r12, qword [0x140104af8]
cmp al, 4
cmova r13, qword [0x140104b00]
cmp al, 5
cmova rdi, qword [0x140104b08]
cmp al, 6
cmova rbx, qword [0x140104b10]
cmp al, 7
cmova rsi, qword [0x140104b18]
mov qword [rsp + 0x40], rsi
test rcx, rcx
je 0x14007a2bb
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
lea r8, [r14 - 1]
call fcn.1400b1f60
test r15, r15
je 0x14007a2d6
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, r15
lea r8, [r9 - 1]
call fcn.1400b1f60
test r12, r12
je 0x14007a2f1
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, r12
lea r8, [r9 - 1]
call fcn.1400b1f60
test r13, r13
je 0x14007a30c
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, r13
lea r8, [r9 - 1]
call fcn.1400b1f60
test rdi, rdi
je 0x14007a327
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, rdi
lea r8, [r9 - 1]
call fcn.1400b1f60
test rbx, rbx
je 0x14007a342
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, rbx
lea r8, [r9 - 1]
call fcn.1400b1f60
test rsi, rsi
je 0x14007a35d
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, rsi
lea r8, [r9 - 1]
call fcn.1400b1f60
mov rcx, qword [rbp + 0x1b8]
xor sil, sil
call fcn.14007b5c0
test al, al
je 0x14007a5c4
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor edx, edx
lea rax, [rsp + 0x30]
lea r9, [0x1400cc460]
mov qword [rsp + 0x20], rax
lea rcx, [0x1400cc470]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14007a5b2
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [0x1400cc480]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
js 0x14007a5a7
mov rcx, qword [rsp + 0x38]
xor r8d, r8d
mov rdx, qword [rbp + 0x1b8]
mov rax, qword [rcx]
call qword [rax + 0x28]
test eax, eax
js 0x14007a59c
mov rsi, qword [rbp + 0x1c0]
test rsi, rsi
je 0x14007a429
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, rsi
lea r8, [r9 - 1]
call fcn.1400b1f60
test r15, r15
je 0x14007a45d
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, r15
lea r8, [r9 - 1]
call fcn.1400b1f60
test r12, r12
je 0x14007a491
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, r12
lea r8, [r9 - 1]
call fcn.1400b1f60
test r13, r13
je 0x14007a4c5
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.1400b1f60
test rdi, rdi
jne 0x14007a4cf
test rbx, rbx
je 0x14007a54c
mov rcx, qword [rsp + 0x30]
lea r9, [rbp + 0x1c0]
mov r8d, 0x104
lea rdx, [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x80]
test rdi, rdi
je 0x14007a50d
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rsp + 0x50]
mov rcx, rdi
lea r8, [r9 - 1]
call fcn.1400b1f60
test rbx, rbx
je 0x14007a54c
mov rcx, rbx
cmp word [rsp + 0x50], r14w
je 0x14007a539
mov eax, dword [rbp + 0x1c0]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
test eax, eax
setns r14b
add r14d, eax
movsxd rdx, r14d
call fcn.1400014c0
jmp 0x14007a54c
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
lea r8, [r9 - 1]
call fcn.1400b1f60
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14007a57a
mov rcx, qword [rsp + 0x30]
lea rdx, [rbp + 0x1c8]
mov rax, qword [rcx]
call qword [rax + 0x70]
movsxd rdx, dword [rbp + 0x1c8]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rbx
call fcn.1400014c0
mov rcx, qword [0x140102760]
lea rdx, [0x1400cc6d4]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400b1f60
mov sil, 1
mov rcx, qword [rsp + 0x38]
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx]
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetDim]
call qword [sym.imp.ole32.dll_CoUninitialize]
test sil, sil
je 0x14007a5c4
mov eax, 1
jmp 0x14007a60b
mov rax, qword [0x1400ff050]
lea rdx, [0x1400e1d2c]
test byte [rax + 0x140], 1
jne 0x14007a5f5
mov rcx, qword [0x140102760]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400b1f60
jmp 0x14007a60b
mov rcx, qword [rbp + 0x1b0]
lea r9, [0x1400cc644]
xor r8d, r8d
call fcn.140047870
add rsp, 0x268
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret