Function at 0x10095a50
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov ecx, dword [ebp + 0x1c]
mov edi, dword [ebp + 0x18]
mov eax, dword [ebp + 0x14]
mov ecx, dword [ecx + 0x3c]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edi + 4]
mov dword [ebp - 0x20], ecx
test eax, eax
je 0x10095a87
push eax
call fcn.10094570
add esp, 4
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x10095a8e
jmp 0x10095c78
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp + 0xc]
mov esi, dword [edi]
test esi, esi
je 0x10095abd
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x10095c9c
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [esi + 8], edi
mov edi, dword [ebp + 0x18]
mov esi, dword [ebp + 0x10]
mov ecx, dword [ebx + 8]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], ecx
test ecx, ecx
je 0x10095ba0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x62]
call dword [section..00cfg]
push esi
push ebx
mov esi, dword [ebp + 8]
push esi
push dword [ebp - 0x20]
call ecx
add esp, 0x10
mov edi, eax
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x10095b03
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
cmp edi, 0x12
ja 0x10095c24
mov eax, 0x60001
bt eax, edi
jae 0x10095c24
cmp dword [ebp + 0x14], 0
je 0x10095b4c
cmp dword [ebp - 0x18], 0
jne 0x10095b4c
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x10]
push 0
call fcn.10094660
add esp, 4
test eax, eax
je 0x10095b4c
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x10]
push 1
call fcn.10094660
jmp 0x10095c75
xor eax, eax
mov ecx, dword [ebp + 0x10]
cmp ecx, 2
jb 0x10095c7b
add edi, 0xffffffef
cmp edi, 1
ja 0x10095c7b
mov edi, dword [ebp + 0x18]
mov eax, dword [ebx + 8]
inc eax
cmp eax, 1
ja 0x10095b93
mov dword [ebx + 8], 0
push dword [ebp + 0x1c]
push edi
push dword [ebp + 0x14]
push 1
push ebx
push esi
mov esi, ecx
call fcn.10095a50
mov ecx, esi
mov esi, dword [ebp + 8]
add esp, 0x18
add ebx, 0xc
dec ecx
jne 0x10095b69
xor eax, eax
jmp 0x10095c7b
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x62]
call dword [section..00cfg]
push esi
push ebx
push dword [ebp + 8]
push dword [ebp - 0x20]
call ecx
add esp, 0x10
cmp eax, 0x12
ja 0x10095c5f
mov ecx, 0x60001
bt ecx, eax
jae 0x10095c5f
test esi, esi
je 0x10095ad5
lea edi, [ebx + 8]
mov eax, dword [edi]
lea ecx, [eax + 1]
cmp ecx, 1
ja 0x10095bee
xor eax, eax
mov dword [edi - 4], eax
mov dword [edi], eax
jmp 0x10095c13
mov edx, dword [edi - 8]
cmp edx, 0xce534352
cmove eax, ecx
cmp edx, 3
cmove eax, ecx
push eax
push dword [ebp + 0x14]
call fcn.10094240
add esp, 8
mov dword [edi - 4], eax
test eax, eax
je 0x10095c83
add edi, 0xc
dec esi
jne 0x10095bdb
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x14], esi
jmp 0x10095ad5
push 0x22
call fcn.10094a30
add esp, 4
xor eax, eax
dec eax
cmp dword [ebp - 0x18], 0
jne 0x10095c7b
cmp dword [ebp + 0x14], 0
jne 0x10095b3a
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x10095c7b
mov esi, eax
add ebx, 4
push dword [ebx]
call fcn.10094350
add esp, 4
add ebx, 0xc
dec edi
jne 0x10095c4d
jmp 0x10095c98
mov eax, dword [edi]
test eax, eax
je 0x10095c6e
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
push 0x22
call fcn.10094a30
add esp, 4
xor eax, eax
dec eax
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0x18]
mov eax, dword [eax]
xor esi, esi
dec esi
test eax, eax
je 0x10095c98
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
mov eax, esi
jmp 0x10095c7b
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov edi, eax
jmp 0x10095aad