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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffea8
push ebx
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp + 8]
add eax, dword [edx + 8]
dec eax
cdq
idiv dword [ecx + 8]
mov edx, dword [ebp + 8]
mov ecx, eax
mov eax, dword [ebp + 0x1c]
add eax, dword [edx + 8]
mov edx, dword [ebp + 8]
dec eax
mov ebx, dword [edx + 8]
cdq
idiv ebx
imul ecx, eax
push ecx
mov eax, dword [ebp + 8]
push eax
call fcn.0042c740
add esp, 8
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 8]
add eax, dword [edx + 8]
dec eax
mov ecx, dword [ebp + 8]
cdq
idiv dword [ecx + 8]
cmp eax, 0xc8
jle 0x42d237
mov eax, 0xc8
jmp 0x42d248
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 8]
add eax, dword [edx + 8]
dec eax
mov ecx, dword [ebp + 8]
cdq
idiv dword [ecx + 8]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 8]
add eax, dword [ecx + 8]
dec eax
mov ecx, dword [edx + 8]
cdq
idiv ecx
cmp eax, 0xc8
jle 0x42d26c
mov eax, 0xc8
jmp 0x42d27d
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 8]
add eax, dword [edx + 8]
dec eax
mov ecx, dword [ebp + 8]
cdq
idiv dword [ecx + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x20]
imul dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
imul dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp + 8]
mov ecx, dword [edx + 8]
imul ecx, dword [ebp - 0x24]
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp - 0x14]
shl eax, 2
push eax
call fcn.00414434
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x42d2c2
mov eax, 0xe
jmp 0x42d4c9
xor edx, edx
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 4]
mov eax, ecx
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x14]
jge 0x42d2ee
mov ecx, dword [ebp - 0x58]
mov eax, dword [ebp - 8]
mov dword [ecx], eax
inc dword [ebp - 8]
add dword [ebp - 0x58], 4
mov edx, dword [ebp - 8]
cmp edx, dword [ebp - 0x14]
jl 0x42d2d7
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp + 0x18]
mov dword [ebp - 0x28], ecx
mov eax, dword [ebp + 0x14]
add eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
lea edx, [ecx + eax*4]
mov dword [ebp - 0x58], edx
jmp 0x42d459
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 0x2c]
jl 0x42d3b6
cmp dword [ebp - 0x14], 0
jg 0x42d33a
mov eax, dword [ebp - 4]
push eax
call fcn.00414320
pop ecx
xor eax, eax
jmp 0x42d4c9
cmp dword [ebp - 0x14], 0
je 0x42d34b
call fcn.00412024
cdq
idiv dword [ebp - 0x14]
jmp 0x42d34d
xor edx, edx
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x10], eax
dec dword [ebp - 0x14]
add dword [ebp - 0x58], 0xfffffffc
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov eax, dword [eax]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
cdq
idiv dword [ebp - 0x20]
imul edx, dword [ecx + 8]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
cdq
idiv dword [ebp - 0x20]
imul dword [ecx + 8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x10]
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x38], eax
mov edx, dword [ebp + 0x24]
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x40], edx
mov ecx, dword [ebp + 0x14]
add ecx, dword [ebp - 0x34]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ebp + 0x28]
add eax, dword [ebp - 0x34]
mov dword [ebp - 0x44], eax
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp + 8]
sub edx, dword [ebp - 0x38]
cmp edx, dword [ecx + 8]
jle 0x42d3cc
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
jmp 0x42d3d2
mov edx, dword [ebp - 0x28]
sub edx, dword [ebp - 0x38]
mov dword [ebp - 0x48], edx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp + 8]
sub eax, dword [ebp - 0x3c]
cmp eax, dword [ecx + 8]
jle 0x42d3eb
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
jmp 0x42d3f1
mov edx, dword [ebp - 0x2c]
sub edx, dword [ebp - 0x3c]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp + 0x2c]
push eax
mov ecx, dword [ebp - 0x44]
push ecx
mov eax, dword [ebp - 0x40]
push eax
mov edx, dword [ebp + 0x20]
push edx
mov ecx, dword [ebp - 0x4c]
push ecx
mov eax, dword [ebp - 0x48]
push eax
mov edx, dword [ebp - 0x3c]
push edx
mov ecx, dword [ebp - 0x38]
push ecx
mov eax, dword [ebp + 0xc]
push eax
call sub.GDI32.dll_BitBlt
mov edx, dword [ebp - 0x18]
add dword [ebp - 0x38], edx
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x38]
cmp eax, dword [ebp - 0x28]
jl 0x42d44f
mov edx, dword [ebp + 0x10]
add edx, dword [ebp - 0x30]
mov dword [ebp - 0x38], edx
mov ecx, dword [ebp + 0x24]
add ecx, dword [ebp - 0x30]
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x1c]
add dword [ebp - 0x44], edx
mov ecx, dword [ebp + 8]
push ecx
call fcn.0042c7c4
pop ecx
push 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x14]
push edx
call sub.KERNEL32.dll_WaitForSingleObject
test eax, eax
je 0x42d481
cmp dword [ebp - 0x14], 0
jg 0x42d317
mov ecx, dword [ebp - 0x3c]
cmp ecx, dword [ebp - 0x2c]
jl 0x42d317
mov eax, dword [ebp - 4]
push eax
call fcn.00414320
pop ecx
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x158]
mov edx, dword [ebp - 0x54]
sub edx, dword [ebp - 0x50]
push edx
push 0x45a56c
push ecx
call fcn.0040ebf4
add esp, 0xc
push 0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x14]
push edx
call sub.KERNEL32.dll_WaitForSingleObject
test eax, eax
jne 0x42d4c7
mov eax, 0x16
jmp 0x42d4c9
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret