Function at 0x1400d7010
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 [0x14037e038]
xor rax, rsp
mov qword [rsp + 0x300], rax
movaps xmm0, xmmword [0x1402fd120]
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.14014c870
mov rcx, rbx
mov rdx, r15
xor r8d, r8d
call fcn.140140de0
cmp edi, 0x100
jae 0x1400d7366
lea rax, [rsp + 0xa8]
mov qword [rax], 0
mov qword [rsp + 0x20], rax
lea rcx, [0x1402f10e8]
lea r9, [0x14032c3b8]
xor ebx, ebx
xor edx, edx
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400d72bb
lea r8, [rsp + 0xa0]
mov qword [r8], 0
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax]
lea rdx, [0x14032c3c8]
call qword [0x1403be008]
test eax, eax
js 0x1400d7612
mov rcx, qword [rsp + 0xa0]
cmp byte [r14 + 0x17], 0
jns 0x1400d7113
mov r14, qword [r14]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
xor ebx, ebx
mov rdx, r14
xor r8d, r8d
call qword [0x1403be008]
test eax, eax
js 0x1400d7295
mov dword [rsi + 0xac], 0
lea rcx, [rsp + 0xf0]
mov r8d, 0x208
mov dl, 0xaa
call fcn.1401a41c0
test dil, 1
je 0x1400d71d1
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 [0x1403be008]
test eax, eax
js 0x1400d7295
lea rbx, [rsp + 0x70]
mov qword [rbx], r14
mov rcx, r14
call fcn.1401c3e64
mov qword [rbx + 8], rax
lea r14, [rsp + 0x80]
mov rcx, r14
mov rdx, rbx
call fcn.14014d2e0
mov rcx, rsi
mov rdx, r14
call fcn.14014d440
or byte [rsi + 0xac], 1
mov rcx, r14
call fcn.14014d430
test dil, 2
jne 0x1400d7619
test dil, 4
je 0x1400d7275
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x50]
lea rdx, [rsp + 0xf0]
mov r8d, 0x104
call qword [0x1403be008]
test eax, eax
js 0x1400d7612
lea rbx, [rsp + 0x80]
lea rdx, [rsp + 0xf0]
mov rcx, rbx
call fcn.1401da860
lea rcx, [rsi + 0x30]
cmp rcx, rbx
je 0x1400d7260
cmp byte [rsi + 0x47], 0
movzx eax, byte [rsp + 0x97]
js 0x1400d733e
test al, al
jns 0x1400d7310
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
call fcn.14004b510
or byte [rsi + 0xac], 4
cmp byte [rsp + 0x97], 0
js 0x1400d732c
test dil, 8
jne 0x1400d75e7
test dil, 0x10
jne 0x1400d768a
mov bl, 1
test dil, 0xe0
jne 0x1400d747e
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x1400d72bb
mov qword [rsp + 0xa0], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403be008]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x1400d72e1
mov qword [rsp + 0xa8], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403be008]
lea rcx, [rsp + 0xb0]
call fcn.140140e60
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.1401a2070
mov eax, ebx
add rsp, 0x308
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov rax, qword [rsp + 0x90]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [rcx], xmm0
jmp 0x1400d7260
mov rcx, qword [rsp + 0x80]
call fcn.1401a08c8
jmp 0x1400d7275
mov r8d, eax
and r8d, 0x7f
test al, al
cmovs r8, qword [rsp + 0x88]
cmovs rbx, qword [rsp + 0x80]
mov rdx, rbx
call fcn.14004b420
jmp 0x1400d7260
call fcn.140211830
jmp 0x1400d7095
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 0x1400d7528
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.140134660
or byte [rsi + 0xac], 0x20
cmp byte [r14 + 0x17], 0
jns 0x1400d73d3
mov rcx, qword [rsp + 0x30]
call fcn.1401a08c8
cmp word [rsp + 0x80], 0
je 0x1400d74b7
lea rcx, [rsp + 0x80]
call qword [sym.imp.ole32.dll_PropVariantClear]
jmp 0x1400d74b7
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 0x1400d74c1
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, [0x140317b84]
call qword [0x1403be008]
test eax, eax
jne 0x1400d758c
movzx eax, word [rsp + 0x80]
cmp eax, 0xb
je 0x1400d73f5
test eax, eax
je 0x1400d746e
call fcn.140211830
jmp 0x1400d758c
mov byte [rsi + 0x98], 0
or byte [rsi + 0xac], 0x40
jmp 0x1400d74c1
lea r8, [rsp + 0x48]
mov qword [r8], 0
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax]
lea rdx, [0x14032c3d8]
call qword [0x1403be008]
test eax, eax
js 0x1400d75a5
test dil, 0x20
jne 0x1400d7558
test dil, 0x40
jne 0x1400d741b
test dil, dil
jns 0x1400d7528
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, [0x140317b98]
call qword [0x1403be008]
test eax, eax
jne 0x1400d758c
movzx eax, word [rsp + 0x80]
cmp eax, 0x48
je 0x1400d7370
test eax, eax
jne 0x1400d7551
movups xmm0, xmmword [0x1402f10d0]
movups xmmword [rsi + 0x9c], xmm0
or byte [rsi + 0xac], 0x80
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400d7295
mov qword [rsp + 0x48], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403be008]
jmp 0x1400d7295
call fcn.140211830
jmp 0x1400d758c
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, [0x140317b70]
call qword [0x1403be008]
test eax, eax
je 0x1400d75c7
cmp word [rsp + 0x80], 0
je 0x1400d75a5
lea rcx, [rsp + 0x80]
call qword [sym.imp.ole32.dll_PropVariantClear]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400d7612
mov qword [rsp + 0x48], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1403be008]
jmp 0x1400d7612
movzx eax, word [rsp + 0x80]
test eax, eax
je 0x1400d7398
cmp eax, 0x1f
je 0x1400d775c
call fcn.140211830
jmp 0x1400d758c
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
lea rdx, [rsp + 0xf0]
mov r8d, 0x104
call qword [0x1403be008]
test eax, eax
jns 0x1400d7715
xor ebx, ebx
jmp 0x1400d7295
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 [0x1403be008]
test eax, eax
js 0x1400d7612
lea r14, [rsp + 0x60]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1401c3e64
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x80]
mov rcx, rbx
mov rdx, r14
call fcn.14014d2e0
lea rcx, [rsi + 0x18]
mov rdx, rbx
call fcn.14014d440
or byte [rsi + 0xac], 2
mov rcx, rbx
call fcn.14014d430
jmp 0x1400d71db
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 [0x1403be008]
test eax, eax
js 0x1400d7612
mov ebp, dword [rsp + 0x30]
lea r14, [rsp + 0x50]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1401c3e64
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x80]
mov rcx, rbx
mov rdx, r14
call fcn.14014d2e0
lea rcx, [rsi + 0x60]
mov rdx, rbx
call fcn.14014d440
mov dword [rsi + 0x78], ebp
or byte [rsi + 0xac], 0x10
mov rcx, rbx
call fcn.14014d430
jmp 0x1400d7289
lea rbx, [rsp + 0x80]
lea rdx, [rsp + 0xf0]
mov rcx, rbx
call fcn.1401da860
lea rcx, [rsi + 0x48]
mov rdx, rbx
call fcn.140134660
or byte [rsi + 0xac], 8
cmp byte [rbx + 0x17], 0
jns 0x1400d727f
mov rcx, qword [rsp + 0x80]
call fcn.1401a08c8
jmp 0x1400d727f
mov rdx, qword [rsp + 0x88]
lea r14, [rsp + 0x30]
mov rcx, r14
call fcn.1401da860
jmp 0x1400d73ac