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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 0xc68], 1
jne 0x4f5e6d
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 0xc80], 0x14
jge 0x4f5e21
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0xc88]
cmp eax, 0x64
jbe 0x4f6031
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xc80]
mov ecx, 5
cdq
idiv ecx
cmp eax, 4
jne 0x4f5ddc
mov eax, 6
call fcn.004035d8
inc eax
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0xc74], eax
jmp 0x4f5dff
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xc80]
mov ecx, 5
cdq
idiv ecx
add eax, 8
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0xc74], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0xc88], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
inc dword [eax + 0xc80]
jmp 0x4f6031
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xc70]
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov dword [edx + 0xc74], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
sub eax, dword [edx + 0xc88]
cmp eax, 0x5dc
jbe 0x4f6031
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x39c]
xor edx, edx
call fcn.004887f8
jmp 0x4f6031
mov byte [ebp - 5], 1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
cmp dword [eax + 0xc68], 0
jle 0x4f6018
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0xc68]
dec eax
test eax, eax
jl 0x4f6018
inc eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov eax, dword [edx + eax*4 + 0xc80]
mov edx, dword [ebp - 4]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
cmp eax, dword [ecx + edx*4 + 0xc84]
jge 0x4f5fb7
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
sub eax, dword [ecx + edx*4 + 0xc88]
cmp eax, 0x64
jbe 0x4f5fb1
mov eax, dword [ebp - 4]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov eax, dword [edx + eax*4 + 0xc80]
mov ecx, 5
cdq
idiv ecx
cmp eax, 4
jne 0x4f5f45
mov eax, 6
call fcn.004035d8
inc eax
mov edx, dword [ebp - 4]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
mov dword [ecx + edx*4 + 0xc74], eax
jmp 0x4f5f7e
mov eax, dword [ebp - 4]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov eax, dword [edx + eax*4 + 0xc80]
mov ecx, 5
cdq
idiv ecx
add eax, 8
mov edx, dword [ebp - 4]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
mov dword [ecx + edx*4 + 0xc74], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
mov dword [ecx + edx*4 + 0xc88], eax
mov eax, dword [ebp - 4]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
inc dword [edx + eax*4 + 0xc80]
mov byte [ebp - 5], 0
jmp 0x4f600c
mov eax, dword [ebp - 4]
mov edx, eax
shl eax, 3
sub eax, edx
mov edx, dword [ebp + 8]
mov edx, dword [edx - 4]
mov eax, dword [edx + eax*4 + 0xc70]
mov edx, dword [ebp - 4]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
mov dword [ecx + edx*4 + 0xc74], eax
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [ebp - 4]
mov ecx, edx
shl edx, 3
sub edx, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx - 4]
sub eax, dword [ecx + edx*4 + 0xc88]
cmp eax, 0x7d0
jae 0x4f600c
mov byte [ebp - 5], 0
inc dword [ebp - 4]
dec dword [ebp - 0xc]
jne 0x4f5ea4
cmp byte [ebp - 5], 0
je 0x4f6031
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x39c]
xor edx, edx
call fcn.004887f8
mov esp, ebp
pop ebp
ret