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

Disassembly:
push 0x418
mov eax, 0x5643b6
call fcn.0054f7e3
mov edi, ecx
mov ecx, dword [edi]
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x414], eax
test ecx, ecx
je 0x48a0d3
mov ecx, dword [ecx + 0x290]
test ecx, ecx
je 0x48a0d3
mov esi, dword [ebp + 0x10]
push esi
call fcn.0049a4b0
push eax
call fcn.0049a4f2
mov ebx, eax
mov dword [ebp - 0x418], ebx
test ebx, ebx
je 0x489e74
cmp dword [ebx + 0x238], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], eax
je 0x489e74
mov dword [ebx + 0x240], ecx
mov dword [ebx + 0x244], eax
cmp esi, dword [edi + 0xc8]
jne 0x48a0d3
mov ecx, dword [ebp - 0x414]
mov byte [edi + 0xf0], 1
test ecx, ecx
je 0x489f43
mov eax, dword [ebp + 0x18]
test eax, eax
jle 0x489f43
push dword [ebp - 0x418]
add eax, ecx
lea esi, [edi + 0xcc]
push eax
push ecx
push dword [esi + 4]
mov ecx, esi
call fcn.004665ce
and dword [ebp - 0x414], 0
lea eax, [ebp - 0x414]
push 4
push eax
push 0
mov ecx, esi
call fcn.0049ca6a
test al, al
je 0x489f43
mov esi, dword [ebp - 0x414]
test esi, esi
jle 0x489f43
mov eax, dword [edi]
mov ecx, dword [eax + 0x61c]
test ecx, ecx
je 0x489ef7
mov eax, esi
cdq
push edx
push eax
call fcn.0049be04
mov ecx, dword [edi]
mov edx, dword [ecx + 0x200]
or edx, dword [ecx + 0x204]
jne 0x489f43
mov eax, esi
cdq
push edx
push eax
call fcn.004942fd
mov ecx, dword [edi]
mov eax, dword [ecx + 0x200]
or eax, dword [ecx + 0x204]
mov byte [ecx + 0x625], 1
je 0x489f43
call fcn.0048e6d5
test eax, eax
je 0x489f43
mov ecx, dword [edi]
push 0
push 0
call fcn.004942fd
mov ecx, dword [edi]
call fcn.00493a96
mov eax, dword [edi]
cmp dword [eax + 0x204], 0
jl 0x48a0d3
jg 0x489f61
cmp dword [eax + 0x200], 0
jbe 0x48a0d3
mov esi, dword [edi + 0xdc]
inc esi
mov dword [ebp - 0x414], esi
cmp esi, 0xc8
jge 0x48a0af
mov eax, esi
shl eax, 0xa
mov ebx, eax
push 0x400
lea eax, [ebp - 0x410]
push 0
push eax
call sub.MSVCR120.dll_memset
lea ecx, [edi + 0xcc]
add esp, 0xc
mov eax, dword [ecx + 0xc]
add eax, ebx
js 0x489fb8
push 0x400
lea edx, [ebp - 0x410]
push edx
push eax
call fcn.0049ca6a
jmp 0x489fba
xor al, al
test al, al
je 0x48a0a9
mov dword [edi + 0xdc], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0xbc]
lea ecx, [edi + 0xb0]
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x424]
push eax
mov dword [ebp - 0x424], esi
call fcn.0043ce86
mov eax, dword [edi]
cmp dword [eax + 0x59c], 0
je 0x48a055
lea esi, [eax + 0x5b0]
mov ecx, esi
mov dword [ebp - 0x41c], esi
call fcn.00529310
and dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [ebp + 0x10]
sub eax, dword [edi + 0xbc]
push dword [edi + 0xdc]
push eax
mov eax, dword [edi]
push 0x581dd0
push str.block_ok_cloud_buffer
push dword [eax + 0x59c]
call fcn.0051f43e
or dword [ebp - 4], 0xffffffff
add esp, 0x18
mov ecx, esi
call fcn.00529320
mov esi, dword [ebp - 0x414]
mov ecx, dword [edi]
lea eax, [ebp - 0x410]
push 0x400
push eax
push esi
push dword [ebp + 0x10]
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
push 0
call fcn.0048ef95
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [edi + 0xbc]
cmp eax, 0x1f4
jae 0x48a090
mov byte [edi + 0xe1], 1
inc esi
add ebx, 0x400
mov dword [ebp - 0x414], esi
cmp ebx, 0x32000
jl 0x489f81
mov ebx, dword [ebp - 0x418]
test ebx, ebx
je 0x48a0d3
mov ecx, ebx
call fcn.0049c9a4
test al, al
je 0x48a0d3
mov ecx, dword [edi]
push ecx
push dword [edi + 0xc8]
push ecx
mov ecx, dword [ecx + 0x290]
call fcn.0049a923
call fcn.0054f792
ret 0x14