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

Disassembly:
push 0xd4
mov eax, 0x578838
call fcn.005635af
mov ebx, ecx
mov dword [ebp - 0xac], ebx
cmp byte [ebx + 0x328], 0
je 0x49aa03
mov eax, dword [ebx + 0x4c8]
mov dword [ebx + 0x2f8], eax
mov eax, dword [ebx + 0x4cc]
mov dword [ebx + 0x2fc], eax
jmp 0x49b2ce
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [ebx + 0x2e4]
mov dword [ebp - 0xb4], eax
cmp eax, 0x64
jb 0x49b2ce
call esi
xor ecx, ecx
mov dword [ebp - 0x9c], eax
mov esi, ecx
mov dword [ebx + 0x2e4], eax
mov dword [ebp - 0xd0], esi
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 0xc8], ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebx + 0x58c]
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 0xbc], ecx
mov dword [ebp - 0xa4], ecx
mov edi, dword [eax + 0xb8]
mov eax, dword [ebx + 0x324]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xdc], ecx
mov dword [ebp - 0x98], edi
cmp eax, 0x10
je 0x49aa99
cmp eax, 0x14
je 0x49aa99
test eax, eax
je 0x49aa95
cmp eax, 3
je 0x49aa95
cmp eax, 0x15
jne 0x49aaa2
push 6
jmp 0x49aa9b
push 8
pop edi
mov dword [ebp - 0x98], edi
mov eax, dword [ebx + 0x2d0]
mov edx, ecx
or dword [ebp - 0xa0], 0xffffffff
mov dword [ebp - 0xd4], ecx
mov dword [ebp - 0xb8], ecx
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xb0], ecx
mov dword [ebp - 0xd8], ecx
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
test ecx, 0xfffffffc
jle 0x49adef
mov ecx, dword [ebx + 0x2d0]
push edx
call fcn.004a4b10
mov esi, eax
test esi, esi
je 0x49adbf
cmp dword [esi + 0x40], 3
je 0x49ab12
mov eax, dword [ebp - 0xdc]
cmp eax, edi
jge 0x49adbf
inc eax
mov dword [ebp - 0xdc], eax
mov ecx, esi
call fcn.004a7066
push esi
mov ecx, ebx
call fcn.0049cb97
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 0x49abc3
push 0xffffffffffffffff
push 0
push eax
call fcn.00401f12
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 - 0x9c]
sub eax, dword [esi + 0x208]
mov dword [ebp - 0x94], eax
je 0x49ac86
push 0
push 0x3e8
push dword [esi + 0x204]
push dword [esi + 0x200]
call fcn.005603f0
push 0
push dword [ebp - 0x94]
push edx
push eax
call fcn.00560340
add dword [ebp - 0xc0], eax
mov dword [ebp - 0x24], eax
adc dword [ebp - 0xbc], edx
mov dword [ebp - 0x20], edx
cmp byte [ebp - 0x8d], 0xff
je 0x49ac8e
add dword [ebp - 0xa4], eax
mov al, byte [ebx + 0x1a2]
adc dword [ebp - 0xa8], edx
test al, al
je 0x49ac8e
cmp dword [ebp - 0x94], 0xbb8
jbe 0x49ac8e
cmp dword [ebp - 0xa0], 0
jl 0x49ac69
mov eax, dword [ebp - 0xb8]
cmp dword [ebp - 0x28], eax
jg 0x49ac8e
jl 0x49ac69
cmp edi, dword [ebp - 0xd4]
jae 0x49ac8e
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xd4], edi
mov dword [ebp - 0xb8], eax
jmp 0x49ac8e
and dword [ebp - 0x24], 0
and dword [ebp - 0x20], 0
mov ecx, esi
call fcn.004a71ef
test al, al
jne 0x49acab
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0xd0]
call fcn.004a01e7
mov edi, dword [ebp - 0x2c]
cmp dword [ebp - 0x28], 0
jg 0x49acbd
jl 0x49acb7
test edi, edi
jne 0x49acbd
cmp byte [esi + 0x38], 0
jne 0x49acea
push dword [ebp - 0x74]
mov ecx, dword [ebx + 0x680]
call fcn.004a5528
mov ecx, eax
test ecx, ecx
je 0x49acea
cmp dword [ecx + 0x18], 0xffffffff
jne 0x49acda
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 + 0x680]
mov dword [ebp - 0x94], eax
call fcn.004a5528
mov ecx, eax
test ecx, ecx
je 0x49ad26
cmp dword [ecx + 0x10], 0xffffffff
mov edx, dword [ebp - 0x94]
jne 0x49ad16
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.004a71ef
test al, al
jne 0x49ad49
push dword [ebp - 0x74]
mov ecx, dword [ebx + 0x680]
call fcn.004a5528
test eax, eax
je 0x49ad49
inc dword [eax + 0x2c]
mov edi, dword [ebp - 0x2c]
xor edx, edx
cmp dword [esi + 0x238], edx
je 0x49ad9c
mov ecx, esi
call fcn.004a71ef
test al, al
jne 0x49ad94
cmp dword [ebp - 0x28], edx
jg 0x49ad77
jl 0x49ad69
cmp edi, edx
ja 0x49ad77
mov ecx, esi
call fcn.004a713c
mov edi, dword [ebp - 0x2c]
test al, al
jne 0x49ad83
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.005365c1
mov edi, dword [ebp - 0x2c]
xor edx, edx
cmp dword [esi + 0x238], edx
jne 0x49adb1
add dword [ebp - 0xc4], edi
mov eax, dword [ebp - 0xb0]
adc eax, dword [ebp - 0x28]
mov dword [ebp - 0xb0], eax
push edx
push 1
lea ecx, [ebp - 0x68]
mov byte [ebp - 4], dl
call fcn.00401d04
mov ecx, dword [ebx + 0x2d0]
mov edx, dword [ebp - 0xd8]
mov edi, dword [ebp - 0x98]
inc edx
mov dword [ebp - 0xd8], edx
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
cmp edx, eax
jl 0x49aae1
mov esi, dword [ebp - 0xd0]
lea edi, [ebx + 0x570]
mov ecx, edi
mov dword [ebp - 0x94], edi
call fcn.0053a750
mov eax, dword [ebp - 0xc0]
lea ecx, [ebx + 0x2e8]
mov byte [ebp - 4], 2
mov dword [ebx + 0x2f8], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebx + 0x2fc], eax
lea eax, [ebp - 0xd0]
cmp ecx, eax
je 0x49ae5c
mov eax, dword [ecx]
mov edx, dword [ebp - 0xcc]
mov dword [ecx], esi
mov dword [ebp - 0xd0], eax
mov eax, dword [ecx + 4]
mov dword [ecx + 4], edx
mov edx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], eax
mov eax, dword [ecx + 8]
mov dword [ecx + 8], edx
mov dword [ebp - 0xc8], eax
mov ecx, dword [ebx + 0x4c0]
sub ecx, dword [ebx + 0x4d8]
mov edx, dword [ebx + 0x4c4]
sbb edx, dword [ebx + 0x4dc]
push 0
push 0x3e8
push edx
push ecx
call fcn.005603f0
push 0
push dword [ebp - 0xb4]
push edx
push eax
call fcn.00560340
mov esi, dword [ebx + 0x4e0]
mov ecx, esi
mov dword [ebx + 0x4d4], edx
mov edx, dword [ebp - 0xac]
mov dword [ebx + 0x4d0], eax
mov ebx, dword [ebx + 0x4e4]
mov eax, ebx
push 0
sub ecx, dword [edx + 0x4e8]
push 0x3e8
sbb eax, dword [edx + 0x4ec]
push eax
push ecx
call fcn.005603f0
push 0
push dword [ebp - 0xb4]
push edx
push eax
call fcn.00560340
mov ecx, dword [ebp - 0xac]
mov dword [ecx + 0x4ec], ebx
mov ebx, ecx
mov dword [ecx + 0x4f0], eax
mov eax, dword [ecx + 0x4c0]
mov dword [ecx + 0x4d8], eax
push dword [ebx + 0x4d4]
mov eax, dword [ecx + 0x4c4]
push dword [ebx + 0x4d0]
mov dword [ecx + 0x4f4], edx
mov dword [ecx + 0x4dc], eax
mov dword [ecx + 0x4e8], esi
mov ecx, dword [ebx + 0x5f8]
call fcn.005365c1
push dword [ebp - 0xb0]
lea ecx, [ebx + 0x360]
push dword [ebp - 0xc4]
call fcn.005365c1
mov esi, dword [ebp - 0x9c]
sub esi, dword [ebx + 0x4b8]
sub esi, dword [ebx + 0x4b0]
je 0x49afe6
push 0
push 0x3e8
push dword [ebx + 0x4c4]
push dword [ebx + 0x4c0]
call fcn.005603f0
push 0
push esi
push edx
push eax
call fcn.00560340
push 0
push 0x3e8
push dword [ebx + 0x4e4]
mov dword [ebx + 0x4c8], eax
push dword [ebx + 0x4e0]
mov dword [ebx + 0x4cc], edx
call fcn.005603f0
push 0
push esi
push edx
push eax
call fcn.00560340
push 0
push 0x3e8
push dword [ebx + 0x514]
mov dword [ebx + 0x4f8], eax
push dword [ebx + 0x510]
mov dword [ebx + 0x4fc], edx
call fcn.005603f0
push 0
push esi
push edx
push eax
call fcn.00560340
mov dword [ebx + 0x518], eax
mov dword [ebx + 0x51c], edx
jmp 0x49b016
mov eax, dword [ebx + 0x2f8]
mov dword [ebx + 0x4c8], eax
mov eax, dword [ebx + 0x2fc]
mov dword [ebx + 0x4cc], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebx + 0x4f8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebx + 0x4fc], eax
push dword [ebx + 0x4f4]
mov ecx, dword [ebx + 0x5fc]
push dword [ebx + 0x4f0]
call fcn.005365c1
mov ecx, dword [ebx + 0x5fc]
call fcn.0053662c
cmp edx, dword [ebx + 0x504]
jl 0x49b056
jg 0x49b04a
cmp eax, dword [ebx + 0x500]
jbe 0x49b056
mov dword [ebx + 0x500], eax
mov dword [ebx + 0x504], edx
cmp edx, dword [ebx + 0x50c]
jg 0x49b074
jl 0x49b068
cmp eax, dword [ebx + 0x508]
jae 0x49b074
mov dword [ebx + 0x508], eax
mov dword [ebx + 0x50c], edx
cmp dword [ebx + 0x4f4], 0
jg 0x49b08e
jl 0x49b088
cmp dword [ebx + 0x4f0], 0x1e
jae 0x49b08e
inc dword [ebx + 0x690]
mov esi, dword [ebx + 0x2fc]
mov edx, dword [ebx + 0x2f8]
test esi, esi
jl 0x49b0d1
jg 0x49b0a4
test edx, edx
je 0x49b0d1
mov ecx, dword [ebx + 0x240]
sub ecx, dword [ebx + 0x490]
mov eax, dword [ebx + 0x244]
sbb eax, dword [ebx + 0x494]
push esi
push edx
push eax
push ecx
call fcn.00560340
mov dword [ebx + 0x4a8], eax
mov dword [ebx + 0x4ac], edx
cmp dword [ebx + 0x610], 0
je 0x49b136
lea esi, [ebx + 0x628]
mov ecx, esi
mov dword [ebp - 0x9c], esi
call fcn.0053a750
mov byte [ebp - 4], 3
mov ebx, dword [ebx + 0x610]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebx + 4]
mov ebx, dword [ebp - 0xac]
push dword [ebx + 0x4cc]
push dword [ebx + 0x4c8]
push eax
push str._d__I64d
push str.CalcDownSpeedInfo
push dword [ebx + 0x610]
call fcn.005341e9
add esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.0053a760
mov esi, dword [ebp - 0x98]
xor edx, edx
mov eax, 0x2800
test esi, esi
jle 0x49b175
push edx
push 2
push dword [ebp - 0xa8]
push dword [ebp - 0xa4]
call fcn.00560340
mov esi, eax
mov ecx, edx
mov eax, dword [ebp - 0x98]
cdq
push edx
push eax
push ecx
push esi
call fcn.00560340
mov esi, dword [ebp - 0x98]
cmp dword [ebp - 0xa0], 0
jl 0x49b2b4
cmp dword [ebp - 0xb8], edx
jg 0x49b2b4
jl 0x49b19c
cmp dword [ebp - 0xd4], eax
jae 0x49b2b4
cmp dword [ebp - 0xa8], 0
jg 0x49b2b4
jl 0x49b1bb
cmp dword [ebp - 0xa4], 0x4b000
jae 0x49b2b4
mov ecx, dword [ebx + 0x2d0]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
cmp eax, esi
jl 0x49b2b4
push dword [ebp - 0xa0]
call fcn.004a4b10
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x49b2b4
cmp dword [eax + 0x238], 0
jne 0x49b2b4
cmp byte [eax + 0x38], 0
jne 0x49b2b4
cmp dword [ebx + 0x610], 0
je 0x49b2a2
lea esi, [ebx + 0x628]
mov ecx, esi
mov dword [ebp - 0xb4], esi
call fcn.0053a750
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x9c]
mov eax, dword [ecx + 4]
mov dword [ebp - 0xe0], eax
mov eax, dword [ecx + 8]
lea ecx, [ebp - 0xe0]
mov dword [ebp - 0xdc], eax
lea eax, [ebp - 0x8c]
push eax
call fcn.0045022a
mov ecx, eax
mov byte [ebp - 4], 5
cmp dword [ecx + 0x14], 8
mov eax, dword [ebp - 0x9c]
movzx edx, word [eax + 0xc]
jb 0x49b268
mov ecx, dword [ecx]
push dword [eax]
push edx
push ecx
push str.__s:_d__d_
push str.remove_slow_source
push dword [ebx + 0x610]
call fcn.005341e9
add esp, 0x18
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
push 0
push 1
call fcn.00401d04
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.0053a760
push dword [ebp - 0xa0]
mov ecx, dword [ebx + 0x2d0]
push ebx
call fcn.004a4b35
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.0053a760
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd0]
call fcn.0042c4d6
call fcn.0056355e
ret