Function at 0x14003c2a4
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x58
mov esi, ecx
mov ebx, r8d
mov rcx, qword [0x1400b8a28]
mov edi, edx
xor r12d, r12d
call qword [sym.imp.USER32.dll_SetCursor]
lea r9, [rsp + 0x48]
mov dword [0x140096f20], 1
mov r8d, ebx
mov edx, edi
mov ecx, esi
call fcn.14004564c
test eax, eax
jne 0x14003c50e
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, qword [rsp + 0x48]
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov r14, rax
lea rcx, [rax + 0x2c]
call qword [sym.imp.GDI32.dll_CreatePalette]
mov rsi, rax
test rax, rax
je 0x14003c34a
xor r8d, r8d
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SelectPalette]
mov rcx, rax
mov r12, rax
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, rbp
call qword [sym.imp.GDI32.dll_RealizePalette]
mov r8d, dword [r14 + 0x18]
mov rcx, rbp
mov edx, dword [r14 + 0x1c]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
xor edi, edi
mov r15, rax
test r15, r15
mov eax, 0x2714
cmove edi, eax
test edi, edi
jne 0x14003c4c2
mov ecx, dword [r14 + 0x18]
xor r13d, r13d
and dword [rsp + 0xb8], edi
mov eax, dword [r14 + 0x10]
mov dword [r14 + 0x43c], ecx
mov ecx, dword [r14 + 0x28]
mov dword [r14 + 0x448], ecx
test eax, eax
jle 0x14003c44d
mov edx, dword [rsp + 0xa8]
lea r9, [rsp + 0x40]
mov ecx, dword [rsp + 0xa0]
sub eax, r13d
lea r8d, [rbx + rax]
call fcn.14004564c
mov edi, eax
test eax, eax
jne 0x14003c4c2
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
and dword [rsp + 0x30], 0
lea rdx, [r14 + 0x434]
mov qword [rsp + 0x28], rdx
mov rcx, rbp
mov rdx, r15
mov rdi, rax
mov r9d, dword [rax + 0x14]
lea r8, [rax + 0x20]
mov qword [rsp + 0x20], r8
mov r8d, dword [rsp + 0xb8]
call qword [sym.imp.GDI32.dll_SetDIBits]
mov rcx, qword [rsp + 0x40]
mov ebx, eax
mov eax, dword [rsp + 0xb8]
add eax, dword [rdi + 0x14]
mov dword [rsp + 0xb8], eax
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
xor edi, edi
test ebx, ebx
sete dil
test ebx, ebx
je 0x14003c4c2
mov eax, dword [r14 + 0x10]
inc r13d
mov ebx, dword [rsp + 0xb0]
cmp r13d, eax
jl 0x14003c39f
mov rcx, qword [0x1400970d8]
mov edi, 0x2714
call qword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x14003c4c2
call qword [sym.imp.USER32.dll_EmptyClipboard]
test rsi, rsi
je 0x14003c4a4
xor r8d, r8d
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SelectPalette]
mov rdx, rsi
mov ecx, 9
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
jne 0x14003c499
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
xor esi, esi
mov rcx, rbp
call qword [sym.imp.GDI32.dll_RealizePalette]
mov rdx, r15
mov ecx, 2
call qword [sym.imp.USER32.dll_SetClipboardData]
test rax, rax
je 0x14003c4bc
xor edi, edi
xor r15d, r15d
call qword [sym.imp.USER32.dll_CloseClipboard]
test r15, r15
je 0x14003c4d0
mov rcx, r15
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GlobalUnlock]
test rsi, rsi
je 0x14003c501
xor r8d, r8d
mov rdx, r12
mov rcx, rbp
call qword [sym.imp.GDI32.dll_SelectPalette]
mov rcx, rbp
call qword [sym.imp.GDI32.dll_RealizePalette]
mov rcx, rsi
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rdx, rbp
xor ecx, ecx
call qword [sym.imp.USER32.dll_ReleaseDC]
mov eax, edi
add rsp, 0x58
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret