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

Disassembly:
push 0xec
mov eax, 0x564ffb
call fcn.0054f7e3
mov ebx, ecx
mov dword [ebp - 0xcc], ebx
cmp byte [ebx + 0x2e8], 0
je 0x490cd5
mov eax, dword [ebx + 0x458]
mov dword [ebx + 0x2b8], eax
mov eax, dword [ebx + 0x45c]
mov dword [ebx + 0x2bc], eax
jmp 0x4915f5
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [ebx + 0x2a4]
mov dword [ebp - 0xd8], eax
cmp eax, 0x64
jb 0x4915f5
call esi
xor ecx, ecx
mov dword [ebp - 0xa0], eax
mov esi, ecx
mov dword [ebx + 0x2a4], eax
mov dword [ebp - 0xe4], esi
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 4], ecx
xorps xmm0, xmm0
mov eax, dword [ebx + 0x51c]
movlpd qword [ebp - 0xac], xmm0
movlpd qword [ebp - 0xc4], xmm0
mov dword [ebp - 0xf8], ecx
mov edi, dword [eax + 0xb8]
mov eax, dword [ebx + 0x2e4]
mov dword [ebp - 0x98], edi
cmp eax, 0x10
je 0x490d66
cmp eax, 0x14
je 0x490d66
test eax, eax
je 0x490d62
cmp eax, 3
je 0x490d62
cmp eax, 0x15
jne 0x490d6f
push 6
jmp 0x490d68
push 8
pop edi
mov dword [ebp - 0x98], edi
mov eax, dword [ebx + 0x290]
mov edx, ecx
or dword [ebp - 0xa4], 0xffffffff
mov dword [ebp - 0xe8], ecx
movlpd qword [ebp - 0xd4], xmm0
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0xac]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xd4]
movlpd qword [ebp - 0xf4], xmm0
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xd0], eax
test ecx, 0xfffffffc
jle 0x491114
mov ecx, dword [ebx + 0x290]
push edx
call fcn.0049a4f2
mov esi, eax
test esi, esi
je 0x4910e4
cmp dword [esi + 0x40], 3
je 0x490e37
mov eax, dword [ebp - 0xf8]
cmp eax, edi
jge 0x4910e4
inc eax
mov dword [ebp - 0xf8], eax
mov ecx, esi
call fcn.0049c8ce
push esi
mov ecx, ebx
call fcn.00492e62
xor ecx, ecx
xor eax, eax
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x58], ecx
mov word [ebp - 0x68], ax
push 0x38
push ecx
lea eax, [ebp - 0x4c]
mov byte [ebp - 4], 1
push eax
call sub.MSVCR120.dll_memset
mov eax, dword [esi + 0x54]
add esp, 0xc
mov dword [ebp - 0x34], eax
mov eax, dword [esi]
mov dword [ebp - 0x74], eax
mov cl, byte [esi + 0xe]
mov byte [ebp - 0x44], cl
mov eax, dword [esi + 0x40]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x200]
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0x204]
mov dword [ebp - 0x38], eax
mov edi, dword [esi + 0x218]
mov dword [ebp - 0x2c], edi
mov eax, dword [esi + 0x21c]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x70], eax
movzx eax, word [esi + 0xc]
mov byte [ebp - 0x8d], cl
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x6c], eax
lea eax, [esi + 0x18]
cmp ecx, eax
je 0x490ee8
push 0xffffffffffffffff
push 0
push eax
call fcn.00401eb3
mov al, byte [ebp - 0x44]
mov edi, dword [ebp - 0x2c]
mov byte [ebp - 0x8d], al
mov eax, dword [esi + 0x30]
mov dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0xa0]
sub eax, dword [esi + 0x208]
mov dword [ebp - 0xa8], eax
je 0x490fab
push 0
push 0x3e8
push dword [esi + 0x204]
push dword [esi + 0x200]
call fcn.0054eb50
push 0
push dword [ebp - 0xa8]
push edx
push eax
call fcn.0054eaa0
add dword [ebp - 0xb8], eax
mov dword [ebp - 0x24], eax
adc dword [ebp - 0xb4], edx
mov dword [ebp - 0x20], edx
cmp byte [ebp - 0x8d], 0xff
je 0x490fb3
add dword [ebp - 0x94], eax
mov al, byte [ebx + 0x185]
adc dword [ebp - 0x9c], edx
test al, al
je 0x490fb3
cmp dword [ebp - 0xa8], 0xbb8
jbe 0x490fb3
cmp dword [ebp - 0xa4], 0
jl 0x490f8e
mov eax, dword [ebp - 0xb0]
cmp dword [ebp - 0x28], eax
jg 0x490fb3
jl 0x490f8e
cmp edi, dword [ebp - 0xc0]
jae 0x490fb3
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xc0], edi
mov dword [ebp - 0xb0], eax
jmp 0x490fb3
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
mov ecx, esi
call fcn.0049ca57
test al, al
jne 0x490fd0
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0xe4]
call fcn.0049614c
mov edi, dword [ebp - 0x2c]
cmp dword [ebp - 0x28], 0
jg 0x490fe2
jl 0x490fdc
test edi, edi
jne 0x490fe2
cmp byte [esi + 0x38], 0
jne 0x49100f
push dword [ebp - 0x74]
mov ecx, dword [ebx + 0x608]
call fcn.0049aec7
mov ecx, eax
test ecx, ecx
je 0x49100f
cmp dword [ecx + 0x18], 0xffffffff
jne 0x490fff
mov dword [ecx + 0x18], edi
mov eax, dword [ecx + 0x18]
add eax, edi
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 0x18], eax
mov edi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
push dword [ebp - 0x74]
mov ecx, dword [ebx + 0x608]
mov dword [ebp - 0xa8], eax
call fcn.0049aec7
mov ecx, eax
test ecx, ecx
je 0x49104b
cmp dword [ecx + 0x10], 0xffffffff
mov edx, dword [ebp - 0xa8]
jne 0x49103b
mov dword [ecx + 0x10], edx
mov eax, dword [ecx + 0x10]
add eax, edx
cdq
sub eax, edx
sar eax, 1
mov dword [ecx + 0x10], eax
mov edi, dword [ebp - 0x2c]
mov ecx, esi
call fcn.0049ca57
test al, al
jne 0x49106e
push dword [ebp - 0x74]
mov ecx, dword [ebx + 0x608]
call fcn.0049aec7
test eax, eax
je 0x49106e
inc dword [eax + 0x2c]
mov edi, dword [ebp - 0x2c]
xor edx, edx
cmp dword [esi + 0x238], edx
je 0x4910c1
mov ecx, esi
call fcn.0049ca57
test al, al
jne 0x4910b9
cmp dword [ebp - 0x28], edx
jg 0x49109c
jl 0x49108e
cmp edi, edx
ja 0x49109c
mov ecx, esi
call fcn.0049c9a4
mov edi, dword [ebp - 0x2c]
test al, al
jne 0x4910a8
inc dword [ebx + 0x20]
add dword [ebx + 0x28], edi
mov eax, dword [ebp - 0x28]
adc dword [ebx + 0x2c], eax
push dword [ebp - 0x28]
lea ecx, [ebx + 0x30]
push edi
call fcn.00521777
mov edi, dword [ebp - 0x2c]
xor edx, edx
cmp dword [esi + 0x238], edx
jne 0x4910d6
add dword [ebp - 0xd0], edi
mov eax, dword [ebp - 0xc8]
adc eax, dword [ebp - 0x28]
mov dword [ebp - 0xc8], eax
push edx
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], dl
call fcn.00401c9b
mov ecx, dword [ebx + 0x290]
mov edx, dword [ebp - 0xe8]
mov edi, dword [ebp - 0x98]
inc edx
mov dword [ebp - 0xe8], edx
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
cmp edx, eax
jl 0x490e06
mov esi, dword [ebp - 0xe4]
lea edi, [ebx + 0x500]
mov ecx, edi
mov dword [ebp - 0xa8], edi
call fcn.00529310
mov eax, dword [ebp - 0xb8]
lea ecx, [ebx + 0x2a8]
mov byte [ebp - 4], 2
mov dword [ebx + 0x2b8], eax
mov eax, dword [ebp - 0xb4]
mov dword [ebx + 0x2bc], eax
lea eax, [ebp - 0xe4]
cmp ecx, eax
je 0x491181
mov eax, dword [ecx]
mov edx, dword [ebp - 0xe0]
mov dword [ecx], esi
mov dword [ebp - 0xe4], eax
mov eax, dword [ecx + 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xdc]
mov dword [ebp - 0xe0], eax
mov eax, dword [ecx + 8]
mov dword [ecx + 8], edx
mov dword [ebp - 0xdc], eax
mov ecx, dword [ebx + 0x450]
sub ecx, dword [ebx + 0x468]
mov edx, dword [ebx + 0x454]
sbb edx, dword [ebx + 0x46c]
push 0
push 0x3e8
push edx
push ecx
call fcn.0054eb50
push 0
push dword [ebp - 0xd8]
push edx
push eax
call fcn.0054eaa0
mov esi, dword [ebx + 0x470]
mov ecx, esi
mov dword [ebx + 0x464], edx
mov edx, dword [ebp - 0xcc]
mov dword [ebx + 0x460], eax
mov ebx, dword [ebx + 0x474]
mov eax, ebx
push 0
sub ecx, dword [edx + 0x478]
push 0x3e8
sbb eax, dword [edx + 0x47c]
push eax
push ecx
call fcn.0054eb50
push 0
push dword [ebp - 0xd8]
push edx
push eax
call fcn.0054eaa0
mov ecx, dword [ebp - 0xcc]
mov dword [ecx + 0x47c], ebx
mov ebx, ecx
mov dword [ecx + 0x480], eax
mov eax, dword [ecx + 0x450]
mov dword [ecx + 0x468], eax
push dword [ebx + 0x464]
mov eax, dword [ecx + 0x454]
push dword [ebx + 0x460]
mov dword [ecx + 0x484], edx
mov dword [ecx + 0x46c], eax
mov dword [ecx + 0x478], esi
mov ecx, dword [ebx + 0x588]
call fcn.00521777
mov eax, dword [ebp - 0xc8]
lea ecx, [ebx + 0x318]
push eax
mov eax, dword [ebp - 0xd0]
push eax
call fcn.00521777
mov esi, dword [ebp - 0xa0]
sub esi, dword [ebx + 0x448]
sub esi, dword [ebx + 0x440]
je 0x49130d
push 0
push 0x3e8
push dword [ebx + 0x454]
push dword [ebx + 0x450]
call fcn.0054eb50
push 0
push esi
push edx
push eax
call fcn.0054eaa0
push 0
push 0x3e8
push dword [ebx + 0x474]
mov dword [ebx + 0x458], eax
push dword [ebx + 0x470]
mov dword [ebx + 0x45c], edx
call fcn.0054eb50
push 0
push esi
push edx
push eax
call fcn.0054eaa0
push 0
push 0x3e8
push dword [ebx + 0x4a4]
mov dword [ebx + 0x488], eax
push dword [ebx + 0x4a0]
mov dword [ebx + 0x48c], edx
call fcn.0054eb50
push 0
push esi
push edx
push eax
call fcn.0054eaa0
mov dword [ebx + 0x4a8], eax
mov dword [ebx + 0x4ac], edx
jmp 0x49133d
mov eax, dword [ebx + 0x2b8]
mov dword [ebx + 0x458], eax
mov eax, dword [ebx + 0x2bc]
mov dword [ebx + 0x45c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebx + 0x488], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebx + 0x48c], eax
push dword [ebx + 0x484]
mov ecx, dword [ebx + 0x58c]
push dword [ebx + 0x480]
call fcn.00521777
mov ecx, dword [ebx + 0x58c]
call fcn.005217e2
cmp edx, dword [ebx + 0x494]
jl 0x49137d
jg 0x491371
cmp eax, dword [ebx + 0x490]
jbe 0x49137d
mov dword [ebx + 0x490], eax
mov dword [ebx + 0x494], edx
cmp edx, dword [ebx + 0x49c]
jg 0x49139b
jl 0x49138f
cmp eax, dword [ebx + 0x498]
jae 0x49139b
mov dword [ebx + 0x498], eax
mov dword [ebx + 0x49c], edx
cmp dword [ebx + 0x484], 0
jg 0x4913b5
jl 0x4913af
cmp dword [ebx + 0x480], 0x1e
jae 0x4913b5
inc dword [ebx + 0x618]
mov esi, dword [ebx + 0x2bc]
mov edx, dword [ebx + 0x2b8]
test esi, esi
jl 0x4913f8
jg 0x4913cb
test edx, edx
je 0x4913f8
mov ecx, dword [ebx + 0x200]
sub ecx, dword [ebx + 0x420]
mov eax, dword [ebx + 0x204]
sbb eax, dword [ebx + 0x424]
push esi
push edx
push eax
push ecx
call fcn.0054eaa0
mov dword [ebx + 0x438], eax
mov dword [ebx + 0x43c], edx
cmp dword [ebx + 0x59c], 0
je 0x49145d
lea esi, [ebx + 0x5b0]
mov ecx, esi
mov dword [ebp - 0xa0], esi
call fcn.00529310
mov byte [ebp - 4], 3
mov ebx, dword [ebx + 0x59c]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 4]
mov ebx, dword [ebp - 0xcc]
push dword [ebx + 0x45c]
push dword [ebx + 0x458]
push eax
push str._d__I64d
push str.CalcDownSpeedInfo
push dword [ebx + 0x59c]
call fcn.0051f43e
add esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.00529320
mov esi, dword [ebp - 0x98]
xor edx, edx
mov eax, 0x2800
test esi, esi
jle 0x49149c
push edx
push 2
push dword [ebp - 0x9c]
push dword [ebp - 0x94]
call fcn.0054eaa0
mov esi, eax
mov ecx, edx
mov eax, dword [ebp - 0x98]
cdq
push edx
push eax
push ecx
push esi
call fcn.0054eaa0
mov esi, dword [ebp - 0x98]
cmp dword [ebp - 0xa4], 0
jl 0x4915db
cmp dword [ebp - 0xb0], edx
jg 0x4915db
jl 0x4914c3
cmp dword [ebp - 0xc0], eax
jae 0x4915db
cmp dword [ebp - 0x9c], 0
jg 0x4915db
jl 0x4914e2
cmp dword [ebp - 0x94], 0x4b000
jae 0x4915db
mov ecx, dword [ebx + 0x290]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
cmp eax, esi
jl 0x4915db
push dword [ebp - 0xa4]
call fcn.0049a4f2
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x4915db
cmp dword [eax + 0x238], 0
jne 0x4915db
cmp byte [eax + 0x38], 0
jne 0x4915db
cmp dword [ebx + 0x59c], 0
je 0x4915c9
lea esi, [ebx + 0x5b0]
mov ecx, esi
mov dword [ebp - 0xd8], esi
call fcn.00529310
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0xa0]
mov eax, dword [ecx + 4]
mov dword [ebp - 0xf4], eax
mov eax, dword [ecx + 8]
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xf0], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00448272
mov ecx, eax
mov byte [ebp - 4], 5
cmp dword [ecx + 0x14], 8
mov eax, dword [ebp - 0xa0]
movzx edx, word [eax + 0xc]
jb 0x49158f
mov ecx, dword [ecx]
push dword [eax]
push edx
push ecx
push str.__s:_d__d_
push str.remove_slow_source
push dword [ebx + 0x59c]
call fcn.0051f43e
add esp, 0x18
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
push 0
push 1
call fcn.00401c9b
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.00529320
push dword [ebp - 0xa4]
mov ecx, dword [ebx + 0x290]
push ebx
call fcn.0049a517
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.00529320
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe4]
call fcn.0042b196
call fcn.0054f792
ret