Function at 0x42e5f5
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 + 0x2cc]
xor ebx, ebx
mov ecx, dword [edi + 0x2f0]
inc ebx
mov esi, dword [edi + 0x2c8]
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 0x42e695
mov edx, dword [edi + 0x2f4]
cmp edx, 0xffffffff
je 0x42e695
cmp dword [edi + 0x2f8], 0xffffffff
je 0x42e695
cmp dword [edi + 0x2fc], 0xffffffff
je 0x42e695
mov eax, dword [edi + 0x2f8]
mov esi, eax
mov ebx, dword [edi + 0x2fc]
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 + 0x2fc]
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 0x42e7ac
lea ecx, [ebx + esi]
mov dword [ebp - 0x2c], ecx
cmp esi, ecx
jge 0x42e79f
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 + 0x260]
shr ecx, 3
imul ecx, esi
add ecx, eax
mov eax, dword [edi + 0x26c]
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 0x42e73e
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 0x42e70f
push dword [edi + 0x20]
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
call fcn.0040583b
mov esi, eax
lea eax, [ebp - 0x10]
push 1
push eax
push 1
push esi
call fcn.00423252
push 1
lea eax, [ebp - 0xc]
push eax
push 2
push esi
call fcn.00423252
add esp, 0x24
cmp dword [ebp - 0x10], 0
je 0x42e884
cmp dword [ebp - 0xc], 0
je 0x42e884
push dword [ebp - 0xc]
call fcn.00407dd9
push dword [ebp - 0x10]
lea esi, [eax + 0x234]
call fcn.00407dd9
push 1
or ecx, 0xffffffff
add eax, 0x234
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 + 0x2e8]
push eax
lea eax, [edi + 0x234]
push esi
push eax
call fcn.0042eb6d
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.0040a59f
push esi
mov edi, eax
push ebx
push edi
call fcn.0040a8fa
push esi
push ebx
push edi
call fcn.004266a2
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