Deductions & credits

If it's an actual business you can deduct the legal expenses. If it's just an investment, then the legal expenses would be miscellaneous itemized deductions which are no longer deductible after tax reform for the 2018 through 2025 tax years.