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

Disassembly:
push 0x18
mov eax, 0x575843
call fcn.0056357c
mov ebx, ecx
mov dword [ebp - 0x10], ebx
lea ecx, [ebx + 0x3e0]
call fcn.00472947
test al, al
je 0x481d98
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x3c4]
xor esi, esi
sub ecx, dword [ebx + 0x3c0]
xor dl, dl
sar ecx, 2
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
test ecx, ecx
je 0x481ca9
mov eax, dword [ebx + 0x3c0]
mov ecx, edi
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x481bf7
mov eax, dword [ebp - 0x18]
sub eax, dword [ecx + 0x90]
cmp eax, 0x7530
jae 0x481ba4
cmp byte [ebx + 0x166], 0
jne 0x481ba4
cmp eax, esi
jbe 0x481bf9
mov esi, eax
mov dword [ebp - 0x14], esi
jmp 0x481bf9
mov eax, dword [ebx + 0x3c0]
mov ecx, edi
shl ecx, 2
mov esi, dword [eax + ecx]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x94]
mov esi, dword [ebx + 0x3c0]
add dword [ebx + 0x42c], eax
push 0
push 0x400
mov eax, dword [esi + edi*4]
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.00560340
add dword [ebx + 0x430], eax
mov eax, edi
push ecx
mov ecx, dword [ebp - 0x1c]
and dword [esi + eax*4], 0
call fcn.00481d9e
mov esi, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [ebx + 0x3c4]
inc edi
sub eax, dword [ebx + 0x3c0]
sar eax, 2
cmp edi, eax
jb 0x481b6e
test dl, dl
je 0x481ca9
mov eax, dword [ebx + 0x3c4]
mov esi, dword [ebx + 0x3c0]
cmp esi, eax
je 0x481c6b
cmp dword [esi], 0
je 0x481c35
add esi, 4
cmp esi, eax
jne 0x481c29
cmp esi, eax
je 0x481c6b
lea edx, [esi + 4]
mov ecx, eax
sub ecx, edx
xor edi, edi
and dword [ebp - 0x1c], edi
add ecx, 3
shr ecx, 2
cmp edx, eax
cmova ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x481c6b
mov ebx, dword [edx]
test ebx, ebx
je 0x481c60
mov dword [esi], ebx
add esi, 4
add edx, 4
inc edi
cmp edi, ecx
jne 0x481c55
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x3c0]
cmp esi, ecx
jne 0x481c85
cmp eax, dword [ebx + 0x3c4]
jne 0x481c85
mov dword [ebx + 0x3c4], ecx
jmp 0x481ca9
cmp esi, eax
je 0x481ca9
mov edi, dword [ebx + 0x3c4]
sub edi, eax
and edi, 0xfffffffc
push edi
push eax
push esi
call dword [sym.imp.MSVCR120.dll_memmove]
lea eax, [edi + esi]
add esp, 0xc
mov dword [ebx + 0x3c4], eax
mov eax, dword [ebx + 0x3c4]
mov ecx, ebx
sub eax, dword [ebx + 0x3c0]
sar eax, 2
push eax
mov dword [ebx + 0x318], eax
call fcn.004852ed
push dword [ebx + 0x318]
mov ecx, ebx
push 0
call fcn.004852c6
mov dword [ebx + 0x3e4], 0x3e8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebx + 0x3e0]
mov dword [ecx], eax
test eax, eax
jne 0x481cf7
mov dword [ecx], 1
add ebx, 0x390
mov ecx, ebx
mov dword [ebp - 0x20], ebx
call fcn.0053a750
mov eax, dword [ebp - 0x10]
and dword [ebp - 4], 0
mov edi, dword [eax + 0x3d0]
mov esi, dword [eax + 0x3cc]
cmp esi, edi
je 0x481d74
lea ecx, [esi + 0xc0]
call fcn.00472947
test al, al
jne 0x481d37
add esi, 0xc8
cmp esi, edi
jne 0x481d1e
cmp esi, edi
je 0x481d74
lea eax, [esi + 0xc8]
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x481d74
mov ebx, eax
lea ecx, [ebx + 0xc0]
call fcn.00472947
test al, al
jne 0x481d67
mov ecx, esi
add esi, 0xc8
push ebx
call fcn.004848d7
add ebx, 0xc8
cmp ebx, edi
jne 0x481d4a
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
push dword [eax + 0x3d0]
push esi
push ecx
lea ecx, [eax + 0x3cc]
call fcn.00483900
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
call fcn.0053a760
call fcn.0056354a
ret