Function at 0x4a45f0
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 0x4a4637
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.004a39e0
add esp, 0xc
test eax, eax
je 0x4a496b
mov eax, dword [esi]
push 0
push 1
mov ecx, esi
call dword [eax + 4]
test eax, eax
je 0x4a496b
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esi + 0x269c], eax
mov eax, dword [esi + 0x2458]
cmp eax, 0xa
jb 0x4a4689
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 0x4a46af
mov edi, dword [eax]
add eax, 4
mov dword [ecx], edi
add ecx, 4
cmp eax, edx
jne 0x4a46a1
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.004a4300
test eax, eax
je 0x4a496b
cmp dword [esi + 0x5ceb4], 7
je 0x4a471b
mov eax, dword [esi + 0x2698]
test eax, eax
je 0x4a471b
call ebp
mov edx, dword [esi + 0x269c]
mov ecx, dword [esi + 0x2698]
sub eax, edx
cmp eax, ecx
ja 0x4a497c
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.004a4270
cmp eax, 1
jbe 0x4a4935
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 0x4a47b2
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 [0x4df2a8]
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 0x4a4813
mov eax, dword [esi + 0x5ceb8]
mov ecx, dword [esi + 0x5cebc]
mov edi, eax
and edi, ecx
cmp edi, 0xffffffff
je 0x4a4813
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.004d4f20
mov dword [esi + 0x62860], eax
jmp 0x4a481d
mov dword [esi + 0x62860], 0
cmp ebx, 0xffffffff
je case.default.0x4a48b9
cmp ebx, 0x102
jne 0x4a4871
cmp dword [esi + 0x245c], 6
jne 0x4a46f0
call ebp
mov edi, dword [esi + 0x2694]
mov edx, eax
sub edx, edi
cmp edx, 0x3e8
jbe 0x4a46f0
mov dword [esi + 0x2694], eax
mov eax, dword [esi]
push 0
push 6
mov ecx, esi
call dword [eax + 4]
test eax, eax
je 0x4a496b
jmp 0x4a46f0
test ebx, ebx
je 0x4a4973
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 0x4a48ad
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.0x4a48b9
jmp dword [ebx*4 + 0x4a4990]
push edi
mov ecx, esi
call fcn.004a49c0
jmp 0x4a492c
push edi
mov ecx, esi
call fcn.004a4a60
jmp 0x4a492c
push edi
mov ecx, esi
call fcn.004a4b30
jmp 0x4a492c
push edi
mov ecx, esi
call fcn.004a4c30
jmp 0x4a492c
push edi
mov ecx, esi
call fcn.004a50f0
jmp 0x4a492c
push edi
mov ecx, esi
call fcn.004a5190
jmp 0x4a492c
push edi
mov ecx, esi
call fcn.004a5270
jmp 0x4a492c
push edi
mov ecx, esi
call fcn.004a5370
jmp 0x4a492c
push edi
mov ecx, esi
call fcn.004a54a0
jmp 0x4a492c
push edi
mov ecx, esi
call fcn.004a5620
jmp 0x4a492c
push edi
mov ecx, esi
call fcn.004a57d0
test eax, eax
je case.default.0x4a48b9
jmp 0x4a46f0
mov eax, dword [esi + 0x26e0]
test eax, eax
je 0x4a496b
mov eax, dword [esi + 0x5cec4]
mov ecx, dword [esi + 0x5cebc]
cmp eax, ecx
ja 0x4a496b
jb case.default.0x4a48b9
mov ecx, dword [esi + 0x5cec0]
mov eax, dword [esi + 0x5ceb8]
cmp ecx, eax
jae 0x4a496b
mov dword [esi + 0x5ceb4], 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
cmp dword [esi + 0x5ceb4], 7
je 0x4a496b
mov dword [esi + 0x5ceb4], 9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret