Query for Certificates

unique values of ( names of keys of keys "Certificates" of keys whose( name of it as uppercase contains "CA" OR (name of it as uppercase contains "ROOT" AND name of it as uppercase does not contain "SMARTCARDROOT") ) of keys "SOFTWARE\Microsoft\SystemCertificates" of (keys "HKEY_LOCAL_MACHINE" of it; keys of keys "HKEY_USERS" of it) of (x64 registries; x32 registries) )