Function at 0x101194f0
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 [0x101ef014]
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 0x10119632
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 0x1011958c
cmp ecx, 4
jne 0x10119632
push eax
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push edi
call fcn.10103aa0
xor edx, edx
mov ecx, 0x1050
add esp, 0x10
mov ebx, eax
jmp 0x1011962a
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.10113610
add esp, 8
test eax, eax
lea esi, [ebp - 0x3c]
je 0x10119610
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 0x10119622
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 0x10119622
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 0x10119622
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 0x101196b3
push 0x100dbba0
push 0x101f39cc
call sym.nss3.dll_PR_CallOnce
add esp, 8
cmp dword [0x101f39d8], 0
je 0x10119655
push esi
call sym.nss3.dll_PL_FreeArenaPool
jmp 0x1011965b
push esi
call sym.nss3.dll_PL_FinishArenaPool
add esp, 4
cmp dword [0x101f2f50], 0
je 0x1011973f
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x10119724
mov esi, dword [eax + 0x28]
push 0x2f
push 2
push dword [ebp - 0x44]
call fcn.100f2eb0
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.10156ff0
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 0x10119702
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
push 0x100dbba0
push 0x101f39cc
call sym.nss3.dll_PR_CallOnce
add esp, 8
cmp dword [0x101f39d8], 0
je 0x10119714
push esi
call sym.nss3.dll_PL_FreeArenaPool
jmp 0x1011971a
push 0xffffd090
call fcn.1010aec0
add esp, 4
jmp 0x10119632
push esi
call sym.nss3.dll_PL_FinishArenaPool
add esp, 4
xor esi, esi
jmp 0x1011969f
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x1011967f
call fcn.100029d0
jmp 0x1011966b