REGISTRATION RIGHTS AGREEMENT by and among HPS Corporate Lending Fund BofA Securities, Inc., RBC Capital Markets, LLC, SMBC Nikko Securities America, Inc., Goldman Sachs & Co. LLC and Morgan Stanley & Co. LLC Dated as of June 5, 2025