Function at 0x1401386d0
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 [0x1402ea038]
xor rax, rsp
mov qword [rsp + 0x300], rax
movaps xmm0, xmmword [0x1402af0f0]
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.14018d210
mov rcx, rbx
mov rdx, r15
xor r8d, r8d
call fcn.140182070
cmp edi, 0x100
jae 0x140138e45
lea rax, [rsp + 0xa8]
mov qword [rax], 0
mov qword [rsp + 0x20], rax
lea rcx, [0x1402a1550]
lea r9, [0x1402cf998]
xor ebx, ebx
xor edx, edx
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14013897b
lea r8, [rsp + 0xa0]
mov qword [r8], 0
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax]
lea rdx, [0x1402cf9a8]
call qword [0x14031b008]
test eax, eax
js 0x140138a51
mov rcx, qword [rsp + 0xa0]
cmp byte [r14 + 0x17], 0
jns 0x1401387d3
mov r14, qword [r14]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
xor ebx, ebx
mov rdx, r14
xor r8d, r8d
call qword [0x14031b008]
test eax, eax
js 0x140138955
mov dword [rsi + 0xac], 0
lea rcx, [rsp + 0xf0]
mov r8d, 0x208
mov dl, 0xaa
call fcn.1401af840
test dil, 1
je 0x140138891
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 [0x14031b008]
test eax, eax
js 0x140138955
lea rbx, [rsp + 0x70]
mov qword [rbx], r14
mov rcx, r14
call fcn.1401cfa44
mov qword [rbx + 8], rax
lea r14, [rsp + 0x80]
mov rcx, r14
mov rdx, rbx
call fcn.14018d560
mov rcx, rsi
mov rdx, r14
call fcn.14018d6c0
or byte [rsi + 0xac], 1
mov rcx, r14
call fcn.14018d6b0
test dil, 2
jne 0x140138a58
test dil, 4
je 0x140138935
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x50]
lea rdx, [rsp + 0xf0]
mov r8d, 0x104
call qword [0x14031b008]
test eax, eax
js 0x140138a51
lea rbx, [rsp + 0x80]
lea rdx, [rsp + 0xf0]
mov rcx, rbx
call fcn.1401e8e60
lea rcx, [rsi + 0x30]
cmp rcx, rbx
je 0x140138920
cmp byte [rsi + 0x47], 0
movzx eax, byte [rsp + 0x97]
js 0x1401389fe
test al, al
jns 0x1401389e2
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
call fcn.1400d9670
or byte [rsi + 0xac], 4
cmp byte [rsp + 0x97], 0
js 0x1401389d0
test dil, 8
jne 0x140138a26
test dil, 0x10
jne 0x140138ac9
mov bl, 1
test dil, 0xe0
jne 0x140138bce
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x14013897b
mov qword [rsp + 0xa0], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14031b008]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x1401389a1
mov qword [rsp + 0xa8], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14031b008]
lea rcx, [rsp + 0xb0]
call fcn.1401822b0
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1401ad700
mov eax, ebx
add rsp, 0x308
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, qword [rsp + 0x80]
call fcn.1401abf3c
jmp 0x140138935
mov rax, qword [rsp + 0x90]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [rcx], xmm0
jmp 0x140138920
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8, qword [rsp + 0x88]
cmovs rbx, qword [rsp + 0x80]
mov rdx, rbx
call fcn.1400d9580
jmp 0x140138920
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
lea rdx, [rsp + 0xf0]
mov r8d, 0x104
call qword [0x14031b008]
test eax, eax
jns 0x140138de4
xor ebx, ebx
jmp 0x140138955
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 [0x14031b008]
test eax, eax
js 0x140138a51
lea r14, [rsp + 0x60]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1401cfa44
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x80]
mov rcx, rbx
mov rdx, r14
call fcn.14018d560
lea rcx, [rsi + 0x18]
mov rdx, rbx
call fcn.14018d6c0
or byte [rsi + 0xac], 2
mov rcx, rbx
call fcn.14018d6b0
jmp 0x14013889b
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 [0x14031b008]
test eax, eax
js 0x140138a51
mov ebp, dword [rsp + 0x30]
lea r14, [rsp + 0x50]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1401cfa44
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x80]
mov rcx, rbx
mov rdx, r14
call fcn.14018d560
lea rcx, [rsi + 0x60]
mov rdx, rbx
call fcn.14018d6c0
mov dword [rsi + 0x78], ebp
or byte [rsi + 0xac], 0x10
mov rcx, rbx
call fcn.14018d6b0
jmp 0x140138949
xorps xmm0, xmm0
lea r8, [rsp + 0x80]
movaps xmmword [r8], xmm0
mov qword [r8 + 0x10], 0
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
lea rdx, [0x1402c0af0]
call qword [0x14031b008]
test eax, eax
je 0x140138c3b
cmp word [rsp + 0x80], 0
je 0x140138ba5
lea rcx, [rsp + 0x80]
call qword [sym.imp.ole32.dll_PropVariantClear]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140138a51
mov qword [rsp + 0x48], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14031b008]
jmp 0x140138a51
lea r8, [rsp + 0x48]
mov qword [r8], 0
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax]
lea rdx, [0x1402cf9b8]
call qword [0x14031b008]
test eax, eax
js 0x140138ba5
test dil, 0x20
jne 0x140138b54
test dil, 0x40
jne 0x140138c5e
test dil, dil
js 0x140138cc8
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140138955
mov qword [rsp + 0x48], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x14031b008]
jmp 0x140138955
movzx eax, word [rsp + 0x80]
test eax, eax
je 0x140138d5f
cmp eax, 0x1f
je 0x140138e2b
call fcn.1402298b0
jmp 0x140138b8c
xorps xmm0, xmm0
lea r8, [rsp + 0x80]
movaps xmmword [r8], xmm0
mov qword [r8 + 0x10], 0
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
lea rdx, [0x1402c0b04]
call qword [0x14031b008]
test eax, eax
jne 0x140138b8c
movzx eax, word [rsp + 0x80]
cmp eax, 0xb
je 0x140138d39
test eax, eax
je 0x140138cb5
call fcn.1402298b0
jmp 0x140138b8c
mov byte [rsi + 0x98], 0
or byte [rsi + 0xac], 0x40
jmp 0x140138c09
xorps xmm0, xmm0
lea r8, [rsp + 0x80]
movaps xmmword [r8], xmm0
mov qword [r8 + 0x10], 0
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
lea rdx, [0x1402c0b18]
call qword [0x14031b008]
test eax, eax
jne 0x140138b8c
movzx eax, word [rsp + 0x80]
cmp eax, 0x48
je 0x140138dbc
test eax, eax
je 0x140138d1f
call fcn.1402298b0
jmp 0x140138b8c
movups xmm0, xmmword [0x1402a1540]
movups xmmword [rsi + 0x9c], xmm0
or byte [rsi + 0xac], 0x80
jmp 0x140138c12
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 0x140138c09
xorps xmm0, xmm0
lea r14, [rsp + 0x30]
movaps xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
lea rcx, [rsi + 0x80]
mov rdx, r14
call fcn.1401777c0
or byte [rsi + 0xac], 0x20
cmp byte [r14 + 0x17], 0
jns 0x140138d9a
mov rcx, qword [rsp + 0x30]
call fcn.1401abf3c
cmp word [rsp + 0x80], 0
je 0x140138c03
lea rcx, [rsp + 0x80]
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x140138c03
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 0x140138c12
lea rbx, [rsp + 0x80]
lea rdx, [rsp + 0xf0]
mov rcx, rbx
call fcn.1401e8e60
lea rcx, [rsi + 0x48]
mov rdx, rbx
call fcn.1401777c0
or byte [rsi + 0xac], 8
cmp byte [rbx + 0x17], 0
jns 0x14013893f
mov rcx, qword [rsp + 0x80]
call fcn.1401abf3c
jmp 0x14013893f
mov rdx, qword [rsp + 0x88]
lea r14, [rsp + 0x30]
mov rcx, r14
call fcn.1401e8e60
jmp 0x140138d73
call fcn.1402298b0
jmp 0x140138755