Function at 0x47eec0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x6554d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
jmp 0x47eee8
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 8
jge 0x47ef16
cmp dword [ebp - 0x10], 0
jne 0x47ef16
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x47ef0d
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x47ef14
mov dword [ebp - 0x10], 1
jmp 0x47eedf
cmp dword [ebp - 0x10], 0
jne 0x47ef4f
cmp dword [0x65eba0], 0
je 0x47ef33
call fcn.0047f3e0
mov dword [ebp - 0x10], 2
jmp 0x47ef3a
mov dword [ebp - 0x10], 0
push str._Clipboard_currently_busy_
call fcn.0041dc70
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x47f330
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x47ef99
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [0x65eba0], 0
je 0x47ef7d
call fcn.0047f3e0
mov dword [ebp - 0x10], 2
jmp 0x47ef84
mov dword [ebp - 0x10], 0
push str._Clipboard_empty_or_not_TEXT_data_
call fcn.0041dc70
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x47f330
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x47efe5
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [0x65eba0], 0
je 0x47efc9
call fcn.0047f3e0
mov dword [ebp - 0x10], 2
jmp 0x47efd0
mov dword [ebp - 0x10], 0
push str._Cant_lock_clipboard_memory_
call fcn.0041dc70
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x47f330
cmp dword [0x65eba0], 0
je 0x47f015
mov eax, dword [ebp - 0x14]
push eax
call fcn.0047fdc0
add esp, 4
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, dword [ebp - 0x10]
jmp 0x47f330
push str._Copying..._
call fcn.0041dd30
add esp, 4
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x10], 1
mov eax, dword [0x65e6fc]
mov ecx, dword [0x65e6f8]
mov edx, dword [eax]
cmp edx, dword [ecx]
jne 0x47f050
mov dword [ebp - 0x3c], 1
jmp 0x47f057
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
call fcn.0040d580
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx]
test edx, edx
je 0x47f290
cmp dword [ebp - 0x10], 0
je 0x47f290
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0xa
jne 0x47f0a8
mov edx, dword [ebp - 0x20]
add edx, 1
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x34]
add eax, 1
mov dword [ebp - 0x34], eax
call fcn.0044a9f0
mov dword [ebp - 0x10], eax
jmp 0x47f282
cmp dword [ebp - 0x24], 0xd
jne 0x47f0bf
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + 2]
cmp edx, 0xa
jne 0x47f0bf
jmp 0x47f282
mov eax, 8
imul ecx, eax, 0x1a
mov edx, dword [0x65e6f8]
mov eax, dword [edx + ecx + 0x1c]
cmp dword [eax], 2
jge 0x47f113
mov ecx, 8
imul edx, ecx, 0x1a
mov eax, dword [0x65e6f8]
mov ecx, dword [eax + edx + 0x1c]
cmp dword [ecx], 0xfffffffe
jne 0x47f0f5
cmp dword [0x5960c8], 2
jge 0x47f113
cmp dword [ebp - 0x24], 0x7e
jbe 0x47f113
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.0047fc90
add esp, 8
mov dword [ebp - 0x10], eax
jmp 0x47f282
mov ecx, dword [0x65e6fc]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
jmp 0x47f138
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + ecx*2]
test eax, eax
je 0x47f1af
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + ecx*2]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0xa
je 0x47f1ab
cmp dword [ebp - 0x40], 0xd
jne 0x47f16f
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + ecx*2 + 2]
cmp eax, 0xa
je 0x47f1ab
mov ecx, 8
imul edx, ecx, 0x1a
mov eax, dword [0x65e6f8]
mov ecx, dword [eax + edx + 0x1c]
cmp dword [ecx], 2
jge 0x47f1ad
mov edx, 8
imul eax, edx, 0x1a
mov ecx, dword [0x65e6f8]
mov edx, dword [ecx + eax + 0x1c]
cmp dword [edx], 0xfffffffe
jne 0x47f1a5
cmp dword [0x5960c8], 2
jge 0x47f1ad
cmp dword [ebp - 0x24], 0x7e
jbe 0x47f1ad
jmp 0x47f1af
jmp 0x47f12f
mov dword [ebp - 0x18], 0
jmp 0x47f1c1
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x1c]
jge 0x47f1e8
push 8
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + edx*2]
push ecx
push 0
call fcn.0041a6d0
add esp, 0xc
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
jmp 0x47f1b8
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0044a390
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x47f206
jmp 0x47f290
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], 0
mov edx, dword [0x65e6fc]
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
add ecx, dword [ebp - 0x48]
mov dword [ebp - 0x38], ecx
jmp 0x47f232
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jge 0x47f275
push 8
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + ecx*2]
push eax
lea ecx, [ebp - 0xc]
push ecx
call fcn.0041a6d0
add esp, 0xc
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x44]
push edx
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
call fcn.0050e9d0
add esp, 0xc
mov edx, dword [ebp - 0x38]
add edx, dword [ebp - 0x44]
mov dword [ebp - 0x38], edx
jmp 0x47f229
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
lea edx, [ecx + eax*2 - 2]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
add eax, 2
mov dword [ebp - 0x14], eax
jmp 0x47f062
cmp dword [ebp - 0x10], 0
je 0x47f2c2
cmp dword [ebp - 0x20], 0
jbe 0x47f2c2
mov ecx, 2
imul edx, ecx, 0xffffffff
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + edx]
cmp ecx, 0xa
jne 0x47f2c2
cmp dword [ebp - 0x4c], 0
je 0x47f2c2
push 0
push 1
call fcn.00449d40
add esp, 8
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [ebp - 0x10], 0
jne 0x47f2e7
push str.cbrdpaste__
call fcn.00402630
add esp, 4
jmp 0x47f32d
mov eax, dword [0x65e6fc]
cmp dword [eax + 0x20], 0
jne 0x47f2f7
call fcn.0040d740
mov ecx, dword [0x65e6fc]
mov edx, dword [0x65e6f8]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x47f31b
mov ecx, dword [0x65e6fc]
mov edx, dword [ecx]
mov eax, dword [0x65e6fc]
mov ecx, dword [edx + 4]
mov dword [eax], ecx
push 1
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x20]
push eax
call fcn.0047f450
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050ce40
mov esp, ebp
pop ebp
ret