Function at 0x4202f4
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 0x2c]
push ebx
mov eax, ecx
push esi
cdq
sub eax, edx
mov ebx, ecx
mov esi, eax
push edi
sar esi, 1
lea eax, [esi + esi]
sub ebx, eax
jne 0x420316
push 2
dec esi
pop ebx
cmp dword [ebp + 0x1c], 0
je 0x420445
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp + 0x1c]
mov dword [ebp - 4], eax
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
add ecx, eax
push ecx
mov ecx, dword [ebp + 0xc]
add edx, ecx
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
mov dword [ebp - 8], eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
mov edi, 0xcc0020
mov eax, dword [ebp + 0x2c]
push edi
sub eax, esi
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp - 4]
push eax
push dword [ebp + 0x28]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
mov ecx, eax
mov dword [ebp + 0x14], ebx
add ebx, esi
sub ecx, esi
add ebx, eax
add ecx, edx
cmp ebx, ecx
mov dword [ebp + 0x18], ecx
jge 0x4203d2
add eax, esi
mov dword [ebp + 0x1c], eax
push edi
push dword [ebp + 0x1c]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp + 0x14]
push dword [ebp + 0x28]
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp + 0x14]
add ebx, eax
add eax, eax
cmp ebx, dword [ebp + 0x18]
mov dword [ebp + 0x14], eax
jl 0x4203a6
mov eax, dword [ebp + 0x24]
push edi
sub eax, esi
mov edi, dword [ebp - 4]
add eax, dword [ebp + 0x2c]
push eax
push dword [ebp + 0x20]
push edi
push esi
push dword [ebp + 0x28]
push dword [ebp + 0x18]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
xor ebx, ebx
push ebx
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
cmp dword [ebp - 8], ebx
je 0x420410
push dword [ebp - 8]
call dword [sym.imp.GDI32.dll_DeleteObject]
push dword [ebp - 0xc]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp edi, ebx
je 0x4204e1
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
push edi
call esi
test eax, eax
je 0x420432
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], ebx
je 0x4204e1
push dword [ebp - 4]
call esi
jmp 0x4204e1
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x18]
sub eax, esi
mov edi, 0xcc0020
add edx, eax
add eax, ecx
push edi
push eax
push dword [ebp + 0xc]
mov dword [ebp + 0x18], edx
push dword [ebp + 8]
push esi
push dword [ebp + 0x14]
push edx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x14]
push dword [ebp + 0x18]
lea ecx, [esi + eax]
mov eax, dword [ebp + 0xc]
add edx, eax
mov dword [ebp + 0x1c], ecx
push edx
push ecx
push eax
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push eax
mov dword [ebp + 0x2c], eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
add esi, ebx
add esi, dword [ebp + 0x10]
cmp esi, dword [ebp + 0x18]
jge 0x4204c7
push edi
push dword [ebp + 0x1c]
push dword [ebp + 0xc]
push dword [ebp + 8]
push ebx
push dword [ebp + 0x28]
push esi
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
add esi, ebx
add ebx, ebx
jmp 0x4204a1
push 0
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
cmp dword [ebp + 0x2c], 0
je 0x4204e1
push dword [ebp + 0x2c]
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
pop ebx
leave
ret