Function at 0x4fe588
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x4fe5b1
mov eax, dword [ebp - 8]
mov edx, dword [0x4fd5b0]
call fcn.0040316c
test al, al
je 0x4fe69b
mov eax, dword [ebp - 4]
call fcn.004fe2b8
cmp dword [ebp - 8], 0
jne 0x4fe5c6
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x4fe5cc
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4fe7e7
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
test eax, eax
jle 0x4fe7e7
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
test eax, eax
jle 0x4fe7e7
mov eax, dword [ebp - 0xc]
mov al, byte [eax + 0x30]
push eax
mov eax, dword [ebp - 0xc]
add eax, 0x459
push eax
mov eax, dword [ebp - 0xc]
call fcn.004ff6d8
push eax
mov eax, dword [ebp - 0xc]
call fcn.004ff720
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
push eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov edx, eax
mov eax, dword [ebp - 4]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x70]
mov eax, dword [ebp - 0xc]
call fcn.004ff6d8
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004ff768
mov eax, dword [ebp - 0xc]
call fcn.004ff720
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004ff7b0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x874]
mov edx, dword [ebp - 4]
mov dword [edx + 0x874], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [eax]
call dword [edx + 0x20]
mov ecx, eax
mov eax, dword [ebp - 0xc]
imul ecx, dword [eax + 0x860]
jno 0x4fe685
call fcn.00402f34
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x28]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x28]
call fcn.00402880
jmp 0x4fe7e7
mov eax, dword [ebp - 8]
mov edx, dword [0x430240]
call fcn.0040316c
test al, al
je 0x4fe70b
call fcn.00430708
call fcn.00430354
xor eax, eax
push ebp
push 0x4fe704
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0x10], eax
push 9
call sub.user32.dll_GetClipboardData
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
mov dx, 2
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4fe7e7
call fcn.00430708
call fcn.00430328
ret
mov eax, dword [ebp - 8]
mov edx, dword [0x41934c]
call fcn.0040316c
test al, al
je 0x4fe756
mov eax, dword [ebp - 8]
call fcn.00420264
cmp al, 8
jne 0x4fe735
mov dl, 1
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x68]
jmp 0x4fe73f
xor edx, edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x68]
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x60]
mov edx, eax
mov eax, dword [ebp - 4]
call fcn.004fee64
jmp 0x4fe7e7
mov eax, dword [ebp - 8]
mov edx, dword [0x418f24]
call fcn.0040316c
test al, al
je 0x4fe7dc
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x2c]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x20]
mov dword [ebp - 0x18], eax
push 5
push 0
push 0
push 0
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
call dword [ebx + 0x70]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x20]
mov edx, eax
mov eax, dword [ebp - 4]
imul edx, dword [eax + 0x860]
jno 0x4fe7b9
call fcn.00402f34
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
xor ecx, ecx
call fcn.00402bfc
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x864]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 0x14]
jmp 0x4fe7e7
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00410d48
pop ebx
mov esp, ebp
pop ebp
ret