Function at 0x4e1ba0
Capabilities:
Capture screenshot

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x614308
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 0x4e1e76
cmp dword [ebp + 4], 6
jne 0x4e1e76
mov edi, dword [esp + 0x6c]
cmp edi, ebx
je 0x4e1e76
mov eax, dword [ebp + 0xc0]
mov byte [esp + 0x70], bl
cmp eax, ebx
je 0x4e1e5e
mov eax, dword [eax + 0x1c]
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4e1e5e
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.005f285e
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.005f244b
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.005f2ee7
lea ecx, [esp + 0x4c]
call fcn.005f23a9
cmp esi, ebx
mov byte [esp + 0x68], 1
mov dword [esp + 0x4c], vtable.CIRCompatibleDC.0
jne 0x4e1cd8
xor esi, esi
jmp 0x4e1cdb
mov esi, dword [esi + 4]
push esi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x50]
call fcn.005f2460
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.005f25a1
mov dword [esp + 0x5c], eax
mov ecx, dword [ebp + 0xc0]
mov byte [esp + 0x68], 2
call fcn.00476cf0
mov esi, eax
cmp esi, ebx
je 0x4e1df1
mov ecx, dword [esi]
lea edx, [esp + 0x10]
push edx
push 0x647198
push esi
call dword [ecx]
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x4e1deb
mov ecx, dword [eax]
lea edx, [esp + 0x70]
push edx
push 0x647188
push eax
call dword [ecx]
mov eax, dword [esp + 0x70]
cmp eax, ebx
je 0x4e1de1
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.005f285e
mov dword [esp + 0x4c], vtable.CIRCompatibleDC.0
mov eax, dword [esp + 0x5c]
mov byte [esp + 0x68], 3
cmp eax, ebx
pop esi
jne 0x4e1e21
xor eax, eax
jmp 0x4e1e24
mov eax, dword [eax + 4]
mov ecx, dword [esp + 0x4c]
push eax
push ecx
call fcn.005f25a1
lea ecx, [esp + 0x48]
call fcn.005f24c8
lea ecx, [esp + 0x48]
mov byte [esp + 0x64], bl
call fcn.005f24de
mov dword [esp + 0x10], vtable.CGdiObject.0
lea ecx, [esp + 0x10]
mov dword [esp + 0x64], 4
call fcn.005f2f3e
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