Function at 0x413a60
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 0x413aa7
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.00412e50
add esp, 0xc
test eax, eax
je 0x413ddb
mov eax, dword [esi]
push 0
push 1
mov ecx, esi
call dword [eax + 4]
test eax, eax
je 0x413ddb
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esi + 0x269c], eax
mov eax, dword [esi + 0x2458]
cmp eax, 0xa
jb 0x413af9
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 0x413b1f
mov edi, dword [eax]
add eax, 4
mov dword [ecx], edi
add ecx, 4
cmp eax, edx
jne 0x413b11
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.00413770
test eax, eax
je 0x413ddb
cmp dword [esi + 0x5ceb4], 7
je 0x413b8b
mov eax, dword [esi + 0x2698]
test eax, eax
je 0x413b8b
call ebp
mov edx, dword [esi + 0x269c]
mov ecx, dword [esi + 0x2698]
sub eax, edx
cmp eax, ecx
ja 0x413dec
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.004136e0
cmp eax, 1
jbe 0x413da5
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 0x413c22
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 [0x4d4018]
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 0x413c83
mov eax, dword [esi + 0x5ceb8]
mov ecx, dword [esi + 0x5cebc]
mov edi, eax
and edi, ecx
cmp edi, 0xffffffff
je 0x413c83
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.0049bbc0
mov dword [esi + 0x62860], eax
jmp 0x413c8d
mov dword [esi + 0x62860], 0
cmp ebx, 0xffffffff
je case.default.0x413d29
cmp ebx, 0x102
jne 0x413ce1
cmp dword [esi + 0x245c], 6
jne 0x413b60
call ebp
mov edi, dword [esi + 0x2694]
mov edx, eax
sub edx, edi
cmp edx, 0x3e8
jbe 0x413b60
mov dword [esi + 0x2694], eax
mov eax, dword [esi]
push 0
push 6
mov ecx, esi
call dword [eax + 4]
test eax, eax
je 0x413ddb
jmp 0x413b60
test ebx, ebx
je 0x413de3
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 0x413d1d
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.0x413d29
jmp dword [ebx*4 + 0x413e00]
push edi
mov ecx, esi
call fcn.00413e30
jmp 0x413d9c
push edi
mov ecx, esi
call fcn.00413ed0
jmp 0x413d9c
push edi
mov ecx, esi
call fcn.00413fa0
jmp 0x413d9c
push edi
mov ecx, esi
call fcn.004140a0
jmp 0x413d9c
push edi
mov ecx, esi
call fcn.00414560
jmp 0x413d9c
push edi
mov ecx, esi
call fcn.00414600
jmp 0x413d9c
push edi
mov ecx, esi
call fcn.004146e0
jmp 0x413d9c
push edi
mov ecx, esi
call fcn.004147e0
jmp 0x413d9c
push edi
mov ecx, esi
call fcn.00414910
jmp 0x413d9c
push edi
mov ecx, esi
call fcn.00414a90
jmp 0x413d9c
push edi
mov ecx, esi
call fcn.00414c40
test eax, eax
je case.default.0x413d29
jmp 0x413b60
mov eax, dword [esi + 0x26e0]
test eax, eax
je 0x413ddb
mov eax, dword [esi + 0x5cec4]
mov ecx, dword [esi + 0x5cebc]
cmp eax, ecx
ja 0x413ddb
jb case.default.0x413d29
mov ecx, dword [esi + 0x5cec0]
mov eax, dword [esi + 0x5ceb8]
cmp ecx, eax
jae 0x413ddb
mov dword [esi + 0x5ceb4], 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
cmp dword [esi + 0x5ceb4], 7
je 0x413ddb
mov dword [esi + 0x5ceb4], 9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret