Function at 0x140140d20
Capabilities:
Create shortcut via ishelllink

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x308
mov rsi, r8
mov edi, edx
mov r14, rcx
mov rax, qword [0x14051d038]
xor rax, rsp
mov qword [rsp + 0x300], rax
movaps xmm0, xmmword [0x14047fb40]
lea rbx, [rsp + 0xb0]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.ResolveShortcutProperties
lea r8, str....._basewin_shortcut.cc
lea r15, [rsp + 0xf0]
mov rcx, r15
mov r9d, 0xd9
call fcn.14026d510
mov rcx, rbx
mov rdx, r15
xor r8d, r8d
call fcn.14025d230
cmp edi, 0x100
jb 0x140140da6
call fcn.1403815d0
lea r15, [rsp + 0xa8]
mov qword [r15], 0
mov qword [rsp + 0x20], r15
lea rcx, [0x140472070]
lea r9, [0x1404addb8]
xor ebx, ebx
xor edx, edx
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword [r15]
test eax, eax
js 0x1401410b4
lea r8, [rsp + 0xa0]
mov qword [r8], 0
mov rax, qword [rcx]
mov rax, qword [rax]
lea rdx, [0x1404addc8]
call qword [case.0x14012d181.0]
test eax, eax
js 0x140141084
mov rcx, qword [rsp + 0xa0]
cmp byte [r14 + 0x17], 0
jns 0x140140e1f
mov r14, qword [r14]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
xor ebx, ebx
mov rdx, r14
xor r8d, r8d
call qword [case.0x14012d181.0]
test eax, eax
js 0x140141086
mov dword [rsi + 0xac], 0
lea rcx, [rsp + 0xf0]
mov r8d, 0x208
mov dl, 0xaa
call fcn.1402e0d10
test dil, 1
je 0x140140edd
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
mov dword [rsp + 0x20], 2
xor ebx, ebx
lea r14, [rsp + 0xf0]
mov rdx, r14
mov r8d, 0x104
xor r9d, r9d
call qword [case.0x14012d181.0]
test eax, eax
js 0x140141086
lea rbx, [rsp + 0x70]
mov qword [rbx], r14
mov rcx, r14
call fcn.140303804
mov qword [rbx + 8], rax
lea r14, [rsp + 0x80]
mov rcx, r14
mov rdx, rbx
call fcn.14026e040
mov rcx, rsi
mov rdx, r14
call fcn.14026e1a0
or byte [rsi + 0xac], 1
mov rcx, r14
call fcn.14026e190
test dil, 2
je 0x140140f53
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
lea rbx, [rsp + 0xf0]
mov rdx, rbx
mov r8d, 0x104
call qword [case.0x14012d181.0]
test eax, eax
js 0x140141084
lea r14, [rsp + 0x60]
mov qword [r14], rbx
mov rcx, rbx
call fcn.140303804
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x80]
mov rcx, rbx
mov rdx, r14
call fcn.14026e040
lea rcx, [rsi + 0x18]
mov rdx, rbx
call fcn.14026e1a0
or byte [rsi + 0xac], 2
mov rcx, rbx
call fcn.14026e190
test dil, 4
jne 0x140141059
test dil, 8
jne 0x140141101
test dil, 0x10
je 0x140140ff7
lea r9, [rsp + 0x30]
mov dword [r9], 0xaaaaaaaa
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
lea rbx, [rsp + 0xf0]
mov rdx, rbx
mov r8d, 0x104
call qword [case.0x14012d181.0]
test eax, eax
js 0x140141084
mov ebp, dword [rsp + 0x30]
lea r14, [rsp + 0x50]
mov qword [r14], rbx
mov rcx, rbx
call fcn.140303804
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x80]
mov rcx, rbx
mov rdx, r14
call fcn.14026e040
lea rcx, [rsi + 0x60]
mov rdx, rbx
call fcn.14026e1a0
mov dword [rsi + 0x78], ebp
or byte [rsi + 0xac], 0x10
mov rcx, rbx
call fcn.14026e190
mov bl, 1
test dil, 0xe0
je 0x140141086
lea r8, [rsp + 0x48]
mov qword [r8], 0
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax]
lea rdx, [0x1404addd8]
call qword [case.0x14012d181.0]
test eax, eax
js 0x1401411eb
mov rcx, qword [rsp + 0x48]
test dil, 0x20
jne 0x1401411a3
test dil, 0x40
jne 0x14014125c
test dil, dil
js 0x1401412c6
jmp 0x140141332
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x50]
lea rdx, [rsp + 0xf0]
mov r8d, 0x104
call qword [case.0x14012d181.0]
test eax, eax
jns 0x14014137c
xor ebx, ebx
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1401410ac
mov qword [rsp + 0xa0], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14012d181.0]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x1401410d2
mov qword [rsp + 0xa8], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14012d181.0]
lea rcx, [rsp + 0xb0]
call fcn.14025d470
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1402ddd70
mov eax, ebx
add rsp, 0x308
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
lea rdx, [rsp + 0xf0]
mov r8d, 0x104
call qword [case.0x14012d181.0]
test eax, eax
js 0x140141084
lea rbx, [rsp + 0x80]
lea rdx, [rsp + 0xf0]
mov rcx, rbx
call fcn.14031d9e0
lea rcx, [rsi + 0x48]
cmp rcx, rbx
je 0x14014117c
cmp byte [rsi + 0x5f], 0
movzx eax, byte [rsp + 0x97]
js 0x140141554
test al, al
jns 0x140141214
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
call fcn.14013bf40
or byte [rsi + 0xac], 8
cmp byte [rsp + 0x97], 0
jns 0x140140f67
mov rcx, qword [rsp + 0x80]
call fcn.1402dd16c
jmp 0x140140f67
xorps xmm0, xmm0
lea r8, [rsp + 0x80]
movaps xmmword [r8], xmm0
mov qword [r8 + 0x10], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
lea rdx, [0x1404adcd8]
call qword [case.0x14012d181.0]
test eax, eax
je 0x140141230
cmp word [rsp + 0x80], 0
je 0x1401411eb
lea rcx, [rsp + 0x80]
call qword [sym.imp.ole32.dll_PropVariantClear]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140141084
mov qword [rsp + 0x48], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14012d181.0]
jmp 0x140141084
mov rax, qword [rsp + 0x90]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [rcx], xmm0
jmp 0x14014117c
movzx eax, word [rsp + 0x80]
test eax, eax
je 0x140141430
cmp eax, 8
je 0x140141491
cmp eax, 0x1f
je 0x140141491
call fcn.1403815d0
jmp 0x1401411d2
xorps xmm0, xmm0
lea r8, [rsp + 0x80]
movaps xmmword [r8], xmm0
mov qword [r8 + 0x10], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
lea rdx, [0x1404adcec]
call qword [case.0x14012d181.0]
test eax, eax
jne 0x1401411d2
movzx eax, word [rsp + 0x80]
cmp eax, 0xb
je 0x140141356
test eax, eax
je 0x1401412ae
call fcn.1403815d0
jmp 0x1401411d2
mov byte [rsi + 0x98], 0
or byte [rsi + 0xac], 0x40
mov rcx, qword [rsp + 0x48]
jmp 0x14014104b
xorps xmm0, xmm0
lea r8, [rsp + 0x80]
movaps xmmword [r8], xmm0
mov qword [r8 + 0x10], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
lea rdx, [0x1404add00]
call qword [case.0x14012d181.0]
test eax, eax
jne 0x1401411d2
movzx eax, word [rsp + 0x80]
cmp eax, 0x48
je 0x140141408
test eax, eax
je 0x140141318
call fcn.1403815d0
jmp 0x1401411d2
movups xmm0, xmmword [0x1404720b0]
movups xmmword [rsi + 0x9c], xmm0
or byte [rsi + 0xac], 0x80
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140141086
mov qword [rsp + 0x48], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14012d181.0]
jmp 0x140141086
lea rcx, [rsp + 0x80]
cmp word [rcx + 8], 0xffff
sete byte [rsi + 0x98]
or byte [rsi + 0xac], 0x40
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x1401412bc
lea rbx, [rsp + 0x80]
lea rdx, [rsp + 0xf0]
mov rcx, rbx
call fcn.14031d9e0
lea rcx, [rsi + 0x30]
cmp rcx, rbx
je 0x1401413c8
cmp byte [rsi + 0x47], 0
movzx eax, byte [rsp + 0x97]
js 0x140141507
test al, al
jns 0x1401413ef
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
call fcn.14013bf40
or byte [rsi + 0xac], 4
cmp byte [rsp + 0x97], 0
jns 0x140140f5d
mov rcx, qword [rsp + 0x80]
call fcn.1402dd16c
jmp 0x140140f5d
mov rax, qword [rsp + 0x90]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [rcx], xmm0
jmp 0x1401413c8
lea rcx, [rsp + 0x80]
mov rax, qword [rcx + 8]
movups xmm0, xmmword [rax]
movups xmmword [rsi + 0x9c], xmm0
or byte [rsi + 0xac], 0x80
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x14014132d
xorps xmm0, xmm0
lea rax, [rsp + 0x30]
movaps xmmword [rax], xmm0
mov qword [rax + 0x10], 0
lea rcx, [rsi + 0x80]
cmp rcx, rax
je 0x140141467
cmp byte [rsi + 0x97], 0
js 0x14014152f
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], 0
or byte [rsi + 0xac], 0x20
cmp word [rsp + 0x80], 0
je 0x140141487
lea rcx, [rsp + 0x80]
call qword [sym.imp.ole32.dll_PropVariantClear]
mov rcx, qword [rsp + 0x48]
jmp 0x140141041
mov rdx, qword [rsp + 0x88]
lea r14, [rsp + 0x30]
mov rcx, r14
call fcn.14031d9e0
lea rcx, [rsi + 0x80]
cmp rcx, r14
je 0x1401414d7
cmp byte [rsi + 0x97], 0
movzx eax, byte [rsp + 0x47]
js 0x14014157c
test al, al
jns 0x1401414f4
mov rdx, qword [rsp + 0x30]
mov r8, qword [rsp + 0x38]
call fcn.14013bf40
or byte [rsi + 0xac], 0x20
cmp byte [rsp + 0x47], 0
jns 0x14014146e
mov rcx, qword [rsp + 0x30]
call fcn.1402dd16c
jmp 0x14014146e
mov rax, qword [rsp + 0x40]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rcx], xmm0
jmp 0x1401414d7
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8, qword [rsp + 0x88]
cmovs rbx, qword [rsp + 0x80]
mov rdx, rbx
call fcn.14013be50
jmp 0x1401413c8
lea r14, [rsp + 0x30]
mov rdx, r14
xor r8d, r8d
call fcn.14013be50
mov al, byte [r14 + 0x17]
or dword [rsi + 0xac], 0x20
test al, al
jns 0x14014146e
jmp 0x1401414e5
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8, qword [rsp + 0x88]
cmovs rbx, qword [rsp + 0x80]
mov rdx, rbx
call fcn.14013be50
jmp 0x14014117c
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8, qword [rsp + 0x38]
cmovs r14, qword [rsp + 0x30]
mov rdx, r14
call fcn.14013be50
jmp 0x1401414d7