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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
call fcn.004e9807
mov ebx, dword [0xa41375]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [0xa41381]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x20
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x4e9db8
mov ebx, dword [0xa41375]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [0xa41381]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x20
mov dword [ebp - 4], ebx
mov ebx, dword [0xa41375]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [0xa41381]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 4
mov dword [ebp - 8], ebx
mov ebx, dword [0xa41375]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [0xa41381]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x18
mov dword [ebp - 0xc], ebx
push 0
mov ebx, dword [ebp - 0xc]
push dword [ebx]
mov ebx, dword [ebp - 8]
push dword [ebx]
push 0x10
mov ebx, dword [ebp - 4]
push dword [ebx]
call fcn.00488368
mov dword [0xa41399], eax
cmp dword [0xa41399], 0
jne 0x4e9ccc
mov dword [0xa41399], 0
mov dword [0xa41391], 1
push 0
mov ebx, 0x2dc
call fcn.0069e7e0
add esp, 4
mov dword [ebp - 4], eax
push 0
mov ebx, 0x2e0
call fcn.0069e800
add esp, 4
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0xa05d00]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.00482f6e
push eax
push dword [ebp - 4]
push dword [0xa41381]
call fcn.004e9e8c
mov dword [0xa41389], 0
mov ebx, dword [0xa41375]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [0xa41381]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x4e9cb3
push 0
mov ebx, 0x308
call sub.kernel32.dll_GetTickCount
add esp, 4
mov dword [0xa41395], eax
jmp 0x4e9cc7
mov dword [0xa41389], 0
mov dword [0xa41395], 0xffffffff
jmp 0x4e9db3
cmp dword [0xa41399], 1
jne 0x4e9d06
mov dword [0xa41399], 0xffffffff
mov dword [0xa41389], 0
mov dword [0xa41395], 0xffffffff
mov eax, 1
jmp 0x4e9e88
cmp dword [0xa41399], 2
jne 0x4e9d95
mov dword [0xa41399], 0xfffffffe
mov dword [0xa41391], 1
mov dword [0xa41389], 0
mov ebx, dword [0xa41375]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [0xa41381]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x4e9d7c
push 0
mov ebx, 0x308
call sub.kernel32.dll_GetTickCount
add esp, 4
mov dword [0xa41395], eax
jmp 0x4e9d86
mov dword [0xa41395], 0xffffffff
mov eax, 2
jmp 0x4e9e88
mov dword [0xa41399], 0xffffffff
mov dword [0xa41389], 0
mov dword [0xa41395], 0xffffffff
jmp 0x4e9e7e
mov dword [0xa41399], 0
mov dword [0xa41391], 1
push 0
mov ebx, 0x2dc
call fcn.0069e7e0
add esp, 4
mov dword [ebp - 4], eax
push 0
mov ebx, 0x2e0
call fcn.0069e800
add esp, 4
mov dword [ebp - 0x10], eax
fild dword [ebp - 0x10]
fstp qword [ebp - 0x10]
fld qword [ebp - 0x10]
fadd qword [0xa05d00]
fstp qword [ebp - 0x18]
fld qword [ebp - 0x18]
call fcn.00482f6e
push eax
push dword [ebp - 4]
push dword [0xa41381]
call fcn.004e9e8c
mov dword [0xa41389], 0
mov ebx, dword [0xa41375]
mov ecx, dword [ebx]
inc ecx
shl ecx, 2
add ebx, ecx
push ebx
mov eax, dword [0xa41381]
dec eax
pop ebx
shl eax, 2
add ebx, eax
mov ebx, dword [ebx]
add ebx, 0x14
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x4e9e74
push 0
mov ebx, 0x308
call sub.kernel32.dll_GetTickCount
add esp, 4
mov dword [0xa41395], eax
jmp 0x4e9e7e
mov dword [0xa41395], 0xffffffff
mov eax, 0
jmp 0x4e9e88
mov esp, ebp
pop ebp
ret