Function at 0x1009f3a0
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 [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1009f5a9
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 0x1009f3fe
mov edi, ebx
cmp dword [esi], ebx
je 0x1009f406
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.10094cc0
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 [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1009f5c6
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 0x1009f4a9
mov edi, dword [ebp + 0xc]
push edi
push dword [esi]
call fcn.10095430
add esp, 8
mov ecx, dword [esi]
cmp dword [ecx + 0xc], 0
jne 0x1009f3fe
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x1009f4c2
mov esi, ecx
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x14]
push eax
push dword [ecx + 0x10]
call fcn.10094cc0
mov ecx, esi
add esp, 8
jmp 0x1009f4c2
cmp dword [0xc], 0
mov edi, dword [ebp + 0xc]
jne 0x1009f3fe
xor ecx, ecx
mov dword [ebp - 0x14], 0
mov edi, dword [edi + 0x50]
test edi, edi
je 0x1009f575
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 [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x1009f5e3
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 0x1009f575
mov edi, dword [esi]
test edi, edi
je 0x1009f575
push ecx
push edi
call fcn.10095430
mov ecx, dword [ebp - 0x10]
add esp, 8
cmp dword [edi + 0xc], 0
jne 0x1009f575
push edi
call fcn.10095060
add esp, 4
mov eax, dword [ebp + 0xc]
push dword [eax + 0x50]
mov eax, dword [ebp - 0x1c]
push dword [eax + 0x14]
call fcn.10094cc0
add esp, 8
push dword [esi + 0x10]
call fcn.100944c0
mov ecx, dword [ebp - 0x10]
add esp, 4
push ecx
call fcn.10095060
add esp, 4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x14]
push ebx
push dword [eax + 0xc]
call fcn.10094cc0
add esp, 8
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x1009f3fe
push eax
call fcn.100944c0
add esp, 0x1c
jmp 0x1009f401
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov esi, eax
jmp 0x1009f3cb
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov esi, eax
jmp 0x1009f43d
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
mov esi, eax
jmp 0x1009f4fb