Function at 0x14022f764
Capabilities:
Create shortcut via ishelllink

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1120]
mov eax, 0x1220
call fcn.1403636b0
sub rsp, rax
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x1270], rbx
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rbp + 0x1110], rax
mov rsi, rdx
mov rdi, rcx
xor r13d, r13d
mov qword [rsp + 0x30], r13
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1403f37d0]
xor edx, edx
lea r8d, [r13 + 0x17]
lea rcx, [0x1403c5210]
call qword [sym.imp.ole32.dll_CoCreateInstance]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jns 0x14022f804
mov rcx, qword [rbp + 0x1158]
mov r9d, eax
lea r8, str.amcorewcd_sourcecommon_src_fileutils.cpp
mov edx, 0x7ea
call fcn.14004e0b4
jmp 0x14022ff18
mov qword [rsp + 0x50], r13
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
lea rdx, [0x1403f37e0]
mov rax, qword [rax]
call qword [str.p76_]
mov ebx, eax
test eax, eax
jns 0x14022f836
mov edx, 0x7ed
jmp 0x14022faf1
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
cmp qword [rdi + 0x18], 8
jb 0x14022f848
mov rdi, qword [rdi]
xor r8d, r8d
mov rdx, rdi
mov rax, qword [rax + 0x28]
call qword [str.p76_]
mov ebx, eax
test eax, eax
jns 0x14022f868
mov edx, 0x7ef
jmp 0x14022faf1
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
xor edx, edx
lea r8d, [rdx + 0x79]
mov rax, qword [rax + 0x98]
call qword [str.p76_]
mov ebx, eax
test eax, eax
jns 0x14022f893
mov edx, 0x7f1
jmp 0x14022faf1
mov r14d, 0x208
mov r8d, r14d
xor edx, edx
lea rcx, [rbp + 0x2e0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor edx, edx
lea r8d, [r14 + 0x48]
lea rcx, [rbp - 0x40]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x40]
mov r12d, 0x104
mov r8d, r12d
lea rdx, [rbp + 0x2e0]
mov rax, qword [rax + 0x18]
call qword [str.p76_]
mov ebx, eax
test eax, eax
jns 0x14022f8f7
mov edx, 0x7f5
jmp 0x14022faf1
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r13w
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp - 0x68]
call fcn.140055574
lea rdx, [rbp - 0x68]
mov rcx, rsi
call fcn.140085570
lea rcx, [rbp - 0x68]
call fcn.140055f70
mov rax, qword [rbp - 0x3c]
mov qword [rsi + 0xa8], rax
mov rax, qword [rbp - 0x34]
mov qword [rsi + 0xb0], rax
mov rax, qword [rbp - 0x2c]
mov qword [rsi + 0xb8], rax
xor edx, edx
mov r8d, 0x800
lea rcx, [rbp + 0x910]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov r8d, 0x400
lea rdx, [rbp + 0x910]
mov rax, qword [rax + 0x30]
call qword [str.p76_]
mov ebx, eax
test eax, eax
jns 0x14022f992
mov edx, 0x7fc
jmp 0x14022faf1
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r13w
lea rdx, [rbp + 0x910]
lea rcx, [rbp - 0x68]
call fcn.140055574
lea rdi, [rsi + 0x80]
lea rdx, [rbp - 0x68]
mov rcx, rdi
call fcn.140085570
lea rcx, [rbp - 0x68]
call fcn.140055f70
mov r8, r14
xor edx, edx
lea rcx, [rbp + 0x4f0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [rsp + 0x3c], r13d
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r9, [rsp + 0x3c]
mov r8d, r12d
lea rdx, [rbp + 0x4f0]
mov rax, qword [rax + 0x80]
call qword [str.p76_]
mov ebx, eax
test eax, eax
jns 0x14022fa1a
mov edx, 0x801
jmp 0x14022faf1
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r13w
lea rdx, [rbp + 0x4f0]
lea rcx, [rbp - 0x68]
call fcn.140055574
lea r15, [rsi + 0x40]
lea rdx, [rbp - 0x68]
mov rcx, r15
call fcn.140085570
lea rcx, [rbp - 0x68]
call fcn.140055f70
mov r8, r14
xor edx, edx
lea rcx, [rbp + 0x700]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov r8d, r12d
lea rdx, [rbp + 0x700]
mov rax, qword [rax + 0x40]
call qword [str.p76_]
mov ebx, eax
test eax, eax
jns 0x14022fa8f
mov edx, 0x805
jmp 0x14022faf1
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r13w
lea rdx, [rbp + 0x700]
lea rcx, [rbp - 0x68]
call fcn.140055574
lea r14, [rsi + 0x60]
lea rdx, [rbp - 0x68]
mov rcx, r14
call fcn.140085570
lea rcx, [rbp - 0x68]
call fcn.140055f70
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r12, [rsi + 0xa0]
mov rdx, r12
mov rax, qword [rax + 0x70]
call qword [str.p76_]
mov ebx, eax
test eax, eax
jns 0x14022fb0c
mov edx, 0x808
lea r8, str.amcorewcd_sourcecommon_src_fileutils.cpp
mov r9d, eax
mov rcx, qword [rbp + 0x1158]
call fcn.14004e0b4
jmp 0x14022ff00
mov qword [rsp + 0x48], r13
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x48]
lea rdx, [0x1403f37f0]
mov rax, qword [rax]
call qword [str.p76_]
mov ebx, eax
test eax, eax
jns 0x14022fb54
mov rcx, qword [rbp + 0x1158]
mov r9d, eax
lea r8, str.amcorewcd_sourcecommon_src_fileutils.cpp
mov edx, 0x80b
call fcn.14004e0b4
jmp 0x14022fee8
lea rax, [rsp + 0x58]
mov qword [rbp - 0x70], rax
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
lea rdx, str.goC
mov rax, qword [rax + 0x28]
call qword [str.p76_]
mov ebx, eax
test eax, eax
jns 0x14022fbb2
mov rcx, qword [rbp + 0x1158]
mov r9d, eax
lea r8, str.amcorewcd_sourcecommon_src_fileutils.cpp
mov edx, 0x810
call fcn.14004e0b4
jmp 0x14022fed6
cmp word [rsp + 0x58], r13w
je 0x14022fbf0
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r13w
mov rdx, qword [rsp + 0x60]
lea rcx, [rbp - 0x68]
call fcn.140055574
lea rcx, [rsi + 0x20]
lea rdx, [rbp - 0x68]
call fcn.140085570
lea rcx, [rbp - 0x68]
call fcn.140055f70
mov qword [rsp + 0x40], r13
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x40]
lea rdx, [0x1403f37c0]
mov rax, qword [rax]
call qword [str.p76_]
mov ebx, eax
test eax, eax
jns 0x14022fc1f
mov edx, 0x817
jmp 0x14022fc46
mov dword [rsp + 0x38], r13d
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
mov rax, qword [rax + 0x30]
call qword [str.p76_]
mov ebx, eax
test eax, eax
jns 0x14022fc61
mov edx, 0x81a
lea r8, str.amcorewcd_sourcecommon_src_fileutils.cpp
mov r9d, eax
mov rcx, qword [rbp + 0x1158]
call fcn.14004e0b4
jmp 0x14022febe
lea rbx, [rsi + 0xa4]
mov eax, dword [rsp + 0x38]
shr eax, 0xd
and al, 1
mov byte [rbx], al
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 5
jbe 0x14022febb
lea rax, str.Shell_Link_Information
mov qword [rbp + 0x230], rax
mov qword [rbp + 0x238], 0x2e
mov rcx, rsi
mov r9d, 8
cmp qword [rsi + 0x18], r9
jb 0x14022fcb1
mov rcx, qword [rsi]
lea rdx, [0x1403cb630]
mov r8, rdx
mov rax, r13
or r11, 0xffffffffffffffff
test rcx, rcx
je 0x14022fcd7
mov r8, rcx
mov rax, r11
inc rax
cmp word [rcx + rax*2], r13w
jne 0x14022fccd
mov qword [rbp + 0x240], r8
lea eax, [rax*2 + 2]
mov dword [rbp + 0x248], eax
mov dword [rbp + 0x24c], r13d
lea rax, [rsi + 0x20]
cmp qword [rax + 0x18], r9
jb 0x14022fcff
mov rax, qword [rax]
mov r8, rdx
mov rcx, r13
test rax, rax
je 0x14022fd1a
mov r8, rax
mov rcx, r11
inc rcx
cmp word [rax + rcx*2], r13w
jne 0x14022fd10
mov qword [rbp + 0x250], r8
lea eax, [rcx*2 + 2]
mov dword [rbp + 0x258], eax
mov dword [rbp + 0x25c], r13d
cmp qword [rdi + 0x18], r9
jb 0x14022fd3e
mov rdi, qword [rdi]
mov rcx, rdx
mov rax, r13
test rdi, rdi
je 0x14022fd59
mov rcx, rdi
mov rax, r11
inc rax
cmp word [rdi + rax*2], r13w
jne 0x14022fd4f
mov qword [rbp + 0x260], rcx
lea eax, [rax*2 + 2]
mov dword [rbp + 0x268], eax
mov dword [rbp + 0x26c], r13d
cmp qword [r15 + 0x18], r9
jb 0x14022fd7d
mov r15, qword [r15]
mov rcx, rdx
mov rax, r13
test r15, r15
je 0x14022fd98
mov rcx, r15
mov rax, r11
inc rax
cmp word [r15 + rax*2], r13w
jne 0x14022fd8e
mov qword [rbp + 0x270], rcx
lea eax, [rax*2 + 2]
mov dword [rbp + 0x278], eax
mov dword [rbp + 0x27c], r13d
cmp qword [r14 + 0x18], r9
jb 0x14022fdbc
mov r14, qword [r14]
mov rax, r13
test r14, r14
je 0x14022fdd4
mov rdx, r14
mov rax, r11
inc rax
cmp word [r14 + rax*2], r13w
jne 0x14022fdca
mov qword [rbp + 0x280], rdx
lea eax, [rax*2 + 2]
mov dword [rbp + 0x288], eax
mov dword [rbp + 0x28c], r13d
mov qword [rbp + 0x290], r12
mov qword [rbp + 0x298], 4
mov qword [rbp + 0x2a0], rbx
mov qword [rbp + 0x2a8], 1
mov ecx, dword [rsi + 0xac]
shl rcx, 0x20
mov eax, dword [rsi + 0xa8]
add rcx, rax
mov qword [rsp + 0x70], rcx
lea rax, [rsp + 0x70]
mov qword [rbp + 0x2b0], rax
mov qword [rbp + 0x2b8], r9
mov ecx, dword [rsi + 0xb4]
shl rcx, 0x20
mov eax, dword [rsi + 0xb0]
add rcx, rax
mov qword [rsp + 0x78], rcx
lea rax, [rsp + 0x78]
mov qword [rbp + 0x2c0], rax
mov qword [rbp + 0x2c8], r9
mov edx, dword [rsi + 0xbc]
shl rdx, 0x20
mov eax, dword [rsi + 0xb8]
add rdx, rax
mov qword [rbp - 0x80], rdx
lea rax, [rbp - 0x80]
mov qword [rbp + 0x2d0], rax
mov qword [rbp + 0x2d8], r9
lea rax, [rbp + 0x210]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], SafeArrayLock
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1404845af]
mov rcx, r10
call fcn.140001208
mov ebx, r13d
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14022fed6
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str.p76_]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.ole32.dll_PropVariantClear]
nop dword [rax + rax]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14022ff00
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str.p76_]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14022ff18
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [str.p76_]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14022ff2f
mov rdx, qword [rcx]
mov rax, qword [rdx + 0x10]
call qword [str.p76_]
mov eax, ebx
mov rcx, qword [rbp + 0x1110]
xor rcx, rsp
call fcn.140356560
mov rbx, qword [rsp + 0x1270]
add rsp, 0x1220
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret