Function at 0x56bc80
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d55a5
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x64e0a0]
xor eax, esp
mov dword [esp + 0x70], eax
push ebx
push esi
push edi
mov eax, dword [0x64e0a0]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
push dword [ebx + 0x20]
mov dword [esp + 0x30], esi
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00429fbe
lea ecx, [esp + 0x1c]
mov dword [esp + 0x14], eax
call fcn.00429528
lea ecx, [esp + 0x38]
mov dword [esp + 0x90], 0
call fcn.00429528
mov byte [esp + 0x90], 1
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
test esi, esi
je 0x56bf14
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x60]
push eax
push dword [ebx + 0x20]
call esi
push dword [ebx + 0x20]
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
push eax
call fcn.00423869
lea ecx, [esp + 0x70]
push ecx
push dword [eax + 0x20]
call esi
mov eax, dword [esp + 0x70]
sub dword [esp + 0x60], eax
mov eax, dword [esp + 0x74]
sub dword [esp + 0x64], eax
lea eax, [esp + 0x70]
push eax
push dword [ebx + 0x20]
call edi
push eax
call fcn.00423869
mov ecx, eax
call fcn.0042a377
mov eax, dword [esp + 0x70]
add dword [esp + 0x60], eax
mov eax, dword [esp + 0x74]
add dword [esp + 0x64], eax
lea eax, [esp + 0x48]
push eax
push 0x18
push dword [esp + 0x34]
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edi, dword [esp + 0x14]
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x1c]
push dword [esp + 0x50]
lea esi, [ebx + 0x10c0]
push dword [esp + 0x50]
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, esi
call fcn.00429d75
test eax, eax
je 0x56bef7
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x20]
call fcn.00429d3f
test esi, esi
jne 0x56be03
xor eax, eax
jmp 0x56be06
mov eax, dword [esi + 4]
push eax
push dword [esp + 0x24]
call fcn.0042a442
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_GetMapMode]
push eax
lea ecx, [esp + 0x20]
call fcn.0042a5d1
lea eax, [esp + 0x14]
push eax
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_GetWindowExtEx]
push dword [esp + 0x18]
lea eax, [esp + 0x34]
push dword [esp + 0x18]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x28]
call dword [eax + 0x48]
lea eax, [esp + 0x14]
push eax
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_GetViewportExtEx]
push dword [esp + 0x18]
lea eax, [esp + 0x34]
push dword [esp + 0x18]
lea ecx, [esp + 0x24]
push eax
mov eax, dword [esp + 0x28]
call dword [eax + 0x40]
push 0
push 0
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x28]
call fcn.0042a7aa
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x3c]
call fcn.00429d3f
push dword [esp + 0x2c]
push dword [esp + 0x40]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebx + 0x10a8]
sub ecx, dword [ebx + 0x10a0]
mov eax, dword [ebx + 0x10a4]
sub eax, dword [ebx + 0x109c]
push 0xcc0020
push dword [esp + 0x68]
push dword [esp + 0x68]
push dword [esp + 0x48]
push ecx
push eax
push 0
push 0
push dword [esp + 0x40]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x3c]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
call esi
push dword [esp + 0x20]
call esi
mov dword [ebx + 0x10bc], 1
mov eax, dword [edi]
push 0xffffffffffffffff
mov ecx, edi
call dword [eax + 0x20]
mov dword [ebx + 0x10b4], 0
mov dword [ebx + 0x10b8], 0
lea ecx, [esp + 0x38]
mov byte [esp + 0x90], 0
call fcn.00429668
lea ecx, [esp + 0x1c]
mov dword [esp + 0x90], 0xffffffff
call fcn.00429668
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.00541b41
mov esp, ebp
pop ebp
ret 0xc