Function at 0x1009dde0
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 [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1009dfe9
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 0x1009de3e
mov edi, ebx
cmp dword [esi], ebx
je 0x1009de46
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.10093720
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 [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1009e006
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 0x1009dee9
mov edi, dword [ebp + 0xc]
push edi
push dword [esi]
call fcn.10093e90
add esp, 8
mov ecx, dword [esi]
cmp dword [ecx + 0xc], 0
jne 0x1009de3e
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1009df02
mov esi, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
push eax
push dword [ecx + 0x10]
call fcn.10093720
mov ecx, esi
add esp, 8
jmp 0x1009df02
cmp dword [0xc], 0
mov edi, dword [ebp + 0xc]
jne 0x1009de3e
xor ecx, ecx
mov dword [ebp - 0x14], 0
mov edi, dword [edi + 0x50]
test edi, edi
je 0x1009dfb5
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 [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1009e023
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 0x1009dfb5
mov edi, dword [esi]
test edi, edi
je 0x1009dfb5
push ecx
push edi
call fcn.10093e90
mov ecx, dword [ebp - 0x10]
add esp, 8
cmp dword [edi + 0xc], 0
jne 0x1009dfb5
push edi
call fcn.10093ac0
add esp, 4
mov eax, dword [ebp + 0xc]
push dword [eax + 0x50]
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x14]
call fcn.10093720
add esp, 8
push dword [esi + 0x10]
call fcn.10092f20
mov ecx, dword [ebp - 0x10]
add esp, 4
push ecx
call fcn.10093ac0
add esp, 4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
push ebx
push dword [eax + 0xc]
call fcn.10093720
add esp, 8
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1009de3e
push eax
call fcn.10092f20
add esp, 0x1c
jmp 0x1009de41
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov esi, eax
jmp 0x1009de0b
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov esi, eax
jmp 0x1009de7d
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov esi, eax
jmp 0x1009df3b