Function at 0x100f0dd0
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]
xor eax, ebp
test ecx, ecx
mov dword [ebp - 0x10], eax
je 0x100f0e6b
mov edi, dword [0x101d580c]
mov esi, ecx
lea ecx, [ebp - 0x34]
mov ebx, edx
xor eax, eax
mov dword [ecx], 1
push eax
push ecx
push eax
push esi
push edi
call fcn.10105700
add esp, 0x14
test eax, eax
mov dword [ebp - 0x38], eax
je 0x100f0e7f
push ebx
push esi
call sym.nss3.dll_PK11_FindCertFromNickname
add esp, 8
test eax, eax
je 0x100f0ecc
mov ebx, eax
push eax
call fcn.10106d10
add esp, 4
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x100f0ed4
test eax, eax
je 0x100f0ede
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
jmp 0x100f0ef4
push 0
push 0xffffe005
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x100f101b
push 0x40
push esi
call sub.VCRUNTIME140.dll_strchr
add esp, 8
test eax, eax
je 0x100f0ee6
push esi
call fcn.100e9430
add esp, 4
test eax, eax
mov dword [ebp - 0x38], 0
je 0x100f0e14
xor edx, edx
push edx
lea ecx, [ebp - 0x34]
push ecx
push edx
push eax
push edi
mov edi, eax
call fcn.101057c0
add esp, 0x14
mov dword [ebp - 0x38], eax
push edi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x100f0e14
mov esi, dword [ebp - 0x38]
jmp 0x100f0fff
test eax, eax
je 0x100f0ef2
lock inc dword [eax + 4]
jmp 0x100f0ef4
lock inc dword [ecx + 4]
mov eax, ecx
jmp 0x100f0ef4
mov dword [ebp - 0x38], 0
jmp 0x100f0e14
xor eax, eax
mov edi, dword [0x101d5788]
mov dword [ebp - 0x3c], eax
test edi, edi
je 0x100f0f3e
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100f1031
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov eax, dword [0x101d5788]
mov esi, dword [ebx + 0x15c]
test eax, eax
je 0x100f0f44
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x100f0f44
mov esi, dword [ebx + 0x15c]
mov edi, dword [ebp - 0x38]
test esi, esi
je 0x100f0f59
push esi
call fcn.10104ae0
add esp, 4
mov esi, dword [ebp - 0x3c]
jmp 0x100f0f6d
mov eax, dword [ebx]
mov esi, dword [ebp - 0x3c]
test eax, eax
je 0x100f0f6d
push 0
push eax
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
test edi, edi
je 0x100f0fff
mov ecx, edi
xor edx, edx
call fcn.101064f0
test eax, eax
je 0x100f0fcb
mov edi, dword [0x101d5788]
mov ebx, eax
test edi, edi
je 0x100f0fd6
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x100f1047
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
mov eax, dword [0x101d5788]
mov esi, dword [ebx + 0x15c]
test eax, eax
je 0x100f0fdc
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x100f0fdc
push edi
call fcn.10104ae0
add esp, 4
jmp 0x100f0fff
mov esi, dword [ebx + 0x15c]
test esi, esi
je 0x100f0feb
push esi
call fcn.10104ae0
add esp, 4
jmp 0x100f0ffc
mov eax, dword [ebx]
test eax, eax
je 0x100f0ffc
push 0
push eax
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
mov esi, dword [ebp - 0x3c]
test esi, esi
je 0x100f101b
mov ecx, esi
xor edx, edx
call fcn.101064f0
mov edi, eax
test eax, eax
jne 0x100f101d
push esi
call fcn.10104ae0
add esp, 4
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10192ef0
mov eax, edi
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 esi, eax
jmp 0x100f0f17
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov esi, eax
jmp 0x100f0fa4