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

Disassembly:
push 0x18
mov eax, 0x56267b
call fcn.0054f7b0
mov ebx, ecx
mov dword [ebp - 0x10], ebx
lea ecx, [ebx + 0x380]
call fcn.00467635
test al, al
je 0x47a6cf
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x364]
xor esi, esi
sub ecx, dword [ebx + 0x360]
xor dl, dl
sar ecx, 2
xor edi, edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], esi
test ecx, ecx
je 0x47a5e0
mov eax, dword [ebx + 0x360]
mov ecx, edi
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x47a52e
mov eax, dword [ebp - 0x18]
sub eax, dword [ecx + 0x90]
cmp eax, 0x7530
jae 0x47a4db
cmp byte [ebx + 0x152], 0
jne 0x47a4db
cmp eax, esi
jbe 0x47a530
mov esi, eax
mov dword [ebp - 0x14], esi
jmp 0x47a530
mov eax, dword [ebx + 0x360]
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 + 0x360]
add dword [ebx + 0x3c8], eax
push 0
push 0x400
mov eax, dword [esi + edi*4]
push dword [eax + 0x1c]
push dword [eax + 0x18]
call fcn.0054eaa0
add dword [ebx + 0x3cc], eax
mov eax, edi
push ecx
mov ecx, dword [ebp - 0x1c]
and dword [esi + eax*4], 0
call fcn.0047a6d5
mov esi, dword [ebp - 0x14]
mov dl, 1
mov eax, dword [ebx + 0x364]
inc edi
sub eax, dword [ebx + 0x360]
sar eax, 2
cmp edi, eax
jb 0x47a4a5
test dl, dl
je 0x47a5e0
mov eax, dword [ebx + 0x364]
mov esi, dword [ebx + 0x360]
cmp esi, eax
je 0x47a5a2
cmp dword [esi], 0
je 0x47a56c
add esi, 4
cmp esi, eax
jne 0x47a560
cmp esi, eax
je 0x47a5a2
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 0x47a5a2
mov ebx, dword [edx]
test ebx, ebx
je 0x47a597
mov dword [esi], ebx
add esi, 4
add edx, 4
inc edi
cmp edi, ecx
jne 0x47a58c
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebx + 0x360]
cmp esi, ecx
jne 0x47a5bc
cmp eax, dword [ebx + 0x364]
jne 0x47a5bc
mov dword [ebx + 0x364], ecx
jmp 0x47a5e0
cmp esi, eax
je 0x47a5e0
mov edi, dword [ebx + 0x364]
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 + 0x364], eax
mov eax, dword [ebx + 0x364]
mov ecx, ebx
sub eax, dword [ebx + 0x360]
sar eax, 2
push eax
mov dword [ebx + 0x2b8], eax
call fcn.0047dcdf
push dword [ebx + 0x2b8]
mov ecx, ebx
push 0
call fcn.0047dcb8
mov dword [ebx + 0x384], 0x3e8
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebx + 0x380]
mov dword [ecx], eax
test eax, eax
jne 0x47a62e
mov dword [ecx], 1
add ebx, 0x330
mov ecx, ebx
mov dword [ebp - 0x20], ebx
call fcn.00529310
mov eax, dword [ebp - 0x10]
and dword [ebp - 4], 0
mov edi, dword [eax + 0x370]
mov esi, dword [eax + 0x36c]
cmp esi, edi
je 0x47a6ab
lea ecx, [esi + 0xc0]
call fcn.00467635
test al, al
jne 0x47a66e
add esi, 0xc8
cmp esi, edi
jne 0x47a655
cmp esi, edi
je 0x47a6ab
lea eax, [esi + 0xc8]
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0x47a6ab
mov ebx, eax
lea ecx, [ebx + 0xc0]
call fcn.00467635
test al, al
jne 0x47a69e
mov ecx, esi
add esi, 0xc8
push ebx
call fcn.0047d2b2
add ebx, 0xc8
cmp ebx, edi
jne 0x47a681
mov ebx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 0x24]
push dword [eax + 0x370]
push esi
push ecx
lea ecx, [eax + 0x36c]
call fcn.0047c189
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
call fcn.00529320
call fcn.0054f77e
ret