Function at 0x10020db0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100e6a61
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x80
mov eax, dword [esp + 0x94]
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
mov eax, dword [ecx + 8]
push ebx
xor ebx, ebx
push ebp
mov ebp, dword [0x101278e0]
push esi
push edi
mov esi, edx
lea edi, [eax + edx]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], ebx
mov dword [esp + 0x68], ebx
mov byte [esp + 0x6c], bl
mov byte [esp + 0x6d], bl
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], 0x4000000
mov dword [esp + 0x7c], 0x2000000
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebp
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], ebx
mov ecx, dword [ecx + 8]
sub eax, edi
add eax, edx
cmp eax, ecx
mov dword [esp + 0x98], ebx
jge 0x10021079
mov ebp, dword [esp + 0xa0]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
cmp esi, edi
jae 0x10020e85
mov al, byte [esi]
cmp al, 0x80
jae 0x10020e85
movzx eax, al
cdq
inc esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x58], esi
jmp 0x10020e9b
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x58]
call fcn.1006eef0
cmp al, bl
je 0x10021028
cmp dword [esp + 0x20], ebx
ja 0x10020eab
cmp dword [esp + 0x1c], ebx
jbe 0x1002103e
lea ecx, [esp + 0x38]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov edx, dword [esp + 0x1c]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x5c]
mov byte [esp + 0xa0], 1
call fcn.1006ea80
test al, al
je 0x10021054
lea ecx, [esp + 0x24]
call fcn.1003f0c0
lea ecx, [esp + 0x38]
push ecx
lea ecx, [esp + 0x28]
mov byte [esp + 0x9c], 2
call fcn.10070990
test al, al
jne 0x10020f14
push str.filetoken_protobuf_parse_fail
push ebx
push str.CloudBackup
call dword [0x100eb588]
add esp, 0xc
jmp 0x10020fde
lea edx, [esp + 0x24]
push edx
push str.filetoken
call fcn.1006bbf0
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.1006bc40
add esp, 0x10
lea edx, [esp + 0x10]
push edx
mov ecx, ebp
mov byte [esp + 0x9c], 3
call fcn.100228a0
cmp eax, dword [ebp]
je 0x10020fbb
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x1c]
push ecx
call fcn.1006bc00
add esp, 8
mov esi, eax
mov edx, dword [ebp]
mov byte [esp + 0x98], 4
cmp dword [edx + 0x3c], ebx
je 0x10020f88
lea eax, [esp + 0x10]
push eax
mov ecx, ebp
call fcn.100228a0
cmp eax, dword [ebp]
je 0x10020f88
mov eax, dword [eax - 4]
jmp 0x10020f8a
xor eax, eax
push esi
lea ecx, [eax + 0x10]
call dword [0x100eb560]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x98], 3
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x10020fb7
mov eax, dword [esp + 0x18]
push eax
call dword [0x100eb564]
add esp, 4
inc dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x98], 2
or edx, 0xffffffff
lock xadd dword [ecx], edx
jne 0x10020fde
mov eax, dword [esp + 0x10]
push eax
call dword [0x100eb558]
add esp, 4
lea ecx, [esp + 0x24]
mov byte [esp + 0x98], 1
call fcn.1003f0f0
lea ecx, [esp + 0x38]
mov byte [esp + 0x98], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [esp + 0x60]
sub eax, dword [esp + 0x74]
mov edi, dword [esp + 0x5c]
mov esi, dword [esp + 0x58]
mov ecx, dword [esp + 0xa4]
mov edx, dword [ecx]
sub eax, edi
add eax, esi
cmp eax, dword [edx + 8]
jl 0x10020e60
jmp 0x10021079
push str.filetoken_protobuf_parse_fail_when_parse_token_data_length
push ebx
push str.CloudBackup
call dword [0x100eb588]
add esp, 0xc
jmp 0x10021079
push str.token_data_length_invalid
push ebx
push str.CloudBackup
call dword [0x100eb588]
add esp, 0xc
jmp 0x10021079
push str.token_data_read_fail
push ebx
push str.CloudBackup
call dword [0x100eb588]
add esp, 0xc
lea ecx, [esp + 0x38]
mov byte [esp + 0x98], bl
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [esp + 0x54]
mov dword [esp + 0x98], 0xffffffff
call fcn.1006e570
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c
ret