Function at 0x41fdfb
Capabilities:
Get number of processors
Get thread local storage value
Set thread local storage value

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov esi, eax
call fcn.0041a785
test byte [eax + 0x8c], 0x80
mov edi, dword [0x4a9bfc]
mov ebx, dword fs:[0x2c]
mov dword [esp + 0x18], eax
jne 0x41fe6d
cmp dword [0x4a7e00], 0
je 0x41fe37
mov eax, dword [ebx + edi*4]
mov eax, dword [eax + 0xc]
jmp 0x41fe43
push dword [0x4aa03c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [0x4a7e00], 0
mov dword [esp + 0x10], eax
je 0x41fe5f
mov eax, dword [ebx + edi*4]
mov dword [eax + 0xc], 1
jmp 0x41fe6d
push 1
push dword [0x4aa03c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esi + 0x3c]
push eax
mov dword [esp + 0x18], eax
call ebp
mov eax, dword [esi]
cmp eax, 1
je 0x41febf
cmp eax, 2
je 0x41ff8e
jbe 0x41feb5
cmp eax, 4
jbe 0x41fe99
cmp eax, 6
jne 0x41feb5
lea ebp, [esi + 0x8c]
test byte [ebp], 0x80
je 0x41feac
push esi
call fcn.0041a751
pop ecx
or dword [ebp], 0x40
jmp 0x41ff8e
call sym.AdobeCollabSync.exe_PR_Abort
jmp 0x41ff8e
test byte [esi + 0x8c], 0x80
jne 0x41ff88
mov eax, dword [esi + 0x98]
push dword [eax + 0x24]
call ebp
mov eax, dword [esi + 0x68]
mov edx, dword [esi + 0x98]
mov ecx, dword [esi + 4]
lea edi, [esi + 0x64]
mov ebx, dword [edi]
mov dword [eax], ebx
mov eax, dword [edi]
mov ebx, dword [esi + 0x68]
mov dword [eax + 4], ebx
mov eax, dword [edx + 0x24]
lea eax, [eax + ecx*8 + 0x48]
cmp dword [eax], eax
jne 0x41ff0a
mov edx, dword [edx + 0x24]
xor eax, eax
inc eax
shl eax, cl
not eax
and dword [edx + 0x68], eax
mov eax, dword [esi + 0x98]
and dword [esi + 0x54], 0
push dword [eax + 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call ebx
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x24]
add eax, 0x30
push eax
call ebp
mov eax, dword [esi + 0x98]
mov dword [esi + 0x54], 8
mov ecx, dword [eax + 0x24]
add ecx, 0x80
mov dword [edi], ecx
mov ecx, dword [eax + 0x24]
mov ecx, dword [ecx + 0x84]
mov dword [esi + 0x68], ecx
mov eax, dword [eax + 0x24]
mov eax, dword [eax + 0x84]
mov dword [eax], edi
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x24]
mov dword [eax + 0x84], edi
mov eax, dword [esi + 0x98]
mov eax, dword [eax + 0x24]
add eax, 0x30
push eax
call ebx
mov ebx, dword fs:[0x2c]
mov edi, dword [0x4a9bfc]
mov dword [esi], 7
push dword [esp + 0x14]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x18]
test byte [eax + 0x8c], 0x80
jne 0x420019
mov esi, dword [esp + 0x10]
xor ebp, ebp
cmp esi, ebp
jne 0x41fff9
cmp dword [0x4a7e00], ebp
je 0x41ffc2
mov eax, dword [ebx + edi*4]
mov eax, dword [eax + 0x10]
jmp 0x41ffce
push dword [0x4aa04c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [eax + 0xc], ebp
je 0x41fff9
cmp dword [0x4a7e00], ebp
je 0x41ffe6
mov eax, dword [ebx + edi*4]
mov eax, dword [eax + 0x10]
jmp 0x41fff2
push dword [0x4aa04c]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call fcn.00418fe9
pop ecx
cmp dword [0x4a7e00], ebp
je 0x42000c
mov eax, dword [ebx + edi*4]
mov dword [eax + 0xc], esi
jmp 0x420019
push esi
push dword [0x4aa03c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret