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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60e57e
mov eax, dword fs:[0]
push eax
sub esp, 0x438
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x348], ecx
call fcn.004d7c50
mov dword [ebp - 0x354], eax
mov byte [ebp - 0x349], 0
mov byte [ebp - 0x314], 0
push 0x1ff
push 0
lea eax, [ebp - 0x313]
push eax
call fcn.005e3180
add esp, 0xc
call fcn.004da8e0
movzx ecx, al
test ecx, ecx
je 0x4879c0
mov byte [ebp - 0x349], 1
cmp dword [ebp - 0x354], 0
je 0x487978
mov dword [ebp - 0x360], 0x680a90
jmp 0x487982
mov dword [ebp - 0x360], 0x6761ef
mov edx, dword [ebp - 0x360]
push edx
mov eax, dword [ebp - 0x348]
mov ecx, dword [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x348]
mov eax, dword [edx + 0x10]
push eax
mov ecx, dword [ebp - 0x348]
mov edx, dword [ecx + 0x1c]
push edx
push str.http:__update.tenorshare.com_queryDownloader_LanguageId_dSoftWareID_dSiteID_d_s
lea eax, [ebp - 0x314]
push eax
call fcn.0047f4b0
add esp, 0x18
jmp 0x487ace
mov ecx, dword [ebp - 0x348]
cmp dword [ecx + 0x18], 0x76
je 0x487a0e
mov edx, dword [ebp - 0x348]
cmp dword [edx + 0x18], 0x7f
je 0x487a0e
mov eax, dword [ebp - 0x348]
cmp dword [eax + 0x18], 0x85
je 0x487a0e
mov ecx, dword [ebp - 0x348]
cmp dword [ecx + 0x18], 0x36
je 0x487a0e
mov edx, dword [ebp - 0x348]
cmp dword [edx + 0x18], 0x5d
je 0x487a0e
mov eax, dword [ebp - 0x348]
cmp dword [eax + 0x18], 0x122
jne 0x487a6f
mov byte [ebp - 0x349], 1
cmp dword [ebp - 0x354], 0
je 0x487a2a
mov dword [ebp - 0x364], 0x680aa4
jmp 0x487a34
mov dword [ebp - 0x364], 0x676236
mov ecx, dword [ebp - 0x364]
push ecx
mov edx, dword [ebp - 0x348]
mov eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x348]
mov edx, dword [ecx + 0x10]
push edx
mov eax, dword [ebp - 0x348]
mov ecx, dword [eax + 0x1c]
push ecx
push str.https:__update.tenorshare.cn_queryDownloader_LanguageId_dSoftWareID_dSiteID_d_s
lea edx, [ebp - 0x314]
push edx
call fcn.0047f4b0
add esp, 0x18
jmp 0x487ace
mov byte [ebp - 0x349], 0
cmp dword [ebp - 0x354], 0
je 0x487a8b
mov dword [ebp - 0x368], 0x680b40
jmp 0x487a95
mov dword [ebp - 0x368], 0x676237
mov eax, dword [ebp - 0x368]
push eax
mov ecx, dword [ebp - 0x348]
mov edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp - 0x348]
mov ecx, dword [eax + 0x10]
push ecx
mov edx, dword [ebp - 0x348]
mov eax, dword [edx + 0x1c]
push eax
push str.https:__update.tenorshare.com_queryDownloader_LanguageId_dSoftWareID_dSiteID_d_s
lea ecx, [ebp - 0x314]
push ecx
call fcn.0047f4b0
add esp, 0x18
push 0x67627a
lea ecx, [ebp - 0x32c]
call fcn.0047c100
mov dword [ebp - 4], 0
push 4
call fcn.005c9a55
add esp, 4
mov dword [ebp - 0x38c], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x38c]
call fcn.004875d0
mov dword [ebp - 0x36c], eax
jmp 0x487b16
mov edx, dword [ebp - 0x36c]
mov dword [ebp - 0x3d0], edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3d0]
mov dword [ebp - 0x358], eax
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x487b46
mov dword [ebp - 0x370], 0x680c3c
jmp 0x487b50
mov dword [ebp - 0x370], 0x680c34
mov edx, dword [ebp - 0x370]
mov dword [ebp - 0x3b4], edx
push 0
push 2
push 0x680ab4
push 0x4c
push 0x680c14
push 0x80
lea ecx, [ebp - 0x40c]
call fcn.00486a40
mov dword [ebp - 0x3cc], eax
mov eax, dword [ebp - 0x3cc]
mov dword [ebp - 0x3c8], eax
mov byte [ebp - 4], 2
push str._...
lea ecx, [ebp - 0x3b4]
push ecx
push 0x680c00
mov edx, dword [0x6c7aac]
push edx
push 1
mov eax, dword [ebp - 0x3c8]
push eax
call fcn.00486b20
add esp, 0xc
mov ecx, eax
call fcn.0049bd50
mov ecx, eax
call fcn.0049bdb0
mov ecx, eax
call fcn.0049bd50
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40c]
call fcn.00486ac0
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 0x394], eax
push 0
lea ecx, [ebp - 0x32c]
push ecx
lea edx, [ebp - 0x314]
push edx
mov ecx, dword [ebp - 0x358]
call fcn.004b1070
mov dword [ebp - 0x39c], eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [ebp - 0x390], eax
mov eax, dword [ebp - 0x390]
sub eax, dword [ebp - 0x394]
mov dword [ebp - 0x374], eax
cvtsi2sd xmm0, dword [ebp - 0x374]
mov ecx, dword [ebp - 0x374]
shr ecx, 0x1f
addsd xmm0, qword [ecx*8 + 0x6a71a0]
divsd xmm0, qword [0x6a7120]
call fcn.005ca621
mov dword [ebp - 0x3ac], eax
movzx edx, byte [ebp - 0x349]
test edx, edx
je 0x487c6e
mov dword [ebp - 0x378], 0x680cc4
jmp 0x487c78
mov dword [ebp - 0x378], 0x680cdc
mov eax, dword [ebp - 0x378]
mov dword [ebp - 0x3a0], eax
movzx ecx, byte [ebp + 8]
test ecx, ecx
je 0x487c98
mov dword [ebp - 0x37c], str.Sync
jmp 0x487ca2
mov dword [ebp - 0x37c], str.Async
mov edx, dword [ebp - 0x37c]
mov dword [ebp - 0x3a4], edx
push 0
push 2
push str.int___thiscall_CConfigure::getDownloadInfoXml_bool_
push 0x50
push 0x680c94
push 0x80
lea ecx, [ebp - 0x444]
call fcn.00486a40
mov dword [ebp - 0x398], eax
mov eax, dword [ebp - 0x398]
mov dword [ebp - 0x3a8], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x39c]
push ecx
push 0x680cd0
lea edx, [ebp - 0x3a0]
push edx
push 0x680ccc
lea eax, [ebp - 0x3a4]
push eax
push str._GetDownloaderInfo_
mov ecx, dword [0x6c7aac]
push ecx
push 1
mov edx, dword [ebp - 0x3a8]
push edx
call fcn.00486b20
add esp, 0xc
mov ecx, eax
call fcn.0049bd50
mov ecx, eax
call fcn.0049bdb0
mov ecx, eax
call fcn.0049bd50
mov ecx, eax
call fcn.0049be10
mov ecx, eax
call fcn.0049bd50
mov ecx, eax
call fcn.0049be40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x444]
call fcn.00486ac0
mov byte [ebp - 0x114], 0
push 0x103
push 0
lea eax, [ebp - 0x113]
push eax
call fcn.005e3180
add esp, 0xc
mov ecx, dword [ebp - 0x3ac]
push ecx
push 0x680cf4
lea edx, [ebp - 0x114]
push edx
call fcn.0049be70
add esp, 0xc
movzx eax, byte [ebp + 8]
test eax, eax
je 0x487da5
mov dword [ebp - 0x380], str.SyncGetCbsTime
jmp 0x487daf
mov dword [ebp - 0x380], str.AsyncGetCbsTime
push 0
lea ecx, [ebp - 0x114]
push ecx
mov edx, dword [ebp - 0x380]
push edx
push 0x680cf8
call fcn.004dcb80
mov ecx, eax
call fcn.004dcc20
mov eax, dword [ebp - 0x358]
mov dword [ebp - 0x3b0], eax
mov ecx, dword [ebp - 0x3b0]
mov dword [ebp - 0x384], ecx
cmp dword [ebp - 0x384], 0
je 0x487e06
push 1
mov ecx, dword [ebp - 0x384]
call fcn.00487fd0
mov dword [ebp - 0x3d4], eax
jmp 0x487e10
mov dword [ebp - 0x3d4], 0
mov dword [ebp - 0x358], 0
push 0
push 0x680d20
lea ecx, [ebp - 0x32c]
call fcn.0048c2e0
mov dword [ebp - 0x350], eax
cmp dword [ebp - 0x350], 0xffffffff
je 0x487f90
mov edx, dword [ebp - 0x350]
add edx, 0xc
push edx
push 0x680d10
lea ecx, [ebp - 0x32c]
call fcn.0048c2e0
mov dword [ebp - 0x388], eax
cmp dword [ebp - 0x388], 0xffffffff
je 0x487f90
mov eax, dword [ebp - 0x388]
sub eax, dword [ebp - 0x350]
add eax, 0xd
push eax
mov ecx, dword [ebp - 0x350]
push ecx
lea edx, [ebp - 0x344]
push edx
lea ecx, [ebp - 0x32c]
call fcn.0048c260
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x344]
call fcn.0047bfd0
mov dword [ebp - 0x35c], eax
mov eax, dword [ebp - 0x348]
cmp dword [eax + 0x138], 0
je 0x487eea
mov ecx, dword [ebp - 0x348]
mov edx, dword [ecx + 0x138]
mov dword [ebp - 0x3b8], edx
mov eax, dword [ebp - 0x3b8]
push eax
call fcn.005c9b6f
add esp, 4
mov ecx, dword [ebp - 0x348]
mov dword [ecx + 0x138], 0
mov edx, dword [ebp - 0x35c]
add edx, 1
push edx
call fcn.005c9dac
add esp, 4
mov dword [ebp - 0x3bc], eax
mov eax, dword [ebp - 0x348]
mov ecx, dword [ebp - 0x3bc]
mov dword [eax + 0x138], ecx
mov edx, dword [ebp - 0x35c]
add edx, 1
push edx
push 0
mov eax, dword [ebp - 0x348]
mov ecx, dword [eax + 0x138]
push ecx
call fcn.005e3180
add esp, 0xc
mov edx, dword [ebp - 0x35c]
push edx
lea ecx, [ebp - 0x344]
call fcn.0047bff0
push eax
mov eax, dword [ebp - 0x348]
mov ecx, dword [eax + 0x138]
push ecx
call fcn.005eb160
add esp, 0xc
mov dword [ebp - 0x3c0], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x344]
call fcn.0047c030
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x32c]
call fcn.0047c030
mov eax, dword [ebp - 0x3c0]
jmp 0x487fb2
mov dword [ebp - 0x3c4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x32c]
call fcn.0047c030
mov eax, dword [ebp - 0x3c4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c978e
mov esp, ebp
pop ebp
ret 4