Function at 0x100f00a0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x50
mov esi, edx
mov ebx, ecx
mov eax, dword [0x101db014]
xor eax, ebp
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], 0
mov eax, dword [0x101dec3c]
mov dword [esp], eax
push ecx
call fcn.100eec30
add esp, 4
cmp eax, 0x1c
je 0x100f00e6
cmp eax, 0x1a
jne 0x100f015c
mov edi, dword [ebx + 0x24]
lea eax, [edi + 0x40]
jmp 0x100f00ec
mov edi, dword [ebx + 0x24]
lea eax, [edi + 0x64]
mov eax, dword [eax]
test eax, eax
je 0x100f015c
cmp dword [eax], 0
je 0x100f015c
mov dword [esp + 0x18], esi
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0xc], 0x1c
jne 0x100f0129
lea eax, [edi + 0x10]
mov dword [esp + 4], eax
lea eax, [edi + 0x68]
mov dword [esp + 0xc], eax
lea edx, [edi + 0x5c]
lea esi, [edi + 0x64]
mov ecx, dword [edi + 0x74]
mov eax, edi
add edi, 0x18
add eax, 0x24
mov dword [esp + 0x10], eax
jmp 0x100f014a
lea eax, [edi + 0xc]
mov dword [esp + 4], eax
lea eax, [edi + 0x44]
mov dword [esp + 0xc], eax
lea edx, [edi + 0x38]
lea esi, [edi + 0x40]
add edi, 0x28
xor ecx, ecx
mov dword [esp + 0x10], 0
mov esi, dword [esi]
test esi, esi
je 0x100f015c
mov eax, dword [esi]
test eax, eax
je 0x100f015c
cmp dword [esi + 4], 0
je 0x100f01a5
push 0
push 0xffffe02f
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
xor ebx, ebx
xor edi, edi
mov eax, dword [esp + 0x44]
test eax, eax
je 0x100f0183
push ebx
push eax
call sym.nss3.dll_CERT_DestroyCertArray
add esp, 8
test edi, edi
je 0x100f0190
push edi
call sym.nss3.dll_SECKEY_DestroyPublicKey
add esp, 4
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.1014dc80
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [esp], 0
je 0x100f016b
mov dword [esp + 0x24], ecx
mov dword [esp + 8], eax
mov edx, dword [edx]
xor esi, esi
mov ecx, 0
test edx, edx
je 0x100f01cf
xor eax, eax
dec eax
lea ecx, [eax + 1]
cmp dword [edx + eax*4 + 4], 0
mov eax, ecx
jne 0x100f01c3
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x44]
push esi
push esi
push dword [ebp + 0x10]
push eax
push edx
mov dword [esp + 0x18], ecx
push ecx
push dword [esp + 0x30]
push dword [esp + 0x1c]
call sym.nss3.dll_CERT_ImportCerts
add esp, 0x20
test eax, eax
jne 0x100f03e8
mov esi, dword [esp + 8]
push dword [esi + 0xc]
push dword [esp + 4]
call sym.nss3.dll_CERT_FindCertByIssuerAndSN
add esp, 8
test eax, eax
je 0x100f03e6
mov dword [esp + 0x14], eax
mov dword [esi + 0x54], eax
push ebx
call fcn.100eec30
add esp, 4
cmp eax, 0x1a
jne 0x100f0251
mov eax, dword [ebx + 0x24]
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x100f0251
mov eax, dword [ecx]
test eax, eax
je 0x100f0251
cmp dword [ecx + 4], 0
je 0x100f0265
xor ecx, ecx
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x100f02b1
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x20], ecx
jmp 0x100f02be
push 1
push 0x23
push dword [eax + 0x28]
call fcn.100f25f0
add esp, 0xc
push eax
call fcn.100f26a0
add esp, 4
test eax, eax
je 0x100f0251
mov esi, eax
lea eax, [esp + 0x38]
push esi
push eax
call sym.nss3.dll_DER_DecodeTimeChoice_Util
add esp, 8
xor ecx, ecx
test eax, eax
cmove ecx, esi
mov edx, dword [ebp + 0x14]
test edx, edx
jne 0x100f025a
mov dword [esp + 0x20], esi
test ecx, ecx
je 0x100f02b1
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
jmp 0x100f02be
mov dword [esp + 0x20], 0
call sym.nss3.dll_PR_Now
xor esi, esi
push esi
push dword [ebx + 0x14]
push esi
push edx
push eax
push dword [esp + 0x2c]
push 1
push dword [esp + 0x30]
push dword [esp + 0x20]
call fcn.1008f140
add esp, 0x24
mov dl, 1
test eax, eax
je 0x100f0393
xor edi, edi
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x118]
test eax, eax
mov ebx, dword [esp + 4]
je 0x100f0171
mov ecx, dword [esp + 0x18]
and ecx, 0xfffffffe
cmp ecx, 4
jne 0x100f0171
cmp byte [eax], 0
je 0x100f0171
mov dword [esp + 0x18], edx
cmp dword [0x101de200], 0
je 0x100f078b
mov dword [esp], edi
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100f0758
mov edi, dword [eax + 0x28]
xor eax, eax
cmp byte [esp + 0x18], 0
mov edx, dword [esp + 0x14]
jne 0x100f0375
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 0x28]
test ecx, ecx
je 0x100f0375
push 1
push 0x28
push ecx
call fcn.100f25f0
add esp, 0xc
push eax
call fcn.100f26a0
mov edx, dword [esp + 0x18]
add esp, 4
push dword [esp + 0x20]
push eax
push edx
call sym.nss3.dll_CERT_SaveSMimeProfile
add esp, 0xc
push 0
push edi
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x100f06d2
mov ecx, dword [esp + 0x14]
add ecx, 0xd4
call fcn.10094ac0
mov dword [esp], eax
test eax, eax
je 0x100f03e6
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
mov eax, dword [esp + 8]
je 0x100f03bd
cmp dword [ecx], 0
jne 0x100f03d1
xor esi, esi
test edx, edx
je 0x100f06ce
cmp dword [edx + 4], 0
je 0x100f06ce
add eax, 0x10
push eax
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
test eax, eax
je 0x100f03f3
mov esi, dword [eax + 0xc]
jmp 0x100f03f5
xor esi, esi
xor edi, edi
mov ebx, dword [esp + 4]
jmp 0x100f0171
xor esi, esi
push esi
call sym.nss3.dll_HASH_GetHashTypeByOidTag
add esp, 4
mov ecx, esi
mov dword [esp + 0x1c], esi
test esi, esi
je 0x100f06bd
mov esi, eax
test eax, eax
je 0x100f06bd
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x100f043e
mov edx, dword [ebp + 0xc]
cmp esi, 8
jb 0x100f0485
push 0
push 0xffffe006
call sym.nss3.dll_PR_SetError
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
add esp, 8
xor eax, eax
jmp 0x100f048f
mov eax, dword [esp + 0x28]
test eax, eax
je 0x100f06bd
mov eax, dword [eax]
test eax, eax
je 0x100f06bd
xor esi, esi
push eax
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
mov ecx, 0
test eax, eax
je 0x100f046b
mov ecx, dword [eax + 0xc]
cmp ecx, dword [esp + 0x1c]
je 0x100f04a1
mov eax, dword [esp + 0x28]
mov eax, dword [eax + esi + 4]
add esi, 4
test eax, eax
jne 0x100f0456
jmp 0x100f06bd
lea eax, [esi + esi*4]
mov eax, dword [eax*8 + 0x101a6e34]
cmp esi, edx
jne 0x100f06bd
cmp dword [ecx + 8], eax
je 0x100f04b6
jmp 0x100f06bd
mov eax, dword [esp + 0x28]
cmp dword [eax + esi], 0
je 0x100f06bd
mov eax, dword [esp + 0xc]
mov ecx, dword [eax + esi]
mov dword [esp + 0xc], ecx
mov eax, dword [esp + 8]
add eax, 0x2c
push eax
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
test eax, eax
je 0x100f06bd
mov esi, dword [eax + 0xc]
test esi, esi
je 0x100f06bd
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x100f05f0
cmp dword [esp + 0x24], 0
jne 0x100f06bd
push 1
push 0x21
push eax
call fcn.100f25f0
add esp, 0xc
push eax
call fcn.100f26a0
add esp, 4
test eax, eax
je 0x100f06bd
mov ecx, dword [eax + 8]
cmp ecx, dword [edi + 8]
jne 0x100f06bd
push ecx
push dword [edi + 4]
push dword [eax + 4]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x100f06bd
mov eax, dword [esp + 8]
lea edi, [eax + 0x28]
push 1
push 0x22
push dword [edi]
call fcn.100f25f0
add esp, 0xc
push eax
call fcn.100f26a0
add esp, 4
test eax, eax
je 0x100f06bd
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0xc]
cmp ecx, dword [edx + 8]
jne 0x100f06bd
push ecx
mov ecx, dword [esp + 0x10]
push dword [ecx + 4]
push dword [eax + 4]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x100f06bd
xor eax, eax
lea ecx, [esp + 0x2c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
push 0x101af050
push edi
push ecx
push eax
call sym.nss3.dll_SEC_ASN1EncodeItem_Util
add esp, 0x10
test eax, eax
je 0x100f06cc
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100f06bd
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x100f06bd
mov edx, dword [esp + 8]
add edx, 0x44
push dword [ebx + 0x14]
push 0
push dword [esp + 0x24]
push esi
push edx
push dword [esp + 0x14]
push ecx
push eax
call fcn.10098280
add esp, 0x20
mov esi, eax
mov eax, dword [esp + 0x30]
jmp 0x100f06ad
mov eax, dword [esp + 8]
cmp dword [eax + 0x4c], 0
je 0x100f06bd
cmp dword [esp + 0x24], 0
je 0x100f06da
push dword [esp + 0x10]
push dword [esp + 0x28]
call fcn.100f1cd0
add esp, 8
test eax, eax
je 0x100f06cc
mov edi, eax
push 1
mov eax, dword [esp + 0xc]
push dword [eax + 0x4c]
push edi
call fcn.100f2040
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
je 0x100f0740
push dword [esp + 0x10]
call sym.nss3.dll_PORT_Alloc_Util
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x100f0740
lea ecx, [esp + 0x34]
push 1
mov edx, dword [esp + 0xc]
push dword [edx + 0x4c]
push dword [edx + 0x48]
push dword [esp + 0x1c]
push ecx
push eax
push edi
call fcn.100f20b0
add esp, 0x1c
mov dword [esp + 0x10], eax
push edi
call fcn.100f2010
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x100f06cc
lea edi, [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp]
push dword [ebx + 0x14]
push dword [esp + 0x20]
push esi
push edi
call fcn.10098080
add esp, 0x10
mov esi, eax
mov eax, dword [edi + 4]
test eax, eax
je 0x100f06fb
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x100f06fb
push 0
push 0xffffe02f
call sym.nss3.dll_PR_SetError
add esp, 8
xor esi, esi
mov ebx, dword [esp + 4]
mov edi, dword [esp]
jmp 0x100f0171
mov eax, dword [esp + 8]
add eax, 0x44
mov ecx, dword [esp + 0xc]
mov edx, dword [esp]
push dword [ebx + 0x14]
push dword [esp + 0x20]
push esi
push eax
call fcn.10098080
add esp, 0x10
mov esi, eax
test esi, esi
je 0x100f074b
cmp dword [0x101de200], 0
je 0x100f0795
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100f0773
xor esi, esi
cmp dword [eax + 0x28], 0xffffe00a
jne 0x100f0736
push 0
push 0xffffe02f
call sym.nss3.dll_PR_SetError
add esp, 8
mov edi, dword [esp]
mov dl, 1
jmp 0x100f02e9
push edi
call fcn.100f2010
add esp, 4
jmp 0x100f06cc
xor esi, esi
inc esi
xor edx, edx
mov edi, dword [esp]
jmp 0x100f02e9
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
jmp 0x100f0340
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
jmp 0x100f071c
call fcn.100745e0
jmp 0x100f0329
call fcn.100745e0
jmp 0x100f070c