Purchase and Contribution Agreement by and between MSCC Funding I, LLC as Buyer and Main Street Capital Corporation as Seller Dated as of November 22, 2022