Function at 0x47b0a0
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe58
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x47b3a9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 1
push 0x81
lea eax, [ebp - 0x9d]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetClipboardFormatNameA
test eax, eax
jne 0x47b0f4
lea eax, [ebp - 0x18]
mov edx, 0x47b3c4
call fcn.00404a90
jmp 0x47b13b
lea eax, [ebp - 0x124]
lea edx, [ebp - 0x9d]
mov ecx, 0x81
call fcn.004037e4
lea edx, [ebp - 0x124]
lea eax, [ebp - 0x1a8]
call fcn.00403064
mov edx, 0x47b3c8
lea eax, [ebp - 0x1a8]
mov cl, 0x82
call fcn.00403034
lea edx, [ebp - 0x1a8]
lea eax, [ebp - 0x18]
call fcn.00404c5c
mov eax, dword [ebp - 0x18]
mov edx, 0x47b3d4
call fcn.00404e04
je 0x47b159
mov eax, dword [ebp - 0x18]
mov edx, 0x47b3ec
call fcn.00404e04
jne 0x47b163
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x47b393
mov eax, dword [ebp - 0x18]
mov edx, 0x47b3fc
call fcn.00404e04
je 0x47b181
mov eax, dword [ebp - 0x18]
mov edx, 0x47b418
call fcn.00404e04
jne 0x47b18d
mov dword [ebp - 0xc], 6
jmp 0x47b393
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetClipboardData
mov edx, dword [ebp + 8]
mov dword [edx - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x47b1b7
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, dword [ebp + 8]
mov dword [edx - 8], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x47b1c9
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
jne 0x47b1d3
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x47b393
xor eax, eax
push ebp
push 0x47b38c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.kernel32.dll_GlobalSize
mov edx, dword [ebp + 8]
mov dword [edx - 0xc], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
call fcn.00405c3c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
call fcn.00404cb8
mov edx, dword [ebp - 0x10]
add edx, 4
add eax, edx
add eax, 4
mov edx, dword [ebp + 8]
add eax, dword [edx - 0xc]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x6400000
ja 0x47b23d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
xor edx, edx
cmp edx, 0
jne 0x47b23b
cmp eax, 0x7fffffff
jbe 0x47b24e
jmp 0x47b23d
jle 0x47b24e
mov dword [ebp - 0xc], 3
call fcn.00404460
jmp 0x47b393
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.kernel32.dll_GlobalSize
test eax, eax
jbe 0x47b369
xor eax, eax
push ebp
push 0x47b294
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 8]
mov ecx, 1
mov edx, dword [0x47a63c]
call fcn.00405df8
add esp, 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47b2b4
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov edx, dword [ebp - 0x10]
lea edx, [eax + edx]
lea eax, [ebp - 4]
mov ecx, 4
call fcn.004028dc
mov eax, dword [ebp - 0x18]
call fcn.00404cb8
push eax
lea eax, [ebp - 0x18]
call fcn.00404f10
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [ebp - 0x10]
lea edx, [edx + ecx + 4]
pop ecx
call fcn.004028dc
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
call fcn.00404cb8
cdq
push edx
push eax
mov eax, dword [ebp - 0x10]
add eax, 4
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
mov edx, dword [ebp - 8]
mov edx, dword [edx]
add edx, eax
lea eax, [ebp - 0x1c]
mov ecx, 4
call fcn.004028dc
mov eax, dword [ebp - 0x18]
call fcn.00404cb8
cdq
push edx
push eax
mov eax, dword [ebp - 0x10]
add eax, 4
xor edx, edx
add eax, dword [esp]
adc edx, dword [esp + 4]
add esp, 8
add eax, 4
adc edx, 0
mov edx, dword [ebp - 8]
mov edx, dword [edx]
add edx, eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax - 0xc]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
call fcn.004028dc
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b393
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
je 0x47b38b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47b3b0
lea eax, [ebp - 0x18]
call fcn.004049f8
ret