Function at 0x4d87a0
Capabilities:
Capture screenshot

Disassembly:
sub esp, 0x28
push ebx
push ebp
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1c]
lea edi, [esi + 0x7c]
push edi
push eax
call ebx
mov ecx, edi
mov ebp, dword [sym.imp.USER32.dll_GetParent]
mov edx, dword [ecx]
mov dword [esp + 0x18], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x1c], eax
mov edx, dword [ecx + 8]
mov dword [esp + 0x20], edx
mov eax, dword [ecx + 0xc]
mov ecx, dword [esi + 0x1c]
push ecx
mov dword [esp + 0x28], eax
call ebp
push eax
call fcn.00545b73
lea edx, [esp + 0x18]
push edx
push eax
call fcn.004d7d10
add esp, 8
mov ecx, esi
call fcn.005489b3
push 0
and eax, 0x10000000
push 0
push 0x10000000
mov ecx, esi
mov dword [esp + 0x20], eax
call fcn.005489e7
mov eax, dword [esi + 0x1c]
push eax
call ebp
push eax
call fcn.00545b73
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x18]
push 1
push ecx
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x1c]
push eax
call ebp
push eax
call fcn.00545b73
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov edx, dword [esi + 0x1c]
push edx
call ebp
push eax
call fcn.00545b73
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x28]
push ecx
push edx
call ebx
mov eax, dword [edi]
mov ebx, dword [esp + 0x28]
mov ecx, dword [esi + 0x80]
mov edx, dword [esp + 0x2c]
sub eax, ebx
mov ebx, dword [edi]
sub ecx, edx
mov edx, dword [edi + 8]
sub edx, ebx
mov ebx, dword [edi + 0xc]
sub ebx, dword [edi + 4]
mov dword [edi], eax
add edx, eax
mov eax, dword [esi + 0xa4]
add ebx, ecx
mov dword [esi + 0x80], ecx
test eax, eax
mov dword [esi + 0x84], edx
mov dword [esi + 0x88], ebx
je 0x4d88b9
jne 0x4d88a9
xor eax, eax
jmp 0x4d88ac
mov eax, dword [eax + 4]
push eax
mov eax, dword [esi + 0x90]
push eax
call fcn.0054acdc
lea ecx, [esi + 0x8c]
mov dword [esi + 0xa4], 0
test ecx, ecx
je 0x4d88d9
mov eax, dword [ecx + 4]
test eax, eax
je 0x4d88d9
call fcn.0054ac03
lea ecx, [esi + 0x9c]
test ecx, ecx
je 0x4d88ef
mov eax, dword [ecx + 4]
test eax, eax
je 0x4d88ef
call fcn.0054b5a3
mov ecx, dword [esi + 0x1c]
push ecx
call ebp
push eax
call fcn.00545b73
mov edx, dword [eax + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetWindowDC]
push eax
call fcn.0054ab86
mov ebx, eax
test ebx, ebx
je 0x4d89bb
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esi + 0x8c]
call fcn.0054ab9b
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [edi]
sub eax, ecx
mov ecx, dword [edi + 8]
push eax
sub ecx, edx
push ecx
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esi + 0x9c]
call fcn.0054b54c
lea eax, [esi + 0x9c]
test eax, eax
je 0x4d895f
mov eax, dword [eax + 4]
mov edx, dword [esi + 0x90]
push eax
push edx
call fcn.0054acdc
mov edx, dword [esi + 0x80]
mov dword [esi + 0xa4], eax
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x10], eax
mov eax, dword [edi + 0xc]
push 0xcc0020
push edx
mov edx, dword [esp + 0x18]
sub eax, ecx
mov ecx, dword [edi + 8]
push edx
mov edx, dword [ebx + 4]
sub ecx, dword [edi]
push edx
push eax
mov eax, dword [esi + 0x90]
push ecx
push 0
push 0
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebx + 4]
mov edx, dword [esi + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4d89e9
push 0
push 0x10000000
push 0
mov ecx, esi
call fcn.005489e7
mov eax, dword [esi + 0x1c]
push eax
call ebp
push eax
call fcn.00545b73
mov ecx, dword [eax + 0x1c]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x28
ret