Function at 0x56bf80
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5d55eb
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x64e0a0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x10ac], 0
jne 0x56c20b
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00429fbe
lea ecx, [esp + 0x44]
mov edi, eax
call fcn.00429528
lea ecx, [esp + 0x34]
mov dword [esp + 0x60], 0
call fcn.00429528
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], vtable.CBitmap.0
mov byte [esp + 0x60], 2
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x1c]
cmp dword [esi + 0x107c], 0
je 0x56c17b
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x38]
call fcn.00429d3f
mov ecx, dword [esi + 0x10a8]
sub ecx, dword [esi + 0x10a0]
mov eax, dword [esi + 0x10a4]
sub eax, dword [esi + 0x109c]
lea ebx, [esi + 0x109c]
push ecx
push eax
push dword [edi + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [esp + 0x20]
call fcn.00429d75
push dword [esp + 0x20]
push dword [esp + 0x3c]
call fcn.0042a442
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_GetMapMode]
push eax
lea ecx, [esp + 0x38]
call fcn.0042a5d1
lea eax, [esp + 0x24]
push eax
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_GetWindowExtEx]
push dword [esp + 0x28]
lea eax, [esp + 0x30]
push dword [esp + 0x28]
lea ecx, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x40]
call dword [eax + 0x48]
lea eax, [esp + 0x24]
push eax
push dword [edi + 8]
call dword [sym.imp.GDI32.dll_GetViewportExtEx]
push dword [esp + 0x28]
lea eax, [esp + 0x30]
push dword [esp + 0x28]
lea ecx, [esp + 0x3c]
push eax
mov eax, dword [esp + 0x40]
call dword [eax + 0x40]
push 0
push 0
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x40]
call fcn.0042a7aa
cmp dword [esi + 0x10bc], 0
je 0x56c158
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
lea ecx, [esp + 0x48]
call fcn.00429d3f
lea eax, [esi + 0x10c0]
test eax, eax
je 0x56c104
mov eax, dword [eax + 4]
push eax
push dword [esp + 0x4c]
call fcn.0042a442
mov ecx, dword [ebx + 0xc]
sub ecx, dword [ebx + 4]
mov edx, dword [ebx]
mov eax, dword [ebx + 8]
push 0xcc0020
push 0
push 0
push dword [esp + 0x54]
sub eax, edx
push ecx
push eax
push dword [esi + 0x10a0]
push edx
push dword [esp + 0x58]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x48]
call dword [sym.imp.GDI32.dll_DeleteDC]
lea eax, [esp + 0x34]
push eax
push ebx
mov ecx, esi
call fcn.0056b770
mov eax, dword [esp + 0x14]
jmp 0x56c18e
push dword [esi + 0x1078]
lea ecx, [esp + 0x38]
push ebx
call fcn.0042d9f1
lea eax, [esp + 0x34]
push eax
push ebx
mov ecx, esi
call fcn.0056b770
mov eax, dword [esp + 0x14]
jmp 0x56c18e
lea eax, [esi + 0x109c]
push edi
push eax
mov ecx, esi
call fcn.0056b770
mov eax, dword [esp + 0x18]
cmp dword [esi + 0x107c], 0
mov ecx, dword [esp + 0x18]
je 0x56c1c1
push 0xcc0020
push 0
push 0
push dword [esp + 0x44]
push ecx
push eax
push 0
push 0
push dword [edi + 4]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x38]
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [edi]
push 0xffffffffffffffff
mov ecx, edi
call dword [eax + 0x20]
push dword [edi + 4]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
mov byte [esp + 0x60], 1
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.CBitmap.0
call fcn.00402560
lea ecx, [esp + 0x34]
mov byte [esp + 0x60], 0
call fcn.00429668
lea ecx, [esp + 0x44]
mov dword [esp + 0x60], 0xffffffff
call fcn.00429668
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4