Function at 0x1400e7860
Capabilities:
Create shortcut via ishelllink

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x668]
sub rsp, 0x740
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x140136e20]
xor rax, rsp
mov qword [rbp + 0x630], rax
mov r15d, edx
mov rbx, rcx
xor edi, edi
mov qword [rsp + 0x40], rdi
or r13d, 0xffffffff
lea rcx, [rsp + 0x40]
call qword [sym.imp.ole32.dll_OleGetClipboard]
test eax, eax
js 0x1400e7c0d
mov eax, ILClone
mov word [rsp + 0x48], ax
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], 1
mov dword [rsp + 0x5c], r13d
mov dword [rsp + 0x60], 1
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x48]
call qword [rax + ILCombine]
test eax, eax
js 0x1400e7c02
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r14, rax
test rax, rax
je 0x1400e7bf7
xor r9d, r9d
xor r8d, r8d
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov r13d, eax
mov r12d, edi
test eax, eax
jle 0x1400e7bec
lea rax, [rbp]
sub rbx, rax
lea rsi, [rbp + 0x210]
lea rax, [rbp + 0x420]
sub rsi, rax
nop word [rax + rax]
mov r9d, 0x104
lea r8, [rbp + 0x210]
mov edx, r12d
mov rcx, r14
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov edx, 0x104
lea rcx, [rbp]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x1400e79a5
movzx eax, word [rbx + rcx]
test ax, ax
je 0x1400e79a5
mov word [rcx], ax
add rcx, 2
dec rdx
jne 0x1400e7982
jmp 0x1400e79aa
test rdx, rdx
jne 0x1400e79ae
sub rcx, 2
mov word [rcx], di
mov edx, 0x104
lea rcx, [rbp + 0x420]
nop dword [rax]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x1400e79e3
movzx eax, word [rcx + rsi]
test ax, ax
je 0x1400e79e3
mov word [rcx], ax
add rcx, 2
dec rdx
jne 0x1400e79c0
jmp 0x1400e79e8
test rdx, rdx
jne 0x1400e79ec
sub rcx, 2
mov word [rcx], di
lea rcx, [rbp + 0x420]
call qword [sym.imp.SHLWAPI.dll_PathStripPathW]
lea rdx, [rbp + 0x420]
lea rcx, [rbp]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, r15d
test r15d, r15d
je 0x1400e7a36
dec eax
jne 0x1400e7be0
xor r8d, r8d
lea rdx, [rbp + 0x210]
lea rcx, [rbp]
call qword [sym.imp.KERNEL32.dll_CreateHardLinkW]
jmp 0x1400e7be0
lea rdx, [0x140103d88]
lea rcx, [rbp]
call qword [sym.imp.SHLWAPI.dll_PathRenameExtensionW]
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], rdi
mov word [rbp - 0x28], di
xor r8d, r8d
lea rdx, [0x1401026e4]
lea rcx, [rbp - 0x28]
call fcn.140009a30
nop
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rdi
mov word [rbp - 0x78], di
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp]
lea rcx, [rbp - 0x78]
call fcn.140009a30
nop
mov qword [rbp - 0x38], 7
xor eax, eax
mov qword [rbp - 0x40], rax
mov word [rbp - 0x50], ax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x210]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x210]
lea rcx, [rbp - 0x50]
call fcn.140009a30
nop
xor edi, edi
mov qword [rsp + 0x30], rdi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x1400fa210]
xor edx, edx
lea r8d, [rdi + 1]
lea rcx, [0x1400fa2d0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400e7b90
lea rdx, [rbp - 0x50]
cmp qword [rbp - 0x38], 8
cmovae rdx, qword [rbp - 0x50]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0xa0]
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x38]
mov qword [rsp + 0x38], rdi
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea r8, [rsp + 0x38]
lea rdx, [0x1400fa3c0]
call qword [rax]
test eax, eax
js 0x1400e7b84
lea rdx, [rbp - 0x78]
cmp qword [rbp - 0x60], 8
cmovae rdx, qword [rbp - 0x78]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea r8d, [rdi + 1]
call qword [rax + 0x30]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + reloc.SHELL32.dll_ILFindLastID]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + reloc.SHELL32.dll_ILFindLastID]
nop
cmp qword [rbp - 0x38], 8
jb 0x1400e7ba0
mov rcx, qword [rbp - 0x50]
call fcn.14004b088
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], rdi
mov word [rbp - 0x50], di
cmp qword [rbp - 0x60], 8
jb 0x1400e7bc0
mov rcx, qword [rbp - 0x78]
call fcn.14004b088
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], rdi
mov word [rbp - 0x78], di
cmp qword [rbp - 0x10], 8
jb 0x1400e7be0
mov rcx, qword [rbp - 0x28]
call fcn.14004b088
inc r12d
cmp r12d, r13d
jl 0x1400e7960
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ole32.dll_ReleaseStgMedium]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + reloc.SHELL32.dll_ILFindLastID]
mov eax, r13d
mov rcx, qword [rbp + 0x630]
xor rcx, rsp
call fcn.14004ae00
lea r11, [rsp + 0x740]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret