Function at 0x100f0a30
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov eax, dword [0x101d2014]
mov ecx, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov edi, 0
xor eax, ebp
mov dword [esp + 0x20], eax
mov edx, dword [ecx + 4]
mov eax, dword [0x101d580c]
mov dword [esp + 0x10], edx
test eax, eax
mov ecx, dword [ecx + 8]
mov dword [esp + 0x14], ecx
je 0x100f0a8a
mov eax, dword [eax + 0x14]
mov edi, 0
test eax, eax
je 0x100f0a8a
xor ecx, ecx
lea edx, [esp + 0x10]
push ecx
push ecx
push ecx
push edx
push eax
call fcn.101093d0
add esp, 0x14
mov edi, eax
xor ecx, ecx
lea eax, [esp + 0x10]
push ecx
push ecx
mov dword [esp + 0xc], 0
push ecx
push eax
push esi
call fcn.1010b780
add esp, 0x14
mov ecx, edi
mov dword [esp + 8], eax
or ecx, eax
je 0x100f0cee
mov eax, dword [ebp + 8]
test eax, eax
mov dword [esp + 4], eax
jne 0x100f0acf
call sym.nss3.dll_CERT_NewCertList
test eax, eax
mov dword [esp + 4], eax
je 0x100f0d05
test edi, edi
mov dword [esp + 0xc], edi
je 0x100f0bd3
mov eax, dword [esp + 0xc]
mov edi, dword [eax]
test edi, edi
je 0x100f0bd3
mov eax, dword [esp + 0xc]
lea esi, [eax + 4]
mov ecx, edi
xor edx, edx
call fcn.101064f0
test eax, eax
je 0x100f0b94
mov ebx, eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
cmp dword [ebp + 0x1c], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
je 0x100f0b28
push 0
push eax
push ecx
push ebx
call sym.nss3.dll_CERT_CheckCertValidTimes
add esp, 0x10
test eax, eax
jne 0x100f0b43
lea eax, [esp + 0x18]
push eax
push 0x100e9a40
push ebx
push dword [esp + 0x10]
call fcn.100e9c80
add esp, 0x10
test eax, eax
je 0x100f0b9d
mov edi, dword [0x101d5788]
test edi, edi
je 0x100f0b8a
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
mov dword [esp], eax
je 0x100f0bbf
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [esp]
mov dword [edi + 8], eax
mov eax, dword [0x101d5788]
mov edi, dword [ebx + 0x15c]
test eax, eax
je 0x100f0b90
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x100f0b90
mov edi, dword [ebx + 0x15c]
test edi, edi
je 0x100f0bac
push edi
call fcn.10104ae0
add esp, 4
mov edi, dword [esi]
add esi, 4
test edi, edi
jne 0x100f0af0
jmp 0x100f0bd3
mov eax, dword [ebx]
test eax, eax
je 0x100f0b9d
push 0
push eax
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
jmp 0x100f0b9d
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov dword [esp], eax
jmp 0x100f0b60
cmp dword [esp + 8], 0
je 0x100f0cd6
mov eax, dword [esp + 8]
mov edi, dword [eax]
test edi, edi
je 0x100f0cd6
mov esi, dword [esp + 8]
add esi, 4
mov ecx, edi
xor edx, edx
call fcn.101064f0
test eax, eax
je 0x100f0c97
mov ebx, eax
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
cmp dword [ebp + 0x1c], 0
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], eax
je 0x100f0c2b
push 0
push eax
push ecx
push ebx
call sym.nss3.dll_CERT_CheckCertValidTimes
add esp, 0x10
test eax, eax
jne 0x100f0c46
lea eax, [esp + 0x18]
push eax
push 0x100e9a40
push ebx
push dword [esp + 0x10]
call fcn.100e9c80
add esp, 0x10
test eax, eax
je 0x100f0ca0
mov edi, dword [0x101d5788]
test edi, edi
je 0x100f0c8d
push dword [0x101d4d30]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
mov dword [esp], eax
je 0x100f0cc2
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov eax, dword [esp]
mov dword [edi + 8], eax
mov eax, dword [0x101d5788]
mov edi, dword [ebx + 0x15c]
test eax, eax
je 0x100f0c93
push eax
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x100f0c93
mov edi, dword [ebx + 0x15c]
test edi, edi
je 0x100f0caf
push edi
call fcn.10104ae0
add esp, 4
mov edi, dword [esi]
add esi, 4
test edi, edi
jne 0x100f0bf3
jmp 0x100f0cd6
mov eax, dword [ebx]
test eax, eax
je 0x100f0ca0
push 0
push eax
call sym.nss3.dll_PORT_FreeArena_Util
add esp, 8
jmp 0x100f0ca0
xor eax, eax
push eax
push eax
push 1
push eax
call fcn.100e2c70
add esp, 0x10
mov dword [esp], eax
jmp 0x100f0c63
push dword [esp + 0xc]
call fcn.100ff3c0
add esp, 4
push dword [esp + 8]
call fcn.100ff3c0
add esp, 4
mov ecx, dword [esp + 0x20]
xor ecx, ebp
call fcn.10192ef0
mov eax, dword [esp + 4]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push edi
call fcn.10107f20
add esp, 4
push dword [esp + 8]
call fcn.10107f20
add esp, 4
mov dword [esp + 4], 0
jmp 0x100f0cee