Function at 0x1400140c0
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4b8]
sub rsp, 0x590
mov rax, qword [0x1401f5698]
xor rax, rsp
mov qword [rbp + 0x480], rax
mov rsi, rdx
xor edi, edi
mov ebx, edi
test rdx, rdx
je 0x14001452f
cmp word [rdx], 0x3f
jne 0x14001452f
add rsi, 2
cmp word [rsi], di
jne 0x14001413b
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
lea rcx, str.Empty_command
call fcn.140113304
xor eax, eax
jmp 0x140014532
lea rcx, [rsp + 0x48]
call fcn.1401170c0
nop
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
lea rdx, str..lnk
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x140014206
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1401c1380]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1401c14b0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400141dd
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400141dd
mov rax, qword [rcx]
lea r8, [rsp + 0x38]
lea rdx, [0x1401c13d0]
call qword [rax]
test eax, eax
js 0x1400141b7
cmp qword [rsp + 0x38], rdi
jne 0x140014206
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov edx, eax
lea rcx, str.Cant_create_IID_IPersistFile
call fcn.140113304
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x1400141f7
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
mov edx, eax
lea rcx, str.Cant_create_IID_IShellLinkW
call fcn.140113304
nop
lea rcx, [rsp + 0x48]
call fcn.1401170e4
jmp 0x140014134
mov edx, 2
mov ecx, 0x8000
call fcn.140113de8
mov r13, rax
test rax, rax
jne 0x140014250
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140014232
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x30], rdi
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400144ce
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x38], rdi
jmp 0x1400144ce
xor edx, edx
mov r8d, 0xf0
lea rcx, [rsp + 0x70]
call fcn.14012d4b0
mov r12, rdi
mov r14, rdi
or r15, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, rsi
call fcn.1401188b8
mov rsi, rax
test rax, rax
je 0x140014496
lea rcx, [rsp + 0x48]
call fcn.140054ee8
mov rcx, rax
call fcn.140118e88
mov rcx, rax
lea rdx, str..lnk
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea rcx, [rsp + 0x48]
test eax, eax
jne 0x14001443b
mov rax, qword [rsp + 0x38]
mov rbx, qword [rax]
call fcn.140054ee8
mov rdx, rax
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
call qword [rbx + 0x28]
test eax, eax
js 0x14001448c
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8d, 0x105
lea rdx, [rbp + 0x270]
call qword [rax + 0x18]
test eax, eax
js 0x14001448c
cmp word [rbp + 0x270], di
je 0x14001448c
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov r8d, 0x8000
mov rdx, r13
call qword [rax + 0x50]
test eax, eax
jns 0x14001432b
mov word [r13], di
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov r8d, 0x105
lea rdx, [rbp + 0x60]
call qword [rax + 0x40]
test eax, eax
jns 0x14001434d
movzx eax, di
mov word [rbp + 0x60], ax
jmp 0x140014351
movzx eax, word [rbp + 0x60]
test ax, ax
je 0x14001436c
lea rcx, [rbp + 0x60]
mov rax, r15
inc rax
cmp word [rcx + rax*2], di
jne 0x14001435d
add rax, 0x24
jmp 0x140014371
mov eax, 4
mov rcx, r15
inc rcx
cmp word [r13 + rcx*2], di
jne 0x140014374
lea rdx, [rbp + 0x270]
inc r15
cmp word [rdx + r15*2], di
jne 0x140014386
add rax, rcx
add r15, rax
lea rcx, [r15 + r15]
call fcn.140113e8c
mov qword [rsp + 0x40], rax
mov qword [rsp + r14*8 + 0x70], rax
lea rax, [0x14017669c]
lea rbx, [0x1401759d0]
cmp word [r13], di
cmovne rbx, rax
xor edx, edx
lea rcx, [rbp + 0x270]
call fcn.140118f34
mov r9, rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rbx
lea r8, str.__s__s_s
mov rdx, r15
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call fcn.1401145a0
cmp word [rbp + 0x60], di
je 0x14001447e
lea r8, str.___new_console:d
mov rdx, r15
mov rcx, rbx
call fcn.140001e48
xor edx, edx
lea rcx, [rbp + 0x60]
call fcn.140118f34
mov r8, rax
mov rdx, r15
mov rcx, rbx
call fcn.140001e48
lea r8, [0x140179218]
mov rdx, r15
mov rcx, rbx
call fcn.140001e48
jmp 0x14001447e
call fcn.140054ee8
inc r15
cmp word [rax + r15*2], di
jne 0x140014440
add r15, 3
lea rcx, [r15 + r15]
call fcn.140113e8c
mov rbx, rax
mov qword [rsp + r14*8 + 0x70], rax
lea rcx, [rsp + 0x48]
call fcn.140054ee8
mov r9, rax
lea r8, str.__s_
mov rdx, r15
mov rcx, rbx
call fcn.1401145a0
add r15, 3
inc r14
add r12, r15
or r15, 0xffffffffffffffff
cmp r14, 0x1e
jb 0x14001426c
mov rcx, r13
call fcn.140113e18
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400144ae
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400144be
mov rax, qword [rcx]
call qword [rax + 0x10]
test r14, r14
je 0x1400144ce
cmp r14, 1
jne 0x1400144dd
mov rdi, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.1401170e4
mov rax, rdi
jmp 0x140014532
lea rcx, [r12 + r12]
call fcn.140113e8c
mov rbx, rax
mov word [rax], di
test r14, r14
je 0x140014525
mov r8, qword [rsp + rdi*8 + 0x70]
mov rdx, r12
mov rcx, rbx
call fcn.140001e48
lea r8, [0x1401759f4]
mov rdx, r12
mov rcx, rbx
call fcn.140001e48
mov rcx, qword [rsp + rdi*8 + 0x70]
call fcn.140113e18
inc rdi
cmp rdi, r14
jb 0x1400144f1
lea rcx, [rsp + 0x48]
call fcn.1401170e4
mov rax, rbx
mov rcx, qword [rbp + 0x480]
xor rcx, rsp
call fcn.14012bda0
lea r11, [rsp + 0x590]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret