MASTER REPURCHASE AGREEMENT Dated as of September 2, 2015 LOANDEPOT.COM, LLC, the Seller, MORGAN STANLEY BANK, N.A., the Buyer and MORGAN STANLEY MORTGAGE CAPITAL HOLDINGS LLC, the Agent