Function at 0x1011aab0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x38
mov ebx, edx
mov dword [ebp - 0x44], ecx
mov eax, dword [0x101f1014]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x3c]
mov dword [esi + 0x1c], 0x3f16bb09
push 8
push 0x800
push str.security
push esi
call sym.nss3.dll_PL_InitArenaPool
add esp, 0x10
push 0xac
push esi
call sym.nss3.dll_PORT_ArenaAlloc_Util
add esp, 8
test eax, eax
je 0x1011abf2
mov edi, eax
add eax, 4
xor ecx, ecx
push 0xa8
push ecx
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov dword [edi], esi
xor eax, eax
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 8]
mov ecx, dword [eax + 8]
cmp ecx, 2
je 0x1011ab4c
cmp ecx, 4
jne 0x1011abf2
push eax
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push edi
call fcn.10105060
xor edx, edx
mov ecx, 0x1050
add esp, 0x10
mov ebx, eax
jmp 0x1011abea
mov eax, dword [ebp + 8]
mov esi, dword [eax + 4]
mov eax, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x14]
lea edx, [ebp - 0x1c]
mov dword [edx], 0
mov dword [edx + 4], eax
mov dword [edx + 8], ecx
mov dword [ebp - 0x40], esi
lea ebx, [esi + 0x14]
push edx
push ebx
call fcn.10114bd0
add esp, 8
test eax, eax
lea esi, [ebp - 0x3c]
je 0x1011abd0
mov dword [edi + 4], 4
lea eax, [edi + 0x14]
push ebx
push eax
push dword [edi]
call sym.nss3.dll_SECITEM_CopyItem_Util
add esp, 0xc
xor ebx, ebx
dec ebx
test eax, eax
jne 0x1011abe2
mov ecx, dword [ebp - 0x40]
add ecx, 0x20
lea eax, [edi + 0x20]
push ecx
push eax
push dword [edi]
call sym.nss3.dll_SECITEM_CopyItem_Util
add esp, 0xc
test eax, eax
jne 0x1011abe2
mov eax, edi
add eax, 0x2c
lea ecx, [ebp - 0x1c]
push ecx
push eax
push dword [edi]
call sym.nss3.dll_SECITEM_CopyItem_Util
add esp, 0xc
xor ebx, ebx
neg eax
sbb ebx, ebx
jmp 0x1011abe2
push 0
push 0xffffd08d
call sym.nss3.dll_PR_SetError
add esp, 8
xor ebx, ebx
dec ebx
mov edx, dword [edi + 0x34]
mov ecx, 0x21
test ebx, ebx
je 0x1011ac73
push 0x100dd160
push 0x101f59fc
call sym.nss3.dll_PR_CallOnce
add esp, 8
cmp dword [0x101f5a08], 0
je 0x1011ac15
push esi
call sym.nss3.dll_PL_FreeArenaPool
jmp 0x1011ac1b
push esi
call sym.nss3.dll_PL_FinishArenaPool
add esp, 4
cmp dword [0x101f4f80], 0
je 0x1011acff
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x1011ace4
mov esi, dword [eax + 0x28]
push 0x2f
push 2
push dword [ebp - 0x44]
call fcn.100f4470
add esp, 0xc
push 0
push esi
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
dec esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
mov eax, esi
add esp, 0x38
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
push eax
push eax
push 1
push edx
push 0x10c
push 0x402a
push ecx
push eax
push eax
push eax
push edi
mov eax, dword [ebp + 8]
push dword [eax]
call sym.nss3.dll_PK11_PubDeriveWithKDF
add esp, 0x30
test eax, eax
je 0x1011acc2
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push 0x100dd160
push 0x101f59fc
call sym.nss3.dll_PR_CallOnce
add esp, 8
cmp dword [0x101f5a08], 0
je 0x1011acd4
push esi
call sym.nss3.dll_PL_FreeArenaPool
jmp 0x1011acda
push 0xffffd090
call fcn.1010c480
add esp, 4
jmp 0x1011abf2
push esi
call sym.nss3.dll_PL_FinishArenaPool
add esp, 4
xor esi, esi
jmp 0x1011ac5f
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x1011ac3f
call fcn.1001b2e0
jmp 0x1011ac2b