Function at 0x100e8610
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 [0x101ef014]
xor eax, ebp
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], 0
mov eax, dword [0x101f2fe4]
mov dword [esp], eax
push ecx
call fcn.100e7090
add esp, 4
cmp eax, 0x1c
je 0x100e8656
cmp eax, 0x1a
jne 0x100e86cc
mov edi, dword [ebx + 0x24]
lea eax, [edi + 0x40]
jmp 0x100e865c
mov edi, dword [ebx + 0x24]
lea eax, [edi + 0x64]
mov eax, dword [eax]
test eax, eax
je 0x100e86cc
cmp dword [eax], 0
je 0x100e86cc
mov dword [esp + 0x1c], esi
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0xc], 0x1c
jne 0x100e8699
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 0x100e86ba
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 0x100e86cc
mov eax, dword [esi]
test eax, eax
je 0x100e86cc
cmp dword [esi + 4], 0
je 0x100e8715
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 0x100e86f3
push ebx
push eax
call sym.nss3.dll_CERT_DestroyCertArray
add esp, 8
test edi, edi
je 0x100e8700
push edi
call sym.nss3.dll_SECKEY_DestroyPublicKey
add esp, 4
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.10156ff0
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [esp], 0
je 0x100e86db
mov dword [esp + 0x28], ecx
mov dword [esp + 8], eax
mov edx, dword [edx]
xor esi, esi
mov ecx, 0
test edx, edx
je 0x100e873f
xor eax, eax
dec eax
lea ecx, [eax + 1]
cmp dword [edx + eax*4 + 4], 0
mov eax, ecx
jne 0x100e8733
mov eax, dword [esp + 4]
mov eax, dword [eax]
mov dword [esp + 0x18], 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 + 0x34]
push dword [esp + 0x1c]
call sym.nss3.dll_CERT_ImportCerts
add esp, 0x20
test eax, eax
jne 0x100e8975
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 0x100e8973
mov dword [esp + 0x14], eax
mov dword [esi + 0x54], eax
push ebx
call fcn.100e7090
add esp, 4
cmp eax, 0x1a
jne 0x100e87c1
mov eax, dword [ebx + 0x24]
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x100e87c1
mov eax, dword [ecx]
test eax, eax
je 0x100e87c1
cmp dword [ecx + 4], 0
je 0x100e87d5
xor ecx, ecx
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x100e883e
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x24], ecx
jmp 0x100e884b
push 1
push 0x23
push dword [eax + 0x28]
call fcn.100eac80
add esp, 0xc
push eax
call fcn.100ead30
add esp, 4
test eax, eax
je 0x100e87c1
mov esi, eax
mov eax, dword [eax]
cmp eax, 0xb
je 0x100e8810
cmp eax, 0xc
jne 0x100e8a2e
lea eax, [esp + 0x38]
push esi
push eax
call sym.nss3.dll_DER_GeneralizedTimeToTime_Util
jmp 0x100e881b
lea eax, [esp + 0x38]
push esi
push eax
call sym.nss3.dll_DER_UTCTimeToTime_Util
add esp, 8
xor ecx, ecx
test eax, eax
cmove ecx, esi
mov edx, dword [ebp + 0x14]
test edx, edx
jne 0x100e87ca
mov dword [esp + 0x24], esi
test ecx, ecx
je 0x100e883e
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
jmp 0x100e884b
mov dword [esp + 0x24], 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 + 0x30]
push 1
push dword [esp + 0x30]
push dword [esp + 0x20]
call fcn.100873c0
add esp, 0x24
mov dl, 1
test eax, eax
je 0x100e8920
xor edi, edi
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x118]
test eax, eax
mov ebx, dword [esp + 4]
je 0x100e86e1
mov ecx, dword [esp + 0x1c]
and ecx, 0xfffffffe
cmp ecx, 4
jne 0x100e86e1
cmp byte [eax], 0
je 0x100e86e1
mov dword [esp + 0x1c], edx
cmp dword [0x101f2f50], 0
je 0x100e8d65
mov dword [esp], edi
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100e8d2f
mov edi, dword [eax + 0x28]
xor eax, eax
cmp byte [esp + 0x1c], 0
mov edx, dword [esp + 0x14]
jne 0x100e8902
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 0x28]
test ecx, ecx
je 0x100e8902
push 1
push 0x28
push ecx
call fcn.100eac80
add esp, 0xc
push eax
call fcn.100ead30
mov edx, dword [esp + 0x18]
add esp, 4
push dword [esp + 0x24]
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 0x100e8c92
mov ecx, dword [esp + 0x14]
add ecx, 0xd4
call fcn.1008d0f0
mov dword [esp], eax
test eax, eax
je 0x100e8973
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
mov eax, dword [esp + 8]
je 0x100e894a
cmp dword [ecx], 0
jne 0x100e895e
xor esi, esi
test edx, edx
je 0x100e8c8e
cmp dword [edx + 4], 0
je 0x100e8c8e
add eax, 0x10
push eax
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
test eax, eax
je 0x100e8980
mov esi, dword [eax + 0xc]
jmp 0x100e8982
xor esi, esi
xor edi, edi
mov ebx, dword [esp + 4]
jmp 0x100e86e1
xor esi, esi
push esi
call sym.nss3.dll_HASH_GetHashTypeByOidTag
add esp, 4
mov ecx, esi
mov dword [esp + 0x20], esi
test esi, esi
je 0x100e8c7d
mov esi, eax
test eax, eax
je 0x100e8c7d
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x100e89cb
mov edx, dword [ebp + 0xc]
cmp esi, 0xc
jb 0x100e8a12
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 0x100e8a1c
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100e8c7d
mov eax, dword [eax]
test eax, eax
je 0x100e8c7d
xor esi, esi
push eax
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
mov ecx, 0
test eax, eax
je 0x100e89f8
mov ecx, dword [eax + 0xc]
cmp ecx, dword [esp + 0x20]
je 0x100e8a42
mov eax, dword [esp + 0x18]
mov eax, dword [eax + esi + 4]
add esi, 4
test eax, eax
jne 0x100e89e3
jmp 0x100e8c7d
lea eax, [esi + esi*4]
mov eax, dword [eax*8 + 0x101ba0a4]
cmp esi, edx
jne 0x100e8c7d
cmp dword [ecx + 8], eax
je 0x100e8a57
jmp 0x100e8c7d
push 0
push 0xffffe005
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x100e87c1
mov eax, dword [esp + 0x18]
cmp dword [eax + esi], 0
je 0x100e8c7d
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 0x100e8c7d
mov esi, dword [eax + 0xc]
test esi, esi
je 0x100e8c7d
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x100e8b91
cmp dword [esp + 0x28], 0
jne 0x100e8c7d
push 1
push 0x21
push eax
call fcn.100eac80
add esp, 0xc
push eax
call fcn.100ead30
add esp, 4
test eax, eax
je 0x100e8c7d
mov ecx, dword [eax + 8]
cmp ecx, dword [edi + 8]
jne 0x100e8c7d
push ecx
push dword [edi + 4]
push dword [eax + 4]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x100e8c7d
mov eax, dword [esp + 8]
lea edi, [eax + 0x28]
push 1
push 0x22
push dword [edi]
call fcn.100eac80
add esp, 0xc
push eax
call fcn.100ead30
add esp, 4
test eax, eax
je 0x100e8c7d
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0xc]
cmp ecx, dword [edx + 8]
jne 0x100e8c7d
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 0x100e8c7d
xor eax, eax
lea ecx, [esp + 0x2c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
push 0x101c2584
push edi
push ecx
push eax
call sym.nss3.dll_SEC_ASN1EncodeItem_Util
add esp, 0x10
test eax, eax
je 0x100e8c8c
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x100e8c7d
mov edx, dword [esp + 0x34]
test edx, edx
je 0x100e8c7d
mov eax, dword [esp + 8]
add eax, 0x44
xor edi, edi
push dword [ebx + 0x14]
push edi
push edi
push dword [esp + 0x2c]
push esi
push eax
push dword [esp + 0x18]
call fcn.10090c90
add esp, 0x1c
mov esi, eax
mov eax, dword [esp + 0x30]
jmp 0x100e8c6d
mov eax, dword [esp + 8]
cmp dword [eax + 0x4c], 0
je 0x100e8c7d
cmp dword [esp + 0x28], 0
je 0x100e8c9a
push dword [esp + 0x10]
push dword [esp + 0x2c]
call fcn.100ea3a0
add esp, 8
test eax, eax
je 0x100e8c8c
mov edi, eax
push 1
mov eax, dword [esp + 0xc]
push dword [eax + 0x4c]
push edi
call fcn.100ea6d0
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
je 0x100e8d00
push dword [esp + 0x10]
call sym.nss3.dll_PORT_Alloc_Util
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x100e8d00
lea ecx, [esp + 0x34]
xor edx, edx
inc edx
push edx
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.100ea740
add esp, 0x1c
mov dword [esp + 0x10], eax
mov eax, dword [edi]
mov dword [esp + 0x18], eax
mov ecx, dword [edi + 8]
call dword [section..00cfg]
xor eax, eax
inc eax
push eax
push dword [esp + 0x1c]
call ecx
add esp, 8
push edi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
cmp dword [esp + 0x10], 0
jne 0x100e8c8c
lea edi, [esp + 0x2c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp]
push dword [ebx + 0x14]
push dword [esp + 0x24]
push esi
push edi
call fcn.10090a20
add esp, 0x10
mov esi, eax
mov eax, dword [edi + 4]
test eax, eax
je 0x100e8cbb
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x100e8cbb
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 0x100e86e1
mov eax, dword [esp + 8]
add eax, 0x44
mov ecx, dword [esp + 0xc]
mov edx, dword [esp]
push dword [ebx + 0x14]
push dword [esp + 0x24]
push esi
push eax
call fcn.10090a20
add esp, 0x10
mov esi, eax
test esi, esi
je 0x100e8d22
cmp dword [0x101f2f50], 0
je 0x100e8d6f
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100e8d4a
xor esi, esi
cmp dword [eax + 0x28], 0xffffe00a
jne 0x100e8cf6
push 0
push 0xffffe02f
call sym.nss3.dll_PR_SetError
add esp, 8
mov edi, dword [esp]
mov dl, 1
jmp 0x100e8876
mov esi, dword [edi]
mov ecx, dword [edi + 8]
call dword [section..00cfg]
push 1
push esi
call ecx
add esp, 8
push edi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x100e8c8c
xor esi, esi
inc esi
xor edx, edx
mov edi, dword [esp]
jmp 0x100e8876
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x100e88cd
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x100e8cdc
call fcn.100029d0
jmp 0x100e88b6
call fcn.100029d0
jmp 0x100e8ccc