Function at 0x1400ad2ac
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x128
movaps xmmword [rsp + 0x110], xmm6
mov rbp, rcx
mov rax, qword [0x14019e018]
xor rax, rsp
mov qword [rsp + 0x108], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x100], rax
call fcn.1400581b6
lea rdi, [rsp + 0xe8]
mov rcx, rax
mov rdx, rdi
call fcn.140092030
call fcn.1400581b6
lea rsi, [rsp + 0xc0]
mov rcx, rax
mov rdx, rsi
call fcn.140092096
movzx eax, byte [rsi + 0x17]
test al, al
mov rcx, qword [rsi]
cmovns rcx, rsi
lea r8, [rsp + 0xd8]
mov qword [r8], rcx
cmovs rax, qword [rsi + 8]
mov qword [r8 + 8], rax
lea rsi, [rsp + 0x50]
mov rcx, rdi
mov rdx, rsi
call fcn.1400525e0
cmp byte [rsi + 0x17], 0
mov rdx, rsi
jns 0x1400ad35d
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x100]
call fcn.140058274
mov rcx, rsi
call fcn.1400506a0
cmp byte [rsp + 0xd7], 0
jns 0x1400ad389
mov rcx, qword [rsp + 0xc0]
call fcn.140136864
lea rcx, [rsp + 0xe8]
call fcn.1400506a0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xc0], rax
call fcn.1400581b6
lea rsi, [rsp + 0xe8]
mov rcx, rax
mov rdx, rsi
call fcn.140092030
lea rax, [0x14018078e]
lea r8, [rsp + 0xb0]
mov qword [r8], rax
mov qword [r8 + 8], 7
lea rdi, [rsp + 0x50]
mov rcx, rsi
mov rdx, rdi
call fcn.140051480
cmp byte [rdi + 0x17], 0
mov rdx, rdi
jns 0x1400ad3f8
mov rdx, qword [rsp + 0x50]
lea rbx, [rsp + 0xc0]
mov rcx, rbx
call fcn.140058274
mov rcx, rdi
call fcn.1400506a0
mov rcx, rsi
call fcn.1400506a0
lea rcx, [rsp + 0xe8]
movabs rsi, 0xaaaaaaaaaaaaaaaa
mov qword [rcx], rsi
mov rdx, qword [rbx]
call fcn.1400adeee
lea rcx, [rsp + 0xa8]
mov qword [rcx], rsi
mov rdx, qword [rsp + 0x100]
call fcn.1400adeee
mov qword [rsp + 0x28], rbp
mov rcx, qword [rbp + 8]
mov edx, 0x3f2
call qword [sym.imp.USER32.dll_GetDlgItem]
test rax, rax
je 0x1400ad709
mov rdi, rax
xor ebp, ebp
mov rsi, 0xffffffffffffffff
lea r14, [rsp + 0x58]
mov r15, qword [sym.imp.USER32.dll_SendMessageW]
xorps xmm6, xmm6
lea r13, [rsp + 0x50]
mov r12d, 1
xor ebx, ebx
movsxd r8, esi
mov r9d, 2
mov rcx, rdi
mov edx, 0x100c
call r15
mov rsi, rax
cmp esi, 0xffffffff
je 0x1400ad576
movups xmmword [r14 + 0x40], xmm6
movups xmmword [r14 + 0x30], xmm6
movups xmmword [r14 + 0x20], xmm6
movups xmmword [r14 + 0x10], xmm6
movups xmmword [r14], xmm6
mov dword [rsp + 0x54], esi
mov dword [rsp + 0x50], 4
mov rcx, rdi
mov edx, 0x104b
xor r8d, r8d
mov r9, r13
call r15
mov rdx, qword [rsp + 0x78]
test rdx, rdx
je 0x1400ad492
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x48], rax
lea rcx, [rsp + 0x48]
call fcn.140058274
mov rdx, qword [rsp + 0xc0]
test rdx, rdx
je 0x1400ad798
mov rcx, qword [rsp + 0x48]
call fcn.14014e6d4
test eax, eax
cmove ebx, r12d
mov rdx, qword [rsp + 0x100]
test rdx, rdx
je 0x1400ad798
mov rcx, qword [rsp + 0x48]
call fcn.14014e6d4
test eax, eax
cmove ebp, r12d
mov rdx, qword [rsp + 0x48]
mov eax, 0xffffffff
lock xadd dword [rdx - 8], eax
dec eax
test eax, eax
jg 0x1400ad492
add rdx, 0xffffffffffffffe8
mov rcx, qword [rdx]
call fcn.140061620
jmp 0x1400ad492
mov eax, ebp
or eax, ebx
je 0x1400ad709
lea rcx, str.Preferred_DropEffect
call qword [sym.imp.USER32.dll_RegisterClipboardFormatW]
mov r13d, eax
mov edx, 4
mov ecx, 0x2042
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rdi, rax
test rax, rax
je 0x1400ad6f5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [rax], 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, qword [rsp + 0xe8]
mov r14, qword [sym.imp.OLEAUT32.dll_VariantInit]
call r14
mov esi, eax
mov rcx, qword [rsp + 0xa8]
call r14
add eax, esi
lea edx, [rax + rax]
add edx, 0x34
mov ecx, 0x2042
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
test rax, rax
je 0x1400ad6f5
mov r12, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
lea r15, [rax + 0x14]
movaps xmm0, xmmword [0x140184950]
movups xmmword [rax], xmm0
mov dword [rax + 0x10], 1
test ebx, ebx
je 0x1400ad683
call fcn.140049648
mov ebx, r13d
mov r13, rax
call fcn.1400581b6
lea rsi, [rsp + 0x30]
mov rcx, rax
mov rdx, rsi
call fcn.140092030
mov rcx, r13
mov r13d, ebx
mov rdx, rsi
call fcn.140058c22
mov rsi, qword [rsp + 0xe8]
mov rcx, rsi
call r14
lea r8d, [rax + 1]
add r8, r8
mov rcx, r15
mov rdx, rsi
call fcn.140139870
mov rcx, qword [rsp + 0xe8]
call r14
inc eax
lea r15, [r15 + rax*2]
test ebp, ebp
je 0x1400ad6b2
mov rbp, qword [rsp + 0xa8]
mov rcx, rbp
call r14
lea r8d, [rax + 1]
add r8, r8
mov rcx, r15
mov rdx, rbp
call fcn.140139870
mov rcx, qword [rsp + 0xa8]
call r14
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rax + 8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x1400ad6f8
call qword [sym.imp.USER32.dll_EmptyClipboard]
mov rsi, qword [sym.imp.USER32.dll_SetClipboardData]
mov ecx, 0xf
mov rdx, r12
call rsi
mov ecx, r13d
mov rdx, rdi
call rsi
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x1400ad709
xor r12d, r12d
mov rsi, qword [sym.imp.KERNEL32.dll_GlobalFree]
mov rcx, r12
call rsi
mov rcx, rdi
call rsi
mov rcx, qword [rsp + 0xa8]
mov rsi, qword [sym.imp.OLEAUT32.dll_SysStringLen]
call rsi
mov rcx, qword [rsp + 0xe8]
call rsi
mov rdx, qword [rsp + 0xc0]
mov eax, 0xffffffff
lock xadd dword [rdx - 8], eax
mov esi, 0xffffffff
dec eax
test eax, eax
jg 0x1400ad74d
add rdx, 0xffffffffffffffe8
mov rcx, qword [rdx]
call fcn.140061620
mov rdx, qword [rsp + 0x100]
lock xadd dword [rdx - 8], esi
dec esi
test esi, esi
jg 0x1400ad76c
add rdx, 0xffffffffffffffe8
mov rcx, qword [rdx]
call fcn.140061620
mov rcx, qword [rsp + 0x108]
xor rcx, rsp
call fcn.140137110
movaps xmm6, xmmword [rsp + 0x110]
add rsp, 0x128
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 0x80004005
call fcn.140061779
int3