Function at 0x100a56b0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov edi, dword [eax + 8]
mov ebx, dword [edi + 8]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100a58b9
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
mov ebx, dword [ebp + 0xc]
push ebx
push dword [edi + 0xc]
call sym.nss3.dll_PL_HashTableLookup
add esp, 8
mov esi, eax
push dword [edi + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
test esi, esi
je 0x100a570e
mov edi, ebx
cmp dword [esi], ebx
je 0x100a5716
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x14]
push edi
push dword [eax + 8]
call fcn.1009af00
add esp, 8
mov eax, dword [esi + 0x14]
lea ecx, [edi + 0x40]
mov dword [ebp - 0x18], ecx
mov edi, dword [eax + 0xc]
mov ebx, dword [edi + 8]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100a58d6
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
mov ebx, dword [ebp - 0x18]
push ebx
push dword [edi + 0xc]
call sym.nss3.dll_PL_HashTableLookup
add esp, 8
mov esi, eax
push dword [edi + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
test esi, esi
je 0x100a57b9
mov edi, dword [ebp + 0xc]
push edi
push dword [esi]
call fcn.1009b680
add esp, 8
mov ecx, dword [esi]
cmp dword [ecx + 0xc], 0
jne 0x100a570e
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x100a57d2
mov esi, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
push eax
push dword [ecx + 0x10]
call fcn.1009af00
mov ecx, esi
add esp, 8
jmp 0x100a57d2
cmp dword [0xc], 0
mov edi, dword [ebp + 0xc]
jne 0x100a570e
xor ecx, ecx
mov dword [ebp - 0x14], 0
mov edi, dword [edi + 0x50]
test edi, edi
je 0x100a5885
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax + 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [eax + 8]
mov dword [ebp - 0x24], eax
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100a58f3
mov ebx, dword [ebp - 0x24]
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
push edi
mov edi, dword [ebp - 0x20]
push dword [edi + 0xc]
call sym.nss3.dll_PL_HashTableLookup
add esp, 8
mov esi, eax
push dword [edi + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
test esi, esi
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
je 0x100a5885
mov edi, dword [esi]
test edi, edi
je 0x100a5885
push ecx
push edi
call fcn.1009b680
mov ecx, dword [ebp - 0x10]
add esp, 8
cmp dword [edi + 0xc], 0
jne 0x100a5885
push edi
call fcn.1009b2a0
add esp, 4
mov eax, dword [ebp + 0xc]
push dword [eax + 0x50]
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x14]
call fcn.1009af00
add esp, 8
push dword [esi + 0x10]
call fcn.1009a6f0
mov ecx, dword [ebp - 0x10]
add esp, 4
push ecx
call fcn.1009b2a0
add esp, 4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
push ebx
push dword [eax + 0xc]
call fcn.1009af00
add esp, 8
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100a570e
push eax
call fcn.1009a6f0
add esp, 0x1c
jmp 0x100a5711
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov esi, eax
jmp 0x100a56db
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov esi, eax
jmp 0x100a574d
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov esi, eax
jmp 0x100a580b