Function at 0x100beef0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov ecx, dword [ebp + 0x1c]
mov ebx, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov eax, dword [0x101ef014]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov esi, dword [edi + 8]
mov eax, dword [ecx + 8]
mov dword [ebp - 0x14], eax
test esi, esi
je 0x100bef29
push ebx
push esi
call sym.nss3.dll_PK11_DoesMechanism
add esp, 8
xor ecx, ecx
test eax, eax
jne 0x100bef5e
call sym.nss3.dll_PK11_GetInternalSlot
mov esi, eax
mov ecx, eax
mov edx, edi
push 0x8a
push 0
call fcn.100a1c10
add esp, 8
mov edi, eax
lock dec dword [esi + 0x48]
jne 0x100bef54
push esi
call fcn.100c9d60
add esp, 4
mov ecx, edi
test edi, edi
je 0x100bf099
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp + 0xc]
xor edx, edx
cmp esi, dword [ecx + 8]
je 0x100befa3
xor eax, eax
push ecx
push eax
push eax
push 0x106
push ebx
push esi
call fcn.100c6000
xor edx, edx
add esp, 0x18
mov ecx, eax
test eax, eax
jne 0x100befa5
xor esi, esi
dec esi
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x100bf0a9
push eax
call sym.nss3.dll_SECKEY_DestroyPrivateKey
add esp, 4
jmp 0x100bf0a9
xor eax, eax
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x20], ebx
test eax, eax
mov dword [ebp - 0x24], edi
jne 0x100befcf
xor eax, eax
push eax
push eax
push ebx
call fcn.100b7ec0
add esp, 0xc
mov edx, eax
test eax, eax
je 0x100bf0bd
mov ecx, dword [eax + 4]
mov dword [ebp - 0x1c], ecx
mov eax, dword [eax + 8]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x18], eax
mov edi, dword [esi + 0x3c]
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100bf0d2
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], ebx
mov eax, dword [esi]
mov ecx, dword [esi + 0x38]
mov dword [ebp - 0x30], ecx
mov ecx, dword [eax + 0xf2]
mov eax, dword [ebp + 0x1c]
mov ebx, dword [eax + 4]
mov eax, dword [ebp - 0x24]
mov edi, dword [eax + 0xc]
mov eax, dword [ebp - 0x34]
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], eax
call dword [section..00cfg]
lea eax, [ebp - 0x14]
lea edx, [ebp - 0x20]
push eax
push ebx
push edi
push dword [ebp - 0x24]
push edx
push dword [ebp - 0x30]
call ecx
add esp, 0x18
mov edi, eax
push dword [esi + 0x3c]
call sym.nss3.dll_PR_Unlock
add esp, 4
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x100bf05f
push eax
call sym.nss3.dll_PK11_FreeSymKey
add esp, 4
mov eax, dword [ebp - 0x2c]
test eax, eax
mov esi, dword [ebp - 0x28]
je 0x100bf072
push eax
call sym.nss3.dll_SECKEY_DestroyPrivateKey
add esp, 4
test esi, esi
je 0x100bf081
push 1
push esi
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
test edi, edi
je 0x100bf09e
push edi
call fcn.100a9930
add esp, 4
push 0
push eax
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
dec esi
jmp 0x100bf0a9
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx + 8], eax
xor esi, esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10156ff0
mov eax, esi
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x1c], 0
xor eax, eax
jmp 0x100befdb
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
mov ebx, eax
jmp 0x100beff7