Function at 0x4e2400
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x614d48
push eax
mov dword fs:[0], esp
sub esp, 0x50
push ebx
push ebp
mov ebp, dword [esp + 0x6c]
xor ebx, ebx
cmp ebp, ebx
push edi
je 0x4e26d6
cmp dword [ebp + 4], 6
jne 0x4e26d6
mov edi, dword [esp + 0x6c]
cmp edi, ebx
je 0x4e26d6
mov eax, dword [ebp + 0xc0]
mov byte [esp + 0x70], bl
cmp eax, ebx
je 0x4e26be
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4e26be
mov eax, dword [ebp + 0xc0]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x38]
push esi
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [esp + 0x78]
lea eax, [esp + 0x3c]
push 2
push eax
mov ecx, dword [esi + 0x1c]
push ecx
push ebx
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
neg edx
neg eax
push edx
lea ecx, [esp + 0x28]
push eax
push ecx
mov ecx, edi
call fcn.005f314a
mov edx, dword [eax]
mov ecx, dword [esi + 0x1c]
push ecx
mov dword [esp + 0x20], edx
mov eax, dword [eax + 4]
mov dword [esp + 0x74], ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.005f2d37
mov esi, eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], vtable.CBitmap.0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x3c]
sub eax, ecx
mov ecx, dword [esp + 0x44]
push eax
sub ecx, edx
mov edx, dword [esi + 4]
push ecx
push edx
mov dword [esp + 0x74], ebx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x18]
call fcn.005f3791
lea ecx, [esp + 0x4c]
call fcn.005f2c95
cmp esi, ebx
mov byte [esp + 0x68], 1
mov dword [esp + 0x4c], vtable.CIRCompatibleDC.0
jne 0x4e2538
xor esi, esi
jmp 0x4e253b
mov esi, dword [esi + 4]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x50]
call fcn.005f2d4c
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x14]
neg eax
sbb eax, eax
and eax, esi
push eax
mov eax, dword [esp + 0x54]
push eax
call fcn.005f2e8d
mov dword [esp + 0x5c], eax
mov ecx, dword [ebp + 0xc0]
mov byte [esp + 0x68], 2
call fcn.00476fa0
mov esi, eax
cmp esi, ebx
je 0x4e2651
mov ecx, dword [esi]
lea edx, [esp + 0x10]
push edx
push 0x647178
push esi
call dword [ecx]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4e264b
mov ecx, dword [eax]
lea edx, [esp + 0x70]
push edx
push 0x647168
push eax
call dword [ecx]
mov eax, dword [esp + 0x70]
cmp eax, ebx
je 0x4e2641
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
sub ecx, edx
mov edx, dword [esp + 0x48]
push ebx
sub edx, ebp
push ebx
mov dword [esp + 0x40], edx
lea edx, [esp + 0x34]
push ebx
push edx
mov edx, dword [esp + 0x60]
mov dword [esp + 0x3c], ebx
push edx
mov edx, dword [edi + 4]
push edx
push ebx
push ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x54], ecx
mov ecx, dword [eax]
push 0xffffffffffffffff
push 1
push eax
call dword [ecx + 0xc]
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
sub ecx, edx
mov edx, dword [esp + 0x44]
mov ebp, dword [esp + 0x50]
sub edx, eax
lea eax, [esp + 0x4c]
neg eax
sbb eax, eax
push 0xcc0020
and eax, ebp
push ebx
push ebx
push eax
mov eax, dword [edi + 4]
push ecx
push edx
push ebx
push ebx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [esp + 0x70]
mov byte [esp + 0x74], 1
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x10]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esi]
push esi
call dword [eax + 8]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
push ecx
lea eax, [esp + 0x30]
push edx
push eax
mov ecx, edi
call fcn.005f314a
mov dword [esp + 0x4c], vtable.CIRCompatibleDC.0
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x68], 3
cmp eax, ebx
pop esi
jne 0x4e2681
xor eax, eax
jmp 0x4e2684
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
call fcn.005f2e8d
lea ecx, [esp + 0x48]
call fcn.005f2db4
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], bl
call fcn.005f2dca
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x64], 4
call fcn.005f37e8
mov al, byte [esp + 0x70]
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
add esp, 0x5c
ret 0xc
mov ecx, dword [esp + 0x5c]
pop edi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x5c
ret 0xc