Function at 0x41a9f1
Capabilities:
Get thread local storage value

Disassembly:
sub esp, 0x18
and dword [esp + 4], 0
cmp dword [0x4ab068], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push ebp
push esi
push edi
jbe 0x41aa84
mov ebp, 0x4ab040
push ebp
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, 0x4ab060
jmp 0x41aa77
mov eax, dword [esi + 4]
mov ecx, dword [esi]
add esi, 0xffffff9c
mov dword [eax], ecx
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x68]
mov dword [eax + 4], ecx
test byte [esi + 0x8c], 0x80
jne 0x41aa51
mov eax, dword [esi + 0x90]
test eax, eax
jne 0x41aa41
push dword [esi + 0x130]
call dword [sym.imp.KERNEL32.dll_DeleteFiber]
push 0x144
push 0xa
push esi
call sub.MSVCR80.dll_memset
add esp, 0xc
cmp dword [esi + 0x9c], 0
jne 0x41aa71
push esi
call sym.AdobeCollabSync.exe_PR_Free
pop ecx
dec dword [0x4ab068]
mov esi, dword [0x4ab060]
cmp esi, edi
jne 0x41aa1f
push ebp
call ebx
cmp dword [esp + 0x2c], 0xffffffff
jne 0x41aa92
mov eax, 0x1388
jmp 0x41aa9c
push dword [esp + 0x2c]
call sym.AdobeCollabSync.exe_PR_IntervalToMilliseconds
pop ecx
xor ebp, ebp
inc ebp
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x24]
push eax
push dword [0x4a9e94]
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
test eax, eax
mov ecx, dword [esp + 0x1c]
jne 0x41aacb
test ecx, ecx
je 0x41ae2d
test ecx, ecx
je 0x41ae45
cmp dword [ecx + 0x14], 0x49
mov dword [esp + 0x2c], ecx
jne 0x41ac92
mov edi, dword [ecx + 0x20]
xor ecx, ecx
xor esi, esi
test eax, eax
setne cl
push ebp
lea eax, [edi + 0xc]
mov dword [esp + 0x24], edi
dec ecx
push ecx
push eax
mov dword [esp + 0x1c], ecx
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebp
jne 0x41ab22
cmp dword [esp + 0x10], esi
jne 0x41ab15
mov eax, dword [esp + 0x18]
mov dword [edi + 0x14], eax
jmp 0x41ab22
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x2c]
mov dword [ecx + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov edi, dword [eax + 0x24]
lea eax, [edi + 0x40]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [esp + 0x2c]
lea eax, [ecx + 0x18]
lea edx, [edi + 8]
mov dword [eax], edx
mov edx, dword [edi + 0xc]
mov dword [ecx + 0x1c], edx
mov ecx, dword [edi + 0xc]
mov dword [ecx], eax
mov dword [edi + 0xc], eax
mov eax, dword [esp + 0x20]
push dword [eax + 8]
push edi
call fcn.00420ebd
add edi, 0x58
mov eax, dword [edi]
cmp eax, edi
pop ecx
pop ecx
je 0x41ab7d
lea esi, [eax - 0x6c]
mov eax, dword [esi + 0x70]
mov ecx, dword [esi + 0x6c]
mov dword [eax], ecx
mov eax, dword [esi + 0x6c]
mov ecx, dword [esi + 0x70]
mov dword [eax + 4], ecx
push dword [esp + 0x10]
call ebx
test esi, esi
je 0x41ac71
test byte [esi + 0x8c], 0x80
jne 0x41ac82
cmp dword [0x4a8e00], 0
mov eax, dword [esi + 4]
mov dword [esp + 0x2c], eax
je 0x41abbf
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4aac14]
mov eax, dword [eax + ecx*4]
mov edi, dword [eax + 0x10]
jmp 0x41abcd
push dword [0x4ab06c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
lea eax, [esi + 0x3c]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test byte [esi + 0x8c], 0x20
je 0x41ac7c
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x24]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [esi + 0x54], 0
push ebp
push esi
call sym.AdobeCollabSync.exe__PR_DelSleepQ
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x24]
pop ecx
pop ecx
add eax, 0x18
push eax
call ebx
push dword [esp + 0x10]
call ebx
mov dword [esi + 0x98], edi
mov dword [esi], ebp
push dword [edi + 0x24]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [edi + 0x24]
mov ecx, dword [esp + 0x2c]
lea edx, [edx + ecx*8 + 0x48]
lea eax, [esi + 0x64]
mov dword [eax], edx
mov edx, dword [edi + 0x24]
shl ecx, 3
mov edx, dword [ecx + edx + 0x4c]
mov dword [esi + 0x68], edx
mov edx, dword [edi + 0x24]
mov edx, dword [ecx + edx + 0x4c]
mov dword [edx], eax
mov edx, dword [edi + 0x24]
mov dword [ecx + edx + 0x4c], eax
mov ecx, dword [esp + 0x2c]
mov eax, dword [edi + 0x24]
mov edx, ebp
shl edx, cl
or dword [eax + 0x68], edx
mov dword [esi + 0x54], ebp
push dword [edi + 0x24]
call ebx
inc dword [esp + 0x14]
xor eax, eax
jmp 0x41aa9f
push dword [esp + 0x10]
jmp 0x41ac6f
lea edi, [esi + 0x3c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push edi
jmp 0x41ae15
mov esi, dword [ecx + 0x18]
sub esi, 0xac
test eax, eax
mov dword [esi + 0xe8], eax
jne 0x41acb1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0xf0], eax
test byte [esi + 0x8c], 0x80
mov eax, dword [esp + 0x18]
mov dword [esi + 0xec], eax
jne 0x41adf6
cmp dword [0x4a8e00], 0
mov eax, dword [esi + 4]
mov dword [esp + 0x2c], eax
je 0x41acef
mov eax, dword fs:[0x2c]
mov ecx, dword [0x4aac14]
mov eax, dword [eax + ecx*4]
mov edi, dword [eax + 0x10]
jmp 0x41acfd
push dword [0x4ab06c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
cmp dword [esp + 0x24], 0xbbbbbbbb
je 0x41ac1d
lea eax, [esi + 0x3c]
push eax
mov dword [esp + 0x14], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [esi + 0xa0], 0
cmp dword [esi + 0xa8], 0
jne 0x41aded
test byte [esi + 0x8c], 0x30
je 0x41aded
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x24]
add eax, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [esi + 0x54], 0
push ebp
push esi
call sym.AdobeCollabSync.exe__PR_DelSleepQ
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x24]
pop ecx
pop ecx
add eax, 0x18
push eax
call ebx
push dword [esp + 0x10]
call ebx
cmp dword [esi + 0x124], 0
jne 0x41ad7e
mov dword [esi + 0x98], edi
mov eax, dword [esi + 0x98]
mov dword [esi], ebp
push dword [eax + 0x24]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x98]
mov edi, dword [eax + 0x24]
mov ecx, dword [esp + 0x2c]
lea edi, [edi + ecx*8 + 0x48]
lea edx, [esi + 0x64]
mov dword [edx], edi
mov edi, dword [eax + 0x24]
shl ecx, 3
mov edi, dword [ecx + edi + 0x4c]
mov dword [esi + 0x68], edi
mov eax, dword [eax + 0x24]
mov eax, dword [ecx + eax + 0x4c]
mov dword [eax], edx
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x24]
mov dword [eax + ecx + 0x4c], edx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x24]
mov edx, ebp
shl edx, cl
or dword [eax + 0x68], edx
mov eax, dword [esi + 0x98]
mov dword [esi + 0x54], ebp
push dword [eax + 0x24]
jmp 0x41ac6f
push dword [esp + 0x10]
jmp 0x41ac6f
lea edi, [esi + 0x3c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [esi + 0xa0], 0
cmp dword [esi + 0xa8], 0
push edi
jne 0x41ac6f
mov dword [esi], ebp
call ebx
push 0
push ebp
push dword [esi + 0xe4]
call dword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x41ac71
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x102
je 0x41ae3f
or eax, 0xffffffff
jmp 0x41ae47
mov eax, dword [esp + 0x14]
jmp 0x41ae47
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret