Function at 0x4e0174
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040586c
xor eax, eax
push ebp
push 0x4e03f2
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040c0d0
test al, al
je 0x4e03bb
xor eax, eax
push ebp
push 0x4e03af
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x1c], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.0040c62c
mov edx, 0x4e040c
mov eax, dword [ebp - 8]
call fcn.0040b360
test al, al
je 0x4e01ec
mov dl, 1
mov eax, dword [0x4d8358]
call fcn.004dd100
mov dword [ebp - 0x1c], eax
mov edx, 0x4e0424
mov eax, dword [ebp - 8]
call fcn.0040b360
test al, al
je 0x4e020c
mov dl, 1
mov eax, dword [0x4b54a8]
call fcn.004c2470
mov dword [ebp - 0x1c], eax
mov edx, 0x4e043c
mov eax, dword [ebp - 8]
call fcn.0040b360
test al, al
je 0x4e022c
mov dl, 1
mov eax, dword [0x4c4574]
call fcn.004c4850
mov dword [ebp - 0x1c], eax
mov edx, 0x4e0454
mov eax, dword [ebp - 8]
call fcn.0040b360
test al, al
je 0x4e024c
mov dl, 1
mov eax, dword [0x4c4574]
call fcn.004c4850
mov dword [ebp - 0x1c], eax
mov edx, 0x4e046c
mov eax, dword [ebp - 8]
call fcn.0040b360
test al, al
je 0x4e026c
mov dl, 1
mov eax, dword [0x43245c]
call fcn.00439158
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jne 0x4e027f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4e03cf
xor eax, eax
push ebp
push 0x4e039e
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
call dword [ecx + 0x54]
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.0040c62c
mov eax, dword [ebp - 0x20]
mov edx, 0x4e0424
call fcn.0040b360
test al, al
je 0x4e0365
mov eax, dword [0x4f8840]
mov eax, dword [eax]
mov eax, dword [eax + 0x170]
push eax
call sub.user32.dll_OpenClipboard
xor eax, eax
push ebp
push 0x4e035e
push dword fs:[eax]
mov dword fs:[eax], esp
call sub.user32.dll_EmptyClipboard
mov dl, 1
mov eax, dword [0x43245c]
call fcn.00439158
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4e033c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 8]
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0xe]
mov eax, dword [ebp - 0xc]
mov ebx, dword [eax]
call dword [ebx + 0x68]
mov eax, dword [ebp - 0x14]
push eax
movzx eax, word [ebp - 0xe]
push eax
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e0343
mov eax, dword [ebp - 0xc]
call fcn.00403cd4
ret
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x14]
lea edx, [ebp - 0xe]
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax]
call dword [ebx + 0x68]
call fcn.00450ac0
mov ecx, dword [ebp - 0x14]
movzx edx, word [ebp - 0xe]
call fcn.004509b0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e03a5
mov eax, dword [ebp - 0x1c]
call fcn.00403cd4
ret
mov edx, 0x4e0478
mov eax, 0x4e0488
mov ecx, 0x10
call fcn.004e0a68
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4e03f9
lea eax, [ebp - 0x20]
call fcn.00405874
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040587c
ret