Function at 0x140011f84
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov rax, rsp
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa8
xor r15d, r15d
mov rsi, rcx
mov r14d, edx
mov qword [rax + 0x18], r15
mov rax, qword [rcx + 0x6d8]
xor r9d, r9d
mov rcx, qword [rax + 0x2f8]
xor r8d, r8d
mov edx, 0x1004
mov r12d, r15d
mov dword [rsp + 0x40], 0x400
mov dword [rsp + 0x44], 0x100
mov dword [rsp + 0x20], r15d
mov dword [rsp + 0x24], r15d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x28], r15d
call qword [sym.imp.USER32.dll_SendMessageW]
mov rdi, rax
sub edi, 1
js 0x140012226
movsxd rbp, edi
mov rcx, qword [rsi + 0x6d8]
lea rdx, [rsp + 0x100]
mov r8d, edi
mov r13d, r15d
call fcn.14000c5e0
cmp eax, r15d
je 0x140012068
mov rbx, qword [rsp + 0x100]
lea rcx, [rbx + 0x44]
call sub.msvcrt.dll_wcslen
lea rdx, [rbx + 0x44]
lea rcx, [rsp + 0x20]
or r8d, 0xffffffff
lea r12d, [r12 + rax + 1]
call fcn.14000a0a8
cmp r14d, 2
jne 0x140012068
lea r13d, [r14 + 2]
mov dword [rsi + 0x6f0], 1
mov rcx, qword [rsi + 0x6d8]
lea r9, [rsp + 0x68]
mov r8, rbp
mov rcx, qword [rcx + 0x2f8]
mov edx, 0x102b
mov dword [rsp + 0x78], 4
mov dword [rsp + 0x74], r13d
call qword [sym.imp.USER32.dll_SendMessageW]
sub edi, 1
sub rbp, 1
cmp edi, r15d
jge 0x14001200d
cmp r12d, r15d
jle 0x140012226
xor edx, edx
lea rcx, [rsp + 0x54]
lea r8d, [rdx + 0x10]
call sub.msvcrt.dll_memset
lea eax, [r12 + r12 + 0x16]
mov ebx, 0x14
mov ecx, 0x2042
movsxd rdx, eax
mov dword [rsp + 0x60], 1
mov dword [rsp + 0x50], ebx
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea rdx, [rsp + 0x50]
mov r8, rbx
mov rcx, rax
mov qword [rsp + 0x108], rax
call sub.msvcrt.dll_memcpy
cmp dword [rsp + 0x48], r15d
mov dword [rsp + 0x100], r15d
mov r13d, r15d
mov r12, r15
jle 0x14001219a
mov r14, qword [rsp + 0x38]
mov r15, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x108]
test r12, r12
js 0x140012144
cmp r13d, dword [rsp + 0x48]
jge 0x140012144
mov eax, dword [r15 + r12*4]
lea rbp, [r14 + rax*2]
jmp 0x140012146
xor ebp, ebp
mov rcx, rbp
call sub.msvcrt.dll_wcslen
movsxd rcx, dword [rsp + 0x100]
mov rdx, rbp
lea rcx, [rsi + rcx*2 + 0x14]
mov rbx, rax
call fcn.140015ac4
mov eax, dword [rsp + 0x100]
add r13d, 1
lea eax, [rax + rbx + 1]
add r12, 1
cmp r13d, dword [rsp + 0x48]
mov dword [rsp + 0x100], eax
jl 0x14001212e
mov rsi, qword [rsp + 0xf0]
mov r14d, dword [rsp + 0xf8]
xor r15d, r15d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rsi + 0x210]
call qword [sym.imp.USER32.dll_OpenClipboard]
cmp eax, r15d
je 0x14001221d
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rdx, rdi
mov ecx, InitCommonControls
call qword [sym.imp.USER32.dll_SetClipboardData]
mov edx, 4
mov ecx, 0x2042
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rbx
mov byte [rax], r14b
mov byte [rax + 1], r15b
mov byte [rax + 2], r15b
mov byte [rax + 3], r15b
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea rcx, str.Preferred_DropEffect
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov rdx, rbx
mov ecx, eax
call qword [sym.imp.USER32.dll_SetClipboardData]
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x140012226
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalFree]
lea rcx, [rsp + 0x20]
call fcn.14000a06c
add rsp, 0xa8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret