Function at 0x1009e150
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x60
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 8]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1009e392
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
movsd xmm0, qword [ebx + 0x38]
movsd qword [ebp - 0x30], xmm0
movsd xmm0, qword [ebx + 0x48]
movsd qword [ebp - 0x20], xmm0
mov eax, dword [ebp + 8]
mov edi, dword [eax + 0x10]
mov ebx, dword [edi + 8]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1009e3af
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], esi
lea eax, [ebp - 0x68]
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 0x1009e201
mov edi, dword [esi]
test edi, edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
je 0x1009e207
lock inc dword [edi + 4]
jmp 0x1009e237
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0xc
push dword [esi]
call fcn.10094240
add esp, 8
test eax, eax
je 0x1009e235
mov edi, eax
mov dword [eax], esi
push eax
push esi
push dword [ebx + 0x10]
call fcn.10094c30
add esp, 0xc
test eax, eax
je 0x1009e256
push edi
call fcn.10094350
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.10157a00
mov eax, edi
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret
lea eax, [esi + 0x40]
mov dword [ebp - 0x6c], eax
mov ebx, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x1009e3cc
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 0x1009e2c6
push dword [ebp + 0xc]
push edi
call fcn.10095380
add esp, 8
mov ebx, dword [ebp + 8]
test eax, eax
je 0x1009e382
cmp eax, 0xffffffff
je 0x1009e301
jmp 0x1009e235
xor eax, eax
push eax
push eax
call fcn.10094fc0
add esp, 8
test eax, eax
mov ebx, dword [ebp + 8]
je 0x1009e301
mov edi, eax
mov dword [eax + 0x14], 0x1009a3b0
push dword [ebp + 0xc]
push eax
call fcn.10095220
add esp, 8
test eax, eax
jne 0x1009e2b4
push edi
push esi
push dword [ebx + 0xc]
call fcn.10094c30
add esp, 0xc
jmp 0x1009e2b4
mov ebx, dword [ebx + 0x10]
mov esi, dword [ebx + 8]
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x1009e3e9
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 0x1009e38a
push esi
mov ebx, dword [ebp + 8]
push dword [ebx + 0x10]
call fcn.10094cc0
add esp, 8
mov eax, dword [edi + 4]
test eax, eax
je 0x1009e369
push eax
call fcn.1009cc00
add esp, 4
mov eax, dword [edi + 8]
test eax, eax
je 0x1009e22c
push eax
call fcn.1009cc00
add esp, 4
jmp 0x1009e22c
mov edi, dword [ebp + 0xc]
jmp 0x1009e1fb
mov ebx, dword [ebp + 8]
jmp 0x1009e235
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov esi, eax
jmp 0x1009e182
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov esi, eax
jmp 0x1009e1c2
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov edi, eax
jmp 0x1009e278
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov edi, eax
jmp 0x1009e31d