Function at 0x4e2810
Capabilities:
Capture screenshot

Disassembly:
push 0xffffffffffffffff
push 0x6143a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x68]
xor esi, esi
cmp edi, esi
mov dword [esp + 0x10], ecx
je 0x4e2a75
cmp dword [edi + 4], 0x11
jne 0x4e2a75
mov ebp, dword [esp + 0x64]
cmp ebp, esi
je 0x4e2a75
mov eax, dword [edi + 0xac]
cmp eax, esi
je 0x4e2a75
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4e2a75
mov eax, dword [edi + 0xac]
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x30]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ebx, dword [esp + 0x6c]
lea eax, [esp + 0x30]
push 2
push eax
mov ecx, dword [ebx + 0x1c]
push ecx
push esi
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
neg edx
neg eax
push edx
lea ecx, [esp + 0x2c]
push eax
push ecx
mov ecx, ebp
call fcn.005f285e
mov edx, dword [eax]
mov ecx, dword [ebx + 0x1c]
push ecx
mov dword [esp + 0x24], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.005f244b
mov esi, eax
xor eax, eax
cmp esi, eax
je 0x4e2a75
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], vtable.CBitmap.0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x3c]
sub eax, ecx
mov ecx, dword [esp + 0x38]
sub ecx, edx
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x1c]
call fcn.005f2ee7
lea ecx, [esp + 0x40]
call fcn.005f23a9
mov dword [esp + 0x40], vtable.CIRCompatibleDC.0
mov eax, dword [esi + 4]
push eax
mov byte [esp + 0x60], 1
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x44]
call fcn.005f2460
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x18]
neg eax
sbb eax, eax
and eax, edx
push eax
push ecx
call fcn.005f25a1
mov dword [esp + 0x50], eax
mov ecx, dword [edi + 0xac]
lea eax, [esp + 0x40]
push 1
push eax
mov edx, dword [ecx]
mov byte [esp + 0x64], 2
call dword [edx + 0x130]
mov ecx, dword [edi + 0xac]
lea edx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x14]
push edx
call fcn.004e1f00
mov edi, dword [edi + 0xac]
mov eax, dword [esp + 0x44]
push 0x3e
push eax
mov ecx, dword [edi + 0x1c]
push 0x317
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
sub ecx, edx
mov edx, dword [esp + 0x38]
mov edi, dword [esp + 0x44]
sub edx, eax
lea eax, [esp + 0x40]
neg eax
sbb eax, eax
push 0xcc0020
and eax, edi
push 0
push 0
push eax
push ecx
push edx
mov edx, dword [ebp + 4]
push 0
push 0
push edx
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esi + 4]
mov ecx, dword [ebx + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push edx
lea ecx, [esp + 0x14]
push eax
push ecx
mov ecx, ebp
call fcn.005f285e
mov dword [esp + 0x40], vtable.CIRCompatibleDC.0
mov eax, dword [esp + 0x50]
mov byte [esp + 0x5c], 3
test eax, eax
je 0x4e2a36
mov eax, dword [eax + 4]
mov edx, dword [esp + 0x44]
push eax
push edx
call fcn.005f25a1
lea ecx, [esp + 0x40]
call fcn.005f24c8
lea ecx, [esp + 0x40]
mov byte [esp + 0x5c], 0
call fcn.005f24de
mov dword [esp + 0x18], vtable.CGdiObject.0
lea ecx, [esp + 0x18]
mov dword [esp + 0x5c], 4
call fcn.005f2f3e
mov al, 1
jmp 0x4e2a77
xor al, al
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 0xc