Function at 0x140162840
Capabilities:
Create shortcut via ishelllink

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x300
mov rsi, r8
mov edi, edx
mov r14, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x2f8], rax
movaps xmm0, xmmword [0x140470090]
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.14020f920
mov rcx, rbx
mov rdx, r15
xor r8d, r8d
call fcn.140201bd0
cmp edi, 0x100
jae 0x140162c45
lea rax, [rsp + 0xa8]
mov qword [rax], 0
mov qword [rsp + 0x20], rax
lea rcx, [0x14044a468]
lea r9, [0x1404d11c8]
xor ebx, ebx
xor edx, edx
mov r8d, 1
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x140162b94
lea r8, [rsp + 0xa0]
mov qword [r8], 0
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax]
lea rdx, [0x1404d11d8]
call qword [case.0x1403053b8.0]
test eax, eax
js 0x140162e0a
mov rcx, qword [rsp + 0xa0]
cmp byte [r14 + 0x17], 0
jns 0x140162945
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.0x1403053b8.0]
test eax, eax
js 0x140162b6e
mov dword [rsi + 0xac], 0
lea rcx, [rsp + 0xf0]
mov r8d, 0x208
mov dl, 0xaa
call fcn.1402d26c0
test dil, 1
je 0x140162a03
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.0x1403053b8.0]
test eax, eax
js 0x140162b6e
lea rbx, [rsp + 0x70]
mov qword [rbx], r14
mov rcx, r14
call fcn.1402b8034
mov qword [rbx + 8], rax
lea r14, [rsp + 0x80]
mov rcx, r14
mov rdx, rbx
call fcn.140210960
mov rcx, rsi
mov rdx, r14
call fcn.140210ab0
or byte [rsi + 0xac], 1
mov rcx, r14
call fcn.140210aa0
test dil, 2
jne 0x140162e11
test dil, 4
je 0x140162b4f
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x50]
lea rdx, [rsp + 0xf0]
mov r8d, 0x104
call qword [case.0x1403053b8.0]
test eax, eax
js 0x140162e0a
movabs r15, 0x7ffffffffffffff7
lea r14, [rsp + 0xf0]
mov rcx, r14
call fcn.1402b8034
cmp rax, r15
ja 0x140162c48
mov rbx, rax
cmp rax, 0xa
jbe 0x140162be1
mov rax, rbx
or rax, 3
lea rcx, [rax + 1]
cmp rax, 0xb
mov r12d, ntohl
cmovne r12, rcx
test r12, r12
js 0x140162c40
lea rcx, [r12 + r12]
call fcn.1402965cc
mov rcx, rax
mov qword [rsp + 0x80], rax
lea rax, [r15 + r12]
add rax, 9
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x88], rbx
lea r15, [rcx + rbx*2]
cmp r14, rcx
setb al
cmp r14, r15
setae dl
or dl, al
je 0x140162c3e
test rbx, rbx
je 0x140162af0
add rbx, rbx
lea rdx, [rsp + 0xf0]
mov r8, rbx
call fcn.1402d2020
mov word [r15], 0
lea rcx, [rsi + 0x30]
lea rdx, [rsp + 0x80]
cmp rcx, rdx
je 0x140162b3a
cmp byte [rsi + 0x47], 0
movzx r8d, byte [rsp + 0x97]
js 0x140162c1f
test r8b, r8b
js 0x140162c05
mov rax, qword [rsp + 0x90]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x80]
movups xmmword [rcx], xmm0
or byte [rsi + 0xac], 4
cmp byte [rsp + 0x97], 0
js 0x140162c55
test dil, 8
jne 0x140162cf2
test dil, 0x10
jne 0x140162c67
mov bl, 1
cmp edi, 0x20
jae 0x140162d64
mov rcx, qword [rsp + 0xa0]
test rcx, rcx
je 0x140162b94
mov qword [rsp + 0xa0], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1403053b8.0]
mov rcx, qword [rsp + 0xa8]
test rcx, rcx
je 0x140162bba
mov qword [rsp + 0xa8], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1403053b8.0]
lea rcx, [rsp + 0xb0]
call fcn.140201c60
mov rcx, qword [rsp + 0x2f8]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x140162bf1
call fcn.140297b50
int3
lea rcx, [rsp + 0x80]
mov byte [rcx + 0x17], bl
jmp 0x140162ac0
mov eax, ebx
add rsp, 0x300
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rdx, qword [rsp + 0x80]
mov r8, qword [rsp + 0x88]
call fcn.1400e6b60
jmp 0x140162b3a
test r8b, r8b
cmovs r8, qword [rsp + 0x88]
cmovs rdx, qword [rsp + 0x80]
call fcn.1400e6a00
jmp 0x140162b3a
ud2
call fcn.1402d3510
int3
lea rcx, [rsp + 0x80]
call fcn.1402d34d0
mov rcx, qword [rsp + 0x80]
call fcn.140296608
jmp 0x140162b4f
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.0x1403053b8.0]
test eax, eax
js 0x140162e0a
mov ebp, dword [rsp + 0x30]
lea r14, [rsp + 0x50]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1402b8034
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x80]
mov rcx, rbx
mov rdx, r14
call fcn.140210960
lea rcx, [rsi + 0x60]
mov rdx, rbx
call fcn.140210ab0
mov dword [rsi + 0x78], ebp
or byte [rsi + 0xac], 0x10
mov rcx, rbx
call fcn.140210aa0
jmp 0x140162b63
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
lea rdx, [rsp + 0xf0]
mov r8d, 0x104
call qword [case.0x1403053b8.0]
test eax, eax
js 0x140162e0a
lea rbx, [rsp + 0x80]
lea rdx, [rsp + 0xf0]
mov rcx, rbx
call fcn.1401f0580
lea rcx, [rsi + 0x48]
mov rdx, rbx
call fcn.1401f09a0
or byte [rsi + 0xac], 8
cmp byte [rbx + 0x17], 0
jns 0x140162b59
mov rcx, qword [rsp + 0x80]
call fcn.140296608
jmp 0x140162b59
lea r8, [rsp + 0x48]
mov qword [r8], 0
mov rcx, qword [rsp + 0xa8]
mov rax, qword [rcx]
mov rax, qword [rax]
lea rdx, [0x1404d11e8]
call qword [case.0x1403053b8.0]
test eax, eax
js 0x140162dea
test dil, 0x20
je 0x140162efa
xorps xmm0, xmm0
lea r14, [rsp + 0x80]
movaps xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
lea rdx, [0x14048b0e8]
mov r8, r14
call qword [case.0x1403053b8.0]
movzx ecx, word [r14]
test eax, eax
je 0x140162e82
test ecx, ecx
je 0x140162dea
lea rcx, [rsp + 0x80]
call qword [sym.imp.ole32.dll_PropVariantClear]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140162e0a
mov qword [rsp + 0x48], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1403053b8.0]
xor ebx, ebx
jmp 0x140162b6e
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.0x1403053b8.0]
test eax, eax
js 0x140162e0a
lea r14, [rsp + 0x60]
mov qword [r14], rbx
mov rcx, rbx
call fcn.1402b8034
mov qword [r14 + 8], rax
lea rbx, [rsp + 0x80]
mov rcx, rbx
mov rdx, r14
call fcn.140210960
lea rcx, [rsi + 0x18]
mov rdx, rbx
call fcn.140210ab0
or byte [rsi + 0xac], 2
mov rcx, rbx
call fcn.140210aa0
jmp 0x140162a0d
cmp ecx, 0x1f
je 0x140162ea5
test ecx, ecx
jne 0x14016302e
xorps xmm0, xmm0
lea r14, [rsp + 0x30]
movaps xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
jmp 0x140162eba
mov rdx, qword [rsp + 0x88]
lea r14, [rsp + 0x30]
mov rcx, r14
call fcn.1401f0580
lea rcx, [rsi + 0x80]
mov rdx, r14
call fcn.1401f09a0
or byte [rsi + 0xac], 0x20
cmp byte [r14 + 0x17], 0
jns 0x140162ee1
mov rcx, qword [rsp + 0x30]
call fcn.140296608
cmp word [rsp + 0x80], 0
je 0x140162efa
lea rcx, [rsp + 0x80]
call qword [sym.imp.ole32.dll_PropVariantClear]
test dil, 0x40
je 0x140162f7d
xorps xmm0, xmm0
lea r14, [rsp + 0x80]
movaps xmmword [r14], xmm0
mov qword [r14 + 0x10], 0
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
lea rdx, [0x14048b0fc]
mov r8, r14
call qword [case.0x1403053b8.0]
movzx ecx, word [r14]
test eax, eax
jne 0x140162dd8
cmp ecx, 0xb
je 0x140162f5c
test ecx, ecx
jne 0x140163031
mov byte [rsi + 0x98], 0
or byte [rsi + 0xac], 0x40
jmp 0x140162f7d
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]
cmp edi, 0x80
jb 0x140162fea
xorps xmm0, xmm0
lea rdi, [rsp + 0x80]
movaps xmmword [rdi], xmm0
mov qword [rdi + 0x10], 0
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x28]
lea rdx, [0x14048b110]
mov r8, rdi
call qword [case.0x1403053b8.0]
movzx ecx, word [rdi]
test eax, eax
jne 0x140162dd8
cmp ecx, 0x48
jne 0x140163013
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]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140162b6e
mov qword [rsp + 0x48], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1403053b8.0]
jmp 0x140162b6e
test ecx, ecx
jne 0x140163034
movups xmm0, xmmword [0x140449390]
movups xmmword [rsi + 0x9c], xmm0
or byte [rsi + 0xac], 0x80
jmp 0x140162fea
int3
int3
int3