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

Disassembly:
push 0x44
mov eax, 0x5787de
call fcn.0056357c
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebx + 0x4b0], 0
jne 0x49a245
xor ecx, ecx
inc ecx
test eax, eax
cmovne ecx, eax
mov dword [ebx + 0x4b0], ecx
lea esi, [ebx + 0x570]
mov ecx, esi
mov dword [ebp - 0x24], esi
call fcn.0053a750
and dword [ebp - 4], 0
mov eax, dword [ebx + 0x3b8]
or eax, dword [ebx + 0x3bc]
jne 0x49a278
call fcn.00536568
mov dword [ebx + 0x3b8], eax
mov dword [ebx + 0x3bc], edx
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0053a760
mov eax, dword [ebx + 0x2d0]
push 0x14
mov ecx, dword [eax + 4]
sub ecx, dword [eax]
sar ecx, 2
mov dword [ebp - 0x28], ecx
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0x58c]
sar ecx, 2
mov dword [ebp - 0x14], ecx
pop ecx
mov esi, dword [eax + 0xb8]
mov eax, dword [ebx + 0x324]
cmp eax, 0x10
je 0x49a2be
cmp eax, ecx
jne 0x49a2c1
push 8
pop esi
cmp dword [ebx + 0x150], 0
jne 0x49a351
mov eax, dword [ebx + 0x324]
cmp eax, 3
je 0x49a2dd
test eax, eax
jne 0x49a351
mov ecx, dword [ebx + 0x154]
lea eax, [ecx - 0xd]
cmp eax, 1
ja 0x49a351
mov eax, dword [ebx + 0x158]
push ecx
push 0x596aec
push ebx
mov dword [ebx + 0x330], ecx
mov dword [ebx + 0x334], eax
mov byte [ebx + 0x320], 1
mov dword [ebx + 0x32c], 5
call fcn.00499ece
add esp, 0xc
mov ecx, ebx
call fcn.0049d7c1
cmp byte [ebx + 0x381], 0
je 0x49a334
mov byte [ebx + 0x381], 0
mov eax, dword [ebx + 0x338]
test eax, eax
jle 0x49a345
dec eax
mov dword [ebx + 0x338], eax
and dword [ebx + 0x154], 0
jmp 0x49a9c0
lea edi, [ebx + 0x170]
cmp dword [edi], 0
jne 0x49a3a5
mov ecx, ebx
call fcn.0049df77
test al, al
jne 0x49a3a5
mov eax, dword [ebx + 0x324]
cmp eax, 3
je 0x49a396
cmp eax, 0x10
je 0x49a396
push 0x14
pop ecx
cmp eax, ecx
je 0x49a396
test eax, eax
je 0x49a396
cmp eax, 0x15
je 0x49a396
mov dword [ebx + 0x174], 0x9c4
jmp 0x49a508
mov dword [ebx + 0x174], 0x320
jmp 0x49a508
mov ecx, edi
call fcn.00441a43
test al, al
je 0x49a527
xor ecx, ecx
cmp dword [ebx + 0x150], ecx
je 0x49a4ab
mov eax, dword [ebx + 0x318]
mov dword [ebx + 0x150], ecx
sub eax, ecx
je 0x49a3f1
dec eax
je 0x49a3e4
dec eax
je 0x49a3dd
push 0xfffffffffffffffe
pop eax
jmp 0x49a3f4
mov eax, 0xffff
jmp 0x49a3f4
lea ecx, [ebx + 0x148]
call fcn.004969bb
jmp 0x49a3f4
or eax, 0xffffffff
push eax
push dword [ebx + 0x15c]
push 0x596c60
push ebx
call fcn.00499ece
add esp, 0x10
cmp dword [ebx + 0x160], 7
jg 0x49a527
mov ecx, ebx
call fcn.0049df77
test al, al
jne 0x49a527
cmp byte [ebx + 0x18f], al
jne 0x49a527
mov edx, dword [ebx + 0x160]
mov ecx, 0x9c4
cmp edx, 2
jne 0x49a466
mov eax, dword [ebx + 0x324]
cmp eax, 3
je 0x49a45f
cmp eax, 0x10
je 0x49a45f
cmp eax, 0x14
je 0x49a45f
test eax, eax
je 0x49a45f
cmp eax, 0x15
jne 0x49a466
mov ecx, 0x3e8
jmp 0x49a48f
cmp edx, 3
jne 0x49a48f
mov eax, dword [ebx + 0x324]
cmp eax, edx
je 0x49a48a
cmp eax, 0x10
je 0x49a48a
push 0x14
pop edx
cmp eax, edx
je 0x49a48a
test eax, eax
je 0x49a48a
cmp eax, 0x15
jne 0x49a48f
mov ecx, 0x960
mov dword [ebx + 0x174], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi], eax
test eax, eax
jne 0x49a4a7
mov dword [edi], 1
push 1
jmp 0x49a51c
mov ecx, ebx
call fcn.0049df77
test al, al
jne 0x49a527
mov ecx, dword [ebx + 0x2d0]
push 0x14
mov eax, dword [ecx + 0x1c]
sub eax, dword [ecx + 0x18]
cdq
pop ecx
idiv ecx
test eax, eax
jne 0x49a527
mov ecx, dword [ebp - 0x14]
cmp ecx, esi
jge 0x49a52a
cmp byte [ebx + 0x18f], al
jne 0x49a52a
mov edx, dword [ebx + 0x160]
cmp edx, 7
jge 0x49a52a
mov eax, dword [ebx + 0x58c]
mov ecx, dword [eax + 0xbc]
mov eax, dword [ebx + 0x15c]
sub eax, edx
cmp eax, ecx
jge 0x49a527
mov dword [ebx + 0x174], 0x1388
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi], eax
test eax, eax
jne 0x49a51a
mov dword [edi], 1
push 0
lea ecx, [ebx + 0x148]
call fcn.00495b6d
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x32c]
cmp eax, 2
je 0x49a53e
cmp eax, 3
jne 0x49a81c
cmp ecx, esi
jge 0x49a81c
mov ecx, ebx
call fcn.0049df77
test al, al
jne 0x49a81c
and dword [ebp - 0x24], 0
mov edi, esi
sub edi, dword [ebp - 0x14]
imul eax, edi, 5
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
test edi, edi
jle 0x49a59f
cmp dword [ebp - 0x28], 0
jle 0x49a59f
mov ecx, dword [ebx + 0x2d0]
lea eax, [ebp - 0x1c]
push eax
call fcn.004a4d5f
mov edi, dword [ebp - 0x1c]
sub esi, edi
sub esi, dword [ebp - 0x14]
add dword [ebx + 0x548], esi
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], edi
test edi, edi
je 0x49a9c0
lea esi, [ebx + 0x2d4]
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x49a67b
mov ecx, dword [ebx + 0x2d0]
call fcn.004a4deb
test eax, eax
setg dl
xor ecx, ecx
mov byte [ebp - 0xd], dl
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x18], ecx
jle 0x49a64b
mov edi, dword [ebp - 0x18]
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 2
cmp ecx, eax
jae 0x49a645
mov eax, dword [esi]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x49a63d
test dl, dl
je 0x49a5fe
lea ecx, [eax + 0x254]
call fcn.00472947
test al, al
je 0x49a637
mov eax, dword [ebp - 0x18]
dec edi
inc dword [ebx + 0x534]
mov cl, byte [eax + 0xe]
cmp cl, 1
jbe 0x49a61a
cmp cl, 4
ja 0x49a620
inc dword [ebx + 0x53c]
jmp 0x49a620
inc dword [ebx + 0x538]
mov ecx, dword [ebx + 0x2d0]
push eax
call fcn.004a49cf
mov eax, dword [esi]
mov ecx, dword [ebp - 0x1c]
and dword [eax + ecx*4], 0
jmp 0x49a63a
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ebp - 0xd]
inc ecx
mov dword [ebp - 0x1c], ecx
test edi, edi
jg 0x49a5d0
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x20]
mov esi, dword [ebx + 0x2d8]
lea edx, [ebp - 0x20]
and dword [ebp - 0x20], 0
lea ecx, [ebp - 0x30]
push esi
push dword [ebx + 0x2d4]
call fcn.004843a1
pop ecx
pop ecx
push esi
push dword [eax]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebx + 0x2d4]
call fcn.004123fe
imul eax, edi, 3
cmp dword [ebp - 0x24], eax
jge 0x49a816
mov ecx, dword [ebx + 0x2d0]
push 0x14
pop esi
mov eax, dword [ecx + 0x1c]
sub eax, dword [ecx + 0x18]
cdq
idiv esi
test eax, eax
jle 0x49a816
mov eax, dword [ebx + 0x590]
mov edx, 0x71004001
mov esi, 0x70000003
mov al, byte [eax + 0x255]
test al, al
cmovne edx, esi
mov dword [ebp - 0x1c], edx
jmp 0x49a7a9
cmp dword [ebp - 0x18], 0
jle 0x49a7bd
mov ecx, dword [ebx + 0x2d0]
push 0x14
pop esi
mov dword [ebp - 0x24], ecx
mov eax, dword [ecx + 0x1c]
sub eax, dword [ecx + 0x18]
cdq
idiv esi
test eax, eax
je 0x49a7a3
mov eax, dword [ecx + 0x18]
lea edi, [ebp - 0x4c]
mov ecx, dword [eax]
lea esi, [eax + 4]
mov dword [ebp - 0x50], ecx
lea edx, [eax + 0x14]
mov ecx, dword [ebp - 0x24]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ecx + 0x1c]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x20], ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp edx, ecx
je 0x49a72f
mov ebx, dword [ebp - 0x20]
lea ecx, [edx + 4]
mov eax, dword [edx]
lea edi, [ecx - 0x14]
mov dword [ecx - 0x18], eax
mov esi, ecx
push 0x14
pop eax
add edx, eax
add ecx, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp edx, ebx
jne 0x49a713
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
lea esi, [ebp - 0x4c]
sub esp, 0x10
mov edi, esp
add dword [eax + 0x1c], 0xffffffec
mov ecx, dword [ebx + 0x2d0]
movsd dword es:[edi], dword [esi]
push 0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004a4944
test al, al
je 0x49a7a3
mov esi, dword [ebx + 0x2d0]
mov ecx, esi
push dword [ebp - 0x4c]
call fcn.004a4a25
push eax
mov ecx, esi
call fcn.004a4a58
test eax, eax
je 0x49a781
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x248], ecx
mov ecx, dword [ebp - 0x50]
mov dword [eax + 0x260], ecx
dec dword [ebp - 0x18]
inc dword [ebx + 0x534]
mov al, byte [eax + 0xe]
cmp al, 1
jbe 0x49a79d
cmp al, 4
ja 0x49a7a3
inc dword [ebx + 0x53c]
jmp 0x49a7a3
inc dword [ebx + 0x538]
mov ecx, dword [ebx + 0x2d0]
mov eax, dword [ecx + 0x1c]
sub eax, dword [ecx + 0x18]
push 0x14
cdq
pop ecx
idiv ecx
test eax, eax
jg 0x49a6c4
cmp dword [ebx + 0x610], 0
je 0x49a816
lea esi, [ebx + 0x628]
mov ecx, esi
mov dword [ebp - 0x38], esi
call fcn.0053a750
mov dword [ebp - 4], 1
mov edi, dword [ebx + 0x610]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push dword [ebp - 0x14]
sub eax, dword [edi + 4]
push dword [ebp - 0x28]
push eax
push 0x596268
push str.check_source_count
push dword [ebx + 0x610]
call fcn.005341e9
or dword [ebp - 4], 0xffffffff
add esp, 0x18
mov ecx, esi
call fcn.0053a760
lea edi, [ebx + 0x170]
mov ecx, dword [ebx + 0x2d0]
call fcn.004a4deb
test eax, eax
je 0x49a83a
mov ecx, ebx
call fcn.0049df77
test al, al
je 0x49a9c0
mov eax, dword [ebx + 0x58c]
mov edx, dword [ebx + 0x15c]
mov esi, dword [ebx + 0x160]
mov ecx, dword [eax + 0xbc]
mov eax, edx
sub eax, esi
cmp eax, ecx
jge 0x49a884
cmp esi, 7
jg 0x49a884
test edx, edx
jle 0x49a86d
mov al, byte [ebx + 0x1a2]
test al, al
je 0x49a884
mov ecx, ebx
call fcn.0049df77
test al, al
jne 0x49a884
cmp byte [ebx + 0x18f], al
je 0x49a9c0
cmp dword [ebx + 0x150], 0
jne 0x49a9c0
mov ecx, ebx
call fcn.0049df77
test al, al
je 0x49a8a8
mov dword [ebx + 0x330], 0xc
jmp 0x49a8e7
mov eax, dword [ebx + 0x58c]
mov eax, dword [eax + 0xbc]
cmp dword [ebx + 0x15c], eax
jl 0x49a8c8
mov dword [ebx + 0x330], 1
jmp 0x49a8e7
cmp dword [ebx + 0x160], 4
jl 0x49a8dd
mov dword [ebx + 0x330], 2
jmp 0x49a8e7
mov dword [ebx + 0x330], 3
cmp byte [ebx + 0x2e0], 0
jne 0x49a957
cmp dword [ebx + 0x610], 0
je 0x49a957
lea esi, [ebx + 0x628]
mov ecx, esi
mov dword [ebp - 0x3c], esi
call fcn.0053a750
mov dword [ebp - 4], 2
mov eax, dword [ebx + 0x58c]
mov dl, byte [eax + 0x115]
movzx eax, byte [ebx + 0x14c]
push eax
push dword [ebx + 0x15c]
movzx eax, dl
push dword [ebx + 0x160]
push eax
push str.IsCloudDownEnabled:_d__seafileManager_.GetSeafile__.timeOutCount:_d__seafileManager_.GetSeafile__.count:_d__seafileManager_.GetSeaFileLessThan50__:_d
push 0x596c44
push dword [ebx + 0x610]
call fcn.005341e9
or dword [ebp - 4], 0xffffffff
add esp, 0x1c
mov ecx, esi
call fcn.0053a760
push dword [ebx + 0x330]
mov byte [ebx + 0x320], 1
push 0x596aec
push ebx
mov dword [ebx + 0x32c], 5
call fcn.00499ece
add esp, 0xc
mov ecx, ebx
call fcn.0049d7c1
mov dword [ebx + 0x174], 0x493e0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi], eax
test eax, eax
jne 0x49a99f
mov dword [edi], 1
cmp byte [ebx + 0x381], 0
je 0x49a9af
mov byte [ebx + 0x381], 0
mov eax, dword [ebx + 0x338]
test eax, eax
jle 0x49a9c0
dec eax
mov dword [ebx + 0x338], eax
call fcn.0056354a
ret