Function at 0x5c21e0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
push esi
push edi
lea edi, [ebp - 0x50]
mov ecx, 0x14
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
mov eax, dword [0x6c303c]
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
cmp esi, esp
call fcn.00605df0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x5c221c
xor eax, eax
jmp 0x5c2435
mov esi, esp
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp esi, esp
call fcn.00605df0
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
cmp dword [ebp - 8], 0
jne 0x5c2258
mov esi, esp
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp esi, esp
call fcn.00605df0
xor eax, eax
jmp 0x5c2435
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0xc]
add edx, 0x8c
mov dword [ebp - 0xc], edx
call fcn.005cbd30
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
jmp 0x5c2284
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
cmp edx, dword [ecx + 0x88]
jge 0x5c22aa
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x14]
push ecx
call fcn.005cbf30
mov edx, dword [ebp - 0xc]
add edx, 0x5c
mov dword [ebp - 0xc], edx
jmp 0x5c227b
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x34], 0
xor eax, eax
mov word [ebp - 0x3c], ax
xor ecx, ecx
mov word [ebp - 0x3a], cx
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
jmp 0x5c22eb
mov edx, dword [ebp - 0x4c]
add edx, 1
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [eax + 0x84]
jge 0x5c2414
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005bedf0
mov edx, dword [ebp - 0xc]
cmp dword [edx], 0
jne 0x5c237f
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dx, word [ecx + 0x10]
mov word [ebp - 0x3c], dx
mov dword [ebp - 0x34], 0
mov eax, dword [ebp - 0x44]
cmp dword [eax + 4], 0
jl 0x5c234a
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.005cc970
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
lea edx, [ebp - 0x3c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005bbcf0
mov ecx, dword [ebp - 0xc]
add ecx, 0x14
mov dword [ebp - 0xc], ecx
jmp 0x5c240f
mov edx, dword [ebp - 0xc]
cmp dword [edx], 1
jne 0x5c23ce
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x48], eax
push 0
mov ecx, dword [ebp - 0x48]
add ecx, 8
push ecx
call fcn.00565d20
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x5c23c0
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 8
push ecx
mov edx, dword [ebp - 0x50]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.005bc9e0
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0xc]
add edx, dword [ecx + 4]
mov dword [ebp - 0xc], edx
jmp 0x5c240f
mov eax, dword [ebp - 0xc]
cmp dword [eax], 2
jne 0x5c2402
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x48]
add ecx, 8
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.005bcd10
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 4]
mov dword [ebp - 0xc], ecx
jmp 0x5c240f
push str.RichEdit
call fcn.005ab610
add esp, 4
jmp 0x5c22e2
mov edx, dword [ebp - 0x14]
push edx
call fcn.005cbd90
mov esi, esp
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp esi, esp
call fcn.00605df0
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x5c2458]
call fcn.00605e20
pop eax
pop edx
pop edi
pop esi
add esp, 0x50
cmp ebp, esp
call fcn.00605df0
mov esp, ebp
pop ebp
ret