Function at 0x4024f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x42be68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push 0x808080
push 3
push 0
lea ecx, [esp + 0x18]
call fcn.00426dff
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0
call fcn.00426559
push 0
push 0
push 0
push str.DISPLAY
mov byte [esp + 0x54], 1
call dword [sym.imp.GDI32.dll_CreateDCA]
push eax
lea ecx, [esp + 0x30]
call fcn.00426610
lea eax, [esp + 0xc]
lea ecx, [esp + 0x2c]
push eax
call fcn.0042678e
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
test eax, eax
je 0x402571
mov ecx, dword [esp + 0x30]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
push ebp
push esi
push edi
push 7
lea ecx, [esp + 0x40]
call fcn.00426831
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [esp + 0x5c]
lea eax, [esp + 0x2c]
push eax
mov edx, dword [ecx + 0x1c]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov al, byte [esp + 0x60]
mov dword [esp + 0x18], 0x14
neg al
sbb eax, eax
and al, 0xec
add eax, 0x14
mov esi, eax
mov edi, dword [esp + 0x38]
mov ebp, dword [esp + 0x30]
sub edi, ebp
mov eax, edi
imul edi, esi
cdq
sub eax, edx
mov ecx, eax
mov eax, 0x66666667
imul edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
mov eax, edi
cdq
sub eax, edx
sar ecx, 1
mov ebx, eax
mov eax, dword [esp + 0x70]
mov edx, ecx
sub edx, eax
mov eax, 0x66666667
add edx, ebp
imul edx, esi
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x2c]
sar ebx, 1
mov ebp, edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x14], ebx
sub ebp, ebx
mov ebx, dword [esp + 0x34]
add ebp, edi
sub ebx, eax
add ebp, edx
mov eax, ebx
imul ebx, esi
cdq
sub eax, edx
mov edi, eax
mov eax, 0x66666667
imul ebx
sar edx, 3
mov eax, edx
mov ebx, dword [esp + 0x2c]
shr eax, 0x1f
add edx, eax
mov eax, edx
mov dword [esp + 0x10], edx
cdq
sub eax, edx
sar eax, 1
sar edi, 1
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x6c]
mov edx, edi
sub edx, eax
mov eax, 0x66666667
add edx, ebx
imul edx, esi
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x10]
mov ebx, edx
mov edx, dword [esp + 0x5c]
sub ebx, edx
mov edx, dword [esp + 0x6c]
add ebx, eax
mov eax, dword [esp + 0x68]
add ebx, edx
mov edx, dword [esp + 0x30]
sub ecx, eax
add ecx, edx
mov eax, 0x66666667
imul ecx, esi
imul ecx
sar edx, 3
mov eax, dword [esp + 0x14]
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
push ebp
mov ecx, edx
mov edx, dword [esp + 0x6c]
sub ecx, eax
mov eax, dword [esp + 0x68]
add ecx, edx
mov edx, dword [esp + 0x30]
sub edi, eax
mov eax, 0x66666667
add edi, edx
push ebx
imul edi, esi
imul edi
sar edx, 3
mov edi, dword [esp + 0x6c]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x64]
sub edx, eax
push ecx
mov ecx, dword [esp + 0x4c]
add edx, edi
push edx
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
sub edi, ebx
mov eax, edi
imul edi, esi
cdq
sub eax, edx
mov ecx, eax
mov eax, 0x66666667
imul edi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
mov eax, edi
cdq
sub eax, edx
sar ecx, 1
mov ebp, eax
mov eax, dword [esp + 0x70]
mov edx, ecx
sub edx, eax
mov eax, 0x66666667
add edx, ebx
imul edx, esi
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x2c]
sar ebp, 1
mov ebx, edx
mov edx, dword [esp + 0x70]
mov dword [esp + 0x14], ebp
sub ebx, ebp
mov ebp, dword [esp + 0x34]
add ebx, edi
sub ebp, eax
add ebx, edx
mov eax, ebp
cdq
sub eax, edx
imul ebp, esi
mov edi, eax
mov eax, 0x66666667
imul ebp
sar edx, 3
mov eax, edx
mov ebp, dword [esp + 0x2c]
shr eax, 0x1f
add edx, eax
push ebx
mov eax, edx
mov dword [esp + 0x14], eax
cdq
sub eax, edx
sar eax, 1
sar edi, 1
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x70]
mov edx, edi
sub edx, eax
mov eax, 0x66666667
add edx, ebp
imul edx, esi
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x14]
mov ebp, edx
mov edx, dword [esp + 0x60]
sub ebp, edx
mov edx, dword [esp + 0x70]
add ebp, eax
mov eax, dword [esp + 0x6c]
add ebp, edx
mov edx, dword [esp + 0x34]
sub ecx, eax
mov eax, 0x66666667
add ecx, edx
push ebp
imul ecx, esi
imul ecx
sar edx, 3
mov eax, dword [esp + 0x1c]
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, edx
mov edx, dword [esp + 0x70]
sub ecx, eax
mov eax, dword [esp + 0x6c]
add ecx, edx
mov edx, dword [esp + 0x34]
sub edi, eax
mov eax, 0x66666667
add edi, edx
push ecx
imul edi, esi
imul edi
mov edi, dword [esp + 0x68]
mov ecx, dword [esp + 0x4c]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [esp + 0x70]
sub edx, edi
add edx, eax
push edx
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
mov al, byte [esp + 0x60]
test al, al
je 0x402832
inc esi
jmp 0x402833
dec esi
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x18], eax
jne 0x4025b5
lea ecx, [esp + 0x3c]
mov byte [esp + 0x54], 0
call fcn.00426678
mov dword [esp + 0x1c], vtable.CGdiObject.0
lea ecx, [esp + 0x1c]
mov dword [esp + 0x54], 2
call fcn.00426de9
mov ecx, dword [esp + 0x4c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x48
ret 0x18