Function at 0x56c670
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1008
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x616040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov ecx, eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x60], eax
call fcn.0041602d
cmp dword [edi + 0x14], 0
jl 0x56cbbc
push dword [edi + 0x274]
lea ecx, [ebp - 0x7c]
call fcn.004156d4
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], 0
call fcn.00415728
mov byte [ebp - 4], 1
push dword [ebp - 0x78]
mov ebx, dword [sym.imp.GDI32.dll_CreateCompatibleDC]
call ebx
push eax
lea ecx, [ebp - 0x38]
call fcn.00415f3f
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x58], vtable.CBitmap.0
mov byte [ebp - 4], 2
mov ecx, dword [esi + 0xc]
sub ecx, dword [esi + 4]
mov eax, dword [esi + 8]
sub eax, dword [esi]
push ecx
push eax
push dword [ebp - 0x78]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
lea ecx, [ebp - 0x58]
call fcn.00415f75
push dword [ebp - 0x54]
push dword [ebp - 0x34]
call fcn.0041658c
push dword [edi + 0x1c]
lea ecx, [ebp - 0x68]
call fcn.00415691
mov byte [ebp - 4], 3
push dword [ebp - 0x64]
push esi
push dword [ebp - 0x34]
call dword [sym.imp.USER32.dll_FillRect]
push 0
push 0
push SysReAllocString
lea eax, [edi + 0x278]
push SysReAllocString
push eax
mov dword [ebp - 0x24], eax
call dword [sym.imp.USER32.dll_SetRect]
mov eax, dword [edi + 0x274]
test eax, eax
je 0x56c76f
mov eax, dword [eax + 0x20]
push edi
push 0x56cbe0
push eax
call dword [sym.imp.USER32.dll_EnumChildWindows]
lea ecx, [ebp - 0x48]
call fcn.00415728
mov byte [ebp - 4], 4
push dword [ebp - 0x78]
call ebx
push eax
lea ecx, [ebp - 0x48]
call fcn.00415f3f
mov edx, dword [edi + 0x14]
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x50], 0
call fcn.0058c680
push dword [ebp - 0x50]
call fcn.00416183
test eax, eax
je 0x56c7b7
mov eax, dword [eax + 4]
push eax
push dword [ebp - 0x44]
call fcn.0041658c
mov eax, dword [edi + 0x18]
dec eax
je 0x56c9a5
dec eax
jne 0x56cb44
mov edi, dword [esi]
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
sub eax, edi
mov ebx, dword [sym.imp.GDI32.dll_BitBlt]
dec eax
cdq
push 0xcc0020
push 0
and edx, 0xf
add eax, edx
sar eax, 4
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0xc]
push 0x24
sub eax, ecx
cdq
push 0x10
push ecx
and edx, 0xf
add eax, edx
push edi
push dword [ebp - 0x34]
sar eax, 4
mov dword [ebp - 0x5c], eax
call ebx
mov edi, dword [ebp - 0x4c]
cmp edi, 1
jle 0x56c858
lea eax, [edi - 1]
mov edi, 0x10
mov dword [ebp - 0x28], eax
lea esp, [esp]
mov eax, dword [esi]
push 0xcc0020
push 0
push 0x10
push dword [ebp - 0x44]
add eax, edi
push 0x24
push 0x10
push dword [esi + 4]
push eax
push dword [ebp - 0x34]
call ebx
add edi, 0x10
dec dword [ebp - 0x28]
jne 0x56c830
mov edi, dword [ebp - 0x4c]
mov eax, dword [esi + 8]
push 0xcc0020
push 0
push 0x20
push dword [ebp - 0x44]
sub eax, 0x10
push 0x24
push 0x10
push dword [esi + 4]
push eax
push dword [ebp - 0x34]
call ebx
cmp dword [ebp - 0x5c], 0
jle 0x56c91d
xor edi, edi
mov dword [ebp - 0x28], edi
mov eax, dword [esi + 4]
push 0xcc0020
push 0x24
push 0
push dword [ebp - 0x44]
add eax, 0x24
push 0x10
push 0x10
add eax, edi
push eax
push dword [esi]
push dword [ebp - 0x34]
call ebx
mov eax, dword [ebp - 0x4c]
cmp eax, 1
jle 0x56c8e6
dec eax
mov edi, 0x10
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x28]
mov eax, dword [esi]
add ecx, 0x24
add ecx, dword [esi + 4]
add eax, edi
push 0xcc0020
push 0x24
push 0x10
push dword [ebp - 0x44]
push 0x10
push 0x10
push ecx
push eax
push dword [ebp - 0x34]
call ebx
add edi, 0x10
dec dword [ebp - 0x24]
jne 0x56c8b7
mov edi, dword [ebp - 0x28]
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
add ecx, 0x24
push 0xcc0020
push 0x24
push 0x20
push dword [ebp - 0x44]
add ecx, edi
sub eax, 0x10
push 0x10
push 0x10
push ecx
push eax
push dword [ebp - 0x34]
call ebx
add edi, 0x10
dec dword [ebp - 0x5c]
mov dword [ebp - 0x28], edi
jne 0x56c886
mov edi, dword [ebp - 0x4c]
mov eax, dword [esi + 0xc]
push 0xcc0020
push 0x2e
push 0
push dword [ebp - 0x44]
sub eax, 0x16
push 0x16
push 0x10
push eax
push dword [esi]
push dword [ebp - 0x34]
call ebx
cmp edi, 1
jle 0x56c97d
mov edx, 0x10
dec edi
mov dword [ebp - 0x24], edx
lea esp, [esp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi]
sub ecx, 0x16
push 0xcc0020
push 0x2e
push 0x10
push dword [ebp - 0x44]
add eax, edx
push 0x16
push 0x10
push ecx
push eax
push dword [ebp - 0x34]
call ebx
mov edx, dword [ebp - 0x24]
add edx, 0x10
mov dword [ebp - 0x24], edx
dec edi
jne 0x56c950
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 8]
sub ecx, 0x16
push 0xcc0020
push 0x2e
push 0x20
push dword [ebp - 0x44]
sub eax, 0x10
push 0x16
push 0x10
push ecx
push eax
push dword [ebp - 0x34]
call ebx
jmp 0x56cb44
mov ecx, dword [ebp - 0x24]
push 4
push 4
mov eax, dword [ecx]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
push 0xcc0020
push 8
mov edi, dword [sym.imp.GDI32.dll_StretchBlt]
push 8
push 0
push 0
push dword [ebp - 0x44]
push 8
push 8
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x34]
call edi
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
sub ecx, eax
push 0xcc0020
push 8
push 0x10
push 0
push 8
push dword [ebp - 0x44]
sub ecx, 0x10
add eax, 8
push 8
push ecx
push dword [ebp - 0x1c]
push eax
push dword [ebp - 0x34]
call edi
mov eax, dword [ebp - 0x18]
push 0xcc0020
push 8
push 8
push 0
push 0x18
push dword [ebp - 0x44]
add eax, 0xfffffff8
push 8
push 8
push dword [ebp - 0x1c]
push eax
push dword [ebp - 0x34]
call edi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x1c]
sub ecx, eax
push 0xcc0020
push 0x10
push 8
push 8
push 0
push dword [ebp - 0x44]
sub ecx, 0x10
add eax, 8
push ecx
push 8
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x34]
call edi
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1c]
sub esi, ecx
mov edx, dword [ebp - 0x18]
sub esi, 0x10
mov eax, dword [ebp - 0x20]
push 0xcc0020
push 0x10
push 0x10
push 8
push 8
push dword [ebp - 0x44]
sub edx, eax
add ecx, 8
push esi
sub edx, 0x10
add eax, 8
push edx
push ecx
push eax
push dword [ebp - 0x34]
call edi
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x14]
push 0xcc0020
push 0x10
push 8
push 8
push 0x18
push dword [ebp - 0x44]
sub edx, eax
lea ecx, [eax + 8]
mov eax, dword [ebp - 0x18]
sub edx, 0x10
push edx
push 8
push ecx
add eax, 0xfffffff8
push eax
push dword [ebp - 0x34]
call edi
mov eax, dword [ebp - 0x14]
push 0xcc0020
push 8
push 8
push 0x18
push 0
push dword [ebp - 0x44]
add eax, 0xfffffff8
push 8
push 8
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x34]
call edi
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
sub edx, ecx
mov eax, dword [ebp - 0x14]
sub edx, 0x10
push 0xcc0020
push 8
push 0x10
push 0x18
push 8
push dword [ebp - 0x44]
add eax, 0xfffffff8
add ecx, 8
push 8
push edx
push eax
push ecx
push dword [ebp - 0x34]
call edi
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
add ecx, 0xfffffff8
push 0xcc0020
push 8
push 8
push 0x18
push 0x18
push dword [ebp - 0x44]
add eax, 0xfffffff8
push 8
push 8
push ecx
push eax
push dword [ebp - 0x34]
call edi
push dword [ebp - 0x50]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0x54]
call dword [sym.imp.GDI32.dll_CreatePatternBrush]
mov ecx, dword [ebp - 0x60]
push eax
call fcn.00415f75
lea ecx, [ebp - 0x38]
call fcn.00416017
lea ecx, [ebp - 0x58]
call fcn.0041602d
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00415868
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x68], vtable.CBrush.0
call fcn.004027b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], vtable.CBitmap.0
call fcn.004027b0
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 0
call fcn.00415868
lea ecx, [ebp - 0x7c]
mov dword [ebp - 4], 0xffffffff
call fcn.0041582d
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00527e5c
mov esp, ebp
pop ebp
ret 8