Function at 0x140015158
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x410]
sub rsp, 0x510
mov rax, qword [0x1401e7e78]
xor rax, rsp
mov qword [rbp + 0x400], rax
mov r15, r8
mov r14, rdx
mov qword [rsp + 0x58], rdx
lea rcx, [rsp + 0x70]
call fcn.140120d54
nop
xor esi, esi
test r15, r15
je 0x1400157cc
cmp word [r15], 0x3f
jne 0x1400157cc
add r15, 2
cmp word [r15], si
jne 0x14001520b
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
lea rcx, str.Empty_command
call fcn.14011f550
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.140120be0
jmp 0x1400157da
lea rcx, [rbp - 0x50]
call fcn.1401286a8
nop
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
lea rdx, str..lnk
mov rcx, r15
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x140015306
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x1401b3a68]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x1401b3b98]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400152eb
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400152eb
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
lea rdx, [0x1401b3ab8]
call qword [rax]
test eax, eax
js 0x14001528a
cmp qword [rsp + 0x58], rsi
jne 0x140015306
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov edx, eax
lea rcx, str.Cant_create_IID_IPersistFile
call fcn.14011f550
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.140120be0
nop
lea rcx, [rbp - 0x50]
call fcn.1401286cc
jmp 0x1400157da
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
mov edx, eax
lea rcx, str.Cant_create_IID_IShellLinkW
call fcn.14011f550
jmp 0x1400152ae
mov edx, 2
mov ecx, 0x8000
call fcn.14012005c
mov r13, rax
test rax, rax
jne 0x140015350
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140015332
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x50], rsi
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400152ae
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x58], rsi
jmp 0x1400152ae
call fcn.140120014
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov edx, 0x3c
lea rcx, [rbp - 0x80]
call fcn.1401216c0
mov eax, dword [0x140167d54]
mov dword [rbp - 0x28], eax
movzx eax, word [0x140167d58]
mov word [rbp - 0x24], ax
mov r12, rsi
or rdi, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x50]
mov rcx, r15
call fcn.14012571c
mov r15, rax
test rax, rax
je 0x1400156a0
lea rcx, [rbp - 0x50]
call fcn.140058574
mov rcx, rax
call fcn.140125bf4
mov rcx, rax
lea rdx, str..lnk
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea rcx, [rbp - 0x50]
test eax, eax
jne 0x140015607
mov rax, qword [rsp + 0x58]
mov rbx, qword [rax]
call fcn.140058574
mov rdx, rax
xor r8d, r8d
mov rcx, qword [rsp + 0x58]
call qword [rbx + 0x28]
test eax, eax
js 0x140015696
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8d, 0x105
lea rdx, [rbp + 0x1f0]
call qword [rax + 0x18]
test eax, eax
js 0x140015696
cmp word [rbp + 0x1f0], si
je 0x140015696
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov r8d, 0x8000
mov rdx, r13
call qword [rax + 0x50]
test eax, eax
jns 0x14001544a
mov word [r13], si
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
mov r8d, 0x105
lea rdx, [rbp - 0x20]
call qword [rax + 0x40]
test eax, eax
jns 0x14001546c
movzx eax, si
mov word [rbp - 0x20], ax
jmp 0x140015470
movzx eax, word [rbp - 0x20]
test ax, ax
je 0x14001548b
lea rcx, [rbp - 0x20]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], si
jne 0x14001547c
add rax, 0x24
jmp 0x140015490
mov eax, 4
mov rcx, rdi
inc rcx
cmp word [r13 + rcx*2], si
jne 0x140015493
lea rdx, [rbp + 0x1f0]
mov rbx, rdi
inc rbx
cmp word [rdx + rbx*2], si
jne 0x1400154a8
add rax, rcx
add rbx, rax
lea rcx, [rsp + 0x60]
call fcn.140120d54
nop
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140121228
test rax, rax
je 0x1400155fd
lea rax, [0x140168a9c]
lea rsi, [0x14015a140]
xor ecx, ecx
cmp word [r13], cx
cmovne rsi, rax
xor edx, edx
lea rcx, [rbp + 0x1f0]
call fcn.140125ca0
mov rdi, rax
lea rcx, [rsp + 0x60]
call fcn.140121428
mov rbx, rax
lea rcx, [rsp + 0x60]
call fcn.140058574
mov rcx, rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], rsi
mov r9, rdi
lea r8, str.__s__s_s
mov rdx, rbx
call fcn.14012091c
xor esi, esi
cmp word [rbp - 0x20], si
je 0x1400155db
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.___new_console:d
lea rcx, [rsp + 0x60]
call fcn.140120f30
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.140125ca0
mov rdx, rax
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rcx, [rsp + 0x60]
call fcn.140120f30
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x14016b508]
lea rcx, [rsp + 0x60]
call fcn.140120f30
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x80]
call fcn.140120fc4
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x80]
call fcn.140121028
inc r12
or rdi, 0xffffffffffffffff
lea rcx, [rsp + 0x60]
jmp 0x140015691
call fcn.140058574
mov rbx, rdi
inc rbx
cmp word [rax + rbx*2], si
jne 0x14001560f
lea rcx, [rbp - 0x60]
call fcn.140120d54
nop
lea rdx, [rbx + 3]
lea rcx, [rbp - 0x60]
call fcn.140121228
test rax, rax
je 0x14001568d
xor edx, edx
lea rcx, [rbp - 0x50]
call fcn.140121ccc
mov rdi, rax
lea rcx, [rbp - 0x60]
call fcn.140121428
mov rbx, rax
lea rcx, [rbp - 0x60]
call fcn.140058574
mov rcx, rax
mov r9, rdi
lea r8, str.__s_
mov rdx, rbx
call fcn.14012091c
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x80]
call fcn.140120fc4
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x80]
call fcn.140121028
inc r12
or rdi, 0xffffffffffffffff
lea rcx, [rbp - 0x60]
call fcn.140120ddc
cmp r12, 0x1e
jb 0x14001538e
mov rcx, r13
call fcn.14012008c
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400156b8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400156c8
mov rax, qword [rcx]
call qword [rax + 0x10]
test r12, r12
jne 0x140015742
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.140120be0
nop
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x14001573d
mov rdi, qword [rbp - 0x78]
cmp rbx, rdi
je 0x140015724
lea rcx, [rbx + 8]
call fcn.140120ddc
add rbx, 0x18
cmp rbx, rdi
jne 0x14001570e
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x140015731
mov rcx, rbx
call fcn.14012008c
mov qword [rbp - 0x80], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
jmp 0x1400152dd
lea rcx, [rbp - 0x80]
cmp r12, 1
jne 0x140015762
xor edx, edx
call fcn.14012147c
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140120e10
jmp 0x140015782
lea rdx, [rbp - 0x60]
call fcn.140121378
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140120e10
lea rcx, [rbp - 0x60]
call fcn.140120ddc
nop
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x1400157c3
mov rdi, qword [rbp - 0x78]
cmp rbx, rdi
je 0x1400157aa
lea rcx, [rbx + 8]
call fcn.140120ddc
add rbx, 0x18
cmp rbx, rdi
jne 0x140015794
mov rbx, qword [rbp - 0x80]
test rbx, rbx
je 0x1400157b7
mov rcx, rbx
call fcn.14012008c
mov qword [rbp - 0x80], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x78], xmm0
lea rcx, [rbp - 0x50]
call fcn.1401286cc
lea rdx, [rsp + 0x70]
mov rcx, r14
call fcn.140120b90
nop
lea rcx, [rsp + 0x70]
call fcn.140120ddc
mov rax, r14
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.140139b10
mov rbx, qword [rsp + 0x550]
add rsp, 0x510
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret