Function at 0x1400c2670
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov dword [rsp + 0x18], r8d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1150]
mov eax, 0x1250
call fcn.140247340
sub rsp, rax
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rsp + 0x1298], rbx
mov r12, rdx
mov r14, rcx
mov r15d, 1
mov r9d, r15d
mov r8d, 0x20000
lea rdx, str.CSASSOFileLNK::ResolveLinkPath
lea rcx, [rbp - 0x78]
call fcn.1400b30a0
nop
lea rcx, [r14 + 0xb0]
call fcn.14000ad30
mov qword [rsp + 0x20], rax
lea r9, [0x1402a0f50]
mov edx, 0x20000
lea ecx, [r15 + 0x48]
lea r8d, [r15 + 7]
call fcn.1400fd140
cmp dword [r14 + 0x240], 0
je 0x1400c270e
mov rdx, qword [r14 + 0x230]
mov rcx, r12
call fcn.14002a980
xor edx, edx
mov r8d, 0x820
lea rcx, [rbp + 0x110]
call fcn.140249b10
xor esi, esi
mov qword [rbp + 0x1190], rsi
lea rax, [rbp + 0x1190]
mov qword [rsp + 0x20], rax
lea r9, [0x1402d7180]
mov r8d, r15d
xor edx, edx
lea rcx, [0x1402d71b0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x1400c27fa
mov rcx, qword [rbp + 0x1190]
test rcx, rcx
je 0x1400c2801
mov qword [rbp + 0x11a8], rsi
mov rax, qword [rcx]
lea r8, [rbp + 0x11a8]
lea rdx, [0x1402d71a0]
call qword [rax]
test eax, eax
jne 0x1400c27e5
mov rbx, qword [rbp + 0x11a8]
test rbx, rbx
je 0x1400c27ec
mov rdi, qword [rbx]
lea rcx, [r14 + 0xb0]
call fcn.14000ad30
mov rdx, rax
xor r8d, r8d
mov rcx, rbx
call qword [rdi + 0x28]
test eax, eax
jne 0x1400c27e5
mov rcx, qword [rbp + 0x1190]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov r8d, 0x820
lea rdx, [rbp + 0x110]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
jne 0x1400c27e5
cmp word [rbp + 0x110], ax
cmovne esi, r15d
mov rbx, qword [rbp + 0x11a8]
test rbx, rbx
je 0x1400c27fa
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
mov rcx, qword [rbp + 0x1190]
test rcx, rcx
je 0x1400c280c
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
test esi, esi
jne 0x1400c2929
lea rcx, str.MSI.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
test rax, rax
je 0x1400c2a19
lea rdx, str.MsiGetShortcutTargetW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r15, rax
lea rdx, str.MsiGetComponentPathW
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test r15, r15
je 0x1400c2912
test rax, rax
je 0x1400c2912
xor edx, edx
lea r8d, [rsi + 0x50]
lea rcx, [rbp - 0x10]
call fcn.140249b10
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], eax
mov word [rsp + 0x7c], ax
xor edx, edx
lea r8d, [rsi + 0x50]
lea rcx, [rbp - 0x60]
call fcn.140249b10
lea rcx, [r14 + 0xb0]
call fcn.14000ad30
mov rcx, rax
lea r9, [rbp - 0x60]
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x10]
call r15
test eax, eax
jne 0x1400c2912
mov dword [rbp + 0x1190], 0x820
lea r9, [rbp + 0x1190]
lea r8, [rbp + 0x110]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x10]
call rdi
cmp dword [rbp + 0x1190], esi
mov r15d, 1
cmovne esi, r15d
jmp 0x1400c2918
mov r15d, 1
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x1400c2a19
cmp dword [rbp + 0x11a0], 0
je 0x1400c29ca
xor r8d, r8d
lea rdx, str.S_CURRENT_USER
lea rcx, [rbp + 0x40]
call fcn.1400da7f0
nop
xor edx, edx
mov r8d, 0x820
lea rcx, [rbp + 0x930]
call fcn.140249b10
mov r9d, 0x820
lea r8, [rbp + 0x930]
lea rdx, [rbp + 0x110]
lea rcx, [rbp + 0x40]
call fcn.1400db2c0
test eax, eax
je 0x1400c29bf
lea rcx, [rbp + 0x930]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp + 0x1190], rax
test rax, rax
je 0x1400c2a79
mov rdx, rax
lea rcx, [r14 + 0x228]
call fcn.14002a980
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [r14 + 0x240], r15d
lea rcx, [rbp + 0x40]
call fcn.1400daa00
jmp 0x1400c2a0a
lea rcx, [rbp + 0x110]
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rbp + 0x1190], rax
test rax, rax
je 0x1400c2a6e
mov rdx, rax
lea rcx, [r14 + 0x228]
call fcn.14002a980
nop
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [r14 + 0x240], r15d
mov rdx, qword [r14 + 0x230]
mov rcx, r12
call fcn.14002a980
mov rax, qword [r14 + 0x230]
mov qword [rsp + 0x20], rax
lea r9, str.Resolved:__s
mov edx, 0x20000
mov ecx, 0xab
mov r8d, 8
call fcn.1400fd140
mov ebx, dword [r14 + 0x240]
lea rcx, [rbp - 0x78]
call fcn.1400b3190
mov eax, ebx
mov rbx, qword [rsp + 0x1298]
add rsp, 0x1250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x8007000e
call fcn.140004cd0
nop
mov ecx, 0x8007000e
call fcn.140004cd0
int3