Function at 0x4fd250
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5eda5f
push eax
mov dword fs:[0], esp
sub esp, 0xb8
push ebp
push esi
mov esi, dword [esp + 0xd0]
push edi
mov edi, ecx
push 0
mov ecx, dword [esi + 0x19c]
call fcn.004f4a00
test eax, eax
je 0x4fd53f
mov ecx, dword [eax + 0xf0]
test ecx, ecx
je 0x4fd53f
lea eax, [esp + 0x20]
push 1
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x1c]
push ecx
lea eax, [esp + 0x18]
or ebp, 0xffffffff
push edx
push eax
mov ecx, edi
mov dword [esp + 0x28], ebp
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
call fcn.004f82a0
push esi
mov ecx, edi
call fcn.004f54d0
test eax, eax
je 0x4fd53f
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
cmp ecx, eax
jne 0x4fd31e
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
cmp edx, eax
jne 0x4fd31e
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x24]
cmp eax, ecx
jne 0x4fd31e
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
cmp ecx, eax
je 0x4fd53f
mov ecx, esi
call fcn.005c397a
lea ecx, [esp + 0x34]
call fcn.005bcf0e
mov ecx, dword [esp + 0x20]
lea edx, [esp + 0x34]
push edx
mov edx, dword [esp + 0x28]
sub esp, 0xc
mov dword [esp + 0xdc], 0
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
sub esp, 0xc
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x34]
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x2c]
push edx
push esi
mov dword [eax + 8], ecx
mov ecx, edi
call fcn.004fd560
lea eax, [esp + 0x34]
push eax
push esi
call fcn.004ffb00
add esp, 8
lea ecx, [esp + 0x4c]
push 0x1000
push 0x2002
call fcn.005cf3c1
push 0
push 0x1000
lea ecx, [esp + 0x54]
push 0
push ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0xdc], 1
call fcn.005c6600
lea edx, [esp + 0x80]
lea ecx, [esp + 0x34]
push edx
mov byte [esp + 0xd0], 2
call fcn.005bd071
lea ecx, [esp + 0x80]
call fcn.005c6764
test esi, esi
jne 0x4fd3f2
xor eax, eax
jmp 0x4fd3f5
mov eax, dword [esi + 0x1c]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
lea ecx, [esp + 0x4c]
call fcn.005cf4e6
push eax
xor eax, eax
mov ax, word [0x1d2c5e2]
push eax
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [0x1ccee58]
mov dword [esp + 0x2c], ecx
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
sub esp, 0xc
mov byte [esp + 0xd8], 3
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x34]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x28]
sub esp, 0xc
mov dword [edx + 8], eax
mov eax, dword [esp + 0x30]
mov edx, esp
mov dword [edx], eax
mov eax, dword [esp + 0x38]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x28]
push ecx
push esi
mov dword [edx + 8], eax
lea edx, [esp + 0x54]
push edx
mov ecx, edi
call fcn.004fd890
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0xd0], 4
call fcn.005be01d
lea ecx, [esp + 0x30]
mov byte [esp + 0xcc], 3
call fcn.005bdee4
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x4c], esp
push eax
call fcn.005bdc59
mov ecx, esi
mov byte [esp + 0xd0], 3
call fcn.004cdbc0
push eax
call fcn.00533050
mov eax, dword [esp + 0x44]
add esp, 8
test eax, eax
lea edi, [eax - 1]
je 0x4fd4e6
mov ecx, dword [esp + 0x38]
mov ecx, dword [ecx + edi*4]
test ecx, ecx
je 0x4fd4df
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, edi
dec edi
test eax, eax
jne 0x4fd4cd
push ebp
push 0
lea ecx, [esp + 0x3c]
call fcn.005bcbe4
mov ecx, esi
call fcn.005c398f
lea ecx, [esp + 0x2c]
mov byte [esp + 0xcc], 2
call fcn.005bdee4
lea ecx, [esp + 0x80]
mov byte [esp + 0xcc], 1
call fcn.005c66dc
lea ecx, [esp + 0x4c]
mov byte [esp + 0xcc], 0
call fcn.005cf407
lea ecx, [esp + 0x34]
mov dword [esp + 0xcc], ebp
call fcn.005bcf41
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0xc4
ret 4