Function at 0x42eeb6
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [edi + 0x2e8]
xor ebx, ebx
mov ecx, dword [edi + 0x30c]
inc ebx
mov esi, dword [edi + 0x2e4]
mov dword [ebp + 8], eax
xor eax, eax
inc eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x14], eax
cmp ecx, 0xffffffff
je 0x42ef56
mov edx, dword [edi + 0x310]
cmp edx, 0xffffffff
je 0x42ef56
cmp dword [edi + 0x314], 0xffffffff
je 0x42ef56
cmp dword [edi + 0x318], 0xffffffff
je 0x42ef56
mov eax, dword [edi + 0x314]
mov esi, eax
mov ebx, dword [edi + 0x318]
cmp ecx, eax
cmovl esi, ecx
cmp edx, ebx
mov dword [ebp - 0x18], esi
cmovl ebx, edx
cmp ecx, eax
mov dword [ebp + 8], ebx
mov ebx, eax
cmovg ebx, ecx
mov ecx, dword [edi + 0x318]
sub ebx, esi
mov eax, ecx
inc ebx
cmp edx, ecx
mov dword [ebp - 0x20], ebx
cmovg eax, edx
sub eax, dword [ebp + 8]
inc eax
mov dword [ebp - 0x14], eax
imul eax, ebx
lea eax, [eax*4 + 0xa]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push eax
mov dword [ebp - 0x34], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, eax
and dword [ebp - 0x1c], 0
mov cl, bl
mov dword [ebp - 0x28], edx
and cl, 0xf
add cl, 0x30
mov dword [edx], 0x30303030
mov byte [edx + 5], cl
mov ecx, ebx
sar ecx, 4
and cl, 0xf
mov byte [edx + 4], 0x4e
add cl, 0x30
mov byte [edx + 6], cl
mov ecx, dword [ebp - 0x14]
mov al, cl
and al, 0xf
add al, 0x30
mov byte [edx + 7], al
mov eax, ecx
sar eax, 4
and al, 0xf
add al, 0x30
mov byte [edx + 8], al
mov eax, dword [ebp + 8]
add ecx, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], ecx
cmp eax, ecx
jge 0x42f06d
lea ecx, [ebx + esi]
mov dword [ebp - 0x2c], ecx
cmp esi, ecx
jge 0x42f060
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 8], esi
lea eax, [ecx*4 + 0xa]
add eax, edx
lea edx, [ebx + esi]
mov dword [ebp - 0x24], eax
mov eax, edx
mov ebx, dword [ebp - 0x24]
sub eax, esi
mov esi, dword [ebp - 4]
add ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edi + 0x264]
shr ecx, 3
imul ecx, esi
add ecx, eax
mov eax, dword [edi + 0x270]
movzx ecx, word [eax + ecx*2]
mov al, cl
and al, 0xf
add al, 0x30
mov byte [ebx - 1], al
mov al, cl
shr al, 4
and al, 0xf
add al, 0x30
mov byte [ebx], al
mov eax, ecx
shr eax, 8
lea ebx, [ebx + 4]
and al, 0xf
shr ecx, 0xc
add al, 0x30
and cl, 0xf
mov byte [ebx - 3], al
add cl, 0x30
mov eax, dword [ebp - 8]
inc eax
mov byte [ebx - 2], cl
mov dword [ebp - 8], eax
cmp eax, edx
jl 0x42efff
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp - 0x18]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 4], eax
cmp eax, dword [ebp - 0x30]
jl 0x42efd0
push dword [edi + 0x20]
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
call fcn.004059bf
mov esi, eax
lea eax, [ebp - 0x10]
push 1
push eax
push 1
push esi
call fcn.00423aa4
push 1
lea eax, [ebp - 0xc]
push eax
push 2
push esi
call fcn.00423aa4
add esp, 0x24
cmp dword [ebp - 0x10], 0
je 0x42f145
cmp dword [ebp - 0xc], 0
je 0x42f145
push dword [ebp - 0xc]
call fcn.004080a1
push dword [ebp - 0x10]
lea esi, [eax + 0x238]
call fcn.004080a1
push 1
or ecx, 0xffffffff
add eax, 0x238
push ecx
push ecx
push ecx
push ecx
push 0
push ecx
push ecx
push ecx
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x2c]
push ecx
push dword [edi + 0x304]
push eax
lea eax, [edi + 0x238]
push esi
push eax
call fcn.0042f59f
mov esi, dword [ebp - 0x14]
add esp, 0x44
mov ecx, dword [ebp + 8]
shl esi, 3
shl ecx, 3
push esi
shl ebx, 3
push ebx
push ecx
mov ecx, dword [ebp - 0x18]
shl ecx, 3
push ecx
push dword [ebp - 0x30]
mov dword [ebp - 0x28], eax
push dword [ebp - 0x2c]
push eax
call fcn.0040aa09
push esi
mov edi, eax
push ebx
push edi
call fcn.0040ad64
push esi
push ebx
push edi
call fcn.00427109
push dword [ebp - 0x28]
mov esi, dword [sym.imp.msvcrt.dll_free]
call esi
push edi
call esi
add esp, 0x3c
mov esi, dword [ebp - 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push esi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret