Function at 0x4904fc
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov eax, dword [0x4d8c78]
cmp byte [eax], 0
je 0x49051e
mov edx, 0x490784
mov eax, 0xdd
call fcn.00457e90
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x490790
call fcn.004cce34
mov esi, dword [0x4d8a88]
mov esi, dword [esi]
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x490794
call fcn.004cce34
mov edi, dword [0x4d8a88]
mov edi, dword [edi]
mov edx, dword [0x4d8e14]
mov edx, dword [edx]
mov eax, 0x4907a0
call fcn.00428108
test eax, eax
jne 0x490593
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x4907a4
call fcn.004cce34
mov eax, dword [0x4d8a88]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0xffffffff
jmp 0x4905cf
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x4907a4
call fcn.004cce34
mov eax, dword [0x4d8a88]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
add eax, 0xfffffe60
xor ecx, ecx
mov edx, 0x4907a4
call fcn.004cce34
mov eax, dword [0x4d8a88]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [0x4d88d8]
mov eax, dword [eax]
push eax
call sub.user32.dll_OpenClipboard
push 2
call sub.user32.dll_IsClipboardFormatAvailable
test eax, eax
je 0x49074a
mov eax, dword [0x4d8dd4]
mov eax, dword [eax]
push eax
call sub.gdi32.dll_CreateCompatibleDC
mov ebx, eax
push 2
call sub.user32.dll_GetClipboardData
mov edx, dword [0x4d8c88]
mov dword [edx], eax
mov eax, dword [0x4d8ca8]
push eax
push 0x18
mov eax, dword [0x4d8c88]
mov eax, dword [eax]
push eax
call sub.gdi32.dll_GetObjectA
mov eax, dword [0x4d8ca8]
mov eax, dword [eax + 4]
mov edx, dword [0x4d8e70]
mov dword [edx], eax
mov eax, dword [0x4d8ca8]
mov eax, dword [eax + 8]
mov edx, dword [0x4d8dd0]
mov dword [edx], eax
mov eax, dword [0x4d9078]
xor edx, edx
mov dword [eax], edx
mov dword [eax + 4], 0x3ff00000
mov eax, dword [0x4d8c88]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GlobalLock
mov eax, dword [0x4d8c88]
mov eax, dword [eax]
push eax
push ebx
call sub.gdi32.dll_SelectObject
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x4906df
push 0
push esi
push edi
mov eax, dword [0x4d8e70]
mov eax, dword [eax]
push eax
mov eax, dword [0x4d8dd0]
mov eax, dword [eax]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [0x4d8dd4]
mov eax, dword [eax]
xor ecx, ecx
mov edx, ebx
call fcn.00425f74
mov eax, dword [0x4d8c3c]
mov eax, dword [eax]
mov edx, dword [0x4d8dd4]
cmp eax, dword [edx]
je 0x49074a
push 0xcc0020
push edi
push esi
mov eax, dword [0x4d8dd4]
mov eax, dword [eax]
push eax
mov eax, dword [0x4d8dd0]
mov eax, dword [eax]
push eax
mov eax, dword [0x4d8e70]
mov eax, dword [eax]
push eax
push edi
push esi
mov eax, dword [0x4d8c3c]
mov eax, dword [eax]
push eax
call sub.gdi32.dll_BitBlt
jmp 0x49074a
mov eax, dword [ebp - 8]
call fcn.00428304
push eax
push 0
push 0
push ebx
mov eax, dword [0x4d8dd0]
mov eax, dword [eax]
push eax
mov eax, dword [0x4d8e70]
mov eax, dword [eax]
push eax
push edi
push esi
mov eax, dword [0x4d8dd4]
mov eax, dword [eax]
push eax
call sub.gdi32.dll_BitBlt
mov eax, dword [0x4d8c3c]
mov eax, dword [eax]
mov edx, dword [0x4d8dd4]
cmp eax, dword [edx]
je 0x49074a
mov eax, dword [ebp - 8]
call fcn.00428304
push eax
push 0
push 0
push ebx
mov eax, dword [0x4d8dd0]
mov eax, dword [eax]
push eax
mov eax, dword [0x4d8e70]
mov eax, dword [eax]
push eax
push edi
push esi
mov eax, dword [0x4d8c3c]
mov eax, dword [eax]
push eax
call sub.gdi32.dll_BitBlt
call sub.user32.dll_CloseClipboard
mov eax, dword [ebp - 4]
push eax
push ebx
call sub.gdi32.dll_SelectObject
push ebx
call sub.gdi32.dll_DeleteDC
mov eax, dword [0x4d8c88]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [0x4d8af0]
mov byte [eax], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret