Function at 0x4136e0
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 0x413727
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.00412ad0
add esp, 0xc
test eax, eax
je 0x413a5b
mov eax, dword [esi]
push 0
push 1
mov ecx, esi
call dword [eax + 4]
test eax, eax
je 0x413a5b
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov dword [esi + 0x269c], eax
mov eax, dword [esi + 0x2458]
cmp eax, 0xa
jb 0x413779
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 0x41379f
mov edi, dword [eax]
add eax, 4
mov dword [ecx], edi
add ecx, 4
cmp eax, edx
jne 0x413791
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.004133f0
test eax, eax
je 0x413a5b
cmp dword [esi + 0x5ceb4], 7
je 0x41380b
mov eax, dword [esi + 0x2698]
test eax, eax
je 0x41380b
call ebp
mov edx, dword [esi + 0x269c]
mov ecx, dword [esi + 0x2698]
sub eax, edx
cmp eax, ecx
ja 0x413a6c
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.00413360
cmp eax, 1
jbe 0x413a25
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 0x4138a2
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 [0x4cefd0]
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 0x413903
mov eax, dword [esi + 0x5ceb8]
mov ecx, dword [esi + 0x5cebc]
mov edi, eax
and edi, ecx
cmp edi, 0xffffffff
je 0x413903
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.00495cd0
mov dword [esi + 0x62860], eax
jmp 0x41390d
mov dword [esi + 0x62860], 0
cmp ebx, 0xffffffff
je case.default.0x4139a9
cmp ebx, 0x102
jne 0x413961
cmp dword [esi + 0x245c], 6
jne 0x4137e0
call ebp
mov edi, dword [esi + 0x2694]
mov edx, eax
sub edx, edi
cmp edx, 0x3e8
jbe 0x4137e0
mov dword [esi + 0x2694], eax
mov eax, dword [esi]
push 0
push 6
mov ecx, esi
call dword [eax + 4]
test eax, eax
je 0x413a5b
jmp 0x4137e0
test ebx, ebx
je 0x413a63
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 0x41399d
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.0x4139a9
jmp dword [ebx*4 + 0x413a80]
push edi
mov ecx, esi
call fcn.00413ab0
jmp 0x413a1c
push edi
mov ecx, esi
call fcn.00413b50
jmp 0x413a1c
push edi
mov ecx, esi
call fcn.00413c20
jmp 0x413a1c
push edi
mov ecx, esi
call fcn.00413d20
jmp 0x413a1c
push edi
mov ecx, esi
call fcn.004141e0
jmp 0x413a1c
push edi
mov ecx, esi
call fcn.00414280
jmp 0x413a1c
push edi
mov ecx, esi
call fcn.00414360
jmp 0x413a1c
push edi
mov ecx, esi
call fcn.00414460
jmp 0x413a1c
push edi
mov ecx, esi
call fcn.00414590
jmp 0x413a1c
push edi
mov ecx, esi
call fcn.00414710
jmp 0x413a1c
push edi
mov ecx, esi
call fcn.004148c0
test eax, eax
je case.default.0x4139a9
jmp 0x4137e0
mov eax, dword [esi + 0x26e0]
test eax, eax
je 0x413a5b
mov eax, dword [esi + 0x5cec4]
mov ecx, dword [esi + 0x5cebc]
cmp eax, ecx
ja 0x413a5b
jb case.default.0x4139a9
mov ecx, dword [esi + 0x5cec0]
mov eax, dword [esi + 0x5ceb8]
cmp ecx, eax
jae 0x413a5b
mov dword [esi + 0x5ceb4], 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
cmp dword [esi + 0x5ceb4], 7
je 0x413a5b
mov dword [esi + 0x5ceb4], 9
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret