Function at 0x40275c
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
call sym._GetTickCount_0
mov dword [ebp - 0x18], eax
mov dword [esp], 0
call sym._GetSystemMetrics_4
sub esp, 4
mov dword [ebp - 0x1c], eax
mov dword [esp], 1
call sym._GetSystemMetrics_4
sub esp, 4
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, 1
imul eax, dword [ebp - 0x1c]
shl eax, 2
mov dword [esp + 0xc], 4
mov dword [esp + 8], 0x3000
mov dword [esp + 4], eax
mov dword [esp], 0
call sym._VirtualAlloc_16
sub esp, 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 0xc], 0
mov dword [esp], 0
call sym._GetDC_4
sub esp, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sym._CreateCompatibleDC_4
sub esp, 4
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x20
mov dword [esp + 8], 1
mov eax, dword [ebp - 0x20]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sym._CreateBitmap_20
sub esp, 0x14
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._SelectObject_8
sub esp, 8
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [ebp - 0x28]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._BitBlt_36
sub esp, 0x24
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x20]
lea edx, [eax*4]
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sym._GetBitmapBits_12
sub esp, 0xc
mov dword [ebp - 0x10], 0
mov byte [ebp - 0x31], 0
call sym._GetTickCount_0
mov edx, eax
mov eax, dword [ebp - 0x18]
sub edx, eax
mov eax, edx
cmp eax, 0xea60
seta al
test al, al
je 0x4028f5
call sym.randy__
mov ecx, eax
mov edx, 0x80808081
mov eax, ecx
imul edx
lea eax, [edx + ecx]
sar eax, 7
mov edx, eax
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
mov edx, eax
shl edx, 8
sub edx, eax
mov eax, ecx
sub eax, edx
mov byte [ebp - 0x31], al
mov dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x14]
jle 0x4029c8
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x20]
mov eax, edx
test eax, eax
jne 0x402947
call sym.randy__
mov ecx, eax
mov edx, 0x94f2095
mov eax, ecx
imul edx
sar edx, 2
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
imul eax, eax, 0x6e
sub ecx, eax
mov eax, ecx
test eax, eax
je 0x402947
mov eax, 1
jmp 0x40294c
mov eax, 0
test al, al
je 0x402989
call sym.randy__
mov ecx, eax
mov edx, 0x51eb851f
mov eax, ecx
imul edx
sar edx, 3
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, edx
shl eax, 2
add eax, edx
lea edx, [eax*4]
add eax, edx
sub ecx, eax
mov eax, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
lea edx, [eax*4]
mov eax, dword [ebp - 0x24]
add edx, eax
mov eax, dword [ebp - 0x10]
imul eax, dword [ebp - 0x10]
add edx, eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x10]
add eax, ecx
lea ecx, [eax*4]
mov eax, dword [ebp - 0x24]
add ecx, eax
mov eax, dword [ebp - 0x10]
add eax, ecx
movzx eax, byte [eax]
mov byte [edx], al
add dword [ebp - 0x14], 1
jmp 0x4028fc
mov eax, dword [ebp - 0x1c]
imul eax, dword [ebp - 0x20]
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x24]
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sym._SetBitmapBits_12
sub esp, 0xc
mov dword [esp + 0x20], 0xcc0020
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov eax, dword [ebp - 0x2c]
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x20]
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sym._BitBlt_36
sub esp, 0x24
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sym._DeleteObject_4
sub esp, 4
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call sym._DeleteObject_4
sub esp, 4
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call sym._DeleteObject_4
sub esp, 4
add dword [ebp - 0xc], 1
mov ecx, dword [ebp - 0xc]
mov edx, 0x55555556
mov eax, ecx
imul edx
mov eax, ecx
sar eax, 0x1f
sub edx, eax
mov eax, edx
add eax, eax
add eax, edx
sub ecx, eax
mov eax, ecx
mov dword [ebp - 0xc], eax
jmp 0x4027c8