Function at 0x4567fb
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x45681c
lea eax, [ebp - 0x80]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_BeginPaint]
jmp 0x456825
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDC]
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x20]
push edi
push eax
push dword [esi + 4]
call ebx
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push edi
mov dword [ebp - 0x10], eax
call dword [sym.imp.GDI32.dll_SelectObject]
cmp dword [esi + 0x100], 0
mov dword [ebp - 0xc], eax
je 0x4568bc
cmp dword [esi + 0x28], 0
jne 0x4568bc
lea eax, [ebp - 0x30]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x40]
push eax
mov eax, dword [esi + 0x100]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
sub ecx, dword [ebp - 0x3c]
sub eax, dword [ebp - 0x40]
add ecx, dword [ebp - 0x1c]
add eax, dword [ebp - 0x20]
push ecx
mov ecx, dword [esi + 0x100]
push eax
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.0045c029
lea ecx, [esi + 0xd0]
call fcn.00450760
test eax, eax
je 0x4568e4
xor eax, eax
lea ecx, [esi + 0xd0]
push eax
push eax
push eax
push eax
push eax
lea eax, [ebp - 0x20]
push 3
push eax
push edi
call fcn.004500c8
lea eax, [ebp - 0x20]
push 2
push eax
mov ecx, esi
call fcn.004564d4
push 0
push 0
push 0x403
push dword [esi + 0x24]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x456919
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push edi
push 0
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Draw]
lea eax, [ebp - 0x20]
push 1
push eax
mov ecx, esi
call fcn.004564d4
mov eax, dword [esi + 0x104]
and dword [ebp - 8], 0
dec eax
je 0x45694c
sub eax, 0xf
je 0x456943
sub eax, 0x10
jne 0x456953
and dword [ebp - 8], 0
jmp 0x456953
mov dword [ebp - 8], 1
jmp 0x456953
mov dword [ebp - 8], 2
mov eax, dword [esi + 0xec]
push 3
cdq
pop ecx
idiv ecx
push 0
lea ecx, [esi + 0xe8]
push dword [esi + 0xf0]
push eax
imul eax, dword [ebp - 8]
push 0
push eax
lea eax, [ebp - 0x20]
push 1
push eax
push edi
call fcn.004500c8
lea eax, [ebp - 0x20]
push eax
push dword [esi + 4]
call ebx
mov eax, dword [ebp - 0x14]
push 0xcc0020
push dword [ebp - 0x1c]
sub eax, dword [ebp - 0x1c]
push dword [ebp - 0x20]
push edi
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 4]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x10]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp + 8], 0
pop edi
pop ebx
je 0x4569e4
lea eax, [ebp - 0x80]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x4569f0
push dword [ebp - 4]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ReleaseDC]
pop esi
leave
ret 4