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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
mov dword [ebp - 4], eax
mov byte [ebp - 5], 0
mov eax, dword [0x5ab6c4]
cmp dword [eax], 0
je 0x588630
mov eax, dword [0x5ab6c4]
mov eax, dword [eax]
cmp byte [eax + 0x2c], 0
jne 0x588630
mov eax, dword [0x5ab6c4]
mov eax, dword [eax]
cmp byte [eax + 0x19], 1
jne 0x588572
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5ab408]
sub eax, dword [edx]
cmp eax, 0x1f4
jbe 0x588572
mov eax, dword [0x5aba58]
cmp byte [eax], 0
je 0x588572
mov eax, dword [0x5ab6c4]
mov eax, dword [eax]
test byte [eax + 0x2a], 0x10
jne 0x588630
mov byte [ebp - 6], 0
mov eax, dword [0x5ab7ec]
mov eax, dword [eax]
cmp dword [eax + 8], 0
jle 0x5884f0
mov eax, dword [0x5ab7ec]
mov eax, dword [eax]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x5884f0
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov eax, dword [0x5ab7ec]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.0041b11c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x5884e8
mov eax, dword [ebp - 0x10]
cmp word [eax + 8], 0x42
jne 0x5884e8
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [0x5abb9c]
mov ecx, dword [ecx]
mov edx, dword [0x5abcfc]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.00585e10
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5ab408]
mov dword [edx], eax
jmp 0x5884f0
inc dword [ebp - 0xc]
dec dword [ebp - 0x14]
jne 0x588497
cmp byte [ebp - 6], 0
jne 0x588572
mov eax, dword [0x5ab7ec]
mov eax, dword [eax]
cmp dword [eax + 8], 0
jle 0x588572
mov eax, dword [0x5ab7ec]
mov eax, dword [eax]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x588572
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov eax, dword [0x5ab7ec]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.0041b11c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x58856a
mov eax, dword [ebp - 0x10]
cmp word [eax + 8], 0x1f
jne 0x58856a
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [0x5abb9c]
mov ecx, dword [ecx]
mov edx, dword [0x5abcfc]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.00585e10
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5ab408]
mov dword [edx], eax
jmp 0x588572
inc dword [ebp - 0xc]
dec dword [ebp - 0x14]
jne 0x58851d
mov eax, dword [0x5ab6c4]
mov eax, dword [eax]
cmp byte [eax + 0x19], 2
jne 0x588630
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5ab408]
sub eax, dword [edx]
cmp eax, 0x1f4
jbe 0x588630
mov eax, dword [0x5abdec]
cmp byte [eax], 0
je 0x588630
mov eax, dword [0x5ab6c4]
mov eax, dword [eax]
test byte [eax + 0x2a], 0x80
jne 0x588630
mov eax, dword [0x5ab7ec]
mov eax, dword [eax]
cmp dword [eax + 8], 0
jle 0x588630
mov eax, dword [0x5ab7ec]
mov eax, dword [eax]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x588630
inc eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0xc], 0
mov eax, dword [0x5ab7ec]
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
call fcn.0041b11c
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x588628
mov eax, dword [ebp - 0x10]
cmp word [eax + 8], 0x12
jne 0x588628
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [0x5abb9c]
mov ecx, dword [ecx]
mov edx, dword [0x5abcfc]
mov edx, dword [edx]
mov eax, dword [ebp - 4]
call fcn.00585e10
call sub.kernel32.dll_GetTickCount_1
mov edx, dword [0x5ab408]
mov dword [edx], eax
inc dword [ebp - 0xc]
dec dword [ebp - 0x14]
jne 0x5885dd
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret