Function at 0x100e9bd0
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 [0x101f1014]
xor eax, ebp
mov dword [esp + 0x48], eax
mov dword [esp + 0x44], 0
mov eax, dword [0x101f5014]
mov dword [esp], eax
push ecx
call fcn.100e8650
add esp, 4
cmp eax, 0x1c
je 0x100e9c16
cmp eax, 0x1a
jne 0x100e9c8c
mov edi, dword [ebx + 0x24]
lea eax, [edi + 0x40]
jmp 0x100e9c1c
mov edi, dword [ebx + 0x24]
lea eax, [edi + 0x64]
mov eax, dword [eax]
test eax, eax
je 0x100e9c8c
cmp dword [eax], 0
je 0x100e9c8c
mov dword [esp + 0x1c], esi
mov eax, dword [ebx + 0xc]
cmp dword [eax + 0xc], 0x1c
jne 0x100e9c59
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 0x100e9c7a
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 0x100e9c8c
mov eax, dword [esi]
test eax, eax
je 0x100e9c8c
cmp dword [esi + 4], 0
je 0x100e9cd5
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 0x100e9cb3
push ebx
push eax
call sym.nss3.dll_CERT_DestroyCertArray
add esp, 8
test edi, edi
je 0x100e9cc0
push edi
call sym.nss3.dll_SECKEY_DestroyPublicKey
add esp, 4
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.10157a00
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [esp], 0
je 0x100e9c9b
mov dword [esp + 0x28], ecx
mov dword [esp + 8], eax
mov edx, dword [edx]
xor esi, esi
mov ecx, 0
test edx, edx
je 0x100e9cff
xor eax, eax
dec eax
lea ecx, [eax + 1]
cmp dword [edx + eax*4 + 4], 0
mov eax, ecx
jne 0x100e9cf3
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 0x100e9f35
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 0x100e9f33
mov dword [esp + 0x14], eax
mov dword [esi + 0x54], eax
push ebx
call fcn.100e8650
add esp, 4
cmp eax, 0x1a
jne 0x100e9d81
mov eax, dword [ebx + 0x24]
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x100e9d81
mov eax, dword [ecx]
test eax, eax
je 0x100e9d81
cmp dword [ecx + 4], 0
je 0x100e9d95
xor ecx, ecx
mov edx, dword [ebp + 0x14]
test edx, edx
je 0x100e9dfe
mov eax, dword [edx]
mov edx, dword [edx + 4]
mov dword [esp + 0x24], ecx
jmp 0x100e9e0b
push 1
push 0x23
push dword [eax + 0x28]
call fcn.100ec240
add esp, 0xc
push eax
call fcn.100ec2f0
add esp, 4
test eax, eax
je 0x100e9d81
mov esi, eax
mov eax, dword [eax]
cmp eax, 0xb
je 0x100e9dd0
cmp eax, 0xc
jne 0x100e9fee
lea eax, [esp + 0x38]
push esi
push eax
call sym.nss3.dll_DER_GeneralizedTimeToTime_Util
jmp 0x100e9ddb
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 0x100e9d8a
mov dword [esp + 0x24], esi
test ecx, ecx
je 0x100e9dfe
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
jmp 0x100e9e0b
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.10088960
add esp, 0x24
mov dl, 1
test eax, eax
je 0x100e9ee0
xor edi, edi
mov eax, dword [esp + 0x14]
mov eax, dword [eax + 0x118]
test eax, eax
mov ebx, dword [esp + 4]
je 0x100e9ca1
mov ecx, dword [esp + 0x1c]
and ecx, 0xfffffffe
cmp ecx, 4
jne 0x100e9ca1
cmp byte [eax], 0
je 0x100e9ca1
mov dword [esp + 0x1c], edx
cmp dword [0x101f4f80], 0
je 0x100ea325
mov dword [esp], edi
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100ea2ef
mov edi, dword [eax + 0x28]
xor eax, eax
cmp byte [esp + 0x1c], 0
mov edx, dword [esp + 0x14]
jne 0x100e9ec2
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 0x28]
test ecx, ecx
je 0x100e9ec2
push 1
push 0x28
push ecx
call fcn.100ec240
add esp, 0xc
push eax
call fcn.100ec2f0
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 0x100ea252
mov ecx, dword [esp + 0x14]
add ecx, 0xd4
call fcn.1008e690
mov dword [esp], eax
test eax, eax
je 0x100e9f33
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0xc]
test ecx, ecx
mov eax, dword [esp + 8]
je 0x100e9f0a
cmp dword [ecx], 0
jne 0x100e9f1e
xor esi, esi
test edx, edx
je 0x100ea24e
cmp dword [edx + 4], 0
je 0x100ea24e
add eax, 0x10
push eax
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
test eax, eax
je 0x100e9f40
mov esi, dword [eax + 0xc]
jmp 0x100e9f42
xor esi, esi
xor edi, edi
mov ebx, dword [esp + 4]
jmp 0x100e9ca1
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 0x100ea23d
mov esi, eax
test eax, eax
je 0x100ea23d
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x100e9f8b
mov edx, dword [ebp + 0xc]
cmp esi, 0xc
jb 0x100e9fd2
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 0x100e9fdc
mov eax, dword [esp + 0x18]
test eax, eax
je 0x100ea23d
mov eax, dword [eax]
test eax, eax
je 0x100ea23d
xor esi, esi
push eax
call sym.nss3.dll_SECOID_FindOID_Util
add esp, 4
mov ecx, 0
test eax, eax
je 0x100e9fb8
mov ecx, dword [eax + 0xc]
cmp ecx, dword [esp + 0x20]
je 0x100ea002
mov eax, dword [esp + 0x18]
mov eax, dword [eax + esi + 4]
add esi, 4
test eax, eax
jne 0x100e9fa3
jmp 0x100ea23d
lea eax, [esi + esi*4]
mov eax, dword [eax*8 + 0x101bc284]
cmp esi, edx
jne 0x100ea23d
cmp dword [ecx + 8], eax
je 0x100ea017
jmp 0x100ea23d
push 0
push 0xffffe005
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x100e9d81
mov eax, dword [esp + 0x18]
cmp dword [eax + esi], 0
je 0x100ea23d
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 0x100ea23d
mov esi, dword [eax + 0xc]
test esi, esi
je 0x100ea23d
mov eax, dword [esp + 8]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x100ea151
cmp dword [esp + 0x28], 0
jne 0x100ea23d
push 1
push 0x21
push eax
call fcn.100ec240
add esp, 0xc
push eax
call fcn.100ec2f0
add esp, 4
test eax, eax
je 0x100ea23d
mov ecx, dword [eax + 8]
cmp ecx, dword [edi + 8]
jne 0x100ea23d
push ecx
push dword [edi + 4]
push dword [eax + 4]
call sub.VCRUNTIME140.dll_memcmp
add esp, 0xc
test eax, eax
jne 0x100ea23d
mov eax, dword [esp + 8]
lea edi, [eax + 0x28]
push 1
push 0x22
push dword [edi]
call fcn.100ec240
add esp, 0xc
push eax
call fcn.100ec2f0
add esp, 4
test eax, eax
je 0x100ea23d
mov ecx, dword [eax + 8]
mov edx, dword [esp + 0xc]
cmp ecx, dword [edx + 8]
jne 0x100ea23d
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 0x100ea23d
xor eax, eax
lea ecx, [esp + 0x2c]
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
push 0x101c4764
push edi
push ecx
push eax
call sym.nss3.dll_SEC_ASN1EncodeItem_Util
add esp, 0x10
test eax, eax
je 0x100ea24c
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x100ea23d
mov edx, dword [esp + 0x34]
test edx, edx
je 0x100ea23d
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.10092230
add esp, 0x1c
mov esi, eax
mov eax, dword [esp + 0x30]
jmp 0x100ea22d
mov eax, dword [esp + 8]
cmp dword [eax + 0x4c], 0
je 0x100ea23d
cmp dword [esp + 0x28], 0
je 0x100ea25a
push dword [esp + 0x10]
push dword [esp + 0x2c]
call fcn.100eb960
add esp, 8
test eax, eax
je 0x100ea24c
mov edi, eax
push 1
mov eax, dword [esp + 0xc]
push dword [eax + 0x4c]
push edi
call fcn.100ebc90
add esp, 0xc
mov dword [esp + 0x10], eax
test eax, eax
je 0x100ea2c0
push dword [esp + 0x10]
call sym.nss3.dll_PORT_Alloc_Util
add esp, 4
mov dword [esp + 0x30], eax
test eax, eax
je 0x100ea2c0
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.100ebd00
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 0x100ea24c
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.10091fc0
add esp, 0x10
mov esi, eax
mov eax, dword [edi + 4]
test eax, eax
je 0x100ea27b
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
jmp 0x100ea27b
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 0x100e9ca1
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.10091fc0
add esp, 0x10
mov esi, eax
test esi, esi
je 0x100ea2e2
cmp dword [0x101f4f80], 0
je 0x100ea32f
push dword [0x101f45d4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100ea30a
xor esi, esi
cmp dword [eax + 0x28], 0xffffe00a
jne 0x100ea2b6
push 0
push 0xffffe02f
call sym.nss3.dll_PR_SetError
add esp, 8
mov edi, dword [esp]
mov dl, 1
jmp 0x100e9e36
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 0x100ea24c
xor esi, esi
inc esi
xor edx, edx
mov edi, dword [esp]
jmp 0x100e9e36
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x100e9e8d
sub esp, 0x10
movaps xmm0, xmmword [0x101b11e0]
movups xmmword [esp], xmm0
call fcn.1006e720
add esp, 0x10
jmp 0x100ea29c
call fcn.1001b2e0
jmp 0x100e9e76
call fcn.1001b2e0
jmp 0x100ea28c