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

Disassembly:
push ecx
push ecx
push ebx
push ebp
xor ebp, ebp
cmp dword [0x4a9e4c], ebp
push esi
push edi
mov dword [esp + 0x10], ebp
jne 0x4296e2
call sym.AdobeCollabSync.exe_PR_Init
mov esi, dword [esp + 0x1c]
cmp esi, ebp
jne 0x4298b8
call sym.AdobeCollabSync.exe_PR_GetCurrentThread
cmp dword [0x4a8e00], ebp
mov ebp, dword [0x4aac14]
mov edi, eax
mov ebx, dword [edi + 4]
je 0x429717
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ebp*4]
mov esi, dword [eax + 0x10]
jmp 0x429725
push dword [0x4ab06c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test byte [edi + 0x8c], 0x80
je 0x429738
call fcn.0041a1ac
jmp 0x42990c
cmp dword [0x4a8e00], 0
je 0x429752
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ebp*4]
mov eax, dword [eax + 0xc]
jmp 0x42975e
push dword [0x4ab05c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [0x4a8e00], 0
mov dword [esp + 0x1c], eax
je 0x429780
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ebp*4]
mov dword [eax + 0xc], 1
jmp 0x42978e
push 1
push dword [0x4ab05c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x24]
mov edx, dword [eax + 0x68]
mov ecx, ebx
shr edx, cl
test edx, edx
je 0x429829
mov dword [edi + 0x98], esi
xor edx, edx
inc edx
mov dword [edi], edx
mov ecx, dword [esi + 0x24]
lea ecx, [ecx + ebx*8 + 0x48]
lea eax, [edi + 0x64]
mov dword [eax], ecx
mov ecx, dword [esi + 0x24]
mov ecx, dword [ecx + ebx*8 + 0x4c]
mov dword [edi + 0x68], ecx
mov ecx, dword [esi + 0x24]
mov ecx, dword [ecx + ebx*8 + 0x4c]
mov dword [ecx], eax
mov ecx, dword [esi + 0x24]
mov dword [ecx + ebx*8 + 0x4c], eax
mov eax, dword [esi + 0x24]
mov ecx, edx
mov dword [esp + 0x14], ecx
mov ecx, ebx
mov ebx, edx
shl ebx, cl
or dword [eax + 0x68], ebx
mov dword [edi + 0x54], edx
push dword [esi + 0x24]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call fcn.0041a428
cmp dword [0x4a8e00], 0
pop ecx
je 0x429820
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ebp*4]
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0xc], ecx
jmp 0x42990c
push dword [esp + 0x1c]
jmp 0x4298aa
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [esp + 0x1c]
xor edi, edi
cmp esi, edi
jne 0x429890
cmp dword [0x4a8e00], edi
je 0x429853
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ebp*4]
mov eax, dword [eax + 0x10]
jmp 0x42985f
push dword [0x4ab06c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [eax + 0xc], edi
je 0x429890
cmp dword [0x4a8e00], edi
je 0x42987d
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ebp*4]
mov eax, dword [eax + 0x10]
jmp 0x429889
push dword [0x4ab06c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call fcn.00418d0c
pop ecx
cmp dword [0x4a8e00], edi
je 0x4298a9
mov eax, dword fs:[0x2c]
mov eax, dword [eax + ebp*4]
mov dword [eax + 0xc], esi
jmp 0x42990c
push esi
push dword [0x4ab05c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
jmp 0x42990c
call sym.AdobeCollabSync.exe_PR_IntervalNow
push dword [0x4ab088]
mov ebx, eax
call sym.AdobeCollabSync.exe_PR_NewCondVar
push dword [0x4ab088]
mov edi, eax
call sym.AdobeCollabSync.exe_PR_Lock
pop ecx
pop ecx
call sym.AdobeCollabSync.exe_PR_IntervalNow
sub eax, ebx
cmp eax, esi
ja 0x4298f9
mov ecx, esi
sub ecx, eax
push ecx
push edi
call sym.AdobeCollabSync.exe_PR_WaitCondVar
cmp eax, ebp
pop ecx
pop ecx
mov dword [esp + 0x10], eax
je 0x4298d9
push dword [0x4ab088]
call sym.AdobeCollabSync.exe_PR_Unlock
push edi
call sym.AdobeCollabSync.exe_PRP_DestroyNakedCondVar
pop ecx
pop ecx
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
pop ecx
ret