Function at 0x41b785
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
call fcn.0041a785
mov esi, eax
xor ebx, ebx
cmp dword [esi + 0xa8], ebx
je 0x41b717
push ebx
push 0xffffe8d5
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
pop ecx
or eax, 0xffffffff
jmp 0x41b949
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi + 4]
cmp dword [eax + 0x2c], ebx
jne 0x41b736
push dword [eax + 0x28]
call fcn.0041b53d
mov eax, dword [edi + 4]
pop ecx
mov dword [eax + 0x2c], 1
cmp dword [esi + 0xe0], ebx
jne 0x41b761
push 0x10
call sym.AdobeCollabSync.exe_PR_Malloc
cmp eax, ebx
pop ecx
mov dword [esi + 0xe0], eax
jne 0x41b761
push ebx
push 0xffffe890
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
jmp 0x41b8c6
mov eax, dword [esi + 0xe0]
mov edi, dword [ebp + 0xc]
mov ecx, dword [edi + 0xc]
mov dword [eax], ecx
mov eax, dword [esi + 0xe0]
mov ecx, dword [edi + 0x10]
mov dword [eax + 4], ecx
mov eax, dword [esi + 0xe0]
mov ecx, dword [edi + 0x14]
mov dword [eax + 8], ecx
mov eax, dword [esi + 0xe0]
mov ecx, dword [edi + 0x18]
push 0x14
mov dword [eax + 0xc], ecx
lea eax, [esi + 0xac]
push ebx
push eax
call sub.MSVCR80.dll_memset
mov eax, dword [edi + 4]
add esp, 0xc
mov dword [esi + 0xb4], eax
cmp dword [0x4a8e34], ebx
je 0x41b7c2
mov eax, dword [esi + 0x12c]
mov dword [esi + 0xbc], eax
mov eax, dword [ebp + 0x10]
and eax, 1
mov dword [ebp - 4], ebx
mov dword [ebp - 8], eax
je 0x41b7d7
mov dword [ebp - 4], 3
lea ebx, [esi + 0x3c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x8c]
test ax, 0x1000
jne 0x41b814
test al, 2
je 0x41b814
and eax, 0xfffffffd
push 0
push 0xffffe897
mov dword [esi + 0x8c], eax
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x41b8c7
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [esi + 0xa0], 1
mov dword [esi], 6
call ebx
push dword [ebp - 4]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x28]
push dword [esi + 0xe0]
mov dword [esi + 0xa4], ecx
mov eax, dword [eax + 4]
lea ecx, [esi + 0xac]
push ecx
mov ecx, dword [edi]
mov ecx, dword [ecx + 4]
push 0
push dword [edi + 8]
push dword [ecx + 0x28]
push dword [eax + 0x28]
call sub.MSWSOCK.dll_TransmitFile
test eax, eax
jne 0x41b8cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
mov dword [ebp - 4], eax
je 0x41b8cc
lea edi, [esi + 0x3c]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x8c]
and dword [esi + 0xa0], 0
test ax, 0x1000
mov dword [esi], 2
jne 0x41b8bb
test al, 2
je 0x41b8bb
and eax, 0xfffffffd
push 0
push 0xffffe897
mov dword [esi + 0x8c], eax
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
pop ecx
push edi
call ebx
jmp 0x41b8c7
push edi
call ebx
push dword [ebp - 4]
call fcn.00429849
pop ecx
or eax, 0xffffffff
jmp 0x41b948
push dword [ebp + 0x14]
mov eax, esi
call fcn.0041b343
or edi, 0xffffffff
cmp eax, edi
pop ecx
je 0x41b92b
xor ecx, ecx
cmp dword [esi + 0xa8], ecx
je 0x41b917
mov eax, dword [esi + 0x8c]
test ax, 0x1000
jne 0x41b909
test al, 2
je 0x41b909
and eax, 0xfffffffd
push ecx
mov dword [esi + 0x8c], eax
push 0xffffe897
jmp 0x41b90f
push ecx
push 0xffffe89a
call sym.AdobeCollabSync.exe_PR_SetError
pop ecx
jmp 0x41b92a
cmp dword [esi + 0xe8], ecx
jne 0x41b92f
push dword [esi + 0xf0]
call fcn.00429849
pop ecx
mov eax, edi
jmp 0x41b948
cmp dword [ebp - 8], ecx
je 0x41b942
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x28]
call fcn.0041b500
mov eax, dword [esi + 0xec]
pop edi
pop esi
pop ebx
leave
ret