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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 0x988], 1
jne 0x5526a9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 0x9a0], 0x14
jge 0x552663
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x9a8]
cmp eax, 0x64
jbe 0x5527e4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x9a0]
mov ecx, 5
cdq
idiv ecx
mov ecx, eax
cmp ecx, 4
jne 0x55262f
mov eax, 6
call fcn.00403440
inc eax
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x994], eax
jmp 0x552641
mov eax, dword [ebp + 8]
add ecx, 8
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov dword [eax + 0x994], ecx
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x9a8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
inc dword [eax + 0x9a0]
jmp 0x5527e4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x990]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0x994], eax
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0x9a8]
cmp eax, 0x5dc
jbe 0x5527e4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
xor edx, edx
call fcn.00493bf0
jmp 0x5527e4
mov byte [ebp - 1], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edi, dword [eax + 0x988]
dec edi
test edi, edi
jl 0x5527d1
inc edi
xor ebx, ebx
mov esi, ebx
add esi, esi
add esi, esi
add esi, esi
sub esi, ebx
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + esi*4 + 0x9a0]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
cmp eax, dword [edx + esi*4 + 0x9a4]
jge 0x552792
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + esi*4 + 0x9a8]
cmp eax, 0x64
jbe 0x55278c
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + esi*4 + 0x9a0]
mov ecx, 5
cdq
idiv ecx
cmp eax, 4
jne 0x55273e
mov eax, 6
call fcn.00403440
inc eax
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + esi*4 + 0x994], eax
jmp 0x55276d
mov eax, ebx
add eax, eax
add eax, eax
add eax, eax
sub eax, ebx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov eax, dword [edx + eax*4 + 0x9a0]
mov ecx, 5
cdq
idiv ecx
add eax, 8
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + esi*4 + 0x994], eax
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + esi*4 + 0x9a8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
inc dword [eax + esi*4 + 0x9a0]
mov byte [ebp - 1], 0
jmp 0x5527c9
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + esi*4 + 0x990]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + esi*4 + 0x994], eax
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + esi*4 + 0x9a8]
cmp eax, 0x7d0
jae 0x5527c9
mov byte [ebp - 1], 0
inc ebx
dec edi
jne 0x5526c5
cmp byte [ebp - 1], 0
je 0x5527e4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 8]
xor edx, edx
call fcn.00493bf0
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret