Function at 0x4f2dd0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6a2970
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x748068]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebp + 8]
push esi
call fcn.004f30c0
test al, al
je 0x4f3078
lea eax, [esi - 0x7e8]
xor bl, bl
cmp eax, 7
ja case.default.0x4f2e1f
jmp dword [eax*4 + 0x4f3098]
mov ebx, dword [edi + 0xf0]
cmp dword [ebx + 0x64], 0
jne 0x4f2e39
xor bl, bl
jmp case.default.0x4f2e1f
mov eax, dword [ebx + 0x60]
lea esi, [ebx + 0xc]
mov ecx, dword [eax + 4]
add ecx, 8
call fcn.00405e20
cmp esi, eax
je 0x4f2e68
call fcn.00405e20
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x4f2e5d
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
mov ecx, esi
call fcn.00405ec0
mov ecx, ebx
call fcn.0050c450
mov eax, dword [ebx + 0x60]
mov esi, dword [eax + 4]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
push ecx
mov dword [ecx + 4], eax
lea eax, [esi + 8]
dec dword [ebx + 0x64]
push eax
call fcn.00406120
add esp, 4
mov ecx, eax
call fcn.00416610
push 0x20
push esi
call fcn.0064fde3
add esp, 8
lea ecx, [ebx + 0xc]
call fcn.00405eb0
lea ecx, [ebx + 0xc]
mov esi, eax
call fcn.00405eb0
lea ecx, [ebx + 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], esi
call fcn.00405eb0
mov ecx, ebx
mov dword [ebx + 4], eax
call fcn.0050c210
mov ecx, ebx
call fcn.0050ba40
mov ecx, ebx
call fcn.0050b840
mov ecx, ebx
call fcn.0050c210
mov bl, 1
jmp case.default.0x4f2e1f
mov esi, dword [edi + 0xf0]
mov ecx, esi
call fcn.0050c070
test al, al
je 0x4f2e32
push 0
mov ecx, esi
call fcn.0050bea0
mov bl, al
jmp case.default.0x4f2e1f
mov ecx, dword [edi + 0xf0]
call fcn.0050c070
jmp case.default.0x4f2e1f
mov eax, dword [edi + 0xf0]
push 0xd
mov dword [ebp - 0x38], eax
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
jne 0x4f2f3c
xor bl, bl
jmp case.default.0x4f2e1f
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
xor bl, bl
test eax, eax
je case.default.0x4f2e1f
push 0xd
call dword [sym.imp.USER32.dll_GetClipboardData]
mov dword [ebp - 0x3c], eax
test eax, eax
je 0x4f3008
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
push eax
mov dword [ebp - 0x1c], eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x34]
push eax
call fcn.00405d30
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x38]
mov ecx, dword [ecx + 0x4c]
cmp byte [ecx + 0xea], bl
je 0x4f2fd8
lea ecx, [ebp - 0x34]
xor esi, esi
call fcn.00405eb0
test eax, eax
je 0x4f2fd8
lea ecx, [ebp - 0x34]
call fcn.00405e20
mov ebx, eax
cmp dword [ebx + 0x14], 8
mov eax, ebx
jb 0x4f2fba
mov eax, dword [ebx]
movzx eax, word [eax + esi*2]
push eax
call fcn.00662203
add esp, 4
test eax, eax
je 0x4f3010
lea ecx, [ebp - 0x34]
inc esi
call fcn.00405eb0
cmp esi, eax
jb 0x4f2fb0
mov ecx, dword [ebp - 0x38]
lea eax, [ebp - 0x34]
push eax
mov bl, 1
call fcn.0050bbf0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x34]
call fcn.00405ce0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 0
je 0x4f3008
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
jmp case.default.0x4f2e1f
xor bl, bl
jmp 0x4f2fe6
mov ecx, dword [edi + 0xf0]
push 0
call fcn.0050bea0
mov bl, al
jmp case.default.0x4f2e1f
mov ecx, dword [edi + 0xf0]
push 1
call fcn.0050bea0
mov bl, al
jmp case.default.0x4f2e1f
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x14]
mov ecx, dword [edi + 0xf0]
call fcn.0050bde0
mov ecx, edi
call fcn.004f3300
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xa0]
test bl, bl
je 0x4f3078
mov ecx, dword [edi + 0xc0]
test ecx, ecx
je 0x4f3078
mov eax, dword [ecx]
call dword [eax + 0x20]
mov ecx, dword [edi + 0xc0]
push edi
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0064fb08
mov esp, ebp
pop ebp
ret 4