Function at 0x1ccc020
Capabilities:
Create thread

Disassembly:
push 0xffffffffffffffff
push 0x1d6d316
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x1dbb89c]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1dbb89c]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
mov esi, ecx
call fcn.01ccae30
test al, al
je 0x1ccc2b3
push 0
push str.InventoryName
call fcn.01ca5690
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x1ccc093
push str.AppSync
push str.SandboxName
call fcn.01ca5690
add esp, 8
mov ebp, eax
mov ecx, esi
call fcn.01cca6c0
cmp eax, 0xffffffff
je 0x1ccc0d0
push eax
mov byte [esi + 0x1d0], 1
call dword [0x1da3ad4]
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.01cca720
mov ecx, esi
call fcn.01cca780
cmp dword [esp + 0x38], 0
setne cl
mov byte [esi + 0x121], cl
jmp 0x1ccc0f5
lea edi, [esi + 0x128]
push ebp
push edi
mov byte [esi + 0x1d0], 0
call fcn.01c720f0
add esp, 8
push 0xffffffffffffffff
push str..asd
mov ecx, edi
call fcn.01d26f00
mov edi, dword [0x1da3b08]
push 0x1d79118
push str.TS_SKIP_APPSYNC
call edi
lea edx, [esp + 0x18]
push edx
mov ecx, esi
mov byte [esp + 0x1b], 0
call fcn.01ccaab0
mov ebx, dword [esp + 0x18]
test al, al
je 0x1ccc24b
test bl, bl
je 0x1ccc244
mov eax, dword [esi]
mov edx, dword [eax + 4]
push ebx
mov ecx, esi
call edx
test al, al
jne 0x1ccc25b
lea ecx, [esp + 0x3c]
call fcn.01d26ef0
mov dword [esp + 0x190], 0
cmp byte [esi + 0x1d0], 0
je 0x1ccc17b
push 0xffffffffffffffff
push str.This_application_has_been_unable_to_contact_its_update_server_for__expire_days__day_s___so_it_is_unavailable_for_use._Check_your_network_connection_and_try_again.
push str.AppSyncExpireMessage
call fcn.01ca5690
add esp, 8
push eax
lea ecx, [esp + 0x44]
call fcn.01c51210
jmp 0x1ccc18a
lea eax, [esp + 0x3c]
push eax
push 0x16
call fcn.01ca5bd0
add esp, 8
mov ecx, dword [esp + 0x3c]
push str._expire_days_
push ecx
call fcn.01d3b196
add esp, 8
lea ecx, [esp + 0xe0]
mov edi, eax
call fcn.01d26ef0
mov byte [esp + 0x190], 1
test edi, edi
jne 0x1ccc1cc
push 0xffffffffffffffff
push edi
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0xec]
call fcn.01c52310
jmp 0x1ccc225
push 0xa8c0
push str.AppSyncExpirePeriod
mov ecx, esi
call fcn.01cca7a0
mov esi, eax
mov eax, edi
sub eax, dword [esp + 0x3c]
lea ecx, [esp + 0x3c]
sar eax, 1
push eax
push 0
push ecx
lea ecx, [esp + 0xec]
call fcn.01c52310
mov eax, 0x6c16c16d
mul esi
sub esi, edx
shr esi, 1
add esi, edx
add edi, 0x1a
push edi
shr esi, 0xa
push esi
lea edx, [esp + 0xe8]
push str._d_ls
push edx
call fcn.01d27940
add esp, 0x10
mov eax, dword [esp + 0xe0]
push 0
push str.AppSync
push eax
push 0
call dword [0x1da3a88]
push 1
call dword [0x1da3a9c]
mov byte [esp + 0x17], 1
jmp 0x1ccc25b
push str.No_update_check_needed__skipping_AppSyncing
push 0
push esi
call fcn.01d342e0
add esp, 0xc
push 0
push str.TS_SKIP_APPSYNC
call edi
test bl, bl
je 0x1ccc26f
mov ecx, esi
call fcn.01ccbf50
cmp byte [esp + 0x17], 0
je 0x1ccc2b3
lea ecx, [esi + 8]
mov edx, 1
lock xadd dword [ecx], edx
push 0
push 4
push esi
push 0x1d342b0
push 0
push 0
call fcn.01d38d36
add esp, 0x18
mov dword [0x1dbe818], eax
test eax, eax
jne 0x1ccc2b3
mov ecx, esi
call fcn.01d33a50
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 1
mov ecx, esi
call edx
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.01d389aa
add esp, 0x180
ret