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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
cmp dword [ebp + 0x10], 6
jne 0x42c89b
lea eax, [ebp + 0x28]
mov dword [ebp - 0x20], eax
jmp 0x42c8a1
lea eax, [ebp + 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x10]
sub eax, 6
cmp eax, 1
sbb eax, eax
and eax, 0xfffffffe
add eax, 0x10
push eax
mov eax, dword [ebp - 0x20]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push eax
call fcn.0041502f
test eax, eax
je 0x42cae5
call fcn.00414fc1
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x483eb0
mov dword [ebp - 0x18], 0x483d30
mov dword [ebp - 0x14], 0x483c08
cmp dword [ebp - 4], 0x2733
je 0x42c91c
cmp dword [ebp - 4], 0x2734
je 0x42c91c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push eax
call fcn.00415014
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xffffffff
xor eax, eax
jmp 0x42caef
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0xa
mov dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
mov eax, dword [ebp - 0x18]
cmp dword [eax], 0x40
jae 0x42c95e
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x18]
mov dword [edx + ecx*4 + 4], eax
mov eax, dword [ebp - 0x18]
inc dword [eax]
mov eax, dword [ebp - 8]
mov dword [eax], 0
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0x40
jae 0x42c99b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x14]
mov dword [edx + ecx*4 + 4], eax
mov eax, dword [ebp - 0x14]
inc dword [eax]
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
call fcn.004359a0
add esp, 0x14
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push eax
call fcn.00414ff5
test eax, eax
je 0x42ca25
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0
je 0x42c9de
jmp 0x42c9e8
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0xfffffff1
mov eax, dword [ebp + 0x38]
push eax
push 0xff
mov eax, dword [ebp + 0x14]
push eax
push 0x274d
push 0xa
push 0xfffffffffffffff1
mov eax, dword [ebp + 8]
push eax
call fcn.00403cc0
add esp, 0x1c
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push eax
call fcn.00415014
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xffffffff
xor eax, eax
jmp 0x42caef
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push eax
call fcn.00414ff5
test eax, eax
je 0x42ca46
mov eax, 1
jmp 0x42caef
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x74]
mov ecx, dword [ecx + 0x1c]
mov edx, ecx
lea ecx, [ecx + ecx*8]
lea ecx, [ecx + ecx*8]
lea ecx, [edx + ecx*4]
lea ecx, [ecx + ecx*2]
cmp eax, ecx
jbe 0x42cac5
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push eax
call fcn.00415014
mov eax, dword [ebp + 0xc]
mov dword [eax], 0xffffffff
jmp 0x42ca8c
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0xffffffa0
mov eax, dword [ebp + 0x38]
push eax
push 0xff
mov eax, dword [ebp + 0x14]
push eax
call fcn.004413ab
mov eax, dword [eax]
push eax
push 0x1eb
push 0xffffffffffffffa0
mov eax, dword [ebp + 8]
push eax
call fcn.00403cc0
add esp, 0x1c
xor eax, eax
jmp 0x42caef
push 0
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x42c933
mov eax, 1
jmp 0x42caef
pop edi
pop esi
pop ebx
leave
ret