Function at 0x140063d90
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 [0x1401070a8]
mov r13d, r14d
cmp al, 2
mov qword [rbp + 0x1c0], rcx
mov edi, r14d
mov ebx, r14d
cmova r15, qword [0x1401070b0]
mov esi, r14d
cmp al, 3
cmova r12, qword [0x1401070b8]
cmp al, 4
cmova r13, qword [0x1401070c0]
cmp al, 5
cmova rdi, qword [0x1401070c8]
cmp al, 6
cmova rbx, qword [0x1401070d0]
cmp al, 7
cmova rsi, qword [0x1401070d8]
mov qword [rsp + 0x40], rsi
test rcx, rcx
je 0x140063e3b
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
xor edx, edx
call fcn.14008f020
test r15, r15
je 0x140063e56
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
xor edx, edx
mov rcx, r15
call fcn.14008f020
test r12, r12
je 0x140063e71
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
xor edx, edx
mov rcx, r12
call fcn.14008f020
test r13, r13
je 0x140063e8c
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
xor edx, edx
mov rcx, r13
call fcn.14008f020
test rdi, rdi
je 0x140063ea7
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
xor edx, edx
mov rcx, rdi
call fcn.14008f020
test rbx, rbx
je 0x140063ec2
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
xor edx, edx
mov rcx, rbx
call fcn.14008f020
test rsi, rsi
je 0x140063edd
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
xor edx, edx
mov rcx, rsi
call fcn.14008f020
mov rcx, qword [rbp + 0x1b8]
xor sil, sil
call fcn.1400651c0
test al, al
je 0x140064144
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor edx, edx
lea rax, [rsp + 0x30]
lea r9, [0x1400c6fc0]
mov qword [rsp + 0x20], rax
lea rcx, [0x1400c6fd0]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140064132
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [0x1400c6fe0]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
js 0x140064127
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 0x14006411c
mov rsi, qword [rbp + 0x1c0]
test rsi, rsi
je 0x140063fa9
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
or r8, 0xffffffffffffffff
lea rdx, [rsp + 0x50]
mov rcx, rsi
call fcn.14008f020
test r15, r15
je 0x140063fdd
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
or r8, 0xffffffffffffffff
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.14008f020
test r12, r12
je 0x140064011
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
or r8, 0xffffffffffffffff
lea rdx, [rsp + 0x50]
mov rcx, r12
call fcn.14008f020
test r13, r13
je 0x140064045
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
or r8, 0xffffffffffffffff
lea rdx, [rsp + 0x50]
mov rcx, r13
call fcn.14008f020
test rdi, rdi
jne 0x14006404f
test rbx, rbx
je 0x1400640cc
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 0x14006408d
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14008f020
test rbx, rbx
je 0x1400640cc
mov rcx, rbx
cmp word [rsp + 0x50], r14w
je 0x1400640b9
mov eax, dword [rbp + 0x1c0]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
test eax, eax
setns r14b
add r14d, eax
movsxd rdx, r14d
call fcn.140001280
jmp 0x1400640cc
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
xor edx, edx
call fcn.14008f020
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x1400640fa
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.140001280
mov rcx, qword [0x140104d40]
lea rdx, [0x1400cefdc]
xor r9d, r9d
mov byte [rsp + 0x20], 1
or r8, 0xffffffffffffffff
call fcn.14008f020
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 0x140064144
mov eax, 1
jmp 0x14006418b
mov rax, qword [0x140100a58]
lea rdx, [0x1400e25dc]
test byte [rax + 0x140], 1
jne 0x140064175
mov rcx, qword [0x140104d40]
xor r9d, r9d
or r8, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
call fcn.14008f020
jmp 0x14006418b
mov rcx, qword [rbp + 0x1b0]
lea r9, [0x1400cef3c]
xor r8d, r8d
call fcn.140038da0
add rsp, 0x268
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret