Function at 0x100efc20
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x30
mov eax, dword [0x101d2014]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x34]
mov dword [eax], 1
push ebx
push eax
push ebx
push edi
push dword [0x101d580c]
call fcn.10105700
add esp, 0x14
mov esi, eax
push ebx
push edi
call sym.nss3.dll_PK11_FindCertFromNickname
add esp, 8
test eax, eax
je 0x100efdd6
mov edi, eax
push eax
call fcn.10106d10
add esp, 4
test esi, esi
mov dword [ebp - 0x3c], esi
je 0x100efca6
mov ecx, esi
test eax, eax
je 0x100efcb3
lea esi, [ebp - 0x1c]
lea edx, [ebp - 0x28]
mov dword [esi], ecx
xor ecx, ecx
mov dword [esi + 4], eax
mov dword [edx], 1
mov dword [esi + 8], ecx
push ecx
push edx
push ecx
push esi
call fcn.10108010
add esp, 0x10
mov dword [ebp - 0x38], eax
jmp 0x100efcc3
test eax, eax
je 0x100efcbc
mov dword [ebp - 0x38], eax
lock inc dword [eax + 4]
jmp 0x100efcc3
lock inc dword [ecx + 4]
mov dword [ebp - 0x38], ecx
jmp 0x100efcc3
mov dword [ebp - 0x38], 0
mov esi, dword [0x101d5788]
test esi, esi
je 0x100efd0c
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100efe08
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [esi + 8], ebx
mov eax, dword [0x101d5788]
mov esi, dword [edi + 0x15c]
test eax, eax
je 0x100efd08
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
xor ebx, ebx
jmp 0x100efd12
mov esi, dword [edi + 0x15c]
test esi, esi
je 0x100efd24
push esi
call fcn.10104ae0
add esp, 4
mov esi, dword [ebp - 0x38]
jmp 0x100efd38
mov eax, dword [edi]
mov esi, dword [ebp - 0x38]
test eax, eax
je 0x100efd38
push 0
push eax
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
mov edi, dword [ebp - 0x3c]
test edi, edi
je 0x100efdd6
mov ecx, edi
xor edx, edx
call fcn.101064f0
test eax, eax
je 0x100efd9c
mov esi, dword [0x101d5788]
test esi, esi
je 0x100efda7
mov edi, eax
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov ebx, eax
test eax, eax
je 0x100efe1e
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [esi + 8], ebx
mov ecx, dword [0x101d5788]
mov esi, dword [edi + 0x15c]
test ecx, ecx
je 0x100efdaf
push ecx
call sym.nss3.dll_PR_Unlock
mov eax, edi
add esp, 4
jmp 0x100efdb1
push edi
call fcn.10104ae0
add esp, 4
jmp 0x100efdd6
mov esi, dword [eax + 0x15c]
jmp 0x100efdb3
mov eax, edi
xor ebx, ebx
test esi, esi
je 0x100efdc2
push esi
call fcn.10104ae0
add esp, 4
jmp 0x100efdd3
mov eax, dword [eax]
test eax, eax
je 0x100efdd3
push 0
push eax
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
mov esi, dword [ebp - 0x38]
test esi, esi
je 0x100efdf4
mov ecx, esi
xor edx, edx
call fcn.101064f0
mov ebx, eax
test eax, eax
jne 0x100efdf4
push esi
call fcn.10104ae0
add esp, 4
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10192ef0
mov eax, ebx
add esp, 0x30
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov ebx, eax
jmp 0x100efce3
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov ebx, eax
jmp 0x100efd72