Function at 0x140003e80
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x70
mov rax, qword [0x14000e040]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov r14, rdx
mov rbp, rcx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
xor ebx, ebx
mov qword [rsp + 0x58], rbx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [0x14000aa18]
xor edx, edx
mov r8d, 1
lea rcx, [0x14000a440]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140003efe
lea rdx, str.Failed_to_create_IShellLink_instance._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400057b0
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x140004096
mov rdi, qword [rsp + 0x58]
mov rax, qword [rdi]
mov rsi, qword [rax + 0xa0]
mov rdx, rbp
lea rcx, [rsp + 0x38]
call fcn.140003d20
nop
cmp qword [rax + 0x18], 7
jbe 0x140003f25
mov rax, qword [rax]
mov rdx, rax
mov rcx, rdi
call rsi
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x140003f73
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003f6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003f6e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140007f4c
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea rdx, str.Shortcut_created_by_program
call qword [rax + 0x38]
mov qword [rsp + 0x60], rbx
mov rcx, qword [rsp + 0x58]
mov rax, qword [rcx]
lea r8, [rsp + 0x60]
lea rdx, [0x14000aa58]
call qword [rax]
test eax, eax
jns 0x140003fb0
lea rdx, str.Failed_to_query_IPersistFile_interface._n
jmp 0x140004067
mov rdi, qword [rsp + 0x60]
mov rax, qword [rdi]
mov rsi, qword [rax + 0x30]
mov rdx, r14
lea rcx, [rsp + 0x38]
call fcn.140003d20
nop
cmp qword [rax + 0x18], 7
jbe 0x140003fd4
mov rax, qword [rax]
test rax, rax
jne 0x14000403b
mov qword [rsp + 0x30], rbx
mov rdx, rbx
mov r8d, 1
mov rcx, rdi
call rsi
mov edi, eax
shr edi, 0x1f
mov rcx, rbx
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 7
jbe 0x14000405b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004056
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004056
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rax
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov rbx, rax
mov qword [rsp + 0x30], rax
mov rdx, rax
test rax, rax
je 0x1400040cc
jmp 0x140003fe1
call fcn.140007f4c
test dil, dil
je 0x14000407d
lea rdx, str.Failed_to_save_the_shortcut._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400057b0
call qword [sym.imp.ole32.dll_CoUninitialize]
xor bl, bl
jmp 0x140004085
call qword [sym.imp.ole32.dll_CoUninitialize]
mov bl, 1
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140004096
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400040a7
mov rdx, qword [rcx]
call qword [rdx + 0x10]
nop
movzx eax, bl
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140007cb0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
mov ecx, 0x8007000e
call fcn.140003420
int3