Function at 0x4b4376
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.004b463e
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4b462e
cmp dword [ebp + 0xc], 3
jne 0x4b43b9
call fcn.004b46de
mov dword [0xa70321], 0
jmp 0x4b45d3
cmp dword [ebp + 0xc], 1
jne 0x4b44f9
mov ebx, dword [0xa70315]
call fcn.0048a351
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4b43e3
push 4
call fcn.006ce4e9
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4b43f6
push 1
call fcn.006ce4e9
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 0x4b4461
mov eax, dword [ebp + 0x10]
cmp dword [0xa70325], eax
jne 0x4b4428
mov eax, 0
jmp 0x4b4638
mov eax, dword [ebp + 0x10]
mov dword [0xa70325], eax
call fcn.004b46de
mov eax, dword [ebp - 4]
mov dword [0xa70321], eax
mov eax, dword [ebp + 8]
mov dword [0xa70329], eax
push 0
mov ebx, 0x308
call sub.kernel32.dll_GetTickCount
add esp, 4
mov dword [0xa7032d], eax
jmp 0x4b44f4
mov ebx, dword [0xa70315]
call fcn.0048a351
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4b4481
push 4
call fcn.006ce4e9
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4b4494
push 1
call fcn.006ce4e9
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 0x4b44f4
mov eax, dword [ebp + 0x10]
cmp dword [0xa70325], eax
jne 0x4b44c6
mov eax, 0
jmp 0x4b4638
mov eax, dword [ebp + 0x10]
mov dword [0xa70325], eax
cmp dword [0xa70331], 0
je 0x4b44f4
call fcn.004b46de
mov dword [0xa70321], 0
mov dword [0xa70329], 0
jmp 0x4b45d3
cmp dword [ebp + 0xc], 2
jne 0x4b45d3
mov ebx, dword [0xa70315]
call fcn.0048a351
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4b4523
push 4
call fcn.006ce4e9
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4b4536
push 1
call fcn.006ce4e9
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 0x4b459f
mov ebx, dword [0xa70315]
call fcn.0048a351
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4b456f
push 4
call fcn.006ce4e9
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4b4582
push 1
call fcn.006ce4e9
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 0x4b459f
xor eax, eax
jmp 0x4b45a4
mov eax, 1
test eax, eax
je 0x4b45d3
mov eax, dword [ebp - 4]
mov dword [0xa70321], eax
mov eax, dword [ebp + 8]
mov dword [0xa70329], eax
push 0
mov ebx, 0x308
call sub.kernel32.dll_GetTickCount
add esp, 4
mov dword [0xa7032d], eax
mov ebx, dword [0xa70315]
call fcn.0048a351
push ebx
push ecx
mov eax, dword [ebp - 4]
dec eax
jns 0x4b45f3
push 4
call fcn.006ce4e9
add esp, 4
pop ecx
pop ebx
cmp eax, ecx
jl 0x4b4606
push 1
call fcn.006ce4e9
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.00490de4
jmp 0x4b4638
mov eax, 0
jmp 0x4b4638
mov esp, ebp
pop ebp
ret 0x10