Function at 0x1010a060
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 [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1010a269
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 0x1010a0be
cmp dword [esi], ebx
mov edi, ebx
je 0x1010a0c6
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.100ffcd0
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 [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1010a27f
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 0x1010a169
mov edi, dword [ebp + 0xc]
push edi
push dword [esi]
call fcn.10100400
add esp, 8
mov ecx, dword [esi]
cmp dword [ecx + 0xc], 0
jne 0x1010a0be
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1010a182
mov esi, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
push eax
push dword [ecx + 0x10]
call fcn.100ffcd0
mov ecx, esi
add esp, 8
jmp 0x1010a182
cmp dword [0xc], 0
mov edi, dword [ebp + 0xc]
jne 0x1010a0be
xor ecx, ecx
mov dword [ebp - 0x14], 0
mov edi, dword [edi + 0x50]
test edi, edi
je 0x1010a235
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], ecx
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 [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1010a295
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
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
test esi, esi
je 0x1010a235
mov edi, dword [esi]
test edi, edi
je 0x1010a235
push ecx
push edi
call fcn.10100400
mov ecx, dword [ebp - 0x10]
add esp, 8
cmp dword [edi + 0xc], 0
jne 0x1010a235
push edi
call fcn.10100060
add esp, 4
mov eax, dword [ebp + 0xc]
push dword [eax + 0x50]
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x14]
call fcn.100ffcd0
add esp, 8
push dword [esi + 0x10]
call fcn.100ff520
mov ecx, dword [ebp - 0x10]
add esp, 4
push ecx
call fcn.10100060
add esp, 4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
push ebx
push dword [eax + 0xc]
call fcn.100ffcd0
add esp, 8
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1010a0be
push eax
call fcn.100ff520
add esp, 0x1c
jmp 0x1010a0c1
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov esi, eax
jmp 0x1010a08b
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov esi, eax
jmp 0x1010a0fd
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov esi, eax
jmp 0x1010a1bb