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

Disassembly:
push 0x44
mov eax, 0x576030
call fcn.005611e0
mov ebx, ecx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [ebx + 0x4b0], 0
jne 0x49b02d
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.005383c0
and dword [ebp - 4], 0
mov eax, dword [ebx + 0x3b8]
or eax, dword [ebx + 0x3bc]
jne 0x49b060
call fcn.005341c3
mov dword [ebx + 0x3b8], eax
mov dword [ebx + 0x3bc], edx
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.005383d0
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 0x49b0a6
cmp eax, ecx
jne 0x49b0a9
push 8
pop esi
cmp dword [ebx + 0x150], 0
jne 0x49b139
mov eax, dword [ebx + 0x324]
cmp eax, 3
je 0x49b0c5
test eax, eax
jne 0x49b139
mov ecx, dword [ebx + 0x154]
lea eax, [ecx - 0xd]
cmp eax, 1
ja 0x49b139
mov eax, dword [ebx + 0x158]
push ecx
push 0x59333c
push ebx
mov dword [ebx + 0x330], ecx
mov dword [ebx + 0x334], eax
mov byte [ebx + 0x320], 1
mov dword [ebx + 0x32c], 5
call fcn.0049acc8
add esp, 0xc
mov ecx, ebx
call fcn.0049e550
cmp byte [ebx + 0x381], 0
je 0x49b11c
mov byte [ebx + 0x381], 0
mov eax, dword [ebx + 0x338]
test eax, eax
jle 0x49b12d
dec eax
mov dword [ebx + 0x338], eax
and dword [ebx + 0x154], 0
jmp 0x49b7a8
lea edi, [ebx + 0x170]
cmp dword [edi], 0
jne 0x49b18d
mov ecx, ebx
call fcn.0049ed06
test al, al
jne 0x49b18d
mov eax, dword [ebx + 0x324]
cmp eax, 3
je 0x49b17e
cmp eax, 0x10
je 0x49b17e
push 0x14
pop ecx
cmp eax, ecx
je 0x49b17e
test eax, eax
je 0x49b17e
cmp eax, 0x15
je 0x49b17e
mov dword [ebx + 0x174], 0x9c4
jmp 0x49b2f0
mov dword [ebx + 0x174], 0x320
jmp 0x49b2f0
mov ecx, edi
call fcn.00442733
test al, al
je 0x49b30f
xor ecx, ecx
cmp dword [ebx + 0x150], ecx
je 0x49b293
mov eax, dword [ebx + 0x318]
mov dword [ebx + 0x150], ecx
sub eax, ecx
je 0x49b1d9
dec eax
je 0x49b1cc
dec eax
je 0x49b1c5
push 0xfffffffffffffffe
pop eax
jmp 0x49b1dc
mov eax, 0xffff
jmp 0x49b1dc
lea ecx, [ebx + 0x148]
call fcn.0049783c
jmp 0x49b1dc
or eax, 0xffffffff
push eax
push dword [ebx + 0x15c]
push 0x5934b0
push ebx
call fcn.0049acc8
add esp, 0x10
cmp dword [ebx + 0x160], 7
jg 0x49b30f
mov ecx, ebx
call fcn.0049ed06
test al, al
jne 0x49b30f
cmp byte [ebx + 0x18f], al
jne 0x49b30f
mov edx, dword [ebx + 0x160]
mov ecx, 0x9c4
cmp edx, 2
jne 0x49b24e
mov eax, dword [ebx + 0x324]
cmp eax, 3
je 0x49b247
cmp eax, 0x10
je 0x49b247
cmp eax, 0x14
je 0x49b247
test eax, eax
je 0x49b247
cmp eax, 0x15
jne 0x49b24e
mov ecx, 0x3e8
jmp 0x49b277
cmp edx, 3
jne 0x49b277
mov eax, dword [ebx + 0x324]
cmp eax, edx
je 0x49b272
cmp eax, 0x10
je 0x49b272
push 0x14
pop edx
cmp eax, edx
je 0x49b272
test eax, eax
je 0x49b272
cmp eax, 0x15
jne 0x49b277
mov ecx, 0x960
mov dword [ebx + 0x174], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi], eax
test eax, eax
jne 0x49b28f
mov dword [edi], 1
push 1
jmp 0x49b304
mov ecx, ebx
call fcn.0049ed06
test al, al
jne 0x49b30f
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 0x49b30f
mov ecx, dword [ebp - 0x14]
cmp ecx, esi
jge 0x49b312
cmp byte [ebx + 0x18f], al
jne 0x49b312
mov edx, dword [ebx + 0x160]
cmp edx, 7
jge 0x49b312
mov eax, dword [ebx + 0x58c]
mov ecx, dword [eax + 0xbc]
mov eax, dword [ebx + 0x15c]
sub eax, edx
cmp eax, ecx
jge 0x49b30f
mov dword [ebx + 0x174], 0x1388
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi], eax
test eax, eax
jne 0x49b302
mov dword [edi], 1
push 0
lea ecx, [ebx + 0x148]
call fcn.004969f2
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebx + 0x32c]
cmp eax, 2
je 0x49b326
cmp eax, 3
jne 0x49b604
cmp ecx, esi
jge 0x49b604
mov ecx, ebx
call fcn.0049ed06
test al, al
jne 0x49b604
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 0x49b387
cmp dword [ebp - 0x28], 0
jle 0x49b387
mov ecx, dword [ebx + 0x2d0]
lea eax, [ebp - 0x1c]
push eax
call fcn.004a598f
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 0x49b7a8
lea esi, [ebx + 0x2d4]
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x49b463
mov ecx, dword [ebx + 0x2d0]
call fcn.004a5a1b
test eax, eax
setg dl
xor ecx, ecx
mov byte [ebp - 0xd], dl
mov dword [ebp - 0x1c], ecx
cmp dword [ebp - 0x18], ecx
jle 0x49b433
mov edi, dword [ebp - 0x18]
mov eax, dword [esi + 4]
sub eax, dword [esi]
sar eax, 2
cmp ecx, eax
jae 0x49b42d
mov eax, dword [esi]
mov eax, dword [eax + ecx*4]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x49b425
test dl, dl
je 0x49b3e6
lea ecx, [eax + 0x254]
call fcn.0047380a
test al, al
je 0x49b41f
mov eax, dword [ebp - 0x18]
dec edi
inc dword [ebx + 0x534]
mov cl, byte [eax + 0xe]
cmp cl, 1
jbe 0x49b402
cmp cl, 4
ja 0x49b408
inc dword [ebx + 0x53c]
jmp 0x49b408
inc dword [ebx + 0x538]
mov ecx, dword [ebx + 0x2d0]
push eax
call fcn.004a55ff
mov eax, dword [esi]
mov ecx, dword [ebp - 0x1c]
and dword [eax + ecx*4], 0
jmp 0x49b422
mov ecx, dword [ebp - 0x1c]
mov dl, byte [ebp - 0xd]
inc ecx
mov dword [ebp - 0x1c], ecx
test edi, edi
jg 0x49b3b8
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.00485142
pop ecx
pop ecx
push esi
push dword [eax]
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebx + 0x2d4]
call fcn.004124ee
imul eax, edi, 3
cmp dword [ebp - 0x24], eax
jge 0x49b5fe
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 0x49b5fe
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 0x49b591
cmp dword [ebp - 0x18], 0
jle 0x49b5a5
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 0x49b58b
mov eax, dword [ecx + 0x18]
lea edi, [ebp - 0x48]
mov ecx, dword [eax]
lea esi, [eax + 4]
mov dword [ebp - 0x4c], 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 0x49b517
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 0x49b4fb
mov ebx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x24]
lea esi, [ebp - 0x48]
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.004a5574
test al, al
je 0x49b58b
mov esi, dword [ebx + 0x2d0]
mov ecx, esi
push dword [ebp - 0x48]
call fcn.004a5655
push eax
mov ecx, esi
call fcn.004a5688
test eax, eax
je 0x49b569
mov ecx, dword [ebp - 0x1c]
mov dword [eax + 0x248], ecx
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 0x260], ecx
dec dword [ebp - 0x18]
inc dword [ebx + 0x534]
mov al, byte [eax + 0xe]
cmp al, 1
jbe 0x49b585
cmp al, 4
ja 0x49b58b
inc dword [ebx + 0x53c]
jmp 0x49b58b
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 0x49b4ac
cmp dword [ebx + 0x610], 0
je 0x49b5fe
lea esi, [ebx + 0x628]
mov ecx, esi
mov dword [ebp - 0x18], esi
call fcn.005383c0
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 0x592af8
push str.check_source_count
push dword [ebx + 0x610]
call fcn.00532424
or dword [ebp - 4], 0xffffffff
add esp, 0x18
mov ecx, esi
call fcn.005383d0
lea edi, [ebx + 0x170]
mov ecx, dword [ebx + 0x2d0]
call fcn.004a5a1b
test eax, eax
je 0x49b622
mov ecx, ebx
call fcn.0049ed06
test al, al
je 0x49b7a8
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 0x49b66c
cmp esi, 7
jg 0x49b66c
test edx, edx
jle 0x49b655
mov al, byte [ebx + 0x1a2]
test al, al
je 0x49b66c
mov ecx, ebx
call fcn.0049ed06
test al, al
jne 0x49b66c
cmp byte [ebx + 0x18f], al
je 0x49b7a8
cmp dword [ebx + 0x150], 0
jne 0x49b7a8
mov ecx, ebx
call fcn.0049ed06
test al, al
je 0x49b690
mov dword [ebx + 0x330], 0xc
jmp 0x49b6cf
mov eax, dword [ebx + 0x58c]
mov eax, dword [eax + 0xbc]
cmp dword [ebx + 0x15c], eax
jl 0x49b6b0
mov dword [ebx + 0x330], 1
jmp 0x49b6cf
cmp dword [ebx + 0x160], 4
jl 0x49b6c5
mov dword [ebx + 0x330], 2
jmp 0x49b6cf
mov dword [ebx + 0x330], 3
cmp byte [ebx + 0x2e0], 0
jne 0x49b73f
cmp dword [ebx + 0x610], 0
je 0x49b73f
lea esi, [ebx + 0x628]
mov ecx, esi
mov dword [ebp - 0x38], esi
call fcn.005383c0
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 0x593494
push dword [ebx + 0x610]
call fcn.00532424
or dword [ebp - 4], 0xffffffff
add esp, 0x1c
mov ecx, esi
call fcn.005383d0
push dword [ebx + 0x330]
mov byte [ebx + 0x320], 1
push 0x59333c
push ebx
mov dword [ebx + 0x32c], 5
call fcn.0049acc8
add esp, 0xc
mov ecx, ebx
call fcn.0049e550
mov dword [ebx + 0x174], 0x493e0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [edi], eax
test eax, eax
jne 0x49b787
mov dword [edi], 1
cmp byte [ebx + 0x381], 0
je 0x49b797
mov byte [ebx + 0x381], 0
mov eax, dword [ebx + 0x338]
test eax, eax
jle 0x49b7a8
dec eax
mov dword [ebx + 0x338], eax
call fcn.005611ae
ret