Function at 0x4e8320
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x6095c8
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6963f4]
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 0x4e83b1
push 2
call dword [sym.imp.user32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x4e8384
push esi
call dword [sym.imp.user32.dll_OpenClipboard]
test eax, eax
je 0x4e8384
mov edi, dword [sym.imp.user32.dll_GetClipboardData]
push 2
call edi
mov esi, eax
test esi, esi
mov dword [esp + 0x68], esi
jne 0x4e838b
call dword [sym.imp.user32.dll_CloseClipboard]
xor eax, eax
jmp 0x4e85d0
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 0x4e8405
push 0
push 2
mov ecx, esi
call fcn.00571890
test eax, eax
je 0x4e8384
push 0
push 2
mov ecx, esi
call fcn.0057191d
test eax, eax
mov dword [esp + 0x68], eax
je 0x4e8384
push 0
push 9
mov ecx, esi
call fcn.0057191d
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.0057191d
mov esi, dword [esp + 0x68]
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x1c], eax
mov edi, eax
test edi, edi
je 0x4e842c
cmp dword [esp + 0x74], 0
je 0x4e8423
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 0x4e843a
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 0x4e85ae
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.0056f38b
push 0
mov dword [esp + 0x64], 0
call dword [sym.imp.gdi32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x34]
call fcn.0056fa23
test eax, eax
je 0x4e859d
push 1
xor eax, eax
mov ecx, ebp
call fcn.004e45e0
mov edi, eax
test edi, edi
je 0x4e8599
push 0
mov ecx, edi
call fcn.0056f6ec
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.0056f199
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 0x4e853d
push 0
push ebx
call fcn.0056fcdc
push eax
lea ecx, [esp + 0x38]
call fcn.0056fe08
mov eax, dword [esp + 0x34]
push eax
call dword [sym.imp.gdi32.dll_RealizePalette]
cmp dword [esp + 0x70], 0
je 0x4e853d
push ebx
call fcn.0056fcdc
mov esi, eax
mov ebx, ebp
call fcn.004e4af0
mov ecx, dword [esp + 0x18]
push 0
push ecx
call fcn.0056fcdc
push eax
mov ecx, edi
call fcn.0056fe08
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.00450240
mov eax, dword [esp + 0x34]
push ebx
push eax
call esi
mov edi, ebp
call fcn.004e46b0
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.0056fa9d
cmp dword [esp + 0x6c], 0
je 0x4e85cc
push esi
mov esi, dword [sym.imp.kernel32.dll_GlobalFree]
call esi
test ebx, ebx
je 0x4e85c5
push ebx
call esi
test edi, edi
je 0x4e85cc
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