Function at 0x1008a2a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov edi, dword [ebp + 0xc]
mov eax, dword [0x101db014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x34]
mov dword [eax], 1
xor ebx, ebx
push ebx
push eax
push ebx
push edi
push dword [0x101deccc]
call fcn.100a0b40
add esp, 0x14
mov esi, eax
push ebx
push edi
call sym.nss3.dll_PK11_FindCertFromNickname
add esp, 8
test eax, eax
je 0x1008a456
mov edi, eax
push eax
call fcn.100a2170
add esp, 4
test esi, esi
mov dword [ebp - 0x3c], esi
je 0x1008a326
mov ecx, esi
test eax, eax
je 0x1008a333
lea esi, [ebp - 0x1c]
mov dword [esi], ecx
mov dword [esi + 4], eax
xor ecx, ecx
mov dword [esi + 8], ecx
lea edx, [ebp - 0x28]
mov dword [edx], 1
push ecx
push edx
push ecx
push esi
call fcn.100a34e0
add esp, 0x10
mov dword [ebp - 0x38], eax
jmp 0x1008a343
test eax, eax
je 0x1008a33c
mov dword [ebp - 0x38], eax
lock inc dword [eax + 4]
jmp 0x1008a343
lock inc dword [ecx + 4]
mov dword [ebp - 0x38], ecx
jmp 0x1008a343
mov dword [ebp - 0x38], 0
mov esi, dword [0x101dec48]
test esi, esi
je 0x1008a38c
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x1008a488
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [esi + 8], ebx
mov eax, dword [0x101dec48]
mov esi, dword [edi + 0x15c]
test eax, eax
je 0x1008a388
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
xor ebx, ebx
jmp 0x1008a392
mov esi, dword [edi + 0x15c]
test esi, esi
je 0x1008a3a4
push esi
call fcn.1009fed0
add esp, 4
mov esi, dword [ebp - 0x38]
jmp 0x1008a3b8
mov eax, dword [edi]
test eax, eax
mov esi, dword [ebp - 0x38]
je 0x1008a3b8
push 0
push eax
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x1008a456
mov ecx, edi
xor edx, edx
call fcn.100a1930
test eax, eax
je 0x1008a41c
mov esi, dword [0x101dec48]
test esi, esi
je 0x1008a427
mov edi, eax
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x1008a4a5
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [esi + 8], ebx
mov ecx, dword [0x101dec48]
mov esi, dword [edi + 0x15c]
test ecx, ecx
je 0x1008a42f
push ecx
call sym.nss3.dll_PR_Unlock
mov eax, edi
add esp, 4
jmp 0x1008a431
push edi
call fcn.1009fed0
add esp, 4
jmp 0x1008a456
mov esi, dword [eax + 0x15c]
jmp 0x1008a433
mov eax, edi
xor ebx, ebx
test esi, esi
je 0x1008a442
push esi
call fcn.1009fed0
add esp, 4
jmp 0x1008a453
mov eax, dword [eax]
test eax, eax
je 0x1008a453
push 0
push eax
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x1008a474
mov ecx, esi
xor edx, edx
call fcn.100a1930
mov ebx, eax
test eax, eax
jne 0x1008a474
push esi
call fcn.1009fed0
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1014dc80
mov eax, ebx
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov ebx, eax
jmp 0x1008a363
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov ebx, eax
jmp 0x1008a3f2