Function at 0x140078e00
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 - 0x158]
sub rsp, 0x258
movzx eax, byte [rcx + 1]
xor esi, esi
cmp al, 1
mov ecx, esi
mov r15d, esi
mov r12d, esi
cmova rcx, qword [0x140103f38]
mov r13d, esi
cmp al, 2
mov qword [rbp + 0x1b0], rcx
mov edi, esi
mov ebx, esi
cmova r15, qword [0x140103f40]
cmp al, 3
cmova r12, qword [0x140103f48]
cmp al, 4
cmova r13, qword [0x140103f50]
cmp al, 5
cmova rdi, qword [0x140103f58]
cmp al, 6
cmova rbx, qword [0x140103f60]
cmp al, 7
cmova rsi, qword [0x140103f68]
test rcx, rcx
je 0x140078e9f
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
lea r8, [r9 - 1]
call fcn.1400afca0
test r15, r15
je 0x140078eba
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, r15
lea r8, [r9 - 1]
call fcn.1400afca0
test r12, r12
je 0x140078ed5
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, r12
lea r8, [r9 - 1]
call fcn.1400afca0
test r13, r13
je 0x140078ef0
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, r13
lea r8, [r9 - 1]
call fcn.1400afca0
test rdi, rdi
je 0x140078f0b
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, rdi
lea r8, [r9 - 1]
call fcn.1400afca0
test rbx, rbx
je 0x140078f26
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, rbx
lea r8, [r9 - 1]
call fcn.1400afca0
test rsi, rsi
je 0x140078f41
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
mov rcx, rsi
lea r8, [r9 - 1]
call fcn.1400afca0
mov rcx, qword [rbp + 0x1a8]
xor r14b, r14b
call fcn.14007a1a0
test al, al
je 0x14007919c
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor edx, edx
lea rax, [rsp + 0x30]
lea r9, [0x1400cb470]
mov qword [rsp + 0x20], rax
lea rcx, [0x1400cb480]
lea r8d, [rdx + 1]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14007918a
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [0x1400cb490]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
js 0x14007917f
mov rcx, qword [rsp + 0x38]
xor r8d, r8d
mov rdx, qword [rbp + 0x1a8]
mov rax, qword [rcx]
call qword [rax + 0x28]
test eax, eax
js 0x140079174
mov r14, qword [rbp + 0x1b0]
test r14, r14
je 0x14007900d
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
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 + 0x40]
mov rcx, r14
lea r8, [r9 - 1]
call fcn.1400afca0
test r15, r15
je 0x140079041
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r8d, 0x104
mov rax, qword [rcx]
call qword [rax + 0x40]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rsp + 0x40]
mov rcx, r15
lea r8, [r9 - 1]
call fcn.1400afca0
test r12, r12
je 0x140079075
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r8d, 0x104
mov rax, qword [rcx]
call qword [rax + 0x50]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rsp + 0x40]
mov rcx, r12
lea r8, [r9 - 1]
call fcn.1400afca0
test r13, r13
je 0x1400790a9
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r8d, 0x104
mov rax, qword [rcx]
call qword [rax + 0x30]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rsp + 0x40]
mov rcx, r13
lea r8, [r9 - 1]
call fcn.1400afca0
test rdi, rdi
jne 0x1400790b3
test rbx, rbx
je 0x140079129
mov rcx, qword [rsp + 0x30]
lea r9, [rbp + 0x1b0]
mov r8d, 0x104
lea rdx, [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x80]
test rdi, rdi
je 0x1400790f1
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea rdx, [rsp + 0x40]
mov rcx, rdi
lea r8, [r9 - 1]
call fcn.1400afca0
test rbx, rbx
je 0x140079129
cmp word [rsp + 0x40], 0
mov rcx, rbx
je 0x140079116
mov eax, dword [rbp + 0x1b0]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
inc eax
movsxd rdx, eax
call fcn.1400014c0
jmp 0x140079129
xor r9d, r9d
mov byte [rsp + 0x20], 1
xor edx, edx
lea r8, [r9 - 1]
call fcn.1400afca0
test rsi, rsi
je 0x140079152
mov rcx, qword [rsp + 0x30]
lea rdx, [rbp + 0x1b8]
mov rax, qword [rcx]
call qword [rax + 0x70]
movsxd rdx, dword [rbp + 0x1b8]
mov r8b, reloc.OLEAUT32.dll_SafeArrayGetElement
mov rcx, rsi
call fcn.1400014c0
mov rcx, qword [0x140101c20]
lea rdx, [0x1400cb6f4]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400afca0
mov r14b, 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 r14b, r14b
je 0x14007919c
mov eax, 1
jmp 0x1400791e3
mov rax, qword [0x1400fe060]
lea rdx, [0x1400e0c2c]
test byte [rax + 0x140], 1
jne 0x1400791cd
mov rcx, qword [0x140101c20]
xor r9d, r9d
mov byte [rsp + 0x20], 1
lea r8, [r9 - 1]
call fcn.1400afca0
jmp 0x1400791e3
mov rcx, qword [rbp + 0x1a0]
lea r9, [0x1400cb664]
xor r8d, r8d
call fcn.1400465b0
add rsp, 0x258
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret