Function at 0x47f1f0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x659780]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
jmp 0x47f218
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
cmp dword [ebp - 0x28], 8
jge 0x47f246
cmp dword [ebp - 0x10], 0
jne 0x47f246
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x47f23d
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x47f244
mov dword [ebp - 0x10], 1
jmp 0x47f20f
cmp dword [ebp - 0x10], 0
jne 0x47f27f
cmp dword [0x662ec0], 0
je 0x47f263
call fcn.0047f710
mov dword [ebp - 0x10], 2
jmp 0x47f26a
mov dword [ebp - 0x10], 0
push str._Clipboard_currently_busy_
call fcn.0041dcf0
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x47f660
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x47f2c9
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [0x662ec0], 0
je 0x47f2ad
call fcn.0047f710
mov dword [ebp - 0x10], 2
jmp 0x47f2b4
mov dword [ebp - 0x10], 0
push str._Clipboard_empty_or_not_TEXT_data_
call fcn.0041dcf0
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x47f660
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 0x47f315
call dword [sym.imp.USER32.dll_CloseClipboard]
cmp dword [0x662ec0], 0
je 0x47f2f9
call fcn.0047f710
mov dword [ebp - 0x10], 2
jmp 0x47f300
mov dword [ebp - 0x10], 0
push str._Cant_lock_clipboard_memory_
call fcn.0041dcf0
add esp, 4
mov eax, dword [ebp - 0x10]
jmp 0x47f660
cmp dword [0x662ec0], 0
je 0x47f345
mov eax, dword [ebp - 0x14]
push eax
call fcn.004800f0
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 0x47f660
push str._Copying..._
call fcn.0041ddb0
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 [0x662a1c]
mov ecx, dword [0x662a18]
mov edx, dword [eax]
cmp edx, dword [ecx]
jne 0x47f380
mov dword [ebp - 0x3c], 1
jmp 0x47f387
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], eax
call fcn.0040d5e0
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx]
test edx, edx
je 0x47f5c0
cmp dword [ebp - 0x10], 0
je 0x47f5c0
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0xa
jne 0x47f3d8
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.0044aaf0
mov dword [ebp - 0x10], eax
jmp 0x47f5b2
cmp dword [ebp - 0x24], 0xd
jne 0x47f3ef
mov ecx, dword [ebp - 0x14]
movzx edx, word [ecx + 2]
cmp edx, 0xa
jne 0x47f3ef
jmp 0x47f5b2
mov eax, 8
imul ecx, eax, 0x1a
mov edx, dword [0x662a18]
mov eax, dword [edx + ecx + 0x1c]
cmp dword [eax], 2
jge 0x47f443
mov ecx, 8
imul edx, ecx, 0x1a
mov eax, dword [0x662a18]
mov ecx, dword [eax + edx + 0x1c]
cmp dword [ecx], 0xfffffffe
jne 0x47f425
cmp dword [0x59c4cc], 2
jge 0x47f443
cmp dword [ebp - 0x24], 0x7e
jbe 0x47f443
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
call fcn.0047ffc0
add esp, 8
mov dword [ebp - 0x10], eax
jmp 0x47f5b2
mov ecx, dword [0x662a1c]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
jmp 0x47f468
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 0x47f4df
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 0x47f4db
cmp dword [ebp - 0x40], 0xd
jne 0x47f49f
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
movzx eax, word [edx + ecx*2 + 2]
cmp eax, 0xa
je 0x47f4db
mov ecx, 8
imul edx, ecx, 0x1a
mov eax, dword [0x662a18]
mov ecx, dword [eax + edx + 0x1c]
cmp dword [ecx], 2
jge 0x47f4dd
mov edx, 8
imul eax, edx, 0x1a
mov ecx, dword [0x662a18]
mov edx, dword [ecx + eax + 0x1c]
cmp dword [edx], 0xfffffffe
jne 0x47f4d5
cmp dword [0x59c4cc], 2
jge 0x47f4dd
cmp dword [ebp - 0x24], 0x7e
jbe 0x47f4dd
jmp 0x47f4df
jmp 0x47f45f
mov dword [ebp - 0x18], 0
jmp 0x47f4f1
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x1c]
jge 0x47f518
push 8
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + edx*2]
push ecx
push 0
call fcn.0041a780
add esp, 0xc
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
jmp 0x47f4e8
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0044a490
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x47f536
jmp 0x47f5c0
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], 0
mov edx, dword [0x662a1c]
mov eax, dword [edx]
mov ecx, dword [eax + 0x14]
add ecx, dword [ebp - 0x48]
mov dword [ebp - 0x38], ecx
jmp 0x47f562
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1c]
jge 0x47f5a5
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.0041a780
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.0050edd0
add esp, 0xc
mov edx, dword [ebp - 0x38]
add edx, dword [ebp - 0x44]
mov dword [ebp - 0x38], edx
jmp 0x47f559
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 0x47f392
cmp dword [ebp - 0x10], 0
je 0x47f5f2
cmp dword [ebp - 0x20], 0
jbe 0x47f5f2
mov ecx, 2
imul edx, ecx, 0xffffffff
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + edx]
cmp ecx, 0xa
jne 0x47f5f2
cmp dword [ebp - 0x4c], 0
je 0x47f5f2
push 0
push 1
call fcn.00449e40
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 0x47f617
push str.cbrdpaste__
call fcn.00402660
add esp, 4
jmp 0x47f65d
mov eax, dword [0x662a1c]
cmp dword [eax + 0x20], 0
jne 0x47f627
call fcn.0040d7a0
mov ecx, dword [0x662a1c]
mov edx, dword [0x662a18]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x47f64b
mov ecx, dword [0x662a1c]
mov edx, dword [ecx]
mov eax, dword [0x662a1c]
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.0047f780
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0050d210
mov esp, ebp
pop ebp
ret