Function at 0x4cdef7
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x30], 0
mov eax, dword [0x533644]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4cdf75
push 3
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov dword [ebp - 0x30], eax
push 8
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x4cdf70
cmp dword [ebp - 0x30], 0
jne 0x4cdf70
push 2
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 8], eax
push 9
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 4], eax
jmp 0x4cdf7c
xor eax, eax
jmp 0x4ce1bc
cmp dword [ebp - 8], 0
jne 0x4cdfa1
cmp dword [ebp - 0x28], 0
jne 0x4cdfa1
cmp dword [ebp - 0x30], 0
jne 0x4cdfa1
xor eax, eax
jmp 0x4ce1bc
mov eax, dword [ebp + 0xc]
push eax
call fcn.0047a292
add esp, 4
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4cdfc2
mov eax, dword [ebp - 0x20]
jmp 0x4ce1bc
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
add eax, dword [ebp + 0x10]
add eax, 0x50
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax + 4], 0
jl 0x4ce010
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 8]
push eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
push eax
mov eax, dword [ebp + 0xc]
push eax
call fcn.004cdaef
add esp, 0x10
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x4ce010
jmp 0x4ce185
cmp dword [ebp - 0x30], 0
je 0x4ce063
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
push 0x6d
mov eax, dword [ebp + 0xc]
push eax
call fcn.004cdd43
add esp, 0x18
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4ce05e
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x14], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 0x18], eax
mov eax, dword [ebp - 0x38]
mov dword [eax], 0x6d
jmp 0x4ce136
cmp dword [ebp - 0x28], 0
je 0x4ce0e3
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [0x533644]
push eax
call fcn.0046271c
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x4ce0d7
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x24]
push eax
push 0x6e
mov eax, dword [ebp + 0xc]
push eax
call fcn.0044dc65
add esp, 0x18
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
cmp dword [ebp - 0x20], 0
jne 0x4ce0d2
mov eax, dword [ebp - 0x38]
mov dword [eax], 0x6e
jmp 0x4ce0de
mov dword [ebp - 0x20], 1
jmp 0x4ce136
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x34]
push eax
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
push eax
push 0x6c
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 0xc]
push eax
call fcn.00460080
add esp, 0x1c
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x4ce128
mov eax, dword [ebp - 0x38]
mov dword [eax], 0x6c
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
cmp dword [ebp - 0x20], 0
je 0x4ce145
jmp 0x4ce185
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
mov dword [ecx + 8], eax
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x24], 0
jne 0x4ce171
mov eax, dword [ebp - 0x38]
cmp dword [eax + 0x1c], 0
jne 0x4ce185
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push eax
call fcn.004cd628
add esp, 0xc
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp - 0x20], 0
je 0x4ce1a8
push 0
mov eax, dword [ebp + 0xc]
push eax
call fcn.0047a411
add esp, 8
jmp 0x4ce1b4
mov eax, dword [ebp + 0xc]
push eax
call fcn.0047a130
add esp, 4
mov eax, dword [ebp - 0x20]
jmp 0x4ce1bc
pop edi
pop esi
pop ebx
leave
ret