Function at 0x4b7f70
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 0x4b8279
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 0x4b7fc4
lea eax, [ebp - 0x18]
mov edx, 0x4b8294
call fcn.004050dc
jmp 0x4b800b
lea eax, [ebp - 0x124]
lea edx, [ebp - 0x9d]
mov ecx, 0x81
call fcn.00403ce4
lea edx, [ebp - 0x124]
lea eax, [ebp - 0x1a8]
call fcn.00403558
mov edx, 0x4b8298
lea eax, [ebp - 0x1a8]
mov cl, 0x82
call fcn.00403528
lea edx, [ebp - 0x1a8]
lea eax, [ebp - 0x18]
call fcn.004052a8
mov eax, dword [ebp - 0x18]
mov edx, 0x4b82a4
call fcn.00405450
je 0x4b8029
mov eax, dword [ebp - 0x18]
mov edx, 0x4b82bc
call fcn.00405450
jne 0x4b8033
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x4b8263
mov eax, dword [ebp - 0x18]
mov edx, 0x4b82cc
call fcn.00405450
je 0x4b8051
mov eax, dword [ebp - 0x18]
mov edx, 0x4b82e8
call fcn.00405450
jne 0x4b805d
mov dword [ebp - 0xc], 6
jmp 0x4b8263
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_GetClipboardData
mov edx, dword [ebp + 8]
mov dword [edx - 8], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
je 0x4b8087
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, dword [ebp + 8]
mov dword [edx - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax - 8], 0
je 0x4b8099
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
jne 0x4b80a3
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x4b8263
xor eax, eax
push ebp
push 0x4b825c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
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.0040634c
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
call fcn.00405304
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 0x4b810d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
xor edx, edx
cmp edx, 0
jne 0x4b810b
cmp eax, 0x7fffffff
jbe 0x4b811e
jmp 0x4b810d
jle 0x4b811e
mov dword [ebp - 0xc], 3
call fcn.00404a60
jmp 0x4b8263
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
call sub.kernel32.dll_GlobalSize
test eax, eax
jbe 0x4b8239
xor eax, eax
push ebp
push 0x4b8164
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 [0x4b750c]
call fcn.00406528
add esp, 4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b8184
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.00402d4c
mov eax, dword [ebp - 0x18]
call fcn.00405304
push eax
lea eax, [ebp - 0x18]
call fcn.0040555c
mov edx, dword [ebp - 8]
mov edx, dword [edx]
mov ecx, dword [ebp - 0x10]
lea edx, [edx + ecx + 4]
pop ecx
call fcn.00402d4c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
call fcn.00405304
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.00402d4c
mov eax, dword [ebp - 0x18]
call fcn.00405304
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 - 4]
call fcn.00402d4c
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8263
mov eax, dword [ebp + 8]
cmp dword [eax - 4], 0
je 0x4b825b
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4b8280
lea eax, [ebp - 0x18]
call fcn.00405044
ret