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

Disassembly:
push 0xffffffffffffffff
push 0x61a13c
mov eax, dword fs:[0]
push eax
sub esp, 0x4c4
push ebx
push ebp
push esi
push edi
mov eax, dword [0x69e3d4]
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 0x4ebd3b
cmp eax, esi
je 0x4ebc58
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 0x4ebc6d
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 0x4ebd3b
push esi
call dword [sym.imp.user32.dll_OpenClipboard]
call dword [sym.imp.user32.dll_EmptyClipboard]
test byte [esp + 0x4f0], 2
je 0x4ebec2
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.005775a4
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.00577879
test eax, eax
je 0x4ebe92
lea ecx, [esp + 0x34]
call fcn.00576f1a
push ebx
mov byte [esp + 0x4e4], 1
call fcn.005775a4
push eax
lea ecx, [esp + 0x38]
call fcn.004520c0
test eax, eax
push ebx
push 0
jne 0x4ebd42
call dword [sym.imp.user32.dll_ReleaseDC]
lea ecx, [esp + 0x34]
mov byte [esp + 0x4e0], 0
call fcn.0057762c
mov dword [esp + 0x4e0], 0xffffffff
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CBitmap.0
call fcn.00424fa0
xor eax, eax
jmp 0x4ec07c
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 0x4ebd87
cmp dword [ebx + 4], edi
je 0x4ebd87
push edi
push ebx
lea ecx, [esp + 0x3c]
call fcn.00577997
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.004e76b0
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 0x4ebdf6
push 1
push edi
lea ecx, [esp + 0x3c]
call fcn.00577997
lea ecx, [esp + 0x34]
call fcn.00577616
test esi, esi
je 0x4ebe69
test ebx, ebx
je 0x4ebe69
cmp dword [ebx + 4], 0
je 0x4ebe69
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.004e7c90
push eax
call dword [sym.imp.gdi32.dll_CreatePalette]
push eax
lea ecx, [esp + 0x18]
call fcn.00577879
mov ecx, dword [esp + 0x18]
push ecx
push 9
call dword [sym.imp.user32.dll_SetClipboardData]
lea ecx, [esp + 0x14]
call fcn.005778a2
mov byte [esp + 0x4e0], 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], edi
call fcn.00424fa0
mov edx, dword [esp + 0x20]
push edx
push 2
call dword [sym.imp.user32.dll_SetClipboardData]
lea ecx, [esp + 0x1c]
call fcn.005778a2
lea ecx, [esp + 0x34]
mov byte [esp + 0x4e0], 0
call fcn.0057762c
jmp 0x4ebea6
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.00424fa0
test byte [esp + 0x4f0], 1
je 0x4ec036
lea eax, [esp + 0x54]
push eax
call fcn.004e6580
mov dword [esp + 0x4e0], 3
movzx eax, word [ebp + 0x2e]
cmp eax, 8
mov dword [esp + 0x14], eax
jle 0x4ebefe
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 0
push eax
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0x30]
push ecx
push edx
push eax
lea ecx, [esp + 0x6c]
push ecx
call fcn.004e6fe0
lea esi, [ebp + 0x454]
lea ebx, [esp + 0x54]
call fcn.004e7f30
mov ebx, dword [ebp + 0x450]
lea edx, [ebp + 0x48]
push edx
lea ecx, [esp + 0x58]
call fcn.004e75b0
push 1
xor eax, eax
lea ecx, [esp + 0x58]
call fcn.004e7a20
xor edx, edx
push edx
xor ecx, ecx
push ecx
push eax
xor eax, eax
lea edx, [esp + 0x30]
mov ecx, ebp
call fcn.004e76b0
lea edi, [esp + 0x54]
call fcn.004e7af0
mov eax, dword [0x6bd094]
test eax, eax
je 0x4ebf93
mov ecx, dword [esp + 0x4f4]
test ecx, ecx
je 0x4ebf93
cmp ecx, dword [esp + 0x14]
je 0x4ebf93
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.004e63c0
mov esi, eax
add esi, dword [esp + 0x74]
lea ecx, [esp + 0x54]
call fcn.004e62c0
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 0x4ec022
push edi
call dword [sym.imp.kernel32.dll_GlobalLock]
push esi
lea ecx, [esp + 0x78]
mov ebx, eax
push ecx
push ebx
call fcn.005aad50
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x4a8]
add esp, 0xc
push edx
push eax
add ebx, esi
push ebx
call fcn.005aad50
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 0x4ec022
push edi
call dword [sym.imp.kernel32.dll_GlobalFree]
lea ecx, [esp + 0x54]
mov dword [esp + 0x4e0], 0xffffffff
call fcn.004e6680
cmp dword [ebp + 0xc], 0
je 0x4ec071
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