Function at 0x10108f40
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov eax, dword [0x101d2014]
mov ecx, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 8]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10109182
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov eax, dword [ebp + 8]
movsd xmm0, qword [ebx + 0x38]
movsd qword [ebp - 0x30], xmm0
movsd xmm0, qword [ebx + 0x48]
movsd qword [ebp - 0x20], xmm0
mov edi, dword [eax + 0x10]
mov ebx, dword [edi + 8]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10109198
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
lea eax, [ebp - 0x68]
mov dword [ebx + 8], esi
push eax
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 0x10108ff1
mov edi, dword [esi]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
test edi, edi
je 0x10108ff7
lock inc dword [edi + 4]
jmp 0x10109027
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0xc
push dword [esi]
call fcn.100ff2b0
add esp, 8
test eax, eax
je 0x10109025
mov edi, eax
mov dword [eax], esi
push eax
push esi
push dword [ebx + 0x10]
call fcn.100ffc40
add esp, 0xc
test eax, eax
je 0x10109046
push edi
call fcn.100ff3c0
add esp, 4
xor edi, edi
push dword [ebx + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10192ef0
mov eax, edi
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
mov ebx, dword [ebx + 0xc]
lea eax, [esi + 0x40]
mov dword [ebp - 0x6c], eax
mov esi, dword [ebx + 8]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x101091ae
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [esi + 8], edi
mov esi, dword [ebp - 0x6c]
push esi
push dword [ebx + 0xc]
call sym.nss3.dll_PL_HashTableLookup
add esp, 8
mov edi, eax
push dword [ebx + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
test edi, edi
je 0x101090b6
push dword [ebp + 0xc]
push edi
call fcn.10100360
add esp, 8
mov ebx, dword [ebp + 8]
test eax, eax
je 0x10109172
cmp eax, 0xffffffff
je 0x101090f1
jmp 0x10109025
xor eax, eax
push eax
push eax
call fcn.100fffc0
add esp, 8
mov ebx, dword [ebp + 8]
test eax, eax
je 0x101090f1
mov edi, eax
mov dword [eax + 0x14], 0x101051a0
push dword [ebp + 0xc]
push eax
call fcn.10100200
add esp, 8
test eax, eax
jne 0x101090a4
push edi
push esi
push dword [ebx + 0xc]
call fcn.100ffc40
add esp, 0xc
jmp 0x101090a4
mov ebx, dword [ebx + 0x10]
mov esi, dword [ebx + 8]
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x101091c4
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [esi + 8], edi
mov esi, dword [ebp + 0xc]
push esi
push dword [ebx + 0xc]
call sym.nss3.dll_PL_HashTableLookup
add esp, 8
mov edi, eax
push dword [ebx + 8]
call sym.nss3.dll_PR_Unlock
add esp, 4
test edi, edi
je 0x1010917a
push esi
mov ebx, dword [ebp + 8]
push dword [ebx + 0x10]
call fcn.100ffcd0
add esp, 8
mov eax, dword [edi + 4]
test eax, eax
je 0x10109159
push eax
call fcn.101079e0
add esp, 4
mov eax, dword [edi + 8]
test eax, eax
je 0x1010901c
push eax
call fcn.101079e0
add esp, 4
jmp 0x1010901c
mov edi, dword [ebp + 0xc]
jmp 0x10108feb
mov ebx, dword [ebp + 8]
jmp 0x10109025
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov esi, eax
jmp 0x10108f72
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov esi, eax
jmp 0x10108fb2
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov edi, eax
jmp 0x10109068
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov edi, eax
jmp 0x1010910d