Function at 0x5c1bd0
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
push esi
push edi
lea edi, [ebp - 0xc0]
mov ecx, 0x30
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov eax, dword [0x6bc858]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00581fe0
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xec]
push eax
call fcn.005cc9c0
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push str.XCGUI_RichEdit
lea ecx, [ebp - 0x9c]
push ecx
call fcn.005ff4e0
add esp, 8
mov esi, esp
lea edx, [ebp - 0x7c]
push edx
push 0x5c
mov eax, dword [ebp + 8]
push eax
call fcn.005815c0
push eax
call dword [sym.imp.GDI32.dll_GetObjectW]
cmp esi, esp
call fcn.00605df0
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xc], 0x8c
mov ecx, dword [ebp - 0x14]
imul ecx, ecx, 0x5c
add ecx, dword [ebp - 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
add edx, dword [ebp + 0x10]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.005cc9c0
mov dword [ebp - 0x18], eax
mov esi, esp
mov edx, dword [ebp - 0xc]
push edx
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
cmp esi, esp
call fcn.00605df0
mov dword [ebp - 0xa8], eax
mov esi, esp
mov eax, dword [ebp - 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp esi, esp
call fcn.00605df0
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xb0], 0x8c
mov ecx, dword [ebp - 0xb0]
push ecx
lea edx, [ebp - 0x9c]
push edx
mov eax, dword [ebp - 0xac]
push eax
call fcn.00602090
add esp, 0xc
mov ecx, dword [ebp - 0xac]
add ecx, dword [ebp - 0xb0]
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xb4], 0
jmp 0x5c1d26
mov edx, dword [ebp - 0xb4]
add edx, 1
mov dword [ebp - 0xb4], edx
mov eax, dword [ebp - 0xb4]
cmp eax, dword [ebp - 0x14]
jge 0x5c1d79
mov ecx, dword [ebp - 0xb4]
push ecx
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0xec]
push eax
call fcn.005cc970
mov dword [ebp - 0xa4], eax
push 0x5c
mov ecx, dword [ebp - 0xa4]
add ecx, 4
push ecx
mov edx, dword [ebp - 0xac]
push edx
call fcn.00602090
add esp, 0xc
mov eax, dword [ebp - 0xac]
add eax, 0x5c
mov dword [ebp - 0xac], eax
jmp 0x5c1d17
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.005cc9c0
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xbc], 0
jmp 0x5c1da3
mov edx, dword [ebp - 0xbc]
add edx, 1
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xbc]
cmp eax, dword [ebp - 0xb8]
jge 0x5c1e98
mov ecx, dword [ebp - 0xbc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.005cc970
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
cmp dword [eax], 0
jne 0x5c1e02
push 0x14
mov ecx, dword [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 0xac]
push edx
call fcn.00602090
add esp, 0xc
mov eax, dword [ebp - 0xac]
add eax, 0x14
mov dword [ebp - 0xac], eax
jmp 0x5c1e93
mov ecx, dword [ebp - 0xc0]
cmp dword [ecx], 1
jne 0x5c1e44
mov edx, dword [ebp - 0xc0]
mov eax, dword [edx + 4]
push eax
mov ecx, dword [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 0xac]
push edx
call fcn.00602090
add esp, 0xc
mov eax, dword [ebp - 0xc0]
mov ecx, dword [ebp - 0xac]
add ecx, dword [eax + 4]
mov dword [ebp - 0xac], ecx
jmp 0x5c1e93
mov edx, dword [ebp - 0xc0]
cmp dword [edx], 2
jne 0x5c1e86
mov eax, dword [ebp - 0xc0]
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [ebp - 0xc0]
push edx
mov eax, dword [ebp - 0xac]
push eax
call fcn.00602090
add esp, 0xc
mov ecx, dword [ebp - 0xc0]
mov edx, dword [ebp - 0xac]
add edx, dword [ecx + 4]
mov dword [ebp - 0xac], edx
jmp 0x5c1e93
push str.richEdit
call fcn.005ab610
add esp, 4
jmp 0x5c1d94
mov esi, esp
mov eax, dword [ebp - 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
cmp esi, esp
call fcn.00605df0
mov esi, esp
mov ecx, dword [ebp - 0xa8]
push ecx
mov edx, dword [0x6c303c]
push edx
call dword [sym.imp.USER32.dll_SetClipboardData]
cmp esi, esp
call fcn.00605df0
push edx
mov ecx, ebp
push eax
lea edx, [0x5c1efc]
call fcn.00605e20
pop eax
pop edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005f0da0
add esp, 0xc0
cmp ebp, esp
call fcn.00605df0
mov esp, ebp
pop ebp
ret