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

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
mov esi, ecx
push edi
push str.MetalinkFile
lea ebx, [esi + 0x5d2d8]
push ebx
call dword [sym.imp.MSVCRT.dll_wcsstr]
mov edi, eax
add esp, 8
test edi, edi
je 0x4a30a7
push str.MetalinkFile
mov word [edi], 0
call dword [sym.imp.MSVCRT.dll_wcslen]
lea eax, [edi + eax*2]
push eax
call dword [sym.imp.MSVCRT.dll__wtol]
add esp, 8
mov dword [esi + 0x2684], eax
lea edx, [esi + 0xc]
xor eax, eax
mov ecx, 0x912
mov edi, edx
push eax
push edx
rep stosd dword es:[edi], eax
push ebx
call fcn.004a2450
add esp, 0xc
test eax, eax
je 0x4a33db
mov eax, dword [esi]
push 0
push 1
mov ecx, esi
call dword [eax + 4]
test eax, eax
je 0x4a33db
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esi + 0x269c], eax
mov eax, dword [esi + 0x2458]
cmp eax, 0xa
jb 0x4a30f9
mov eax, 0xa
mov dword [esi + 0x2458], eax
mov edx, dword [esi + 0x26c8]
mov ecx, dword [esi + 0x26c4]
mov eax, edx
cmp eax, edx
je 0x4a311f
mov edi, dword [eax]
add eax, 4
mov dword [ecx], edi
add ecx, 4
cmp eax, edx
jne 0x4a3111
mov edx, dword [esi + 0x26c8]
mov dword [esi + 0x26c8], ecx
mov dword [esp + 0x10], edx
call ebp
mov dword [esi + 0x26a4], eax
call ebp
mov dword [esi + 0x26b4], eax
lea eax, [esi + 0x62858]
push eax
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
mov ecx, esi
push 0
call fcn.004a2d70
test eax, eax
je 0x4a33db
cmp dword [esi + 0x5ceb4], 7
je 0x4a318b
mov eax, dword [esi + 0x2698]
test eax, eax
je 0x4a318b
call ebp
mov edx, dword [esi + 0x269c]
mov ecx, dword [esi + 0x2698]
sub eax, edx
cmp eax, ecx
ja 0x4a33ec
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x28]
mov dword [esp + 0x24], 0
rep stosd dword es:[edi], eax
lea eax, [esp + 0x24]
push 0xb
push eax
mov ecx, esi
call fcn.004a2ce0
cmp eax, 1
jbe 0x4a33a5
push 0x3e8
lea ecx, [esp + 0x28]
push 0
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ebx, eax
call ebp
mov edx, dword [esi + 0x26a4]
mov edi, eax
sub eax, edx
cmp eax, 0xbb8
jb 0x4a3222
mov edx, dword [esi + 0x26a8]
xor ecx, ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
fild qword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
fild qword [esp + 0x1c]
fdivp st(1)
fmul qword [0x4dd318]
call sub.MSVCRT.dll__ftol
mov dword [esi + 0x26a0], eax
mov dword [esi + 0x26a4], edi
mov dword [esi + 0x26a8], 0
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_time]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi + 0x62858]
sub ecx, edx
mov edx, dword [esi + 0x26a0]
add esp, 4
mov dword [esi + 0x6285c], ecx
test edx, edx
je 0x4a3283
mov eax, dword [esi + 0x5ceb8]
mov ecx, dword [esi + 0x5cebc]
mov edi, eax
and edi, ecx
cmp edi, 0xffffffff
je 0x4a3283
mov edi, dword [esi + 0x5cec0]
push 0
sub eax, edi
mov edi, dword [esi + 0x5cec4]
sbb ecx, edi
push edx
push ecx
push eax
call fcn.004d3a60
mov dword [esi + 0x62860], eax
jmp 0x4a328d
mov dword [esi + 0x62860], 0
cmp ebx, 0xffffffff
je case.default.0x4a3329
cmp ebx, 0x102
jne 0x4a32e1
cmp dword [esi + 0x245c], 6
jne 0x4a3160
call ebp
mov edi, dword [esi + 0x2694]
mov edx, eax
sub edx, edi
cmp edx, 0x3e8
jbe 0x4a3160
mov dword [esi + 0x2694], eax
mov eax, dword [esi]
push 0
push 6
mov ecx, esi
call dword [eax + 4]
test eax, eax
je 0x4a33db
jmp 0x4a3160
test ebx, ebx
je 0x4a33e3
mov ecx, dword [esi + 0x26c4]
lea edi, [ebx - 1]
mov ebx, dword [ecx + ebx*4 - 4]
call ebp
mov dword [esi + 0x26ac], eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x4a331d
push eax
call dword [sym.imp.KERNEL32.dll_CancelWaitableTimer]
mov edx, dword [ebx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebx + 0xc], 0
mov ebx, dword [ebx + 0x20]
cmp ebx, 0xa
ja case.default.0x4a3329
jmp dword [ebx*4 + 0x4a3400]
push edi
mov ecx, esi
call fcn.004a3430
jmp 0x4a339c
push edi
mov ecx, esi
call fcn.004a34d0
jmp 0x4a339c
push edi
mov ecx, esi
call fcn.004a35a0
jmp 0x4a339c
push edi
mov ecx, esi
call fcn.004a36a0
jmp 0x4a339c
push edi
mov ecx, esi
call fcn.004a3b60
jmp 0x4a339c
push edi
mov ecx, esi
call fcn.004a3c00
jmp 0x4a339c
push edi
mov ecx, esi
call fcn.004a3ce0
jmp 0x4a339c
push edi
mov ecx, esi
call fcn.004a3de0
jmp 0x4a339c
push edi
mov ecx, esi
call fcn.004a3f10
jmp 0x4a339c
push edi
mov ecx, esi
call fcn.004a4090
jmp 0x4a339c
push edi
mov ecx, esi
call fcn.004a4240
test eax, eax
je case.default.0x4a3329
jmp 0x4a3160
mov eax, dword [esi + 0x26e0]
test eax, eax
je 0x4a33db
mov eax, dword [esi + 0x5cec4]
mov ecx, dword [esi + 0x5cebc]
cmp eax, ecx
ja 0x4a33db
jb case.default.0x4a3329
mov ecx, dword [esi + 0x5cec0]
mov eax, dword [esi + 0x5ceb8]
cmp ecx, eax
jae 0x4a33db
mov dword [esi + 0x5ceb4], 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
cmp dword [esi + 0x5ceb4], 7
je 0x4a33db
mov dword [esi + 0x5ceb4], 9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret