Function at 0x4e8a10
Capabilities:
Open clipboard
Resolve function by parsing pe exports
Write clipboard data

Disassembly:
push 0xffffffffffffffff
push 0x61203c
mov eax, dword fs:[0]
push eax
sub esp, 0x4c4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6963f4]
xor eax, esp
push eax
lea eax, [esp + 0x4d8]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4ec]
mov ebp, dword [esp + 0x4e8]
xor esi, esi
cmp dword [ebp + 0x1c], esi
je 0x4e8b6b
cmp eax, esi
je 0x4e8a88
push eax
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.user32.dll_CopyRect]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
jmp 0x4e8a9d
mov eax, dword [ebp + 0x28]
mov ecx, dword [ebp + 0x24]
push eax
push ecx
push esi
push esi
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.user32.dll_SetRect]
push esi
call dword [sym.imp.user32.dll_GetWindowDC]
mov ebx, eax
cmp ebx, esi
je 0x4e8b6b
push esi
call dword [sym.imp.user32.dll_OpenClipboard]
call dword [sym.imp.user32.dll_EmptyClipboard]
test byte [esp + 0x4f0], 2
je 0x4e8cf2
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], vtable.CBitmap.0
mov dword [esp + 0x4e0], esi
mov esi, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
sub esi, dword [esp + 0x28]
sub edi, dword [esp + 0x24]
push ebx
call fcn.0056fa15
mov eax, dword [eax + 4]
push esi
push edi
push eax
call dword [sym.imp.gdi32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x20]
call fcn.0056fcea
test eax, eax
je 0x4e8cc2
lea ecx, [esp + 0x34]
call fcn.0056f38b
push ebx
mov byte [esp + 0x4e4], 1
call fcn.0056fa15
push eax
lea ecx, [esp + 0x38]
call fcn.00450310
test eax, eax
push ebx
push 0
jne 0x4e8b72
call dword [sym.imp.user32.dll_ReleaseDC]
lea ecx, [esp + 0x34]
mov byte [esp + 0x4e0], 0
call fcn.0056fa9d
mov dword [esp + 0x4e0], 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CBitmap.0
call fcn.00423d70
xor eax, eax
jmp 0x4e8eaa
call dword [sym.imp.user32.dll_ReleaseDC]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x38]
mov esi, dword [sym.imp.gdi32.dll_SelectObject]
push ecx
push edx
call esi
lea ebx, [ebp + 0x454]
xor edi, edi
test ebx, ebx
mov dword [esp + 0x14], eax
je 0x4e8bb7
cmp dword [ebx + 4], edi
je 0x4e8bb7
push edi
push ebx
lea ecx, [esp + 0x3c]
call fcn.0056fe08
mov edi, eax
mov eax, dword [esp + 0x38]
push eax
call dword [sym.imp.gdi32.dll_RealizePalette]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
sub eax, edx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x2c]
sub edx, ecx
mov dword [esp + 0x44], ecx
mov dword [esp + 0x50], eax
xor ecx, ecx
xor eax, eax
push ecx
push eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x54], edx
push eax
lea eax, [esp + 0x58]
lea edx, [esp + 0x50]
mov ecx, ebp
call fcn.004e4270
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x38]
push ecx
push edx
call esi
mov eax, dword [esp + 0x3c]
push 0x26
push eax
call dword [sym.imp.gdi32.dll_GetDeviceCaps]
mov esi, eax
and esi, 0x100
test edi, edi
je 0x4e8c26
push 1
push edi
lea ecx, [esp + 0x3c]
call fcn.0056fe08
lea ecx, [esp + 0x34]
call fcn.0056fa87
test esi, esi
je 0x4e8c99
test ebx, ebx
je 0x4e8c99
cmp dword [ebx + 4], 0
je 0x4e8c99
mov edi, vtable.CPalette.0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], edi
mov esi, ebp
mov byte [esp + 0x4e0], 2
call fcn.004e4850
push eax
call dword [sym.imp.gdi32.dll_CreatePalette]
push eax
lea ecx, [esp + 0x18]
call fcn.0056fcea
mov ecx, dword [esp + 0x18]
push ecx
push 9
call dword [sym.imp.user32.dll_SetClipboardData]
lea ecx, [esp + 0x14]
call fcn.0056fd13
mov byte [esp + 0x4e0], 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edi
call fcn.00423d70
mov edx, dword [esp + 0x20]
push edx
push 2
call dword [sym.imp.user32.dll_SetClipboardData]
lea ecx, [esp + 0x1c]
call fcn.0056fd13
lea ecx, [esp + 0x34]
mov byte [esp + 0x4e0], 0
call fcn.0056fa9d
jmp 0x4e8cd6
push ebx
push 0
call dword [sym.imp.user32.dll_ReleaseDC]
mov dword [esp + 0x4f0], 1
mov dword [esp + 0x4e0], 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CBitmap.0
call fcn.00423d70
test byte [esp + 0x4f0], 1
je 0x4e8e64
lea eax, [esp + 0x54]
push eax
call fcn.004e31f0
mov dword [esp + 0x4e0], 3
movzx eax, word [ebp + 0x2e]
cmp eax, 8
mov dword [esp + 0x14], eax
jle 0x4e8d2e
mov dword [esp + 0x14], 0x18
mov eax, dword [esp + 0x14]
movzx ecx, word [ebp + 0x2c]
mov edx, dword [esp + 0x30]
sub edx, dword [esp + 0x28]
push 0
push eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x2c]
push ecx
push edx
push eax
lea ecx, [esp + 0x68]
push ecx
call fcn.004e3c50
lea esi, [ebp + 0x454]
lea ebx, [esp + 0x54]
call fcn.004e4af0
mov ebx, dword [ebp + 0x450]
lea edx, [ebp + 0x48]
push edx
lea ecx, [esp + 0x58]
call fcn.004e4170
push 1
xor eax, eax
lea ecx, [esp + 0x58]
call fcn.004e45e0
xor edx, edx
push edx
xor ecx, ecx
push ecx
push eax
xor eax, eax
lea edx, [esp + 0x30]
mov ecx, ebp
call fcn.004e4270
lea edi, [esp + 0x54]
call fcn.004e46b0
mov eax, dword [0x6b42b4]
test eax, eax
je 0x4e8dc1
mov ecx, dword [esp + 0x4f4]
test ecx, ecx
je 0x4e8dc1
cmp ecx, dword [esp + 0x14]
je 0x4e8dc1
push ecx
mov ecx, edi
push ecx
call eax
add esp, 8
mov edx, dword [ebp + 0x38]
mov eax, dword [ebp + 0x3c]
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], edx
mov dword [esp + 0x90], eax
call fcn.004e3030
mov esi, eax
add esi, dword [esp + 0x74]
lea ecx, [esp + 0x54]
call fcn.004e2f30
mov dword [esp + 0x14], eax
add eax, esi
push eax
push 0x2002
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x4e8e50
push edi
call dword [sym.imp.kernel32.dll_GlobalLock]
push esi
lea ecx, [esp + 0x78]
mov ebx, eax
push ecx
push ebx
call fcn.005a34c0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x4a8]
add esp, 0xc
push edx
push eax
add ebx, esi
push ebx
call fcn.005a34c0
add esp, 0xc
push edi
call dword [sym.imp.kernel32.dll_GlobalUnlock]
push edi
push 8
call dword [sym.imp.user32.dll_SetClipboardData]
test eax, eax
jne 0x4e8e50
push edi
call dword [sym.imp.kernel32.dll_GlobalFree]
lea ecx, [esp + 0x54]
mov dword [esp + 0x4e0], 0xffffffff
call fcn.004e32f0
cmp dword [ebp + 0xc], 0
je 0x4e8e9f
push 4
push 0x2002
call dword [sym.imp.kernel32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.kernel32.dll_GlobalLock]
mov ecx, dword [ebp + 0x10]
push esi
mov dword [eax], ecx
call dword [sym.imp.kernel32.dll_GlobalUnlock]
push esi
push str.HS_Transp_Info
call dword [sym.imp.user32.dll_RegisterClipboardFormatA]
push eax
call dword [sym.imp.user32.dll_SetClipboardData]
call dword [sym.imp.user32.dll_CloseClipboard]
mov eax, 1
mov ecx, dword [esp + 0x4d8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x4d0
ret 0x10