Function at 0x140002c48
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x10], edx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
xor r12d, r12d
mov r15, rcx
mov rcx, qword [0x1400b8a28]
mov edi, r12d
mov dword [rbp + 0x50], r12d
lea r14d, [r12 + 1]
mov dword [rbp - 0x1c], r14d
call qword [sym.imp.USER32.dll_SetCursor]
lea edx, [r12 + 8]
mov dword [0x140096f20], r14d
mov rcx, r15
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov qword [rbp - 8], rax
test rax, rax
jne 0x140002cae
mov eax, 0x2714
jmp 0x140003468
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, r15
mov rsi, rax
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
mov rbx, rax
test rax, rax
je 0x140002ced
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rbx
mov eax, dword [rax]
mov dword [rbp - 0x1c], eax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp dword [rsi + 0x32], r12d
je 0x14000345c
cmp dword [0x1400b8b48], r12d
je 0x14000345c
mov rcx, qword [0x1400970d8]
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x140002d5b
movzx ecx, word [0x140096f14]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x140002d4d
movzx ecx, word [0x140096f18]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x140002d4d
movzx ecx, word [0x140096f1c]
call qword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x140002d4d
mov ebx, r12d
jmp 0x140002d53
mov ebx, r14d
mov r14d, r12d
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x140002d5e
mov ebx, r12d
mov ecx, dword [0x1400b8b40]
test ebx, ebx
je 0x140002d6f
call fcn.140047858
jmp 0x140002d74
call fcn.140047798
mov edi, eax
test eax, eax
jne 0x14000345c
call fcn.140001e68
mov edi, eax
test eax, eax
jne 0x14000345c
test r14d, r14d
je 0x140002da7
mov ecx, dword [0x1400b8b40]
call fcn.140047858
mov edi, eax
test eax, eax
jne 0x14000345c
mov r8d, dword [rsi + 0xf6]
lea r14, [rsi + 0xea]
mov ecx, dword [rsi + 0x26]
mov r9, r14
mov edx, 0x65
call fcn.140045710
mov edi, eax
test eax, eax
jne 0x14000345c
mov rdx, qword [r14]
lea rax, [rbp + 0x58]
mov ecx, dword [rsi + 0x26]
lea r9, [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea r8, [rbp - 0x20]
lea rax, [rbp - 0x18]
or ebx, 0xffffffff
mov qword [rsp + 0x20], rax
mov dword [rbp - 0x20], ebx
mov dword [rbp + 0x58], ebx
call fcn.14007796c
test eax, eax
mov r13d, r12d
mov r12d, dword [rbp + 0x58]
sete r13b
test eax, eax
jne 0x140002e4d
mov eax, dword [rsi + 0xf6]
cmp dword [rbp - 0x20], eax
jne 0x140002e4d
cmp r12d, ebx
jne 0x140002e4d
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rax
cmp dword [rax + 0x34], 0x22
je 0x140002e41
mov eax, dword [rax + 0x8c]
sub eax, dword [rcx + 0x90]
cmp eax, 1
jne 0x140002e44
xor r13d, r13d
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test r13d, r13d
mov rcx, r15
cmove r12d, ebx
call fcn.14006412c
mov edi, eax
test eax, eax
jne 0x14000345c
mov ecx, dword [rsi + 0x26]
lea rbx, [rsi + 0xde]
mov r9, rbx
lea edx, [rax + 0x64]
lea r8d, [rax + 0x67]
call fcn.140045710
mov edi, eax
test eax, eax
jne 0x14000345c
mov r8, qword [rbx]
lea edx, [rax + 0x67]
lea ebx, [rax + 0x64]
mov ecx, ebx
call fcn.14000205c
mov edi, eax
test eax, eax
jne 0x14000345c
mov ecx, dword [rsi + 0x26]
lea edi, [rbx + 0xe]
mov r8d, edi
lea r9, [rbp + 0x58]
mov edx, ebx
call fcn.14004564c
test eax, eax
jne 0x140002ed2
mov r8, qword [rbp + 0x58]
mov edx, edi
mov ecx, ebx
call fcn.14000205c
mov edi, eax
test eax, eax
jne 0x14000345c
mov rcx, qword [rsi + 0x1e6]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov ecx, dword [0x1400b8b40]
mov r8d, 0x69
mov edx, ebx
lea r9, [rax + 0x10]
lea rax, [rbp + 0x58]
mov qword [rsp + 0x20], rax
call fcn.140044694
mov edi, eax
test eax, eax
jne 0x14000345c
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rsi + 0x1e6]
call fcn.140047020
mov rcx, qword [rsi + 0xba]
call qword [sym.imp.KERNEL32.dll_GlobalSize]
mov ecx, dword [0x1400b8b40]
lea r8d, [rdi + 0x6f]
mov edx, ebx
lea r9, [rax + 0x10]
lea rax, [rbp + 0x58]
mov qword [rsp + 0x20], rax
call fcn.140044694
mov edi, eax
test eax, eax
jne 0x14000345c
mov rdx, qword [rbp + 0x58]
mov rcx, qword [rsi + 0xba]
call fcn.140047020
mov ecx, dword [rsi + 0x26]
lea r9, [rbp - 0x10]
lea r8d, [rdi + 0x6a]
mov edx, ebx
call fcn.14004564c
mov edi, eax
test eax, eax
jne 0x14000345c
mov r8, qword [rbp - 0x10]
lea edx, [rax + 0x6a]
mov ecx, ebx
call fcn.14000205c
mov edi, eax
test eax, eax
jne 0x14000345c
mov ecx, dword [rsi + 0x26]
lea r9, [rbp - 0x10]
lea r8d, [rax + 0x6e]
mov edx, ebx
call fcn.14004564c
mov edi, eax
test eax, eax
jne 0x14000345c
mov r8, qword [rbp - 0x10]
lea edx, [rax + 0x6e]
mov ecx, ebx
call fcn.14000205c
mov edi, eax
test eax, eax
jne 0x14000345c
mov ecx, dword [rsi + 0x26]
lea r9, [rbp - 0x10]
lea r8d, [rax + 0x68]
mov edx, ebx
call fcn.14004564c
mov edi, eax
test eax, eax
jne 0x14000345c
mov r8, qword [rbp - 0x10]
lea edx, [rax + 0x68]
mov ecx, ebx
call fcn.14000205c
mov edi, eax
test eax, eax
jne 0x14000345c
mov r8, qword [rsi + 0xc6]
lea edx, [rax + 0x65]
mov ecx, ebx
call fcn.14000205c
mov edi, eax
test eax, eax
jne 0x14000345c
mov ecx, dword [rsi + 0x26]
lea r9, [rbp - 0x10]
lea r8d, [rax + 0x66]
mov edx, ebx
call fcn.14004564c
mov edi, eax
test eax, eax
jne 0x14000345c
mov r8, qword [rbp - 0x10]
lea edx, [rax + 0x66]
mov ecx, ebx
call fcn.14000205c
mov edi, eax
test eax, eax
jne 0x14000345c
mov ecx, dword [0x1400b8b40]
lea r9, [rbp - 0x10]
lea r8d, [rax + 0x66]
mov edx, ebx
call fcn.14004564c
test eax, eax
jne 0x140003077
mov rcx, qword [rbp - 0x10]
lea edx, [rdi + 1]
call fcn.140078dc4
mov rcx, qword [rbp - 0x10]
call fcn.14004708c
mov ecx, dword [rsi + 0x26]
lea r9, [rbp - 0x10]
mov r8d, 0x6b
mov edx, ebx
call fcn.14004564c
mov edi, eax
test eax, eax
jne 0x14000345c
mov r8, qword [rbp - 0x10]
lea edx, [rax + 0x6b]
mov ecx, ebx
call fcn.14000205c
mov edi, eax
test eax, eax
jne 0x14000345c
mov ecx, dword [rsi + 0x26]
lea r9, [rbp - 0x10]
lea r8d, [rax + 0x6c]
mov edx, ebx
call fcn.14004564c
mov edi, eax
test eax, eax
jne 0x14000345c
mov r8, qword [rbp - 0x10]
lea edx, [rax + 0x6c]
mov ecx, ebx
call fcn.14000205c
mov edi, eax
test eax, eax
jne 0x14000345c
mov ecx, dword [rsi + 0x26]
lea r9, [rbp - 0x10]
lea r8d, [rax + 0x6d]
mov edx, ebx
call fcn.14004564c
mov edi, eax
test eax, eax
jne 0x14000345c
mov r8, qword [rbp - 0x10]
lea edx, [rax + 0x6d]
mov ecx, ebx
call fcn.14000205c
mov edi, eax
test eax, eax
jne 0x14000345c
mov ecx, dword [rsi + 0x26]
lea r9, [rbp - 0x10]
mov r8d, ebx
mov edx, ebx
call fcn.14004564c
mov edi, eax
test eax, eax
jne 0x14000345c
mov rdi, qword [rbp - 0x10]
mov rcx, qword [rbp - 8]
mov rdx, rdi
call fcn.140047020
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rbx, rax
lea rdx, [0x1400b8c68]
mov eax, 0x90
lea rcx, [rbx + 0x8a]
mov dword [rbx + 0xb6], eax
mov dword [rbx + 0xba], eax
call qword [sym.imp.USER32.dll_CopyRect]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [rbx + 0x32]
test cl, 1
je 0x140003188
xor ecx, 1
mov dword [rbx + 0x32], ecx
mov ebx, 0x64
mov r8, rdi
mov edx, ebx
mov ecx, ebx
call fcn.14000205c
mov edi, eax
test eax, eax
jne 0x14000345c
mov edx, dword [0x1400b8b40]
mov ecx, dword [rsi + 0x26]
call fcn.140002950
mov edi, eax
test eax, eax
jne 0x14000345c
mov ecx, dword [rsi + 0x26]
lea r8, [rbp + 0x50]
lea edx, [rbx + 1]
call fcn.140044d18
mov edi, eax
test eax, eax
jne 0x14000345c
mov eax, dword [rbp + 0x48]
lea ecx, [rbx - 0x63]
mov rdx, qword [r14]
lea r9, [rbp + 0x58]
mov dword [rsp + 0x30], eax
lea r8, [rbp + 0x50]
and dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ecx
mov dword [rbp + 0x58], ecx
mov ecx, dword [rsi + 0x26]
call fcn.14000260c
mov ecx, dword [0x1400b8b40]
mov edi, eax
test eax, eax
jne 0x140003455
lea r9, [rbp - 0x10]
mov edx, ebx
lea r8d, [rbx + 6]
call fcn.14004564c
mov edi, eax
test eax, eax
jne 0x14000345c
mov rbx, qword [rbp - 0x10]
mov rcx, rbx
call fcn.14004708c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r14d, dword [rbp + 0x50]
mov rcx, rbx
mov dword [rax + 0x16], r14d
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ecx, dword [0x1400b8b40]
lea eax, [rdi + 0x64]
mov r8d, eax
lea r9, [rbp - 0x10]
mov edx, eax
call fcn.14004564c
mov edi, eax
test eax, eax
jne 0x14000345c
mov rbx, qword [rbp - 0x10]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rbx
and dword [rax + 0x5a], edi
mov dword [rax + 0x106], r14d
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbx
call fcn.14004708c
mov ecx, dword [0x1400b8b40]
lea r9, [rbp - 0x10]
mov r8d, r14d
lea edx, [rdi + 0x65]
call fcn.14004564c
xor r14d, r14d
mov edi, eax
test eax, eax
jne 0x14000345c
mov ecx, dword [0x1400b8b40]
lea r9, [rbp + 0x50]
lea edx, [rax + 0x64]
lea r8d, [rax + 0x68]
call fcn.14004564c
mov edi, eax
test eax, eax
jne 0x14000345c
mov rbx, qword [rbp + 0x50]
lea edx, [rax + 0x3c]
mov rcx, rbx
call fcn.140044914
mov edi, eax
test eax, eax
jne 0x14000345c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, rbx
mov qword [rax + 0x10], 1
mov qword [rax + 0x20], r14
mov dword [rax + 0x28], r14d
mov qword [rax + 0x34], r14
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov rcx, rbx
call fcn.14004708c
mov ecx, dword [0x1400b8b40]
xor r9d, r9d
mov dword [rsp + 0x28], r14d
xor r8d, r8d
mov r14, qword [rbp - 0x10]
mov rdx, r14
mov qword [rsp + 0x20], rbx
call fcn.1400173c8
mov edi, eax
test eax, eax
jne 0x14000345c
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov rcx, r14
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
and dword [rbx + 0x54], edi
mov rcx, r14
call fcn.14004708c
mov rcx, qword [0x1400970d8]
call qword [sym.imp.USER32.dll_OpenClipboard]
xor r14d, r14d
test eax, eax
je 0x14000345c
call qword [sym.imp.USER32.dll_EmptyClipboard]
lea eax, [rdi + 2]
mov edx, eax
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
cmp dword [rbp + 0x48], r14d
je 0x1400033ac
movzx ecx, word [0x140096f1c]
mov rdx, rax
jmp 0x140003439
call qword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [rsi + 0x4a], 7
je 0x1400033e3
cmp dword [rsi + 0x4a], 0xa
je 0x1400033e3
cmp dword [rbp - 0x1c], r14d
jne 0x1400033e3
mov edx, dword [rbp - 0x18]
mov eax, 0xffffffff
test r13d, r13d
mov r8d, r12d
mov rcx, r15
cmove edx, eax
lea r9d, [rax + 2]
call fcn.1400721f4
jmp 0x14000340d
mov rcx, r15
call qword [sym.imp.USER32.dll_GetParent]
mov rcx, rax
xor edx, edx
call qword [sym.imp.USER32.dll_GetWindowLongPtrA]
or eax, 0xffffffff
mov dword [0x1400b87b4], r14d
mov dword [0x1400b87ac], eax
mov dword [0x1400b87b0], eax
xor ecx, ecx
call qword [sym.imp.ole32.dll_OleSetClipboard]
lea rcx, [0x1400b87a0]
call qword [sym.imp.ole32.dll_OleSetClipboard]
mov rcx, qword [0x1400970d8]
call qword [sym.imp.USER32.dll_OpenClipboard]
movzx ecx, word [0x140096f14]
mov rdx, rbx
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x14000344d
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GlobalFree]
call qword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x14000345c
xor edx, edx
call fcn.1400478a4
mov rcx, qword [rbp - 8]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov eax, edi
mov rbx, qword [rsp + 0xa0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret