Perhaps the largest decrease to the cost basis is depreciation.
Securities and Exchange Commission as an investment adviser.
In an as is sales contract for real estate, there will typically be a section that absolves the seller of liability related to the state of the property.