Function at 0x14002f990
Capabilities:
Get common file path
List drag and drop files
Open clipboard
Read clipboard data

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x168], rbx
mov rax, qword [0x14029e8b8]
xor rax, rsp
mov qword [rbp], rax
mov rsi, r8
mov qword [rsp + 0x68], r8
mov r14d, edx
mov dword [rsp + 0x40], edx
mov r15, rcx
mov qword [rbp - 0x18], rcx
mov r13, qword [rcx + 8]
sub r13, qword [rcx]
sar r13, 5
mov qword [rsp + 0x48], r13
test r13, r13
jne 0x14002fa1f
call fcn.140026d20
xor eax, eax
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140160a40
mov rbx, qword [rsp + 0x168]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor r12d, r12d
mov qword [rbp - 0x58], r12
mov eax, 8
mul r13
mov rdi, 0xffffffffffffffff
cmovo rax, rdi
mov rcx, rax
call fcn.140160c3c
mov rbx, rax
mov qword [rsp + 0x60], rax
test r13, r13
je 0x14002fa5d
mov ecx, r13d
mov rdi, rax
xor eax, eax
rep stosq qword [rdi], rax
lea rdi, [rax - 1]
mov qword [rbp - 0x10], r12
mov rcx, qword [r15]
cmp qword [rcx + 0x18], 8
jb 0x14002fa6e
mov rcx, qword [rcx]
mov qword [rsp + 0x20], r12
xor r9d, r9d
lea r8, [rbp - 0x58]
xor edx, edx
call qword [sym.imp.SHELL32.dll_SHParseDisplayName]
mov rcx, qword [rbp - 0x58]
test rcx, rcx
jne 0x14002faa0
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14002fa9b
mov rax, qword [rcx]
call qword [rax + ILClone]
nop
jmp 0x14002fee4
xor r9d, r9d
lea r8, [rbp - 0x10]
lea rdx, [0x14020e0c8]
call qword [sym.imp.SHELL32.dll_SHBindToParent]
cmp qword [rbp - 0x10], 0
jne 0x14002fac0
jmp 0x14002fee4
call fcn.14000a6a0
mov rcx, rax
test rax, rax
je 0x14002ff90
mov rax, qword [rax]
call qword [rax + ILCombine]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x50], rsi
mov ecx, 1
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, 0x104
or eax, ecx
jge 0x14002fb08
mov edx, 0x104
lea rcx, [rsp + 0x50]
call fcn.14000cf20
mov rsi, qword [rsp + 0x50]
xor r9d, r9d
lea r8d, [r9 + 0x10]
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea rbx, [rsi - 0x18]
mov qword [rsp + 0x70], rbx
test rsi, rsi
jne 0x14002fb2d
mov eax, r12d
jmp 0x14002fb41
movsxd rdx, dword [rbx + 0xc]
mov rcx, rsi
call fcn.1401c1b54
test eax, eax
js 0x14002ff85
cmp eax, dword [rbx + 0xc]
jg 0x14002ff85
mov dword [rbx + 8], eax
cdqe
mov word [rsi + rax*2], r12w
mov rax, qword [r15 + 8]
sub rax, qword [r15]
sar rax, 5
cmp rax, 1
jbe 0x14002fc33
call fcn.14000a6a0
mov rcx, rax
test rax, rax
je 0x14002ff9b
mov rax, qword [rax]
call qword [rax + ILCombine]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x58], rbx
mov rdi, r12
test r13, r13
je 0x14002fc13
mov r14, r12
nop dword [rax + rax]
mov rdx, qword [r15]
add rdx, r14
cmp qword [rdx + 0x18], 8
jb 0x14002fbb0
mov rdx, qword [rdx]
test rdx, rdx
jne 0x14002fbba
mov eax, r12d
jmp 0x14002fbcb
mov rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x14002fbc1
mov r8d, eax
lea rcx, [rsp + 0x58]
call fcn.14000cfe0
mov rbx, qword [rsp + 0x58]
test rsi, rsi
je 0x14002fc07
cmp dword [rbx - 0x10], 0
jl 0x14002fc07
mov rdx, rsi
mov rcx, rbx
call fcn.1401b0510
test rax, rax
je 0x14002fc07
sub rax, rbx
sar rax, 1
cmp eax, 0xffffffff
jne 0x14002fd57
inc rdi
add r14, 0x20
cmp rdi, r13
jb 0x14002fba0
mov rdi, 0xffffffffffffffff
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002fc33
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov esi, r12d
mov rax, qword [r15 + 8]
sub rax, qword [r15]
sar rax, 5
test rax, rax
je 0x14002fcd2
mov rbx, r12
mov r13, qword [rsp + 0x60]
mov rdi, qword [rbp - 0x10]
mov rax, qword [rdi]
mov r14, qword [rax + 0x18]
mov rcx, rbx
shl rcx, 5
add rcx, qword [r15]
cmp qword [rcx + 0x18], 8
jb 0x14002fc71
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
lea rbx, [rbx*8]
add rbx, r13
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r12
mov r9, rax
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call r14
cmp qword [rbx], 0
jne 0x14002fcb2
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.SHELL32.dll_ILClone]
mov qword [rbx], rax
inc esi
mov rax, qword [r15 + 8]
sub rax, qword [r15]
sar rax, 5
mov ebx, esi
cmp rbx, rax
jb 0x14002fc52
mov r13, qword [rsp + 0x48]
mov rdi, 0xffffffffffffffff
mov qword [rbp - 8], r12
mov rcx, qword [rbp - 0x10]
mov rax, qword [rcx]
lea rdx, [rbp - 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], r12
lea rdx, [0x14020e098]
mov qword [rsp + 0x20], rdx
mov rbx, qword [rsp + 0x60]
mov r9, rbx
mov r8d, r13d
xor edx, edx
call qword [rax + 0x50]
test eax, eax
jns 0x14002fe59
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14002fd1f
mov rax, qword [rcx]
call qword [rax + ILClone]
nop
mov rdx, qword [rsp + 0x70]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14002fd38
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14002fd48
mov rax, qword [rcx]
call qword [rax + ILClone]
nop
mov rsi, qword [rsp + 0x68]
mov r14d, dword [rsp + 0x40]
jmp 0x14002fee4
shl rdi, 5
add rdi, qword [r15]
mov r13, qword [r15 + 8]
lea r14, [rdi + 0x20]
cmp r14, r13
je 0x14002fdae
sub r14, rdi
nop
lea rsi, [r14 + rdi]
cmp rdi, rsi
je 0x14002fda1
mov rcx, rdi
call fcn.14000d500
movups xmm0, xmmword [rsi]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rsi + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [r14 + rdi + 0x10], r12
mov qword [r14 + rdi + 0x18], 7
mov word [rsi], r12w
add rdi, 0x20
lea rax, [r14 + rdi]
cmp rax, r13
jne 0x14002fd70
mov rcx, qword [r15 + 8]
sub rcx, 0x20
call fcn.14000d500
add qword [r15 + 8], 0xffffffffffffffe0
movdqa xmm0, xmmword [0x1401f5800]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r12w
mov rdi, 0xffffffffffffffff
mov r8, rdi
nop dword [rax]
inc r8
cmp word [rbx + r8*2], 0
jne 0x14002fde0
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.14000d810
nop
mov r8, qword [r15]
lea r9, [rsp + 0x78]
lea rdx, [rbp - 0x60]
mov rcx, r15
call fcn.14002c8d0
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x14002fe4f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fe4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002ff7f
call fcn.1401606e8
mov r13, qword [rsp + 0x48]
jmp 0x14002fc1a
mov qword [rbp - 0x50], 0x38
lea rcx, str.copy
lea rax, [0x1401fb484]
mov r14d, dword [rsp + 0x40]
test r14d, r14d
cmovne rax, rcx
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x28], 1
mov rsi, qword [rsp + 0x68]
mov qword [rbp - 0x48], rsi
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
mov qword [rbp - 0x20], r12
mov rcx, qword [rbp - 8]
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
call qword [rax + 0x20]
nop
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x14002febb
mov rax, qword [rcx]
call qword [rax + ILClone]
nop
mov rdx, qword [rsp + 0x70]
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14002fed4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x14002fee4
mov rax, qword [rcx]
call qword [rax + ILClone]
nop
mov edi, r12d
test r13, r13
je 0x14002ff08
mov rax, r12
nop
mov rcx, qword [rbx + rax*8]
test rcx, rcx
je 0x14002feff
call qword [sym.imp.SHELL32.dll_ILFree]
inc edi
mov eax, edi
cmp rax, r13
jb 0x14002fef0
mov rcx, rbx
call fcn.1401606e8
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x14002ff1f
call qword [sym.imp.SHELL32.dll_ILFree]
mov rcx, rsi
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14002ff6d
mov ecx, reloc.OLEAUT32.dll_SafeArrayDestroy
call qword [sym.imp.USER32.dll_GetClipboardData]
test rax, rax
je 0x14002ff53
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.SHELL32.dll_DragQueryFileW]
mov r12d, eax
call qword [sym.imp.USER32.dll_CloseClipboard]
test r12d, r12d
jne 0x14002ff6d
mov r8, rsi
mov edx, r14d
mov rcx, r15
call fcn.1400303b0
nop
mov rcx, r15
call fcn.140026d20
mov eax, 1
jmp 0x14002f9f8
call fcn.1401b3260
nop
mov ecx, 0x80070057
call fcn.14000ca90
nop
mov ecx, 0x80004005
call fcn.14000ca90
nop
mov ecx, 0x80004005
call fcn.14000ca90
int3