Function at 0x100e4340
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov eax, dword [0x101ef014]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
cmp dword [ecx + 0x20], 0
jne 0x100e4549
mov esi, ecx
cmp dword [ecx + 0x24], 0
jne 0x100e4549
cmp dword [esi + 0x34], 0
jne 0x100e4549
mov edi, edx
mov ebx, dword [esi + 0xc]
add ebx, 0xc
mov ecx, esi
call fcn.100e21b0
xor edx, edx
mov ecx, 0
test eax, eax
je 0x100e4392
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], eax
push edx
push edx
mov dword [ebp - 0x24], ebx
push ebx
call fcn.1007a6c0
add esp, 0xc
test eax, eax
je 0x100e43f8
mov ebx, eax
push 0
push eax
call sym.nss3.dll_CERT_IsCACert
add esp, 8
mov dword [ebp - 0x1c], eax
push ebx
call sym.nss3.dll_CERT_DestroyCertificate
add esp, 4
xor edx, edx
cmp dword [ebp - 0x1c], 0
je 0x100e43ff
push edx
push edx
mov ebx, dword [ebp - 0x24]
push ebx
call fcn.1007a6c0
add esp, 0xc
test eax, eax
je 0x100e4404
cmp dword [eax + 0x170], 0
sete cl
mov dword [ebp - 0x1c], ecx
push eax
call sym.nss3.dll_CERT_DestroyCertificate
mov edx, dword [ebp - 0x1c]
add esp, 4
jmp 0x100e4406
mov ebx, dword [ebp - 0x24]
xor edx, edx
jmp 0x100e4406
mov ebx, dword [ebp - 0x24]
jmp 0x100e4406
mov dl, 1
test edi, edi
je 0x100e4437
xor eax, eax
push eax
push eax
push eax
push ebx
push dword [0x101f2fe4]
call sym.nss3.dll_CERT_NewTempCertificate
add esp, 0x14
test eax, eax
je 0x100e4493
mov edi, eax
push dword [ebp + 8]
push 1
push dword [ebp - 0x20]
push eax
push dword [esi + 0x40]
call fcn.100a6bc0
jmp 0x100e4483
mov ecx, dword [esi + 0x4c]
cmp ecx, 1
setne al
test ecx, ecx
je 0x100e44d8
or al, dl
je 0x100e44d8
mov ecx, ebx
mov ebx, dword [esi + 0x40]
xor eax, eax
push 1
push eax
push eax
push ecx
push dword [0x101f2fe4]
call sym.nss3.dll_CERT_NewTempCertificate
add esp, 0x14
test eax, eax
je 0x100e455d
mov edi, eax
sub esp, 4
push dword [ebp - 0x20]
push 0
push eax
push ebx
call sym.nss3.dll_PK11_ImportCert
add esp, 0x14
mov ebx, eax
push edi
call sym.nss3.dll_CERT_DestroyCertificate
add esp, 4
jmp 0x100e44ff
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x100e44a5
push 1
push eax
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
cmp dword [0x101f2f50], 0
je 0x100e459f
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100e457a
mov eax, dword [eax + 0x28]
mov dword [esi + 0x38], eax
mov dword [esi + 0x20], 1
xor ebx, ebx
dec ebx
jmp 0x100e4549
lea eax, [ebp - 0x18]
mov dword [eax], ebx
xor ecx, ecx
mov dword [eax + 4], ecx
xor edx, edx
inc edx
push dword [ebp - 0x20]
push ecx
push edx
push ecx
push eax
push edx
push 7
push dword [0x101f2fe4]
call sym.nss3.dll_CERT_ImportCerts
add esp, 0x20
mov ebx, eax
test ebx, ebx
mov eax, dword [ebp - 0x28]
je 0x100e4531
mov dword [esi + 0x20], 1
cmp dword [0x101f2f50], 0
je 0x100e4595
push dword [0x101f25a4]
call dword [sym.imp.kernel32.dll_TlsGetValue]
test eax, eax
je 0x100e4562
mov eax, dword [eax + 0x28]
mov dword [esi + 0x38], eax
mov eax, dword [ebp - 0x28]
jmp 0x100e4533
xor ebx, ebx
mov dword [esi + 0x34], 1
test eax, eax
je 0x100e4549
push 1
push eax
call sym.nss3.dll_SECITEM_FreeItem_Util
add esp, 8
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10156ff0
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
xor ebx, ebx
dec ebx
jmp 0x100e4506
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x100e4526
sub esp, 0x10
movaps xmm0, xmmword [0x101af1a0]
movups xmmword [esp], xmm0
call fcn.1006d800
add esp, 0x10
jmp 0x100e44c6
call fcn.100029d0
jmp 0x100e4516
call fcn.100029d0
jmp 0x100e44b2