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

Disassembly:
push 0xd4
mov eax, 0x57608a
call fcn.00561213
mov ebx, ecx
mov dword [ebp - 0xac], ebx
cmp byte [ebx + 0x328], 0
je 0x49b7eb
mov eax, dword [ebx + 0x4c8]
mov dword [ebx + 0x2f8], eax
mov eax, dword [ebx + 0x4cc]
mov dword [ebx + 0x2fc], eax
jmp 0x49c0a8
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [ebx + 0x2e4]
mov dword [ebp - 0xb4], eax
cmp eax, 0x64
jb 0x49c0a8
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 0x49b881
cmp eax, 0x14
je 0x49b881
test eax, eax
je 0x49b87d
cmp eax, 3
je 0x49b87d
cmp eax, 0x15
jne 0x49b88a
push 6
jmp 0x49b883
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 0x49bbd1
mov ecx, dword [ebx + 0x2d0]
push edx
call fcn.004a5740
mov esi, eax
test esi, esi
je 0x49bba1
cmp dword [esi + 0x40], 3
je 0x49b8fa
mov eax, dword [ebp - 0xdc]
cmp eax, edi
jge 0x49bba1
inc eax
mov dword [ebp - 0xdc], eax
mov ecx, esi
call fcn.004a7bf5
push esi
mov ecx, ebx
call fcn.0049d93e
xor ecx, ecx
mov dword [ebp - 0x54], 7
xor eax, eax
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], ecx
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 0x49b9a5
push 0xffffffffffffffff
push 0
push eax
call fcn.00401f92
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 0x49ba68
push 0
push 0x3e8
push dword [esi + 0x204]
push dword [esi + 0x200]
call fcn.0055dfc0
push 0
push dword [ebp - 0x94]
push edx
push eax
call fcn.0055df10
add dword [ebp - 0xc0], eax
mov dword [ebp - 0x24], eax
adc dword [ebp - 0xbc], edx
cmp byte [ebp - 0x8d], 0xff
mov dword [ebp - 0x20], edx
je 0x49ba70
add dword [ebp - 0xa4], eax
mov al, byte [ebx + 0x1a2]
adc dword [ebp - 0xa8], edx
test al, al
je 0x49ba70
cmp dword [ebp - 0x94], 0xbb8
jbe 0x49ba70
cmp dword [ebp - 0xa0], 0
jl 0x49ba4b
mov eax, dword [ebp - 0xb8]
cmp dword [ebp - 0x28], eax
jg 0x49ba70
jl 0x49ba4b
cmp edi, dword [ebp - 0xd4]
jae 0x49ba70
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 0x49ba70
and dword [ebp - 0x24], 0
and dword [ebp - 0x20], 0
mov ecx, esi
call fcn.004a7d7e
test al, al
jne 0x49ba8d
lea eax, [ebp - 0x74]
push eax
lea ecx, [ebp - 0xd0]
call fcn.004a0f62
mov edi, dword [ebp - 0x2c]
cmp dword [ebp - 0x28], 0
jg 0x49ba9f
jl 0x49ba99
test edi, edi
jne 0x49ba9f
cmp byte [esi + 0x38], 0
jne 0x49bacc
push dword [ebp - 0x74]
mov ecx, dword [ebx + 0x680]
call fcn.004a6158
mov ecx, eax
test ecx, ecx
je 0x49bacc
cmp dword [ecx + 0x18], 0xffffffff
jne 0x49babc
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.004a6158
mov ecx, eax
test ecx, ecx
je 0x49bb08
cmp dword [ecx + 0x10], 0xffffffff
mov edx, dword [ebp - 0x94]
jne 0x49baf8
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.004a7d7e
test al, al
jne 0x49bb2b
push dword [ebp - 0x74]
mov ecx, dword [ebx + 0x680]
call fcn.004a6158
test eax, eax
je 0x49bb2b
inc dword [eax + 0x2c]
mov edi, dword [ebp - 0x2c]
xor edx, edx
cmp dword [esi + 0x238], edx
je 0x49bb7e
mov ecx, esi
call fcn.004a7d7e
test al, al
jne 0x49bb76
cmp dword [ebp - 0x28], edx
jg 0x49bb59
jl 0x49bb4b
cmp edi, edx
ja 0x49bb59
mov ecx, esi
call fcn.004a7ccb
mov edi, dword [ebp - 0x2c]
test al, al
jne 0x49bb65
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.0053421c
mov edi, dword [ebp - 0x2c]
xor edx, edx
cmp dword [esi + 0x238], edx
jne 0x49bb93
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.00401d84
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 0x49b8c9
mov esi, dword [ebp - 0xd0]
lea edi, [ebx + 0x570]
mov ecx, edi
mov dword [ebp - 0x94], edi
call fcn.005383c0
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 0x49bc3e
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.0055dfc0
push 0
push dword [ebp - 0xb4]
push edx
push eax
call fcn.0055df10
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.0055dfc0
push 0
push dword [ebp - 0xb4]
push edx
push eax
call fcn.0055df10
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.0053421c
push dword [ebp - 0xb0]
lea ecx, [ebx + 0x360]
push dword [ebp - 0xc4]
call fcn.0053421c
mov esi, dword [ebp - 0x9c]
sub esi, dword [ebx + 0x4b8]
sub esi, dword [ebx + 0x4b0]
je 0x49bdc8
push 0
push 0x3e8
push dword [ebx + 0x4c4]
push dword [ebx + 0x4c0]
call fcn.0055dfc0
push 0
push esi
push edx
push eax
call fcn.0055df10
push 0
push 0x3e8
push dword [ebx + 0x4e4]
mov dword [ebx + 0x4c8], eax
push dword [ebx + 0x4e0]
mov dword [ebx + 0x4cc], edx
call fcn.0055dfc0
push 0
push esi
push edx
push eax
call fcn.0055df10
push 0
push 0x3e8
push dword [ebx + 0x514]
mov dword [ebx + 0x4f8], eax
push dword [ebx + 0x510]
mov dword [ebx + 0x4fc], edx
call fcn.0055dfc0
push 0
push esi
push edx
push eax
call fcn.0055df10
mov dword [ebx + 0x518], eax
mov dword [ebx + 0x51c], edx
jmp 0x49bdf8
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.0053421c
mov ecx, dword [ebx + 0x5fc]
call fcn.00534287
cmp edx, dword [ebx + 0x504]
jl 0x49be38
jg 0x49be2c
cmp eax, dword [ebx + 0x500]
jbe 0x49be38
mov dword [ebx + 0x500], eax
mov dword [ebx + 0x504], edx
cmp edx, dword [ebx + 0x50c]
jg 0x49be56
jl 0x49be4a
cmp eax, dword [ebx + 0x508]
jae 0x49be56
mov dword [ebx + 0x508], eax
mov dword [ebx + 0x50c], edx
cmp dword [ebx + 0x4f4], 0
jg 0x49be70
jl 0x49be6a
cmp dword [ebx + 0x4f0], 0x1e
jae 0x49be70
inc dword [ebx + 0x690]
mov esi, dword [ebx + 0x2fc]
mov edx, dword [ebx + 0x2f8]
test esi, esi
jl 0x49beb3
jg 0x49be86
test edx, edx
je 0x49beb3
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.0055df10
mov dword [ebx + 0x4a8], eax
mov dword [ebx + 0x4ac], edx
cmp dword [ebx + 0x610], 0
je 0x49bf18
lea esi, [ebx + 0x628]
mov ecx, esi
mov dword [ebp - 0x9c], esi
call fcn.005383c0
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.00532424
add esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esi
call fcn.005383d0
mov esi, dword [ebp - 0x98]
xor edx, edx
mov eax, 0x2800
test esi, esi
jle 0x49bf57
push edx
push 2
push dword [ebp - 0xa8]
push dword [ebp - 0xa4]
call fcn.0055df10
mov esi, eax
mov ecx, edx
mov eax, dword [ebp - 0x98]
cdq
push edx
push eax
push ecx
push esi
call fcn.0055df10
mov esi, dword [ebp - 0x98]
cmp dword [ebp - 0xa0], 0
jl 0x49c092
cmp dword [ebp - 0xb8], edx
jg 0x49c092
jl 0x49bf7e
cmp dword [ebp - 0xd4], eax
jae 0x49c092
cmp dword [ebp - 0xa8], 0
jg 0x49c092
jl 0x49bf9d
cmp dword [ebp - 0xa4], 0x4b000
jae 0x49c092
mov ecx, dword [ebx + 0x2d0]
mov eax, dword [ecx + 0x10]
sub eax, dword [ecx + 0xc]
sar eax, 2
cmp eax, esi
jl 0x49c092
push dword [ebp - 0xa0]
call fcn.004a5740
mov dword [ebp - 0x9c], eax
test eax, eax
je 0x49c092
cmp dword [eax + 0x238], 0
jne 0x49c092
cmp byte [eax + 0x38], 0
jne 0x49c092
cmp dword [ebx + 0x610], 0
je 0x49c080
lea esi, [ebx + 0x628]
mov ecx, esi
mov dword [ebp - 0xb4], esi
call fcn.005383c0
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.00450e8b
mov ecx, eax
mov byte [ebp - 4], 5
cmp dword [ecx + 0x14], 8
mov eax, dword [ebp - 0x9c]
movzx edx, word [eax + 0xc]
jb 0x49c04a
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.00532424
add esp, 0x18
lea ecx, [ebp - 0x8c]
push 0
push 1
call fcn.00401d84
mov ecx, esi
mov byte [ebp - 4], 2
call fcn.005383d0
push dword [ebp - 0xa0]
mov ecx, dword [ebx + 0x2d0]
push ebx
call fcn.004a5765
mov ecx, edi
mov byte [ebp - 4], 0
call fcn.005383d0
lea ecx, [ebp - 0xd0]
call fcn.0042d2dd
call fcn.005611c2
ret