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

Disassembly:
push 0x3b4
mov eax, 0x527e43
call fcn.004e41bf
mov ebx, ecx
mov al, byte [ebp + 8]
mov byte [ebp - 0x376], al
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push 0x200
mov dword [ebp - 0x388], eax
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.004fce20
and dword [ebp - 0x37c], 0
lea edx, [ebp - 0x37c]
add esp, 0xc
lea ecx, [ebp - 0x374]
call fcn.0042c339
and dword [ebp - 4], 0
lea ecx, [ebp - 0x35c]
mov edi, 0x56204c
push edi
call fcn.00409c00
mov byte [ebp - 4], 1
movss xmm0, dword [0x562ad8]
comiss xmm0, dword [ebp - 0x37c]
seta byte [ebp - 0x375]
call fcn.0042ef2e
test al, al
je 0x406fa8
mov esi, str.test
push esi
call fcn.00402c84
pop ecx
push eax
push esi
lea ecx, [ebp - 0x35c]
call fcn.0040c4f2
cmp byte [ebp - 0x375], 0
mov eax, str.package_type5
cmove eax, edi
push eax
push dword [ebx + 0x18]
push dword [ebx + 0x10]
push dword [ebx + 0x1c]
push str.http:__update.tenorshare.com_queryDownloader_LanguageId_dSoftWareID_dSiteID_d_s
jmp 0x40703d
mov eax, dword [ebx + 0x18]
cmp eax, 0x76
je 0x407006
cmp eax, 0x7f
je 0x407006
cmp eax, 0x85
je 0x407006
cmp eax, 0x36
je 0x407006
cmp eax, 0x5d
je 0x407006
cmp eax, 0x122
je 0x407006
mov esi, 0x55a058
push esi
call fcn.00402c84
pop ecx
push eax
push esi
lea ecx, [ebp - 0x35c]
call fcn.0040c4f2
cmp byte [ebp - 0x375], 0
mov eax, str.package_type5
cmove eax, edi
push eax
push dword [ebx + 0x18]
push dword [ebx + 0x10]
push dword [ebx + 0x1c]
push str.https:__update.tenorshare.com_queryDownloader_LanguageId_dSoftWareID_dSiteID_d_s
jmp 0x40703d
mov esi, 0x559fe0
push esi
call fcn.00402c84
pop ecx
push eax
push esi
lea ecx, [ebp - 0x35c]
call fcn.0040c4f2
cmp byte [ebp - 0x375], 0
mov eax, str.package_type5
cmove eax, edi
push eax
push dword [ebx + 0x18]
push dword [ebx + 0x10]
push dword [ebx + 0x1c]
push str.https:__update.tenorshare.cn_queryDownloader_LanguageId_dSoftWareID_dSiteID_d_s
lea eax, [ebp - 0x210]
push eax
call fcn.00402b87
add esp, 0x18
lea eax, [ebp - 0x210]
push eax
call fcn.00402c84
pop ecx
push eax
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebx + 0x13c]
call fcn.0040c4f2
push edi
lea ecx, [ebp - 0x32c]
call fcn.00409c00
push 4
mov byte [ebp - 4], 2
call fcn.004e3709
mov edi, eax
xor esi, esi
mov dword [ebp - 0x380], edi
mov dword [edi], esi
call sym.Setup.exe_curl_easy_init
mov dword [edi], eax
mov ecx, edi
lea eax, [ebp - 0x32c]
push eax
lea eax, [ebp - 0x210]
push eax
call fcn.0041841a
mov dword [ebp - 0x384], eax
mov ecx, str.Other
cmp eax, 6
jne 0x4070c3
push esi
push str.DL003
jmp 0x4070ce
cmp eax, 0x1c
jne 0x4070e0
push esi
push str.DL002
push str.FlowError
push ecx
call fcn.004319f3
mov ecx, eax
call fcn.00431a4f
mov eax, dword [ebp - 0x31c]
push ecx
push ecx
push str.int___thiscall_CConfigure::getDownloadInfoXml_bool_
push 0x59
push str........._srcCConfigure.cpp
push 0x80
lea ecx, [ebp - 0x3c0]
mov dword [ebp - 0x380], eax
call fcn.004064ae
push str.default
push 1
push eax
mov byte [ebp - 4], 3
call fcn.00406541
mov esi, eax
add esp, 0xc
cmp byte [esi + 0x1c], 0
je 0x407133
push str._GetCbsInfo_New_interface_
lea ecx, [esi + 0x20]
call fcn.004063d6
lea eax, [ebp - 0x35c]
mov ecx, esi
push eax
call fcn.0040ee6c
mov esi, eax
cmp byte [esi + 0x1c], 0
je 0x4071a5
push 0x55a170
lea ecx, [esi + 0x20]
call fcn.004063d6
cmp byte [esi + 0x1c], 0
je 0x4071a5
lea eax, [ebp - 0x384]
push eax
lea ecx, [esi + 0x20]
call fcn.0040f645
cmp byte [esi + 0x1c], 0
je 0x4071a5
push 0x559e7c
lea ecx, [esi + 0x20]
call fcn.004063d6
cmp byte [esi + 0x1c], 0
je 0x4071a5
push dword [ebp - 0x380]
lea ecx, [esi + 0x20]
call fcn.00406345
cmp byte [esi + 0x1c], 0
je 0x4071a5
push 0x559e7c
lea ecx, [esi + 0x20]
call fcn.004063d6
lea eax, [ebp - 0x374]
mov ecx, esi
push eax
call fcn.0040ee6c
mov esi, eax
cmp byte [esi + 0x1c], 0
je 0x4071de
push 0x559e7c
lea ecx, [esi + 0x20]
call fcn.004063d6
cmp byte [esi + 0x1c], 0
je 0x4071de
movss xmm1, dword [ebp - 0x37c]
lea ecx, [esi + 0x20]
call fcn.00406390
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x3c0]
mov dword [ebp - method.el::base::Writer.virtual_0], vtable.el::base::Writer.0
call fcn.004067a0
lea ecx, [ebp - 0x394]
call fcn.00409800
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
sub eax, dword [ebp - 0x388]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x562b20]
divsd xmm0, qword [0x562ac0]
call fcn.004e45e1
push 0x104
mov esi, eax
lea eax, [ebp - 0x314]
push 0
push eax
call fcn.004fce20
push esi
lea eax, [ebp - 0x314]
push 0x55a174
push eax
call fcn.0040eed3
add esp, 0x18
lea eax, [ebp - 0x314]
cmp byte [ebp - 0x376], 0
mov ecx, str.AsyncGetCbsTime
push 0
push eax
mov eax, str.SyncGetCbsTime
cmove eax, ecx
push eax
push str.Other
call fcn.004319f3
mov ecx, eax
call fcn.00431a4f
push ecx
mov ecx, edi
call fcn.00407382
mov esi, str._Downloader_
push esi
call fcn.00402c84
pop ecx
push eax
push 0
push esi
lea ecx, [ebp - 0x32c]
call fcn.0040c054
mov esi, eax
cmp esi, 0xffffffff
je 0x40734a
mov edi, str.__Downloader_
push edi
call fcn.00402c84
pop ecx
push eax
lea eax, [esi + 0xc]
push eax
push edi
lea ecx, [ebp - 0x32c]
call fcn.0040c054
cmp eax, 0xffffffff
je 0x40734a
sub eax, esi
lea ecx, [ebp - 0x32c]
add eax, 0xd
push eax
push esi
lea eax, [ebp - 0x344]
push eax
call fcn.004099c9
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x334]
lea esi, [edi + 1]
push esi
call fcn.004e3d16
push esi
push 0
push eax
mov dword [ebx + 0x154], eax
call fcn.004fce20
cmp dword [ebp - 0x330], 0x10
lea eax, [ebp - 0x344]
push edi
cmovae eax, dword [ebp - 0x344]
push eax
push dword [ebx + 0x154]
call fcn.00503a50
add esp, 0x1c
lea ecx, [ebp - 0x344]
push 0
push 1
call fcn.0040bfcb
push 0
push 1
lea ecx, [ebp - 0x32c]
call fcn.0040bfcb
push 0
push 1
lea ecx, [ebp - 0x35c]
call fcn.0040bfcb
push 0
push 1
lea ecx, [ebp - 0x374]
call fcn.0040bfcb
xor eax, eax
inc eax
call fcn.004e4169
ret 4