Function at 0x42838a
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
call fcn.0041a4ae
mov edi, dword [0x4aac14]
mov ebp, dword fs:[0x2c]
mov ecx, eax
test byte [ecx + 0x8c], 0x80
mov dword [esp + 0x14], ecx
jne 0x428401
cmp dword [0x4a8e00], 0
je 0x4283c6
mov eax, dword [ebp + edi*4]
mov eax, dword [eax + 0xc]
jmp 0x4283d2
push dword [0x4ab05c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [0x4a8e00], 0
mov dword [esp + 0x10], eax
je 0x4283ef
mov eax, dword [ebp + edi*4]
mov dword [eax + 0xc], 1
jmp 0x4283fd
push 1
push dword [0x4ab05c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov ebx, dword [esi + 0x94]
xor edx, edx
cmp ebx, edx
jne 0x428420
push edx
push 0xffffe89d
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
pop ecx
jmp 0x42842b
lea eax, [ebx + 4]
cmp dword [eax], eax
je 0x4284b8
mov eax, dword [esp + 0x14]
test byte [eax + 0x8c], 0x80
jne 0x4284b0
mov esi, dword [esp + 0x10]
test esi, esi
jne 0x42848e
cmp dword [0x4a8e00], esi
je 0x428454
mov eax, dword [ebp + edi*4]
mov eax, dword [eax + 0x10]
jmp 0x428460
push dword [0x4ab06c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [eax + 0xc], 0
je 0x42848e
cmp dword [0x4a8e00], 0
je 0x42847b
mov eax, dword [ebp + edi*4]
mov eax, dword [eax + 0x10]
jmp 0x428487
push dword [0x4ab06c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call fcn.00418d0c
pop ecx
cmp dword [0x4a8e00], 0
je 0x4284a3
mov eax, dword [ebp + edi*4]
mov dword [eax + 0xc], esi
jmp 0x4284b0
push esi
push dword [0x4ab05c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
or eax, 0xffffffff
jmp 0x4286b4
test byte [ecx + 0x8c], 0x80
jne 0x42853e
cmp dword [esp + 0x10], edx
jne 0x428515
cmp dword [0x4a8e00], edx
je 0x4284db
mov eax, dword [ebp + edi*4]
mov eax, dword [eax + 0x10]
jmp 0x4284e7
push dword [0x4ab06c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [eax + 0xc], 0
je 0x428515
cmp dword [0x4a8e00], 0
je 0x428502
mov eax, dword [ebp + edi*4]
mov eax, dword [eax + 0x10]
jmp 0x42850e
push dword [0x4ab06c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call fcn.00418d0c
pop ecx
cmp dword [0x4a8e00], 0
je 0x42852e
mov eax, dword [ebp + edi*4]
mov ecx, dword [esp + 0x10]
mov dword [eax + 0xc], ecx
jmp 0x42853e
push dword [esp + 0x10]
push dword [0x4ab05c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [0x4ab0d8]
call sym.AdobeCollabSync.exe_PR_Lock
jmp 0x428554
push 0xffffffffffffffff
push ebx
call sym.AdobeCollabSync.exe_PR_WaitCondVar
pop ecx
cmp dword [esi], 5
pop ecx
jne 0x42854b
push dword [0x4ab0d8]
call sym.AdobeCollabSync.exe_PR_Unlock
mov eax, dword [esp + 0x18]
test byte [eax + 0x8c], 0x80
pop ecx
jne 0x4285bf
cmp dword [0x4a8e00], 0
je 0x428588
mov eax, dword [ebp + edi*4]
mov eax, dword [eax + 0xc]
jmp 0x428594
push dword [0x4ab05c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [0x4a8e00], 0
mov dword [esp + 0x10], eax
je 0x4285b1
mov eax, dword [ebp + edi*4]
mov dword [eax + 0xc], 1
jmp 0x4285bf
push 1
push dword [0x4ab05c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test byte [esi + 0x8c], 0x80
mov dword [esi], 1
jne 0x428626
lea ebx, [esi + 0x3c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x24]
add eax, 0x30
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x64]
and dword [esi + 0x54], 0
mov dword [eax], ecx
mov eax, dword [esi + 0x64]
mov ecx, dword [esi + 0x68]
mov dword [eax + 4], ecx
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x24]
add eax, 0x30
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
push dword [esp + 0x18]
call fcn.004281b6
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x14]
test byte [eax + 0x8c], 0x80
jne 0x4286ab
mov ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x428689
cmp dword [0x4a8e00], ebx
je 0x42864f
mov eax, dword [ebp + edi*4]
mov eax, dword [eax + 0x10]
jmp 0x42865b
push dword [0x4ab06c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [eax + 0xc], 0
je 0x428689
cmp dword [0x4a8e00], 0
je 0x428676
mov eax, dword [ebp + edi*4]
mov eax, dword [eax + 0x10]
jmp 0x428682
push dword [0x4ab06c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call fcn.00418d0c
pop ecx
cmp dword [0x4a8e00], 0
je 0x42869e
mov eax, dword [ebp + edi*4]
mov dword [eax + 0xc], ebx
jmp 0x4286ab
push ebx
push dword [0x4ab05c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push esi
call fcn.0041b26c
pop ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret