Function at 0x1009cb90
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 [0x101ef014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov edi, dword [ecx + 8]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1009cdd2
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 [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1009cdef
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 0x1009cc41
mov edi, dword [esi]
test edi, edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
je 0x1009cc47
lock inc dword [edi + 4]
jmp 0x1009cc77
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0xc
push dword [esi]
call fcn.10092ca0
add esp, 8
test eax, eax
je 0x1009cc75
mov edi, eax
mov dword [eax], esi
push eax
push esi
push dword [ebx + 0x10]
call fcn.10093690
add esp, 0xc
test eax, eax
je 0x1009cc96
push edi
call fcn.10092db0
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.10156ff0
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 [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x1009ce0c
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 0x1009cd06
push dword [ebp + 0xc]
push edi
call fcn.10093de0
add esp, 8
mov ebx, dword [ebp + 8]
test eax, eax
je 0x1009cdc2
cmp eax, 0xffffffff
je 0x1009cd41
jmp 0x1009cc75
xor eax, eax
push eax
push eax
call fcn.10093a20
add esp, 8
test eax, eax
mov ebx, dword [ebp + 8]
je 0x1009cd41
mov edi, eax
mov dword [eax + 0x14], 0x10098df0
push dword [ebp + 0xc]
push eax
call fcn.10093c80
add esp, 8
test eax, eax
jne 0x1009ccf4
push edi
push esi
push dword [ebx + 0xc]
call fcn.10093690
add esp, 0xc
jmp 0x1009ccf4
mov ebx, dword [ebx + 0x10]
mov esi, dword [ebx + 8]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x1009ce29
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 0x1009cdca
push esi
mov ebx, dword [ebp + 8]
push dword [ebx + 0x10]
call fcn.10093720
add esp, 8
mov eax, dword [edi + 4]
test eax, eax
je 0x1009cda9
push eax
call fcn.1009b640
add esp, 4
mov eax, dword [edi + 8]
test eax, eax
je 0x1009cc6c
push eax
call fcn.1009b640
add esp, 4
jmp 0x1009cc6c
mov edi, dword [ebp + 0xc]
jmp 0x1009cc3b
mov ebx, dword [ebp + 8]
jmp 0x1009cc75
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov esi, eax
jmp 0x1009cbc2
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov esi, eax
jmp 0x1009cc02
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov edi, eax
jmp 0x1009ccb8
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov edi, eax
jmp 0x1009cd5d