Function at 0x4eb4f0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x611468
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e3d4]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x6c]
test esi, esi
jne 0x4eb581
push 2
call dword [sym.imp.user32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4eb554
push esi
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
je 0x4eb554
mov edi, dword [sym.imp.user32.dll_GetClipboardData]
push 2
call edi
mov esi, eax
test esi, esi
mov dword [esp + 0x68], esi
jne 0x4eb55b
call dword [sym.imp.user32.dll_CloseClipboard]
xor eax, eax
jmp 0x4eb7a0
push 9
call edi
mov ebx, eax
push str.HS_Transp_Info
mov dword [esp + 0x1c], ebx
call dword [sym.imp.user32.dll_RegisterClipboardFormatA]
push eax
call edi
mov edi, eax
mov dword [esp + 0x1c], edi
call dword [sym.imp.user32.dll_CloseClipboard]
jmp 0x4eb5d5
push 0
push 2
mov ecx, esi
call fcn.0057941f
test eax, eax
je 0x4eb554
push 0
push 2
mov ecx, esi
call fcn.005794ac
test eax, eax
mov dword [esp + 0x68], eax
je 0x4eb554
push 0
push 9
mov ecx, esi
call fcn.005794ac
push 0
push str.HS_Transp_Info
mov dword [esp + 0x20], eax
call dword [sym.imp.user32.dll_RegisterClipboardFormatA]
push eax
mov ecx, esi
call fcn.005794ac
mov esi, dword [esp + 0x68]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov edi, eax
test edi, edi
je 0x4eb5fc
cmp dword [esp + 0x74], 0
je 0x4eb5f3
push edi
mov dword [ebp + 0xc], 1
call dword [sym.imp.kernel32.dll_GlobalLock]
mov eax, dword [eax]
mov dword [ebp + 0x10], eax
push edi
call dword [sym.imp.kernel32.dll_GlobalUnlock]
jmp 0x4eb60a
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], 0xffffffff
lea ecx, [esp + 0x40]
push ecx
push 0x18
push esi
mov dword [esp + 0x80], 0
call dword [sym.imp.gdi32.dll_GetObjectA]
test eax, eax
je 0x4eb77e
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x24]
push eax
push ecx
push 0
push 0
lea edx, [esp + 0x30]
push edx
call dword [sym.imp.user32.dll_SetRect]
lea ecx, [esp + 0x30]
call fcn.00576f1a
push 0
mov dword [esp + 0x64], 0
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x34]
call fcn.005775b2
test eax, eax
je 0x4eb76d
push 1
xor eax, eax
mov ecx, ebp
call fcn.004e7a20
mov edi, eax
test edi, edi
je 0x4eb769
push 0
mov ecx, edi
call fcn.0057727b
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.00576d28
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x24]
lea eax, [edx + ecx]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x20]
add ecx, edx
test ebx, ebx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], eax
je 0x4eb70d
push 0
push ebx
call fcn.0057786b
push eax
lea ecx, [esp + 0x38]
call fcn.00577997
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.gdi32.dll_RealizePalette]
cmp dword [esp + 0x70], 0
je 0x4eb70d
push ebx
call fcn.0057786b
mov esi, eax
mov ebx, ebp
call fcn.004e7f30
mov ecx, dword [esp + 0x18]
push 0
push ecx
call fcn.0057786b
push eax
mov ecx, edi
call fcn.00577997
mov edx, dword [edi + 4]
push edx
call dword [sym.imp.gdi32.dll_RealizePalette]
mov esi, dword [esp + 0x68]
mov eax, dword [esp + 0x34]
push esi
mov esi, dword [sym.imp.gdi32.dll_SelectObject]
push eax
call esi
mov edx, dword [esp + 0x2c]
push 0xcc0020
push 0
push 0
mov ebx, eax
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x3c]
push ecx
mov ecx, dword [esp + 0x30]
sub edx, eax
push edx
mov edx, dword [esp + 0x3c]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, edi
call fcn.00451ff0
mov eax, dword [esp + 0x34]
push ebx
push eax
call esi
mov edi, ebp
call fcn.004e7af0
mov esi, dword [esp + 0x68]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x74], 1
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x30]
mov dword [esp + 0x60], 0xffffffff
call fcn.0057762c
cmp dword [esp + 0x6c], 0
je 0x4eb79c
push esi
mov esi, dword [sym.imp.kernel32.dll_GlobalFree]
call esi
test ebx, ebx
je 0x4eb795
push ebx
call esi
test edi, edi
je 0x4eb79c
push edi
call esi
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x50
ret 0x10