Function at 0x4d25d6
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.004d289e
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4d288e
cmp dword [ebp + 0xc], 3
jne 0x4d2619
call fcn.004d293e
mov dword [0x13206cc], 0
jmp 0x4d2833
cmp dword [ebp + 0xc], 1
jne 0x4d2759
mov ebx, dword [0x13206c0]
call fcn.004a85b1
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4d2643
push 4
call fcn.006ec749
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4d2656
push 1
call fcn.006ec749
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 0x4d26c1
mov eax, dword [ebp + 0x10]
cmp dword [0x13206d0], eax
jne 0x4d2688
mov eax, 0
jmp 0x4d2898
mov eax, dword [ebp + 0x10]
mov dword [0x13206d0], eax
call fcn.004d293e
mov eax, dword [ebp - 4]
mov dword [0x13206cc], eax
mov eax, dword [ebp + 8]
mov dword [0x13206d4], eax
push 0
mov ebx, 0x308
call sub.kernel32.dll_GetTickCount
add esp, 4
mov dword [0x13206d8], eax
jmp 0x4d2754
mov ebx, dword [0x13206c0]
call fcn.004a85b1
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4d26e1
push 4
call fcn.006ec749
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4d26f4
push 1
call fcn.006ec749
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 0x4d2754
mov eax, dword [ebp + 0x10]
cmp dword [0x13206d0], eax
jne 0x4d2726
mov eax, 0
jmp 0x4d2898
mov eax, dword [ebp + 0x10]
mov dword [0x13206d0], eax
cmp dword [0x13206dc], 0
je 0x4d2754
call fcn.004d293e
mov dword [0x13206cc], 0
mov dword [0x13206d4], 0
jmp 0x4d2833
cmp dword [ebp + 0xc], 2
jne 0x4d2833
mov ebx, dword [0x13206c0]
call fcn.004a85b1
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4d2783
push 4
call fcn.006ec749
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4d2796
push 1
call fcn.006ec749
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 0x4d27ff
mov ebx, dword [0x13206c0]
call fcn.004a85b1
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4d27cf
push 4
call fcn.006ec749
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4d27e2
push 1
call fcn.006ec749
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 0x4d27ff
xor eax, eax
jmp 0x4d2804
mov eax, 1
test eax, eax
je 0x4d2833
mov eax, dword [ebp - 4]
mov dword [0x13206cc], eax
mov eax, dword [ebp + 8]
mov dword [0x13206d4], eax
push 0
mov ebx, 0x308
call sub.kernel32.dll_GetTickCount
add esp, 4
mov dword [0x13206d8], eax
mov ebx, dword [0x13206c0]
call fcn.004a85b1
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4d2853
push 4
call fcn.006ec749
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4d2866
push 1
call fcn.006ec749
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.004af044
jmp 0x4d2898
mov eax, 0
jmp 0x4d2898
mov esp, ebp
pop ebp
ret 0x10