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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov dword [ebp - 4], 0
push dword [ebp + 8]
call fcn.005729ce
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x5729be
cmp dword [ebp + 0xc], 3
jne 0x572749
call fcn.00572a6e
mov dword [0x133e511], 0
jmp 0x572963
cmp dword [ebp + 0xc], 1
jne 0x572889
mov ebx, dword [0x133e505]
call fcn.005486e1
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x572773
push 4
call fcn.0078c879
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x572786
push 1
call fcn.0078c879
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 0
jne 0x5727f1
mov eax, dword [ebp + 0x10]
cmp dword [0x133e515], eax
jne 0x5727b8
mov eax, 0
jmp 0x5729c8
mov eax, dword [ebp + 0x10]
mov dword [0x133e515], eax
call fcn.00572a6e
mov eax, dword [ebp - 4]
mov dword [0x133e511], eax
mov eax, dword [ebp + 8]
mov dword [0x133e519], eax
push 0
mov ebx, 0x308
call sub.kernel32.dll_GetTickCount
add esp, 4
mov dword [0x133e51d], eax
jmp 0x572884
mov ebx, dword [0x133e505]
call fcn.005486e1
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x572811
push 4
call fcn.0078c879
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x572824
push 1
call fcn.0078c879
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 2
jne 0x572884
mov eax, dword [ebp + 0x10]
cmp dword [0x133e515], eax
jne 0x572856
mov eax, 0
jmp 0x5729c8
mov eax, dword [ebp + 0x10]
mov dword [0x133e515], eax
cmp dword [0x133e521], 0
je 0x572884
call fcn.00572a6e
mov dword [0x133e511], 0
mov dword [0x133e519], 0
jmp 0x572963
cmp dword [ebp + 0xc], 2
jne 0x572963
mov ebx, dword [0x133e505]
call fcn.005486e1
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x5728b3
push 4
call fcn.0078c879
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x5728c6
push 1
call fcn.0078c879
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 8], ebx
mov ebx, dword [ebp - 8]
cmp dword [ebx], 1
je 0x57292f
mov ebx, dword [0x133e505]
call fcn.005486e1
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x5728ff
push 4
call fcn.0078c879
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x572912
push 1
call fcn.0078c879
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x1c
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
cmp dword [ebx], 2
je 0x57292f
xor eax, eax
jmp 0x572934
mov eax, 1
test eax, eax
je 0x572963
mov eax, dword [ebp - 4]
mov dword [0x133e511], eax
mov eax, dword [ebp + 8]
mov dword [0x133e519], eax
push 0
mov ebx, 0x308
call sub.kernel32.dll_GetTickCount
add esp, 4
mov dword [0x133e51d], eax
mov ebx, dword [0x133e505]
call fcn.005486e1
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x572983
push 4
call fcn.0078c879
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x572996
push 1
call fcn.0078c879
add esp, 4
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 8
mov dword [ebp - 8], ebx
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
mov ebx, dword [ebp - 8]
push dword [ebx]
call fcn.0054f174
jmp 0x5729c8
mov eax, 0
jmp 0x5729c8
mov esp, ebp
pop ebp
ret 0x10