Function at 0x4f1920
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x59fca8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push ebp
push edi
mov eax, dword [0x6336a0]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov ecx, esi
call fcn.004eb200
mov edi, eax
xor ebx, ebx
cmp edi, ebx
mov dword [esp + 0x20], edi
je 0x4f1961
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x14], ebx
cmp edi, ebx
mov byte [esp + 0x68], 1
je 0x4f19fe
lea eax, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov edx, dword [edi]
mov ecx, dword [edx + 0x24]
push eax
push edi
call ecx
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x4f19fe
mov ebp, dword [esp + 0x14]
cmp ebp, eax
je 0x4f19bd
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], ebx
mov edx, dword [eax]
mov edx, dword [edx]
push 0x5d1f10
push eax
call edx
cmp ebp, ebx
je 0x4f19b9
mov eax, dword [ebp]
mov ecx, dword [eax + 8]
push ebp
call ecx
mov ebp, dword [esp + 0x14]
cmp ebp, ebx
je 0x4f19fe
push 0x5e9cac
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x24], edi
jne 0x4f19e0
push 0x8007000e
call fcn.00401f90
mov byte [esp + 0x68], 2
mov edx, dword [ebp]
mov eax, dword [edx + 0x8c]
push edi
push ebp
call eax
push edi
mov byte [esp + 0x6c], 1
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x18]
push eax
push esi
call fcn.004f1730
mov ebx, dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
push 0
lea ebp, [ebx + 0x28]
push ebp
add edi, 5
push edi
push 0
push 0
mov ecx, esi
call fcn.0055c18a
push ebx
push edi
lea ecx, [esp + 0x50]
push ecx
call fcn.00408c20
mov byte [esp + 0x68], 3
mov ecx, dword [esi + 0x124]
xor eax, eax
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x50]
push eax
push 1
push ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ebp
call dword [sym.imp.ole32.dll_OleDraw]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4f1abb
push str.auto
mov ebx, eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x24], ebp
jne 0x4f1a9a
push 0x8007000e
call fcn.00401f90
mov byte [esp + 0x68], 4
mov edx, dword [ebx]
mov eax, dword [edx + 0x8c]
push ebp
push ebx
call eax
push ebp
mov byte [esp + 0x6c], 3
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov ebx, dword [esp + 0x1c]
mov edx, dword [esi + 0x20]
lea ecx, [esp + 0x28]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00558074
mov ecx, eax
call fcn.0055b2ac
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
push 0
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x30]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, esi
call fcn.0055c18a
mov eax, dword [esp + 0x5c]
test eax, eax
mov ebp, dword [esp + 0x58]
je 0x4f1b07
mov eax, dword [eax + 4]
push eax
mov eax, dword [esp + 0x50]
push eax
call fcn.0055b8b2
test ebp, ebp
mov dword [esp + 0x58], 0
je 0x4f1b6b
mov ecx, dword [esp + 0x70]
test ecx, ecx
jne 0x4f1b4e
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4f1b5f
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 4]
push eax
push 2
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp 0x4f1b5f
mov eax, dword [esp + 0x74]
test eax, eax
je 0x4f1b5f
push ebx
push edi
push ecx
push ebp
call eax
add esp, 0x10
mov edx, dword [ebp]
mov eax, dword [edx + 4]
push 1
mov ecx, ebp
call eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x68], 1
call fcn.00408d50
mov byte [esp + 0x68], 0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4f1b8e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4f1ba6
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x5c
ret 8