Function at 0x434571
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 0x18], 0
push 1
call fcn.0044bc76
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043c164
test eax, eax
jne 0x434768
push ebx
push esi
push edi
push eax
call dword [sym.imp.USER32.dll_GetDC]
push dword [ebp - 0x24]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edi, eax
mov dword [ebp - 0x20], edi
lea eax, [edi + 0x2c]
push eax
call dword [sym.imp.GDI32.dll_CreatePalette]
mov esi, eax
mov dword [ebp - 4], esi
test esi, esi
je 0x4345e4
push 0
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectPalette]
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
call dword [sym.imp.GDI32.dll_RealizePalette]
push dword [edi + 0x18]
push dword [edi + 0x1c]
push ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov dword [ebp - 8], eax
call fcn.0046bf87
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x43476e
mov ecx, dword [edi + 0x18]
and dword [ebp - 0xc], 0
mov eax, dword [edi + 0x28]
mov dword [edi + 0x43c], ecx
xor ecx, ecx
mov dword [edi + 0x448], eax
mov dword [ebp - 0x1c], ecx
cmp dword [edi + 0x10], ecx
jle 0x4346b6
lea eax, [ebp - 0x10]
push eax
mov eax, dword [edi + 0x10]
sub eax, ecx
add eax, dword [ebp + 0x10]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0043c164
mov edi, eax
test edi, edi
jne 0x434722
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov ecx, dword [ebp - 0x20]
mov edi, eax
push 0
add ecx, 0x434
push ecx
lea ecx, [edi + 0x20]
push ecx
push dword [edi + 0x14]
push dword [ebp - 0xc]
push dword [ebp - 8]
push ebx
call dword [sym.imp.GDI32.dll_SetDIBits]
push dword [ebp - 0x10]
mov esi, eax
mov eax, dword [ebp - 0xc]
add eax, dword [edi + 0x14]
mov dword [ebp - 0xc], eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [ebp - 0x10]
call fcn.0043d8ec
xor eax, eax
test esi, esi
sete al
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x43471f
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x20]
inc ecx
mov dword [ebp - 0x1c], ecx
cmp ecx, dword [edi + 0x10]
jl 0x434629
mov esi, dword [ebp - 4]
push dword [0x49d9fc]
mov edi, 0x2714
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x434722
call dword [sym.imp.USER32.dll_EmptyClipboard]
test esi, esi
je 0x434700
push 0
push dword [ebp - 0x18]
push ebx
call dword [sym.imp.GDI32.dll_SelectPalette]
push esi
push 9
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
jne 0x4346f5
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
xor esi, esi
call dword [sym.imp.GDI32.dll_RealizePalette]
jmp 0x434703
mov esi, dword [ebp - 4]
push dword [ebp - 8]
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
test eax, eax
je 0x434717
xor edi, edi
and dword [ebp - 8], edi
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x434725
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 8]
test eax, eax
je 0x434733
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
test esi, esi
je 0x43475a
push 0
push dword [ebp - 0x18]
push ebx
call dword [sym.imp.GDI32.dll_SelectPalette]
push ebx
call dword [sym.imp.GDI32.dll_RealizePalette]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
push ebx
push 0
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov edi, dword [ebp - 0x14]
jmp 0x434725