EX-10.25



 Exhibit 10.25 

EXECUTION COPY 
  

 
  

MASTER REPURCHASE AGREEMENT 

Between: 
 UBS REAL ESTATE
SECURITIES INC., as Buyer 
 and 

LOANDEPOT.COM, LLC, as Seller 

Dated as of March 14, 2012 
  

 
  







 TABLE OF CONTENTS 

 

							
	 	 	 	  	Page	 
	 SECTION 1.
	 	APPLICABILITY; INCORPORATION OF CUSTOMER GUIDE	  	 	1	  
			
	 SECTION 2.
	 	DEFINITIONS	  	 	1	  
			
	 SECTION 3.
	 	INITIATION; TERMINATION	  	 	21	  
			
	 SECTION 4.
	 	MARGIN AMOUNT MAINTENANCE	  	 	27	  
			
	 SECTION 5.
	 	COLLECTIONS; INCOME PAYMENTS	  	 	27	  
			
	 SECTION 6.
	 	REQUIREMENT OF LAW	  	 	28	  
			
	 SECTION 7.
	 	TAXES	  	 	29	  
			
	 SECTION 8.
	 	SECURITY INTEREST; BUYER’S APPOINTMENT AS ATTORNEY-IN-FACT	  	 	32	  
			
	 SECTION 9.
	 	PAYMENT, TRANSFER; ACCOUNTS	  	 	33	  
			
	 SECTION 10.
	 	RESERVED	  	 	35	  
			
	 SECTION 11.
	 	REPRESENTATIONS	  	 	35	  
			
	 SECTION 12.
	 	COVENANTS	  	 	41	  
			
	 SECTION 13.
	 	EVENTS OF DEFAULT	  	 	46	  
			
	 SECTION 14.
	 	REMEDIES	  	 	48	  
			
	 SECTION 15.
	 	INDEMNIFICATION AND EXPENSES; RECOURSE	  	 	51	  
			
	 SECTION 16.
	 	SERVICING	  	 	52	  
			
	 SECTION 17.
	 	DUE DILIGENCE	  	 	54	  
			
	 SECTION 18.
	 	ASSIGNABILITY	  	 	55	  
			
	 SECTION 19.
	 	TRANSFER AND MAINTENANCE OF REGISTER	  	 	56	  
			
	 SECTION 20.
	 	HYPOTHECATION OR PLEDGE OF PURCHASED ASSETS	  	 	56	  
			
	 SECTION 21.
	 	TAX TREATMENT	  	 	56	  
			
	 SECTION 22.
	 	SET-OFF	  	 	56	  
			
	 SECTION 23.
	 	TERMINABILITY	  	 	57	  
			
	 SECTION 24.
	 	NOTICES AND OTHER COMMUNICATIONS	  	 	57	  


  
 i 









							
	 SECTION 25.
	 	USE OF THE WAREHOUSE ELECTRONIC SYSTEM AND OTHER ELECTRONIC MEDIA	  	 	57	  
			
	 SECTION 26.
	 	ENTIRE AGREEMENT; SEVERABILITY; SINGLE AGREEMENT	  	 	59	  
			
	 SECTION 27.
	 	GOVERNING LAW	  	 	60	  
			
	 SECTION 28.
	 	SUBMISSION TO JURISDICTION; WAIVERS	  	 	60	  
			
	 SECTION 29.
	 	NO WAIVERS, ETC.	  	 	61	  
			
	 SECTION 30.
	 	NETTING	  	 	61	  
			
	 SECTION 31.
	 	CONFIDENTIALITY	  	 	61	  
			
	 SECTION 32.
	 	INTENT	  	 	62	  
			
	 SECTION 33.
	 	DISCLOSURE RELATING TO CERTAIN FEDERAL PROTECTIONS	  	 	63	  
			
	 SECTION 34.
	 	CONFLICTS	  	 	63	  
			
	 SECTION 35.
	 	MISCELLANEOUS	  	 	64	  
			
	 SECTION 36.
	 	GENERAL INTERPRETIVE PRINCIPLES	  	 	64	  


  
 ii 









					
	SCHEDULES AND EXHIBITS
			
		 	SCHEDULE 1	    	Representations and Warranties
			
		 	SCHEDULE 2	    	Responsible Officers
			
		 	SCHEDULE 3	    	Scheduled Indebtedness
			
		 	EXHIBIT A	    	Form of Opinion Letter
			
		 	EXHIBIT B	    	Form of Seller’s Officer’s Certificate
			
		 	EXHIBIT C	    	Form of Servicer Notice
			
		 	EXHIBIT D	    	Form of Confirmation Letter
			
		 	EXHIBIT E	    	Form of Power of Attorney
			
		 	EXHIBIT F	    	Form of Section 7 Certificate
			
		 	EXHIBIT G	    	Form of Irrevocable Instruction Letter


  
 iii 








 MASTER REPURCHASE AGREEMENT 

This is a MASTER REPURCHASE AGREEMENT (this “Agreement”), dated as of March 14, 2012, between LOANDEPOT.COM, LLC, a
Delaware limited liability company (the “Seller”) and UBS Real Estate Securities Inc., a Delaware corporation (the “Buyer”). 

SECTION 1.    APPLICABILITY; INCORPORATION OF CUSTOMER GUIDE 

From time to time the parties hereto may enter into transactions in which Seller agrees to transfer to Buyer Mortgage Loans on a servicing
released basis against the transfer of funds by Buyer, with a simultaneous agreement by Buyer to transfer to Seller such Mortgage Loans on a servicing released basis or Agency Securities backed by such Mortgage Loans on the Repurchase Date, against
the transfer of funds by Seller. Each such transaction shall be referred to herein as a “Transaction” and shall be governed by this Agreement (including any supplemental terms or conditions contained in any annexes identified herein, as
applicable hereunder), unless otherwise agreed in writing. This Agreement is not a commitment by Buyer to enter into Transactions with Seller but rather sets forth the procedures to be used in connection with periodic requests for Buyer to enter
into Transactions with Seller. Seller hereby acknowledges that Buyer is under no obligation to agree to enter into, or to enter into, any Transaction pursuant to this Agreement. Any commitment to enter into Transactions shall be set forth in the
Pricing Letter, and shall be subject to satisfaction of all terms and conditions of this Agreement. 
 The Customer Guide is one of the
Program Documents as defined below. The Customer Guide is incorporated by reference into this Agreement and Seller agrees to adhere to all terms, conditions and requirements of the Customer Guide. Buyer may amend the Customer Guide from time to time
as more particularly described in Section 35(e). In the event of a conflict or inconsistency between this Agreement and the Customer Guide, the terms of this Agreement shall govern unless subsequently amended by amendments to the Customer
Guide. Seller’s execution and delivery of this Agreement constitutes Seller’s acknowledgment of receipt of the Customer Guide and Seller’s agreement to the terms and conditions set forth therein and herein with respect thereto. 

The Pricing Letter is one of the Program Documents as defined below. The Pricing Letter is incorporated by reference into this Agreement and
Seller agrees to adhere to all terms, conditions and requirements of the Pricing Letter as incorporated herein. In the event of a conflict or inconsistency between this Agreement and the Pricing Letter, the terms of the Pricing Letter shall govern.

 SECTION 2.    DEFINITIONS 

As used herein, the defined terms set forth below shall have the meanings set forth herein. Additionally, as used herein, the following terms
shall have the meanings defined in the Uniform Commercial Code: accounts, chattel paper (including electronic chattel paper), goods (including inventory and equipment and any accessions thereto), instruments (including promissory notes), documents,
investment property, general intangibles (including payment intangibles and software), and supporting obligations, products and proceeds. 

  








 “1934 Act” shall have the meaning set forth in Section 33 of this
Agreement. 
 “Accepted Servicing Practices” shall mean, with respect to any Mortgage Loan, those mortgage servicing
practices of prudent mortgage lending institutions which service mortgage loans of the same type as such Mortgage Loan in the jurisdiction where the related Mortgaged Property is located. 

“Acquisition Cost” shall mean the total cost to Seller of originating or acquiring a Mortgage Loan, which shall include
(i) with respect to an originated Mortgage Loan, the outstanding principal balance advanced by Seller to the related Mortgagor or (ii) with respect to an acquired Mortgage Loan, the purchase price paid by Seller for such Mortgage Loan.

 “Affiliate” shall mean with respect to any Person, any “affiliate” of such Person, as such term is defined in
the Bankruptcy Code. 
 “Agency” shall mean Freddie Mac, Fannie Mae or Ginnie Mae, as applicable. 

“Agency Approval” shall have the meaning set forth in Section 12(w) of this Agreement. 

“Agency Security” shall mean a security issued in exchange for Purchased Mortgage Loans and backed by such Purchased Mortgage
Loans that is (a) guaranteed by Ginnie Mae or (b) issued by Fannie Mae or Freddie Mac. 
 “Agency Security Issuance
Failure” shall mean the failure of an Agency to cause the Delivery of an Agency Security in accordance with a Takeout Commitment. 

“Aging Limit” shall have the meaning specified in the Pricing Letter. 

“Agreement” shall mean this Master Repurchase Agreement between Buyer and Seller, dated as of the date hereof as the same may
be further amended, supplemented or otherwise modified in accordance with the terms of this Agreement. 
 “ALTA” shall mean
American Land Title Association, or any successor thereto. 
 “Annual Financial Statement Date” shall have the meaning set
forth in the Pricing Letter. 
 “Anti-Money Laundering Laws” shall have the meaning set forth in Section 11(x) of this
Agreement. 
 “Application” shall mean the application delivered by Seller to Buyer in connection with Buyer’s
approval of Seller for the program evidenced by this Agreement. 
 “Appraisal” shall mean an appraisal meeting the
requirements of the representations and warranties set forth in paragraph (nn) on Schedule 1 hereto 

  
 2 








 “Appraised Value” shall mean the value set forth in an Appraisal made in
connection with the origination of the related Mortgage Loan as the value of the Mortgaged Property. 
 “Appropriate Federal Banking
Agency” shall have the meaning ascribed to it by Section 1813(q) of Title 12 of the United States Code, as amended from time to time. 

“Approved CPA” shall mean a certified public accountant approved by Buyer in writing in its sole discretion. 

“Approved Investor” shall mean any institution which has made a Takeout Commitment and has been approved by Buyer in its sole
but reasonable discretion. 
 “Approved Mortgage Product” shall mean each Mortgage Product approved by Buyer as identified
in the Pricing Letter. Notwithstanding any reference to a Mortgage Product herein, such Mortgage Product shall not be an Approved Mortgage Product unless expressly identified as such in the Pricing Letter. 

“Approved Underwriting Guidelines” shall mean the underwriting guidelines approved by Buyer in its sole but reasonable
discretion. 
 “Asset Value” shall, with respect to each Eligible Mortgage Loan or Agency Security, as of any date of
determination, have the meaning specified under the heading “Asset Value” on Schedule 1 to the Pricing Letter subject to modification pursuant to the terms below. Where a Purchased Asset may qualify for two or more Asset Values
hereunder, unless otherwise expressly agreed to by the Buyer in writing, such Purchased Asset shall be assigned the lower Asset Value. Without limiting the generality of the foregoing, Seller acknowledges that: 

(a) the Asset Value of a Purchased Asset may be reduced to zero by Buyer if: 

(i) such Purchased Asset is a Purchased Mortgage Loan that ceases to be an Eligible Mortgage Loan; 

(ii) such Mortgage Note related to a Purchased Asset that is a Purchased Mortgage Loan has been released from the possession of
Buyer (other than to an Approved Investor pursuant to a Bailee Letter) for a period in excess of 10 calendar days; 
 (iii)
such Purchased Asset is a Purchased Mortgage Loan that has been released from the possession of Buyer to an Approved Investor pursuant to a Bailee Letter for a period in excess of 20 calendar days; 

(iv) such Purchased Asset is a Purchased Mortgage Loan that is a Wet Loan for which the related Mortgage File has not been
received by Buyer on or prior to the end of the Aging Limit for such Wet Loan; or 
 (v) such Purchased Asset is rejected by
the related Approved Investor or there shall occur a Takeout Failure; 

  
 3 








 (vi) such Purchased Asset is a Purchased Mortgage Loan that is a Delinquent
Mortgage Loan; 
 (vii) such Purchased Asset has been subject to Transactions hereunder for a period of greater than its
applicable Aging Limit; 
 (viii) such Purchased Asset is a Purchased Mortgage Loan that Buyer has determined in its sole but
reasonable discretion that such Purchased Asset is not eligible for whole loan sale or securitization in a transaction consistent with the prevailing sale and securitization industry with respect to substantially similar Mortgage Loans; or 

(ix) such Purchased Asset contains a breach of a representation or warranty made by Seller in this Agreement; and 

(b) the aggregate Asset Value of each Approved Mortgage Product shall not exceed the Concentration Limit for such applicable
Approved Mortgage Product. If the aggregate Asset Value for any Approved Mortgage Product exceeds the applicable Concentration Limit, Buyer may, in its sole discretion, reduce the value of any related Purchased Assets selected by Buyer to zero until
the aggregate Asset Value for such Approved Mortgage Product is less than or equal to the applicable Concentration Limit. 

“Assignment and Acceptance” shall have the meaning set forth in Section 18 of this Agreement. 

“Assignment of Mortgage” shall mean an assignment of the Mortgage, notice of transfer or equivalent instrument in recordable
form, sufficient under the laws of the jurisdiction wherein the related Mortgaged Property is located to reflect the sale of the Mortgage. 

“Bailee Letter” shall have the meaning assigned to such term in the Custodial Agreement. 

“Bankruptcy Code” shall mean the United States Bankruptcy Code of 1978, as amended from time to time. 

“Beneficial Tax Owners” shall have the meaning set forth in Section 7(e)(v) of this Agreement. 

“Business Day” shall mean a day other than (i) a Saturday or Sunday, (ii) any day on which banking institutions are
authorized or required by law, executive order or governmental decree to be closed in the State of New York or the State of California or (iii) any day on which the New York Stock Exchange is closed. 

“Buydown Amount” shall have the meaning set forth in Section 9(d) of this Agreement. 

“Buyer” shall mean UBS Real Estate Securities Inc., its successors in interest and assigns pursuant to Section 18 and,
with respect to Section 7, its participants. 

  
 4 








 “Cash Equivalents” shall mean (a) securities with maturities of 90 days or
less from the date of acquisition issued or fully guaranteed or insured by the United States Government or any agency thereof, (b) certificates of deposit and eurodollar time deposits with maturities of 90 days or less from the date of
acquisition and overnight bank deposits of Buyer or its Affiliates or of any commercial bank having capital and surplus in excess of $500,000,000, (c) commercial paper of a domestic issuer rated at least A-1 or the equivalent thereof by S&P
or P-1 or the equivalent thereof by Moody’s and in either case maturing within 90 days after the day of acquisition, (d) securities with maturities of 90 days or less from the date of acquisition backed by standby letters of credit issued
by Buyer or any commercial bank satisfying the requirements of clause (b) of this definition or (e) shares of money market mutual or similar funds which invest exclusively in assets satisfying the requirements of clauses (a) through
(d) of this definition. 
 “Certified Conforming Mortgage Loan” shall mean a Mortgage Loan which (i) is not a Wet
Loan or Jumbo Mortgage Loan, (ii) has been certified by Fannie Mae, Freddie Mac or Ginnie Mae’s custodian for securitization by Fannie Mae, Freddie Mac or Ginnie Mae, (iii) has been issued a CUSIP and (iv) Seller has provided
Buyer with all the documents necessary for securitization, as specified in the Customer Guide. 
 “Change in Control” shall
mean: 
 (a) any transaction or event as a result of which (i) Parthenon Capital Partners ceases to own, directly or
indirectly, 50% of the membership interests of Seller or (ii) Mr. Anthony Hsieh ceases to own, directly or indirectly, 5% of the membership interests of Seller; or 

(b) the sale, transfer, or other disposition of all or substantially all of Seller’s assets (excluding any such action
taken in connection with any securitization transaction); or 
 (c) the consummation of a merger or consolidation of Seller
with or into another entity or any other corporate reorganization (in one transaction or in a series of transactions), if more than 50% of the combined voting power of the continuing or surviving entity’s membership interests outstanding
immediately after such merger, consolidation or such other reorganization is owned by persons who were not members of Seller immediately prior to such merger, consolidation or other reorganization; or 

(d) Mr. Anthony Hsieh shall (i) no longer be employed by Seller or (ii) no longer be involved in the day to day
operations of Seller; or 
 (e) there is a change in the majority of the managing members of Seller during any twelve month
period. 
 “Closing Protection Letter” shall mean a letter of indemnification from a title insurer addressed to Seller
and/or Buyer or for which Buyer is a third party beneficiary, with coverage that is customarily acceptable to Persons engaged in the origination of mortgage loans, identifying the Settlement Agent covered thereby and indemnifying Seller and/or Buyer
(directly or as a third party beneficiary) against losses incurred due to malfeasance or fraud by the 

  
 5 








 
Settlement Agent or the failure of the Settlement Agent to follow the specific escrow instructions specified by Seller to the Settlement Agent or otherwise by Buyer with respect to the closing of
the Mortgage Loan. The Closing Protection Letter shall be either with respect to the individual Mortgage Loan being purchased pursuant hereto or a blanket Closing Protection Letter which covers closings conducted by the Settlement Agent in the
jurisdiction in which the closing of such Mortgage Loan takes place. 
 “CLTA” shall mean California Land Title
Association, or any successor thereto. 
 “Code” shall mean the Internal Revenue Code of 1986, as amended from time to
time. 
 “Compare Ratio” has the meaning set forth in the Compare Report. 

“Compare Report” means the DE Compare Report or the Institution Compare Report, as applicable. 

“Concentration Limit” shall have the meaning specified in the Pricing Letter. 

“Confidential Information” shall have the meaning set forth in Section 31 of this Agreement. 

“Confidential Terms” shall have the meaning set forth in Section 31 of this Agreement. 

“Confirmation” shall mean a confirmation letter in the form of Exhibit D hereto. 

“Conforming Mortgage Loan” shall mean a Mortgage Loan which is secured by a first lien, and such Mortgage Loan
(a) conforms to the requirements of an Agency for securitization or cash purchase and has (i) a minimum FICO score of 660; and (ii) a DTI not more than 45%; or (b) is eligible to be insured by FHA or guaranteed by VA or RHS
(excluding any Mortgage Loan which exceeds Agency guidelines or maximum general conventional loan amount) and (i) has a minimum FICO score of 640; (ii) has a DTI less not more than 50% and (iii) has a LTV not greater than 100%. 

“Costs” shall have the meaning set forth in Section 15(a) of this Agreement. 

“Credit File” shall mean with respect to each Mortgage Loan, the documents and instruments relating to the origination and
administration of such Mortgage Loan. 
 “Custodial Account” shall have the meaning set forth in Section 5(a) of this
Agreement. 
 “Custodial Agreement” shall mean that certain Custodial Agreement dated as of the date hereof, among Seller,
Buyer and Custodian as the same may be amended from time to time. 

  
 6 








 “Custodial Loan Transmission” shall have the meaning set forth in the Custodial
Agreement. 
 “Custodian” shall mean Deutsche Bank National Trust Company, or any successor thereto under the Custodial
Agreement. 
 “Customer Guide” shall mean the guidelines and other information provided to Seller by Buyer from time to
time, setting forth the policies and procedures to be followed by Seller when utilizing the facility contemplated under this Agreement. 

“DE Compare Ratio” has the meaning set forth in the DE Compare Report. 

“DE Compare Report” means with respect to the Seller, the top of the three rows of the report entitled “Neighborhood
Watch Early Warning System – Single Lender – Originator by Institution” and found at https://entp.hud.gov/sfnw/public/. Such report shall be generated using the following criteria: Mortgagee Selections: “Direct Endorsement
Lender;” Delinquent Choices: “Seriously Delinquent;” and 2 Year Performance Period: “Data as of [END OF MOST RECENT PRIOR MONTH].” 

“Default” shall mean an Event of Default or an event that with notice or lapse of time or both would become an Event of
Default. 
 “Defaulting Party” shall have the meaning set forth in Section 30 of this Agreement. 

“Defective Mortgage Loan” shall mean a Mortgage Loan (a) which is in foreclosure, has been foreclosed upon or has been
converted to real estate owned property, (b) for which the Mortgagor is in bankruptcy, (c) that is not subject to a valid and binding Takeout Commitment, (d) that is subject to a Takeout Commitment with respect to which Seller or
Approved Investor is in default, (e) that is rejected or excluded for any reason from the related Takeout Commitment by the Approved Investor, (f) that is not purchased by the Approved Investor in compliance with the Takeout Commitment at
or prior to the expiration or termination of the Takeout Commitment for any reason, or (g) that is not repurchased by Seller in compliance with the provisions of Section 3(f). 

“Delinquent Mortgage Loan” shall mean any Mortgage Loan as to which any Monthly Payment, or part thereof, remains unpaid for
30 days or more following the original Due Date for such Monthly Payment. 
 “Delivery” shall mean (i) with respect to
any Agency Security issued by Ginnie Mae, when Buyer is registered as the registered owner of such Agency Security on Ginnie Mae’s central registry and (ii) with respect to any Agency Security issued by Fannie Mae or Freddie Mac, the later
to occur of (a) the issuance of such Agency Security and (b) the transfer of all of the right, title and ownership interest in such Agency Security to Buyer or its designee. An Agency Security shall be deemed to be
“Delivered” upon Delivery in accordance herewith. 
 “Dollars” and “$” shall mean lawful
money of the United States of America. 

  
 7 








 “DTI” shall mean with respect to any Mortgagor, the ratio of the
Mortgagor’s average monthly debt obligations to the Mortgagor’s average monthly gross income. 
 “Due Date” shall
mean the day of the month on which the Monthly Payment is due on a Mortgage Loan, exclusive of any days of grace. 

“E-Sign” shall mean the federal Electronic Signatures in Global and National Commerce Act, as amended from time to time. 

“Effective Date” shall mean the date upon which the conditions precedent set forth in Section 3(a) shall have been
satisfied. 
 “Electronic Record” shall mean “Record” and “Electronic Record,” both as defined in
E-Sign, and shall include but not be limited to, recorded telephone conversations, fax copies or electronic transmissions, including without limitation, those involving the Warehouse Electronic System. 

“Electronic Signature” shall have the meaning set forth in E-Sign. 

“Electronic Tracking Agreement” shall mean an Electronic Tracking Agreement among Buyer, Seller, MERS and MERSCORP Holdings,
Inc., as the same may be amended from time to time. 
 “Electronic Transactions” shall mean transactions conducted using
Electronic Records and/or Electronic Signatures or fax copies of signatures. 
 “Eligible Mortgage Loan” shall mean a
Purchased Asset that is a Purchased Mortgage Loan which (a) is an Approved Mortgage Product, (b) complies with the representations and warranties set forth on Schedule 1 hereto (assuming that they are made as of each date of
determination), (c) is not a Defective Mortgage Loan and (d) is not a Delinquent Mortgage Loan. 
 “EO13224”
shall have the meaning specified in Section 11(y) of this Agreement. 
 “ERISA” shall, with respect to any Person,
mean the Employee Retirement Income Security Act of 1974, as amended from time to time and any successor thereto, and the regulations promulgated and rulings issued thereunder. 

“ERISA Affiliate” shall, with respect to any Person, mean any Person which is treated as a single employer under
Section 414(b) or (c) of the Code, or solely for purposes of Section 302 of ERISA and Section 412 of the Code is treated as a single employer described in Section 414 of the Code. 

“Escrow Payments” shall mean, with respect to any Mortgage Loan, the amounts constituting ground rents, taxes, assessments,
water rates, sewer rents, municipal charges, mortgage insurance premiums, fire and hazard insurance premiums, condominium charges, and any other payments required to be escrowed by the Mortgagor with the mortgagee pursuant to the Mortgage or any
other document. 

  
 8 








 “Event of Default” shall have the meaning specified in Section 13 of this
Agreement. 
 “Exception Conforming Mortgage Loan” shall mean a Mortgage Loan which is secured by a first lien (subject to
Permitted Encumbrances), and such Mortgage Loan (a) conforms to the requirements of an Agency for securitization or cash purchase or (b) is eligible to be insured by FHA or guaranteed by VA or RHS (excluding any Mortgage Loan which exceeds
Agency guidelines for maximum general conventional loan amount) but does not otherwise meet all of the requirements of a Conforming Mortgage Loan as set forth herein. 

“Excluded Taxes” shall have the meaning set forth in Section 7(e) of this Agreement. 

“Expenses” shall mean all present and future expenses incurred by or on behalf of Buyer in connection with this Agreement or
any of the other Program Documents and any amendment, supplement or other modification or waiver related hereto or thereto, whether incurred heretofore or hereafter, which expenses shall include the cost of title, lien, judgment and other record
searches; attorneys’ fees; and costs of preparing and recording any UCC financing statements or other filings necessary to perfect the security interest created hereby. 

“Facility Termination Threshold” shall have the meaning specified in the Pricing Letter. 

“Fannie Mae” shall mean the Federal National Mortgage Association, or any successor thereto. 

“FDIA” shall have the meaning set forth in Section 32(c) of this Agreement. 

“FDICIA” shall have the meaning set forth in Section 32(d) of this Agreement. 

“FHA” shall mean the Federal Housing Administration, an agency within the United States Department of Housing and Urban
Development, or any successor thereto, and including the Federal Housing Commissioner and the Secretary of Housing and Urban Development where appropriate under the FHA Regulations. 

“FHA Loan” shall mean a Mortgage Loan which is the subject of an FHA Mortgage Insurance Certificate. 

“FHA Mortgage Insurance Certificate” shall mean the certificate evidencing the contractual obligation of the FHA respecting
the insurance of a Mortgage Loan. 
 “FHA Regulations” shall mean the regulations promulgated by the Department of Housing
and Urban Development under the National Housing Act, as amended from time to time and codified in 24 Code of Federal Regulations, and other Department of Housing and Urban Development issuances relating to FHA Loans, including the related
handbooks, circulars, notices and mortgagee letters. 
 “FICO” shall mean Fair Isaac & Co., or any successor
thereto. 

  
 9 








 “Fidelity Insurance” shall mean insurance coverage with respect to employee
errors, omissions, dishonesty, forgery, theft, disappearance and destruction, robbery and safe burglary, property (other than money and securities) and computer fraud in an aggregate amount acceptable to Buyer. 

“Financial Statements” shall have the meaning set forth in Section 12(d) of this Agreement. 

“Freddie Mac” shall mean the Federal Home Loan Mortgage Corporation, or any successor thereto. 

“GAAP” shall mean generally accepted accounting principles in the United States of America, applied on a consistent basis and
applied to both classification of items and amounts, and shall include, without limitation, the official interpretations thereof by the Financial Accounting Standards Board, its predecessors and successors. 

“Ginnie Mae” shall mean the Government National Mortgage Association, or any successor thereto. 

“GLB Act” shall have the meaning set forth in Section 31 of this Agreement. 

“Governmental Authority” shall mean any nation or government, any state, county, municipality or other political subdivision
thereof or any governmental body, agency, authority, department or commission (including, without limitation, any taxing authority) or any instrumentality or officer of any of the foregoing (including, without limitation, any court or tribunal)
exercising executive, legislative, judicial, regulatory or administrative functions of or pertaining to government and any corporation, partnership or other entity directly or indirectly owned by or controlled by the foregoing and with respect to
any insured depository institution, including without limitation the Appropriate Federal Banking Agency. 
 “Guarantee”
shall mean, as to any Person, any obligation of such Person directly or indirectly guaranteeing any Indebtedness of any other Person or in any manner providing for the payment of any Indebtedness of any other Person or otherwise protecting the
holder of such Indebtedness against loss (whether by virtue of partnership arrangements, by agreement to keep-well, to purchase assets, goods, securities or services, or to take-or-pay or otherwise); provided that the term
“Guarantee” shall not include endorsements for collection or deposit in the ordinary course of business. The amount of any Guarantee of a Person shall be deemed to be an amount equal to the stated or determinable amount of the
primary obligation in respect of which such Guarantee is made or, if not stated or determinable, the maximum reasonably anticipated liability in respect thereof as determined by such Person in good faith. The terms “Guarantee” and
“Guaranteed” used as verbs shall have correlative meanings. 
 “Hedge Agreement” shall mean, with respect
to any or all of the Purchased Assets, any short sale of a US Treasury Security, or futures contract, or mortgage related security, or Eurodollar futures contract, or options related contract, or interest rate swap, cap or collar agreement or
Takeout Commitment, or similar arrangement providing for protection against fluctuations in interest rates or the exchange of nominal interest obligations, either generally or under specific contingencies, entered into by Seller with a party and
with terms, both acceptable to Buyer. 

  
 10 








 “High Balance Conforming Mortgage Loan” shall mean a Mortgage Loan which is
secured by a first lien (subject to Permitted Encumbrances), and such Mortgage Loan (a) conforms to the requirements of an Agency for securitization or cash purchase; (b) has an original Mortgage Loan principal balance in excess of general
conventional loan amounts for Conforming Mortgage Loan; (c) has an original Mortgage Loan principal balance that is less than the maximum high balance county limit for the county in which the related Mortgaged Property is located and
(d) has a minimum FICO score of 660. 
 “High Cost Mortgage Loan” shall mean a Mortgage Loan (a) classified as a
“high cost” or “higher priced” loan under the Home Ownership and Equity Protection Act of 1994; (b) classified as a “high cost,” “high risk,” “high rate,” “threshold,”
“covered,” or “predatory” loan under any other applicable state, federal or local law (or a similarly classified loan using different terminology under a law, regulation or ordinance imposing heightened regulatory scrutiny or
additional legal liability for residential mortgage loans having high interest rates, points and/or fees) or (c) having a percentage listed under the Indicative Loss Severity Column (the column that appears in the S&P Anti-Predatory Lending
Law Update Table, included in the then-current S&P’s LEVELS® Glossary of Terms on Appendix E). 

“HUD” shall mean the Department of Housing and Urban Development. 

“Inbound Account” shall mean the account established pursuant to Section 9(c) of this Agreement. 

“Income” shall mean, with respect to any Mortgage Loan at any time, any principal thereof then payable and all interest,
dividends or other distributions payable thereon. 
 “Indebtedness” shall mean (i) all indebtedness for borrowed money
or for the deferred purchase price of property or services and all obligations under leases which are or should be under GAAP, recorded as capital leases, in respect of which a person is directly or contingently liable as borrower, guarantor,
endorser or otherwise, or in respect of which a person otherwise assures a creditor against loss, (ii) all obligations for borrowed money or for the deferred purchase price of a property or services secured by (or for which the holder has an
existing right, contingent or otherwise, to be secured by) any lien upon property (including without limitation accounts receivable and contract rights) owned by a person, whether or not such person has assumed or become liable for the payment
thereof, and (iii) all other liabilities and obligations which would be classified in accordance with GAAP as liabilities on a balance sheet or to which reference should be made in footnotes thereto. 

“Indemnified Party” shall have the meaning set forth in Section 15(a) of this Agreement. 

“Insolvency Event” shall mean, for any Person: 

(a) that such Person shall discontinue or abandon operation of its business; or 

  
 11 








 (b) that such Person shall fail generally to, or admit in writing its inability
to, pay its debts as they become due; or 
 (c) an involuntary proceeding shall have been instituted in a court having
jurisdiction in the premises seeking a decree or order for relief in respect of such Person in an involuntary case under any applicable bankruptcy, insolvency, liquidation, reorganization or other similar Requirement of Law now or hereafter in
effect, or for the appointment of a receiver, liquidator, assignee, trustee, custodian, sequestrator, conservator or other similar official of such Person, or for any substantial part of its property, or for the winding-up or liquidation of its
affairs, and, in each case, is not released, vacated or fully bonded within 30 calendar days after the proceeding has been instituted; or 

(d) the commencement by such Person of a voluntary case under any applicable bankruptcy, insolvency or other similar
Requirement of Law now or hereafter in effect, or such Person’s consent to the entry of an order for relief in an involuntary case under any such Requirement of Law, or consent to the appointment of or taking possession by a receiver,
liquidator, assignee, trustee, custodian, sequestrator, conservator or other similar official of such Person, or for any substantial part of its property, or any general assignment for the benefit of creditors; or 

(e) that such Person shall become insolvent; or 

(f) if such Person is a corporation, such Person shall take any corporate action in furtherance of, or the action of which
would result in any of the actions set forth in the preceding clauses (a), (b), (c), (d) or (e). 
 “Institution Compare
Ratio” has the meaning set forth in the Institution Compare Report. 
 “Institution Compare Report” means with
respect to the Seller, the report entitled “Neighborhood Watch Early Warning System – Single Lender – Originator by Institution” and found at https://entp.hud.gov/sfnw/public/. Such report shall be generated using the following
criteria: Mortgagee Selections: “Originator by Institution;” Delinquent Choices: “Seriously Delinquent;” and 2 Year Performance Period: “Data as of [END OF MOST RECENT PRIOR MONTH].” 

“Insured Depository Institution” shall have the meaning ascribed to such term by Section 1813(c)(2) of Title 12 of the
United States Code, as amended from time to time. 
 “Intangible Assets” shall mean, as of the date of determination
thereof, assets that in accordance with GAAP are properly classifiable as intangible assets, including, but not limited to goodwill, franchises, licenses, patents, trademarks, trade names and copyrights. 

“Irrevocable Instruction Letter” shall mean to the extent applicable, the letter acknowledged by a counterparty to a Hedge
Agreement substantially in the form of Exhibit G hereto. 

  
 12 








 “Jumbo Mortgage Loan” shall mean a Mortgage Loan which is secured by a first
lien Mortgage (subject to Permitted Encumbrances) that (i) has an original Mortgage Loan principal balance in excess of general Conforming Mortgage Loan limits but not in excess of $3,000,000, (ii) has an original Mortgage Loan principal
balance in excess of the maximum high balance county limit for the county that the subject property is located in but not in excess of $3,000,000, (iii) meets the eligibility requirements of Buyer as determined in its sole but reasonable
discretion and (iv) has a Takeout Commitment from an Approved Investor which shall include evidence of an underwriting approval, with no conditions outstanding to close the Mortgage Loan and a Takeout Price, purchase price commitment number and
purchase price commitment expiration date for the Mortgage Loan. 
 “Lien” shall mean any lien, claim, charge, restriction,
pledge, security interest, mortgage, deed of trust or other encumbrance. 
 “Litigation Threshold” shall have the meaning
specified in the Pricing Letter. 
 “LTV” shall mean with respect to any Mortgage Loan, the ratio of the original
outstanding principal amount of the Mortgage Loan to the Appraised Value of the Mortgaged Property at origination. 
 “Maintenance
Fee Rate” shall have the meaning set forth in the Pricing Letter. 
 “Manufactured Home Mortgage Loans” shall have
the meaning specified on Schedule 1. 
 “Margin Account” shall mean the account established pursuant to
Section 9(c) of this Agreement. 
 “Margin Call” shall have the meaning specified in Section 4(b) of this
Agreement. 
 “Margin Deficit” shall have the meaning specified in Section 4(b) of this Agreement. 

“Market Value” shall mean, as of any date with respect to any Purchased Asset, the price at which such Purchased Asset could
readily be sold as determined by Buyer in its sole but commercially reasonable discretion on a servicing released basis, which price may be determined to be zero. Seller acknowledges that Buyer’s determination of Market Value is for the limited
purpose of determining the value of the Purchased Assets for the purposes hereunder without the ability to perform customary Buyer’s due diligence and is not necessarily equivalent to a determination of the fair market value of the Purchased
Assets achieved by obtaining competing bids in an orderly market in which the originator/servicer is not in default hereunder and the bidders have adequate opportunity to perform customary loan and servicing due diligence. Buyer’s good faith
determination of Market Value shall be conclusive upon the parties absent manifest error. 
 “Material Adverse Effect”
shall mean a material adverse effect on (a) the Property, business, operations, financial condition or prospects of Seller, (b) the ability of Seller or any Affiliate to perform its obligations under any of the Program Documents to which
it is a 

  
 13 








 
party, (c) the validity or enforceability of any of the Program Documents, (d) the rights and remedies of Buyer or any Affiliate under any of the Program Documents, (e) the timely
payment of any amounts payable under the Program Documents or (f) the Asset Value of the Purchased Assets taken as a whole. 

“Maximum Aggregate Purchase Price” shall have the meaning set forth in the Pricing Letter. 

“Maximum Committed Purchase Price” shall have the meaning set forth in the Pricing Letter. 

“MERS” shall mean Mortgage Electronic Registration Systems, Inc., a corporation organized and existing under the laws of the
State of Delaware, or any successor thereto. 
 “MERS System” shall mean the system of recording transfers of mortgages
electronically maintained by MERS. 
 “Minimum Balance Requirement” shall have the meaning set forth in the Pricing Letter.

 “Monthly Financial Statement Date” shall have the meaning set forth in the Pricing Letter. 

“Monthly Payment” shall mean the scheduled monthly payment of principal and interest on a Mortgage Loan. 

“Moody’s” shall mean Moody’s Investor’s Service, Inc. or any successors thereto. 

“Mortgage” shall mean each mortgage, assignment of rents, security agreement and fixture filing, or deed of trust, assignment
of rents, security agreement and fixture filing, deed to secure debt, assignment of rents, security agreement and fixture filing, or similar instrument creating and evidencing a first lien (subject to Permitted Encumbrances) on real property and
other property and rights incidental thereto. 
 “Mortgage File” shall mean, with respect to a Mortgage Loan, the documents
and instruments relating to such Mortgage Loan and set forth in the Customer Guide and the Custodial Agreement. 
 “Mortgage
Interest Rate” shall mean the rate of interest borne on a Mortgage Loan from time to time in accordance with the terms of the related Mortgage Note. 

“Mortgage Loan” shall mean any first lien (subject to Permitted Encumbrances), one-to-four-family residential mortgage loan
evidenced by a Mortgage Note and secured by a Mortgage, which Mortgage Loan is subject to a Transaction hereunder, which in no event shall include any mortgage loan which (a) is subject to Section 226.32 of Regulation Z or any similar
state law (relating to high interest rate credit/lending transactions), (b) includes any single premium credit, life or accident and health insurance or disability insurance, or (c) is a High Cost Mortgage Loan. 

  
 14 








 “Mortgage Loan Released on Trust Receipt” shall mean any Mortgage Loan which
conforms to the eligibility requirements of an Approved Mortgage Product, with respect to which the Custodian has received all documents required to be delivered by Seller to the Custodian pursuant to the Custodial Agreement provided that the
Custodian has returned the applicable Mortgage Note to Seller for the purpose of corrections to the related documents. 
 “Mortgage
Loan Schedule” shall mean with respect to any Transaction as of any date, a mortgage loan schedule in the form of a computer tape or other electronic medium generated by Seller and delivered to Buyer via the Warehouse Electronic System and
to Custodian as specified in the Custodial Agreement, which provides information (including, without limitation, the information required pursuant to the Customer Guide) relating to the Purchased Assets in a format required pursuant to the Customer
Guide. 
 “Mortgage Note” shall mean the promissory note or other evidence of the indebtedness of a Mortgagor secured by a
Mortgage. 
 “Mortgage Product” shall have the meaning set forth in the Pricing Letter. 

“Mortgaged Property” shall mean the real property securing repayment of the debt evidenced by a Mortgage Note. 

“Mortgagor” shall mean the obligor or obligors on a Mortgage Note, including any Person who has assumed or guaranteed the
obligations of the obligor thereunder. 
 “Net Income” shall mean, for any Person for any period, the net income of such
Person for such period as determined in accordance with GAAP. 
 “Net Worth” shall mean, with respect to any Person, an
amount equal to, on a consolidated basis, such Person’s stockholder equity (determined in accordance with GAAP). 

“Non-Excluded Taxes” shall have the meaning set forth in Section 7(a) of this Agreement. 

“Non-Exempt Buyer” shall have the meaning set forth in Section 7(e) of this Agreement. 

“Nondefaulting Party” shall have the meaning set forth in Section 30 of this Agreement. 

“Note Amount” shall mean the outstanding principal balance of a Mortgage Note. 

“Obligations” shall mean (a) any amounts owed by Seller to Buyer in connection with a Transaction hereunder, together
with interest thereon (including interest which would be payable as post-petition interest in connection with any bankruptcy or similar proceeding) and all other fees or expenses which are payable hereunder or under any of the Program Documents and


  
 15 








 
(b) all other obligations or amounts owed by Seller to Buyer or an Affiliate of Buyer under any other contract or agreement, in each case, whether such amounts or obligations owed are direct or
indirect, absolute or contingent, matured or unmatured. 
 “OFAC” shall have the meaning set forth in Section 11(y) of
this Agreement. 
 “Operating Account” shall mean the account established pursuant to Section 9(d) of this Agreement.

 “Operating Account Rate” shall have the meaning set forth in the Pricing Letter. 

“Other Taxes” shall have the meaning set forth in Section 7(b) of this Agreement. 

“PBGC” shall mean the Pension Benefit Guaranty Corporation or any entity succeeding to any or all of its functions under
ERISA. 
 “Permitted Encumbrances” shall mean the items described in clauses (l)(i) through (iii) of Schedule 1. 

“Person” shall mean any individual, corporation, company, voluntary association, partnership, joint venture, limited
liability company, trust, unincorporated association or government (or any agency, instrumentality or political subdivision thereof). 

“Plan” shall have the meaning set forth in Section 11(s) of this Agreement. 

“PMI Policy” shall mean a policy of primary mortgage guaranty insurance issued by a Qualified Insurer, as required by this
Agreement with respect to certain Mortgage Loans. 
 “Post-Default Rate” shall have the meaning set forth in the Pricing
Letter. 
 “Power of Attorney” shall have the meaning set forth in Section 8(b) of this Agreement. 

“Price Differential” shall mean, with respect to any Transaction hereunder as of any date, the aggregate amount obtained by
daily application of the Pricing Rate (or, during the continuation of an Event of Default, by daily application of the Post-Default Rate) for such Transaction to the Purchase Price for such Transaction on a 360 day per year basis for the actual
number of days during the period commencing on (and including) the Purchase Date for such Transaction and ending on (but excluding) the Repurchase Date (reduced by any amount of such Price Differential previously paid by Seller to Buyer with respect
to such Transaction). 
 “Pricing Letter” shall mean that certain letter agreement among Buyer and Seller, dated as of the
date hereof, as the same may be amended from time to time. 
 “Pricing Rate” shall have the meaning set forth in the
Pricing Letter. 
 “Pricing Spread” shall have the meaning set forth in the Pricing Letter. 

  
 16 








 “Program Documents” shall mean this Agreement, the Pricing Letter, the Customer
Guide, the Custodial Agreement, the Electronic Tracking Agreement, the Application, a Servicer Notice, if any, an Irrevocable Instruction Letter, if any, and the Power of Attorney. 

“Prohibited Person” shall have the meaning set forth in Section 11(y) of this Agreement. 

“Property” shall mean any right or interest in or to property of any kind whatsoever, whether real, personal or mixed and
whether tangible or intangible. 
 “Purchase Date” shall mean the date on which Purchased Assets are transferred by Seller
to Buyer or its designee. 
 “Purchase Price” shall have the meaning set forth in the Pricing Letter. 

“Purchased Agency Security” shall mean each Agency Security that is subject to a Transaction and which has not been
repurchased by Seller hereunder. 
 “Purchased Assets” shall mean the Purchased Mortgage Loans and the Purchased Agency
Securities. 
 “Purchased Mortgage Loan” shall mean each Mortgage Loan sold by Seller to Buyer in a Transaction, as
reflected in the Confirmation, and which has not been repurchased by Seller hereunder. 
 “Qualified Insurer” shall mean a
mortgage guaranty insurance company duly authorized and licensed where required by law to transact mortgage guaranty insurance business and acceptable under the Approved Underwriting Guidelines. 

RHS” shall mean the Rural Housing and Community Development Service, or any successor thereto. 

“Records” shall mean all instruments, agreements and other books, records, and reports and data generated by other media for
the storage of information maintained by Seller or any other person or entity with respect to a Purchased Asset. Records shall include the Mortgage Notes, any Mortgages, the Mortgage Files, the credit files related to the Purchased Asset and any
other instruments necessary to document or service a Mortgage Loan. 
 “Register” shall have the meaning set forth in
Section 19(b) of this Agreement. 
 “Regulations T, U and X” shall mean Regulations T, U and X of the Board of
Governors of the Federal Reserve System (or any successor), as the same may be modified and supplemented and in effect from time to time. 

“Reportable Event” shall mean any of the events set forth in Section 4043(c) of ERISA, other than those events as to
which the thirty day notice period is waived under subsections .21, .22, .24, .26, .27 or .28 of PBGC Reg. § 4043. 

  
 17 








 “Reporting Date” shall have the meaning set forth in the Pricing Letter. 

“Reporting Period” shall have the meaning provided in Section 11(s) of this Agreement. 

“Repurchase Assets” shall have the meaning provided in Section 8(a) of this Agreement. 

“Repurchase Date” shall mean the date on which Seller is to repurchase the Purchased Assets subject to a Transaction from
Buyer which shall be the earliest of (i) the Termination Date or (ii) any date determined by application of the provisions of Sections 3(f) or 14. 

“Repurchase Price” shall mean the price at which Purchased Assets are to be transferred from Buyer or its designee to Seller
upon termination of a Transaction, which will be determined in each case (including Transactions terminable upon demand) as the sum of the Purchase Price and the Price Differential plus any fees due as of the date of such determination. 

“Repurchase Roll Date” shall mean the 15th calendar day of each month, or if such day is not a Business Day, the next
succeeding Business Day. 
 “Requirement of Law” shall mean as to any Person, the certificate of incorporation and bylaws
or other organizational or governing documents of such Person, and any law, treaty, rule, regulation, procedure or determination of an arbitrator or a court or other Governmental Authority, in each case applicable to or binding upon such Person or
any of its property or to which such Person or any of its Property is subject. 
 “Responsible Officer” shall mean an
officer of Seller listed on Schedule 2 hereto, as such Schedule 2 may be amended from time to time. 
 “Restricted
Cash” shall mean for any Person, any amount of cash of such Person that is contractually required to be set aside, segregated or otherwise reserved. 

“S&P” shall mean Standard & Poor’s Ratings Services, or any successor thereto. 

“Scheduled Indebtedness” shall have the meaning set forth in Section 11(n) of this Agreement. 

“SEC” shall have the meaning set forth in Section 33 of this Agreement. 

“Section 4402” shall have the meaning set forth in Section 30 of this Agreement. 

“Section 7 Certificate” shall have the meaning set forth in Section 7(e)(ii) hereof. 

“Seller” shall mean loanDepot.com, LLC, or any successor in interest thereto. 

“Servicer” shall mean loanDepot.com, LLC, its successors in interest and assigns as approved by Buyer. 

  
 18 








 “Servicer Notice” shall mean to the extent applicable, the notice acknowledged
by the third party Servicer substantially in the form of Exhibit C hereto. 
 “Servicing Agreement” shall have the
meaning set forth in Section 16(b) of this Agreement. 
 “Servicing Rights” shall mean the rights of any Person to
administer, service or subservice, the Purchased Assets or to possess related Records. 
 “Servicing Term” shall have the
meaning set forth in Section 16(a) of this Agreement. 
 “Settlement Agent” shall mean (i) a title insurance
company or its agent which has been pre-approved by Buyer in its sole discretion for which Buyer is in receipt of a Closing Protection Letter or (ii) a closing agent, other than a title insurance company or its agent, which has been
pre-approved by Buyer in its sole discretion. 
 “SIPA” shall have the meaning set forth in Section 33 of this
Agreement. 
 “Subordinated Debt” shall mean, as of the date of determination thereof, all indebtedness which has been
subordinated in writing to the obligations owing to Buyer on terms and conditions acceptable to Buyer. 
 “Subservicer”
shall have the meaning set forth in Section 16(b) of this Agreement. 
 “Successor Servicer” shall have the meaning
set forth in Section 16(g) of this Agreement. 
 “Subsidiary” shall mean, with respect to any Person, any corporation,
partnership or other entity of which at least a majority of the securities or other ownership interests having by the terms thereof ordinary voting power to elect a majority of the board of directors or other persons performing similar functions of
such corporation, partnership or other entity (irrespective of whether or not at the time securities or other ownership interests of any other class or classes of such corporation, partnership or other entity shall have or might have voting power by
reason of the happening of any contingency) is at the time directly or indirectly owned or controlled by such Person or one or more Subsidiaries of such Person or by such Person and one or more Subsidiaries of such Person. 

“Takeout Commitment” shall mean (a) with respect to Purchased Assets that are Conforming Mortgage Loans, either
(i) a commitment of Seller to sell one or more such Purchased Assets to an Approved Investor (including an Agency) and the corresponding Approved Investor’s (including an Agency’s) commitment back to Seller to effectuate the
foregoing, which commitment may be in the form of a “to be allocated” (TBA) commitment for which the related Purchased Assets are allocated or (ii) a commitment of an Agency to swap one or more Purchased Assets that are Purchased
Mortgage Loans for an Agency Security, which commitment may be in the form of a “to be allocated” (TBA) commitment for which the related Purchased Mortgage Loans are allocated; (b) with respect to Purchased Assets that are Jumbo


  
 19 








 
Mortgage Loans, a commitment of Seller to sell one or more such Purchased Assets to an Approved Investor and the corresponding Approved Investor’s commitment back to Seller to effectuate the
foregoing, which commitment meets the requirements set forth in the definition of “Jumbo Mortgage Loan”; and (c) with respect to Purchased Agency Securities, a commitment of Seller to sell one or more Purchased Agency Securities to an
Approved Investor and the corresponding Approved Investor’s commitment back to Seller to effectuate the foregoing; and in each case, the expiration date of such commitment has not occurred. 

“Takeout Failure” shall mean, with respect to any Takeout Commitment (i) for the purchase of a Purchased Asset, the
failure of the Approved Investor to purchase such Purchased Asset pursuant to such Takeout Commitment and (ii) for the swap of a Purchased Mortgage Loan for an Agency Security backed by such Purchased Mortgage Loan, an Agency Security Issuance
Failure. 
 “Takeout Price” shall mean the price at which the Approved Investor has agreed to purchase a Purchased Asset
from the Seller. 
 “Tangible Net Worth” shall mean, as of the date of determination, such Person’s stockholder’s
equity less unacceptable assets (in accordance with HUD Handbook IG 2000.4, Consolidated Audit Guide for Audits of HUD Programs, as the same may be amended, modified or otherwise supplemented from time to time) less Restricted Cash. 

“Taxes” shall have the meaning set forth in Section 7(a) of this Agreement. 

“Termination Date” shall have the meaning set forth in the Pricing Letter. 

“Third Party Participants” shall have the meaning set forth in Section 12(x) of this Agreement. 

“Third Party Transaction Parties” shall have the meaning set forth in Section 17 of this Agreement. 

“Trade Assignment” shall mean an assignment to Buyer of a forward trade between an Approved Investor and Seller with respect
to one or more Purchased Agency Securities. 
 “Transaction” shall have the meaning specified in Section 1. 

“Transaction Request” shall mean a request from Seller to Buyer to enter into a Transaction, which shall be submitted
electronically through the Warehouse Electronic System in accordance with the Customer Guide. 
 “Treasury Regulations”
shall mean regulations promulgated by the U.S. Department of the Treasury under the Code. 
 “Trust Receipt” shall have the
meaning set forth in the Custodial Agreement. 

  
 20 








 “Uniform Commercial Code” or “UCC” shall mean the Uniform
Commercial Code as in effect from time to time in the State of New York; provided that if by reason of mandatory provisions of law, the perfection or the effect of perfection or non perfection of the security interest in any Repurchase Assets or the
continuation, renewal or enforcement thereof is governed by the Uniform Commercial Code as in effect in a jurisdiction other than New York, “Uniform Commercial Code” shall mean the Uniform Commercial Code as in effect in such other
jurisdiction for purposes of the provisions of this Agreement relating to such perfection or effect of perfection or non perfection. 

“VA” shall mean the U.S. Department of Veterans Affairs, an agency of the United States of America, or any successor thereto
including the Secretary of Veterans Affairs. 
 “Warehouse Accounts” shall have the meaning set forth in Section 9(c)
of this Agreement. 
 “Warehouse Electronic System” shall mean the system utilized by Buyer either directly, or through its
vendors, and which may be accessed by Seller in connection with delivering and obtaining information and requests as described further in the Customer Guide. 

“Warehouse Fees” shall have the meaning set forth in the Pricing Letter. 

“Well Capitalized” shall mean, with respect to any Insured Depository Institution, the maintenance by such Insured Depository
Institution of capital ratios at or above the required minimum levels for such capital category under the regulations promulgated pursuant to Section 1831(o) (“Prompt Corrective Action”) of the United States Code, as amended from
time to time, by the Appropriate Federal Banking Agency for such institution, as such regulation may be amended from time to time. 

“Wet Delivery Deadline” shall have the meaning set forth in the Pricing Letter. 

“Wet File” shall mean, with respect to a Wet Loan, the documents and instruments relating to such Mortgage Loan and set forth
in the Customer Guide for Wet Loans. 
 “Wet Loan” shall mean a Mortgage Loan which Seller is selling to Buyer
simultaneously with the origination thereof and for which the Mortgage File has not been delivered to Custodian. 
 SECTION
3.    INITIATION; TERMINATION 
 (a) Conditions Precedent to Initial Transaction. Buyer’s agreement to
enter into the initial Transaction hereunder is subject to the satisfaction, immediately prior to or concurrently with the making of such Transaction, of the condition precedent that Buyer shall have received from Seller any fees and expenses
payable hereunder, and all of the following documents, each of which shall be satisfactory to Buyer and its counsel in form and substance: 

  
 21 








 (i) The following Program Documents, duly executed and delivered to Buyer: 

(A) Agreement. This Agreement, duly executed by the parties thereto. 

(B) Pricing Letter. The Pricing Letter, duly executed by the parties thereto in form and substance acceptable to Buyer.

 (C) Custodial Agreement. The Custodial Agreement, duly executed by the parties thereto. 

(D) Electronic Tracking Agreement. For all Mortgage Loans which are registered on the MERS® System, an Electronic Tracking Agreement entered into, duly executed and delivered by the parties thereto, in full force and effect, free of any modification, breach or waiver. 

(E) [RESERVED]. 

(F) Application. A duly completed Application, executed and delivered by Seller to Buyer. 

(G) Other Program Documents. Any other Program Documents, duly executed by the parties thereto. 

(ii) Organizational Documents. Certified copies of the organizational documents of Seller. 

(iii) Good Standing Certificate. A certified copy of a good standing certificate from the jurisdiction of organization
of Seller, dated as of no earlier than the date 10 Business Days prior to the Purchase Date with respect to the initial Transaction hereunder. 

(iv) Officer’s Certificate. An officer’s certificate of Seller in form and substance as set forth in
Exhibit B attached hereto. 
 (v) Opinion of Counsel. An opinion of Seller’s counsel, in form and
substance substantially as set forth in Exhibit A attached hereto. 
 (vi) [RESERVED]. 

(vii) [RESERVED]. 

(viii) Security Interest. Evidence that all other actions necessary or, in the opinion of Buyer, desirable to perfect
and protect Buyer’s interest in the Purchased Assets and other Repurchase Assets have been taken, including, without limitation, UCC searches and duly authorized and filed Uniform Commercial Code financing statements on Form UCC-1. 

  
 22 








 (ix) Insurance. Evidence that Seller has added endorsements for theft of
warehouse lender money and collateral, naming Buyer as a loss payee under its Fidelity Insurance and as a direct loss payee/right of action under its errors and omissions insurance policy. 

(x) Fees. Payment of any fees and other costs and expenses due to Buyer hereunder. 

(xi) Other Documents. Such other documents as Buyer may reasonably request, in form and substance reasonably acceptable
to Buyer. 
 (b) Conditions Precedent to all Transactions. Upon satisfaction of the conditions set forth in this Section 3(b),
Buyer may enter into a Transaction with Seller. Buyer’s entering into each Transaction (including the initial Transaction) is subject to the satisfaction of the following further conditions precedent, both immediately prior to entering into
such Transaction and also after giving effect thereto to the intended use thereof: 
 (i) Due Diligence Review.
Without limiting the generality of Section 17 of this Agreement, Buyer shall have completed, to its satisfaction, its preliminary due diligence review of the related Mortgage Loans and Seller. 

(ii) No Default. No Default or Event of Default shall have occurred and be continuing under the Program Documents. 

(iii) Representations and Warranties. Both immediately prior to the Transaction and also after giving effect thereto and
to the intended use thereof, the representations and warranties made by Seller in Section 11 of this Agreement, shall be true, correct and complete on and as of such Purchase Date in all material respects with the same force and effect as if
made on and as of such date (or, if any such representation or warranty is expressly stated to have been made as of a specific date, as of such specific date). 

(iv) Maximum Aggregate Purchase Price. After giving effect to the requested Transaction, the aggregate outstanding
Purchase Price for all Purchased Assets subject to then outstanding Transactions under this Agreement shall not exceed the Maximum Aggregate Purchase Price. 

(v) No Margin Deficit. After giving effect to the requested Transaction, the Asset Value of all Purchased Assets exceeds
the aggregate Purchase Price for such Transactions. 
 (vi) Transaction Request. Seller shall have delivered to Buyer,
in accordance with the timeframes set forth in the Customer Guide, and to Custodian, in accordance with the timeframes set forth in the Custodial Agreement, (a) a Transaction Request and (b) a Mortgage Loan Schedule with respect to all
Mortgage Loans subject to the requested Transaction. 

  
 23 








 (vii) Delivery of Mortgage File. Seller shall have delivered to Custodian,
in accordance with the timeframes set forth in the Custodial Agreement, with respect to each Mortgage Loan subject to the requested Transaction (a) which is not a Wet Loan, the Mortgage File with respect to each such Mortgage Loan and
(b) with respect to each Wet Loan, (1) the Wet File with respect to each such Mortgage Loan and (2) on or prior to the Wet Delivery Deadline, the Mortgage File. 

(viii) Delivery of Trust Receipt. Custodian shall have delivered to Buyer, in accordance with the timeframes set forth
in the Custodial Agreement, a Trust Receipt (accompanied by a Custodial Loan Transmission) with respect to each Mortgage Loan subject to the requested Transaction. 

(ix) MERS. Buyer shall have received from Seller evidence that Buyer has been registered as the “warehouse
lender” on the MERS System. 
 (x) Fees and Expenses. Buyer shall have received all fees and expenses as
contemplated by Sections 9 and 15(b) which amounts, at Buyer’s option, may be withheld from the proceeds remitted by Buyer to Seller pursuant to any Transaction hereunder; and 

(xi) No Violation of Law. If any Requirement of Law (other than with respect to any amendment made to Buyer’s
certificate of incorporation and bylaws or other organizational or governing documents) or any change in the interpretation or application of any Requirement of Law thereof or compliance by Buyer with any request or directive (whether or not having
the force of law) from any central bank or other Governmental Authority made subsequent to the date hereof shall result in Buyer’s entering into any Transaction to be a violation of such Requirement of Law. 

(xii) No Material Adverse Change. None of the following shall have occurred and/or be continuing: 

(A) an event or events shall have occurred in the good faith determination of Buyer resulting in the effective absence of a
“repo market” or comparable “lending market” for financing debt obligations secured by securities or an event or events shall have occurred resulting in Buyer not being able to finance Mortgage Loans through the “repo
market” or “lending market” with traditional counterparties at rates which would have been reasonable prior to the occurrence of such event or events; or 

(B) an event or events shall have occurred resulting in the effective absence of a “securities market” for securities
backed by mortgage loans or an event or events shall have occurred resulting in Buyer not being able to sell securities backed by mortgage loans at prices which would have been reasonable prior to such event or events; or 

(C) there shall have occurred a material adverse change in the financial condition of Buyer which affects (or can reasonably be
expected to affect) materially and adversely the ability of Buyer to fund its obligations under this Agreement; or 

  
 24 








 (D) there shall have occurred (i) a material change in financial markets, an
outbreak or escalation of hostilities or a material change in national or international political, financial or economic conditions; (ii) a general suspension of trading on major stock exchanges; or (iii) a disruption in or moratorium on
commercial banking activities or securities settlement services. 
 Each Transaction Request delivered by Seller hereunder shall constitute
a certification by Seller that all the conditions set forth in this Section 3(b) (other than clause (xii) hereof) have been satisfied (both as of the date of such notice or request and as of Purchase Date). 

(c) Initiation. 

(i) Seller shall deliver a Transaction Request through the Warehouse Electronic System to Buyer as specified in the Customer
Guide and to Custodian as specified in the Custodial Agreement prior to entering into any Transaction. Such Transaction Request shall include all information required by Buyer pursuant to the Customer Guide. Following receipt of such request, Buyer
shall agree to enter into such requested Transaction so long as the conditions set forth herein are satisfied and after giving effect to the requested Transaction the aggregate outstanding Purchase Price does not exceed the Maximum Committed
Purchase Price, in which case Buyer shall fund the Purchase Price in accordance with this Agreement. Buyer’s funding the Purchase Price of the Transaction and Seller’s acceptance thereof, will constitute the parties agreement to enter into
such Transaction. Upon remittance of the Purchase Price to Seller, Seller hereby grants, assigns, conveys and transfers all rights in and to the Purchased Assets evidenced on the related Asset Schedule submitted through the Warehouse Electronic
System. Buyer shall confirm the terms of each Transaction by issuing a Confirmation to Seller by the end of the day on each Purchase Date. 

(ii) Each Confirmation together with this Agreement, shall be conclusive evidence of the terms of the Transaction(s) covered
thereby unless objected to in writing by Seller no more than two (2) Business Days after the date such Confirmation was received by the Seller or unless a corrected Confirmation is sent by Buyer; provided that Buyer’s failure to issue a
Confirmation shall not affect the obligations of Seller under any Transaction. An objection sent by Seller must state specifically that such writing is an objection, must specify the provision(s) being objected to by Seller, must set forth such
provision(s) in the manner that Seller believes they should be stated, and must be received by Buyer no more than two (2) Business Days after the Confirmation was received by Seller. 

(iii) The Repurchase Date for each Transaction shall not be later than the Termination Date. 

  
 25 








 (iv) Subject to the terms and conditions of this Agreement, during such period
Seller may sell, repurchase and resell Purchased Assets hereunder. 
 (v) No later than the date and time set forth in the
Custodial Agreement, Seller shall deliver to Custodian the Mortgage File pertaining to each Eligible Mortgage Loan (other than a Wet Loan) to be purchased by Buyer. 

(vi) Upon Buyer’s receipt of the Trust Receipt (accompanied by a Custodial Loan Transmission) in accordance with the
Custodial Agreement and subject to the provisions of this Section 3, the Purchase Price will then be made available to Seller by Buyer transferring, via wire transfer, the aggregate amount of such Purchase Price in funds immediately available.

 (d) Issuance of Agency Securities. Seller may cause Purchased Mortgage Loans to be pooled for the purpose of backing an Agency
Security. At such time as an Agency Security backed by a pool of Purchased Mortgage Loans is delivered to Buyer by the applicable Agency, (a) such Agency Security shall immediately and with no further action on the part of Buyer, Seller or
Custodian become subject to a Transaction hereunder and (b) the pool of Purchased Mortgage Loans backing such Agency Security shall immediately and with no further action on the part of Buyer, Seller or Custodian no longer be subject to a
Transaction hereunder and Buyer shall have been deemed to release any ownership and/or security interest it has in such pool of Purchased Mortgage Loans. 

(e) Repurchase Roll Date; Buyer Requests. On the Repurchase Roll Date for each month, (A) Seller shall repurchase all Purchased
Assets that are subject to any outstanding Transactions hereunder for at least thirty (30) calendar days on such date at the Repurchase Price for such Purchased Assets and (B) provided that there shall exist no Default, simultaneously with
such repurchase, Buyer shall enter into a new Transaction with Seller at a Purchase Price equal to the Purchase Price with respect to all Purchased Assets other than Purchased Assets (1) that had an Asset Value of zero immediately prior to such
repurchase or (2) for which Buyer shall have given at least three (3) Business Days’ notice to Seller that the Repurchase Roll Date shall constitute the Repurchase Date to the extent the aggregate outstanding Purchase Price would
exceed the Maximum Committed Purchase Price after giving effect to the requested Transaction. The amounts constituting the Purchase Price for the new Transactions and the Repurchase Price for the old Transactions may, unless otherwise objected to by
Buyer, be netted. Buyer shall confirm such new Transaction by issuing a Confirmation in accordance with Section 3(c). 
 (f)
Repurchase; Purchase by an Approved Investor 
 (i) Seller may repurchase Purchased Assets without penalty or premium
on any date or Seller may be required to repurchase Purchased Assets in accordance with Section 3(e). Any repurchase of Purchased Assets may occur simultaneously with a sale of the Purchased Asset to an Approved Investor. Additional
requirements for repurchase or sale of a Purchased Asset shall be set forth in the Customer Guide. 

  
 26 








 (ii) On the Repurchase Date, termination of the Transaction will be effected by
reassignment to Seller or its designee of the Purchased Assets against the simultaneous transfer of the Repurchase Price as described in the Customer Guide. Such obligation to repurchase exists without regard to any prior or intervening liquidation
or foreclosure with respect to any Purchased Asset. 
 SECTION 4.    MARGIN AMOUNT MAINTENANCE 

(a) Buyer shall determine the Market Value of each Purchased Asset at such intervals as determined by Buyer in its sole discretion. 

(b) If at any time the Asset Value of any Purchased Asset subject to a Transaction is less than the Purchase Price for such Purchased Asset (a
“Margin Deficit”), then Buyer may by notice to Seller (as such notice is more particularly set forth below, a “Margin Call”), require Seller to transfer to Buyer or its designee cash in the amount of the Margin
Deficit. 
 (c) Notice delivered pursuant to Section 4(b) may be given by any written or electronic means. Any notice given on or
before 10:00 a.m. (New York City time) on a Business Day shall be met, and the related Margin Call satisfied, no later than 5:00 p.m. (New York City time) on such Business Day; notice given after 10:00 a.m. (New York City time) on a Business Day
shall be met, and the related Margin Call satisfied, no later than 5:00 p.m. (New York City time) on the following Business Day. 
 (d) The
failure of Buyer, on any one or more occasions, to exercise its rights hereunder, shall not change or alter the terms and conditions to which this Agreement is subject or limit the right of Buyer to do so at a later date. Seller and Buyer each agree
that a failure or delay by Buyer to exercise its rights hereunder shall not limit or waive Buyer’s rights under this Agreement or otherwise existing by law or in any way create additional rights for Seller. 

(e) Any cash transferred to Buyer pursuant to Section 4(b) above shall be held as unsegregated cash margin and collateral for all
Obligations under this Agreement. 
 SECTION 5.    COLLECTIONS; INCOME PAYMENTS 

(a) Upon request of Buyer, Seller shall establish and maintain a segregated time or demand deposit account for the benefit of Buyer (the
“Custodial Account”) with Buyer and shall deposit into the Custodial Account, within two (2) Business Days of receipt, all Income received with respect to each Mortgage Loan sold hereunder. Seller shall cause all Income
received with respect to the Purchased Assets by any Servicer to be remitted directly to the Custodial Account. Under no circumstances shall Seller deposit any of its own funds into the Custodial Account or otherwise commingle its own funds with
funds belonging to Buyer as owner of any Mortgage Loans. Seller shall name the Custodial Account “loanDepot.com, LLC, in trust for and for the benefit of UBS Real Estate Securities Inc.” 

(b) All Income received with respect to a Mortgage Loan purchased hereunder, whether or not deposited in the Custodial Account, shall be held
in trust for the exclusive benefit of Buyer as the owner of such Mortgage Loan. 

  
 27 








 (c) Following an Event of Default, Seller shall remit to Buyer funds in the Custodial Account as
required by Buyer. Such remittances shall be by wire transfer in accordance with wire transfer instructions previously given to Seller by Buyer. 

(d) Seller authorizes Buyer to withdraw any Income otherwise due Buyer hereunder from any of Seller’s accounts as more particularly set
forth in the Customer Guide. 
 (e) Seller shall not change the identity or location of the Custodial Account. Seller shall from time to
time, at its own cost and expense, execute such directions to Buyer, and other papers, documents or instruments as may be reasonably requested by Buyer. 

(f) If Buyer so requests, Seller shall promptly notify Buyer of each deposit in the Custodial Account, and each withdrawal from the Custodial
Account, made by it with respect to Mortgage Loans owned by Buyer and serviced by Seller. Seller shall also promptly deliver to Buyer photocopies of all periodic bank statements and other records relating to the Custodial Account as Buyer may from
time to time request. 
 (g) The amount required to be paid or remitted by Seller to Buyer, not made when due shall bear interest from the
due date until the remittance, transfer or payment is made, payable by Seller, at the lesser of the Post-Default Rate or the maximum rate of interest permitted by law. If there is no maximum rate of interest specified by applicable law, interest on
such sums shall accrue at the Post-Default Rate. 
 SECTION 6.    REQUIREMENT OF LAW 

(a) If any Requirement of Law (other than with respect to any amendment made to Buyer’s certificate of incorporation and bylaws or other
organizational or governing documents) including those regarding capital adequacy, or any change in the interpretation or application of any Requirement of Law thereof or compliance by Buyer with any request or directive (whether or not having the
force of law) from any central bank or other Governmental Authority made subsequent to the date hereof: 
 (i) shall subject
Buyer to any Tax or increased Tax of any kind whatsoever or change the basis of taxation of payments to Buyer; 
 (ii) shall
impose, modify or hold applicable any reserve, special deposit, compulsory loan or similar requirement against assets held by, deposits or other liabilities in or for the account of, advances, or other extensions of credit by, or any other
acquisition of funds by, any office of Buyer; 
 (iii) shall impose on Buyer any other condition; 

and the result of any of the foregoing is to increase the cost to Buyer, by an amount which Buyer deems to be material, of entering, continuing or maintaining
any Transaction or to reduce any amount due or owing hereunder in respect thereof, or shall have the effect of reducing Buyer’s rate of return then, in any such case, Seller shall promptly pay Buyer such additional amount or amounts as
calculated by Buyer in good faith as will compensate Buyer for such increased cost or reduced amount receivable on an after-tax basis. 

  
 28 








 (b) If Buyer shall have determined that the adoption of or any change in any Requirement of Law
(other than with respect to any amendment made to Buyer’s certificate of incorporation and by laws or other organizational or governing documents) regarding capital adequacy or in the interpretation or application thereof or compliance by Buyer
or any corporation controlling Buyer with any request or directive regarding capital adequacy (whether or not having the force of law) from any Governmental Authority made subsequent to the date hereof shall have the effect of reducing the rate of
return on Buyer’s or such corporation’s capital as a consequence of its obligations hereunder to a level below that which Buyer or such corporation could have achieved but for such adoption, change or compliance (taking into consideration
Buyer’s or such corporation’s policies with respect to capital adequacy) by an amount deemed by Buyer to be material, then from time to time, Seller shall promptly pay to Buyer such additional amount or amounts as will compensate Buyer for
such reduction. 
 (c) If Buyer becomes entitled to claim any additional amounts pursuant to this Section 6, it shall promptly notify
Seller of the event by reason of which it has become so entitled. A certificate as to any additional amounts payable pursuant to this Section submitted by Buyer to Seller shall be conclusive in the absence of manifest error. 

SECTION 7.    TAXES. 

(a) Any and all payments by or on behalf of Seller under or in respect of this Agreement or any other Program Documents to which Seller is a
party shall be made free and clear of, and without deduction or withholding for or on account of, any and all present or future taxes, levies, imposts, deductions, charges or withholdings, and all liabilities (including penalties, interest and
additions to tax) with respect thereto, whether now or hereafter imposed, levied, collected, withheld or assessed by any taxation authority or other Governmental Authority (collectively, “Taxes”), unless required by law. If any
Person shall be required under any applicable Requirement of Law to deduct or withhold any Taxes from or in respect of any sum payable under or in respect of this Agreement or any of the other Program Documents to Buyer (including, for purposes of
Section 6 and this Section 7, any agent, assignee, successor or participant), (i) Seller shall make all such deductions and withholdings in respect of Taxes, (ii) Seller shall pay the full amount deducted or withheld in respect
of Taxes to the relevant taxation authority or other Governmental Authority in accordance with any Requirement of Law, and (iii) the sum payable by Seller shall be increased as may be necessary so that after Seller has made all required
deductions and withholdings (including deductions and withholdings applicable to additional amounts payable under this Section 7) such Buyer receives an amount equal to the sum it would have received had no such deductions or withholdings been
made in respect of Non-Excluded Taxes. For purposes of this Agreement the term “Non-Excluded Taxes” are Taxes other than, in the case of a Buyer, (i) Taxes that are imposed on its overall net income (and franchise taxes imposed
in lieu thereof) by the jurisdiction under the laws of which such Buyer is organized or of its applicable lending office, or any political subdivision thereof, unless such Taxes are imposed as a result of such Buyer having executed, delivered or
performed its obligations or received payments under, or enforced, this Agreement or any of the other Program Documents (in which case such Taxes will be treated as Non-Excluded Taxes), and (ii) Taxes imposed as a result of its failure to
comply with the requirements of Sections 1471 through 1474 of the Code (as in effect on the date hereof) and any Treasury Regulations promulgated thereunder. 

  
 29 








 (b) In addition, Seller hereby agrees to pay or, at the Buyer’s option, timely reimburse it
for payment of, any present or future stamp, recording, documentary, excise, filing, intangible, property or value-added taxes, or similar taxes, charges or levies that arise from any payment made under or in respect of this Agreement or any other
Program Document or from the execution, delivery, enforcement or registration of, any performance, receipt or perfection of a security interest under, or otherwise with respect to, this Agreement or any other Program Document (collectively,
“Other Taxes”). 
 (c) Seller hereby agrees to indemnify Buyer (including its Beneficial Tax Owners) for, and to hold it
harmless against, the full amount of Non-Excluded Taxes and Other Taxes, and the full amount of Taxes of any kind imposed by any jurisdiction on amounts payable under this Section 7 imposed on or paid by such Buyer (or any Beneficial Tax Owners
thereof) and any liability (including penalties, additions to tax, interest and expenses) arising therefrom or with respect thereto. A certificate as to the amount of such Taxes or liabilities delivered to Seller by Buyer shall be conclusive absent
manifest error. The indemnity by Seller provided for in this Section 7(c) shall apply and be made whether or not the Non-Excluded Taxes, Other Taxes or any other liabilities for which indemnification hereunder is sought have been correctly or
legally asserted. Amounts payable by Seller under the indemnity set forth in this Section 7(c) shall be paid within ten (10) days from the date on which Buyer makes written demand therefor. 

(d) Within thirty (30) days after the date of any payment of Taxes, Seller (or any Person making such payment on behalf of Seller) shall
furnish to Buyer for its own account a certified copy of the original official receipt evidencing payment thereof. 
 (e) For purposes of
this Section 7(e), the terms “United States” and “United States person” shall have the meanings specified in Section 7701 of the Code. Each Buyer (including for avoidance of doubt any assignee, successor or participant)
that either (i) is not organized under the laws of the United States, any State thereof, or the District of Columbia or (ii) whose name does not include “Incorporated,” “Inc.,” “Corporation,”
“Corp.,” “P.C.,” “insurance company,” or “assurance company” (a “Non-Exempt Buyer”) shall deliver or cause to be delivered to Seller the following properly completed and duly executed
documents: 
 (i) in the case of a Non-Exempt Buyer that is not a United States person or is a disregarded entity for U.S.
federal income tax purposes owned by a person that is not a United States person, a complete and executed (x) U.S. Internal Revenue Service Form W-8BEN with Part II completed in which such Buyer claims the benefits of a tax treaty with the
United States providing for a zero or reduced rate of withholding (or any successor forms thereto), including all appropriate attachments or (y) a U.S. Internal Revenue Service Form W-8ECI (or any successor forms thereto); or 

(ii) in the case of a Non-Exempt Buyer that is an individual, (x) for non-United States persons, a complete and executed
U.S. Internal Revenue Service Form W-8BEN (or any successor forms thereto) and a certificate substantially in the form of Exhibit F (a “Section 7 Certificate”) or (y) for United States persons, a complete and executed
U.S. Internal Revenue Service Form W-9 (or any successor forms thereto); or 

  
 30 








 (iii) in the case of a Non-Exempt Buyer that is organized under the laws of the
United States, any State thereof, or the District of Columbia and that is not a disregarded entity for U.S. federal income tax purposes owned by a person that is not a United States person, a complete and executed U.S. Internal Revenue Service Form
W-9 (or any successor forms thereto); or 
 (iv) in the case of a Non-Exempt Buyer that (x) is not organized under the
laws of the United States, any State thereof, or the District of Columbia and (y) is treated as a corporation for U.S. federal income tax purposes, a complete and executed U.S. Internal Revenue Service Form W-8BEN (or any successor forms
thereto) and a Section 7 Certificate; or 
 (v) in the case of a Non-Exempt Buyer that (A) is treated as a
partnership or other non-corporate entity, and (B) is not organized under the laws of the United States, any State thereof, or the District of Columbia, (x)(i) a complete and executed U.S. Internal Revenue Service Form W-8IMY (or any successor
forms thereto) (including all required documents and attachments) and (ii) a Section 7 Certificate, and (y) in the case of a non-withholding foreign partnership or trust, without duplication, with respect to each of its beneficial
owners and the beneficial owners of such beneficial owners looking through chains of owners to individuals or entities that are treated as corporations for U.S. federal income tax purposes (all such owners, “Beneficial Tax Owners”),
the documents that would be provided by each such Beneficial Tax Owner if such Beneficial Tax Owner were Buyer; or 
 (vi) in
the case of a Non-Exempt Buyer that is disregarded for U.S. federal income tax purposes, the document that would be required by clause (i), (ii), (iii), (iv), (v), (vii) and/or this clause (vi) of this Section 7(e) with respect to its
Beneficial Tax Owner if such Beneficial Tax Owner were Buyer; or 
 (vii) in the case of a Non-Exempt Buyer that (A) is
not a United States person and (B) is acting in the capacity of an “intermediary” (as defined in U.S. Treasury Regulations), (x)(i) a U.S. Internal Revenue Service Form W-8IMY (or any successor form thereto) (including all required
documents and attachments) and (ii) a Section 7 Certificate, and (y) if the intermediary is a “non-qualified intermediary” (as defined in U.S. Treasury Regulations), from each person upon whose behalf the “non-qualified
intermediary” is acting the documents that would be required by clause (i), (ii), (iii), (iv), (v), (vi), and/or this clause (vii) with respect to each such person if each such person were Buyer. 

If a Buyer provides a form pursuant to Section 7(e)(i)(x) and the form provided by the Buyer at the time such Buyer first becomes a party
to this Agreement or, with respect to a grant of a participation, the effective date thereof, indicates a United States interest withholding tax rate under the tax treaty in excess of zero, withholding tax at such rate shall be treated as Taxes
other than “Non-Excluded Taxes” (“Excluded Taxes”) and shall not qualify as Non- Excluded Taxes unless and until such Buyer provides the appropriate form certifying that a lesser rate applies, whereupon withholding tax at
such lesser rate shall be considered Excluded Taxes solely for the periods governed by such form. If, however, on the date a Person becomes an 

  
 31 








 
assignee, successor or participant to this Agreement, the Buyer transferor was entitled to indemnification or additional amounts under this Section 7, then the Buyer assignee, successor or
participant shall be entitled to indemnification or additional amounts to the extent that the Buyer transferor was entitled to such indemnification or additional amounts for Non-Excluded Taxes, and the Buyer assignee, successor or participant shall
be entitled to additional indemnification or additional amounts for any other or additional Non-Excluded Taxes. 
 (f) For any period with
respect to which a Buyer has failed to provide Seller with the appropriate form, certificate or other document described in Section 7(e) (other than if such failure is due to a change in any Requirement of Law, or in the interpretation or
application thereof, occurring after the date on which a form, certificate or other document originally was required to be provided), such Buyer shall not be entitled to indemnification or additional amounts under subsection (a) or (c) of
this Section 7 with respect to Non-Excluded Taxes imposed by the United States by reason of such failure; provided, however, that should a Buyer become subject to Non-Excluded Taxes because of its failure to deliver a form, certificate or other
document required hereunder, Seller shall take such steps as such Buyer shall reasonably request, to assist such Buyer in recovering such Non-Excluded Taxes. 

(g) Without prejudice to the survival of any other agreement of Seller hereunder, the agreements and obligations of Seller contained in this
Section 7 shall survive the termination of this Agreement and the other Program Documents. Nothing contained in Section 6 or this Section 7 shall require Buyer to complete, execute or make available any of its Tax returns or any other
information that it deems to be confidential or proprietary, or whose completion, execution or submission would, in Buyer’s judgment, materially prejudice Buyer’s legal or commercial position. 

SECTION 8.    SECURITY INTEREST; BUYER’S APPOINTMENT AS ATTORNEY-IN-FACT 

(a) Security Interest. On each Purchase Date, Seller hereby sells, assigns and conveys all rights and interests in the Purchased Assets
identified on the related Mortgage Loan Schedule and the Repurchase Assets related thereto. Although the parties intend that all Transactions hereunder be sales and purchases and not loans (other than as set forth in Section 21 for U.S. tax
purposes), in the event any such Transactions are deemed to be loans, and in any event Seller hereby pledges to Buyer as security for the performance by Seller of its Obligations and hereby grants, assigns and pledges to Buyer a fully perfected
first priority security interest in the Purchased Assets; the Records related to the Purchased Assets; the Program Documents (to the extent such Program Documents and Seller’s right thereunder relate to the Purchased Assets); any Property
relating to any Purchased Asset or the related Mortgaged Property; any Takeout Commitments relating to any Purchased Assets; any Closing Protection Letter, escrow letter or settlement agreement relating to any Purchased Asset; any Servicing Rights
relating to any Purchased Asset; all insurance policies and insurance proceeds relating to any Purchased Asset or the related Mortgaged Property, including but not limited to any payments or proceeds under any related primary insurance or hazard
insurance; any Income relating to any Purchased Asset; the Custodial Account; the Margin Account, the Inbound Account; the Operating Account; any Hedge Agreements relating to any Purchased Asset; and any other contract rights, accounts (including
any interest of Seller in escrow accounts) and any other payments, rights to payment 

  
 32 








 
(including payments of interest or finance charges) and general intangibles to the extent that the foregoing relates to any Purchased Asset; and any other assets relating to the Purchased Assets
(including, without limitation, any other accounts) or any interest in the Purchased Assets; all collateral under any other secured debt facility (including, without limitation, any facility documented as a repurchase agreement or similar purchase
and sale agreement) between Seller or its Affiliates on the one hand and Buyer or Buyer’s Affiliates on the other; accounts relating to any Purchased Asset; chattel paper (including electronic chattel paper) relating to any Purchased Asset;
goods (including inventory and equipment and any accessions thereto) relating to any Purchased Asset; instruments (including promissory notes) relating to any Purchased Asset; documents relating to any Purchased Asset; investment property relating
to any Purchased Asset; general intangibles (including payment intangibles and software) together with all accessions and additions thereto relating to any Purchased Asset; substitutions and replacements therefor relating to any Purchased Asset; and
all products and proceeds, in all instances, whether now owned or hereafter acquired, now existing or hereafter created and wherever located relating to any Purchased Asset (collectively, the “Repurchase Assets”). 

Seller acknowledges that it has sold the Purchased Assets to Buyer on a servicing released basis and it has no rights to service the Purchased
Assets. Without limiting the generality of the foregoing and in the event that Seller is deemed to retain any residual Servicing Rights, and for the avoidance of doubt, Seller grants, assigns and pledges to Buyer a security interest in the Servicing
Rights and proceeds related thereto and in all instances, whether now owned or hereafter acquired, now existing or hereafter created. The foregoing provision is intended to constitute a security agreement or other arrangement or other credit
enhancement related to this Agreement and Transactions hereunder as defined under Sections 101(47)(v) and 741(7)(xi) of the Bankruptcy Code. 

Seller hereby authorizes Buyer to file such financing statement or statements relating to the Repurchase Assets and the Servicing Rights as
Buyer, at its option, may deem appropriate. Seller shall pay the searching and filing costs for any financing statement or statements prepared or searched pursuant to this Agreement. 

(b) Buyer’s Appointment as Attorney in Fact. Seller agrees to execute a Power of Attorney, in the form of Exhibit E hereto
(the “Power of Attorney”), to be delivered on the date hereof. 
 SECTION 9.    PAYMENT, TRANSFER; ACCOUNTS 

(a) Payments and Transfers of Funds. Unless otherwise mutually agreed in writing, all transfers of funds to be made by Seller hereunder
shall be made in Dollars, in immediately available funds, without deduction, set off or counterclaim, to Buyer at the account maintained by Buyer, on the date on which such payment shall become due, all as more particularly described in the Customer
Guide. 
 (b) Remittance of Purchase Price. On the Purchase Date for each Transaction, ownership of the Purchased Assets shall be
transferred to Buyer or its designee against the simultaneous transfer of the Purchase Price. With respect to the Purchased Assets being sold by Seller on a Purchase Date, Seller hereby sells, transfers, conveys and assigns to Buyer or its


  
 33 








 
designee without recourse, but subject to the terms of this Agreement, all the right, title and interest of Seller in and to the Purchased Assets together with all right, title and interest in
and to the proceeds of any related Repurchase Assets. All transfers of cash and assets shall be made in accordance with the Customer Guide. 

(c) Inbound Account; Margin Account. Buyer shall maintain for Seller an Inbound Account and a Margin Account (the “Warehouse
Accounts”), each identified in the Customer Guide. The Warehouse Accounts shall be in the form of non-interest bearing book-entry accounts. Buyer shall have exclusive withdrawal rights from the Warehouse Accounts. All amounts on deposit in
the Warehouse Accounts shall be held as cash margin and collateral for all Obligations under this Agreement. Without limiting the generality of the foregoing, in the event that a Margin Call or other Default exists, Buyer shall be entitled to use
any or all of the amounts on deposit in any Warehouse Account to cure such circumstance or otherwise exercise remedies available to Buyer without prior notice to, or consent from, Seller. Notwithstanding the foregoing, Seller acknowledges that
(i) Buyer is not a depository institution, (ii) Buyer has no duties to Seller on a depository to customer basis with respect to the Warehouse Accounts, (iii) the Warehouse Accounts are not deposit or demand accounts, (iv) amounts
in the Warehouse Accounts are not insured by the Federal Deposit Insurance Corporation, any governmental entity or otherwise and (v) Buyer is not required to segregate funds in the Warehouse Accounts from its own funds or from funds held for
others. 
 (d) Operating Account. Seller may remit to Buyer funds to be held in an interest bearing account (the “Operating
Account”) as unsegregated cash margin and collateral for all Obligations under this Agreement (such amount, to the extent not applied to Obligations under this Agreement, the “Buydown Amount”). The Buydown Amount will
accrue interest at the Operating Account Rate, subject to Section 9(e) below. Seller shall be entitled to request a drawdown of the Buydown Amount or remit additional funds to be added to the Buydown Amount no more than one time per week.
Without limiting the generality of the foregoing, in the event that a Margin Call or other Default exists, the Buyer shall be entitled to use any or all of the Buydown Amount to cure such circumstance or otherwise exercise remedies available to the
Buyer without prior notice to, or consent from, Seller. Within two (2) Business Days’ receipt of written request from Seller, and provided no Margin Call or other Default exists, Buyer shall remit any portion of such Buydown Amount back to
Seller. 
 (e) Maintenance of Balances. If Seller shall fail to maintain with Buyer during any calendar quarter deposits in the
Operating Account in the aggregate, after charges to compensate Buyer for services rendered to Seller, equal to at least the Minimum Balance Requirement, the Seller shall pay to Buyer a fee equal to the amount of such deficit multiplied by the
Maintenance Fee Rate. 
 (f) Fees. Seller shall pay in immediately available funds to Buyer all fees, including without limitation,
the Warehouse Fees, as and when required hereunder. All such payments shall be made in Dollars, in immediately available funds, without deduction, set-off or counterclaim, to Buyer at such account designated by Buyer. Without limiting the generality
of the foregoing or any other provision of this Agreement, Buyer may withdraw and retain from the Operating Account or Margin Account any Warehouse Fees due and owing to Buyer. 

  
 34 








 SECTION 10.    RESERVED 

SECTION 11.    REPRESENTATIONS 

Seller represents and warrants to Buyer that as of the Purchase Date for any Purchased Assets and as of the date of this Agreement and any
Transaction hereunder and at all times while the Program Documents are in full force and effect and/or any Transaction hereunder is outstanding: 

(a) Acting as Principal. Seller will engage in such Transactions as principal (or, if agreed in writing in advance of any Transaction by
the other party hereto, as agent for a disclosed principal). 
 (b) No Broker. Seller has not dealt with any broker, investment
banker, agent, or other person, except for Buyer, who may be entitled to any commission or compensation in connection with the sale of Purchased Assets pursuant to this Agreement. 

(c) Financial Statements. Seller has heretofore furnished to Buyer a copy, certified by its president or chief financial officer, of
its (a) Financial Statements for Seller for the fiscal year ended the Annual Financial Statement Date, setting forth in each case in comparative form the figures for the previous year, with an unqualified opinion thereon of an Approved CPA and
(b) Financial Statements for Seller for such monthly period(s), of Seller up until Monthly Financial Statement Date, setting forth in each case in comparative form the figures for the previous year. All such Financial Statements are complete
and correct and fairly present, in all material respects, the consolidated and consolidating financial condition of Seller and the consolidated and consolidating results of its operations as at such dates and for such monthly periods, all in
accordance with GAAP. Since the Annual Financial Statement Date, there has been no material adverse change in the consolidated business, operations or financial condition of Seller from that set forth in said Financial Statements nor is Seller aware
of any state of facts which (without notice or the lapse of time) would or could result in any such material adverse change or could have a Material Adverse Effect. Seller does not have, on the Annual Financial Statement Date, any liabilities,
direct or indirect, fixed or contingent, matured or unmatured, known or unknown, or liabilities for taxes, long-term leases or unusual forward or long-term commitments not disclosed by, or reserved against in, said balance sheet and related
statements, and at the present time there are no material unrealized or anticipated losses from any loans, advances or other commitments of Seller except as heretofore disclosed to Buyer in writing. 

(d) Organization, Etc. Seller is duly organized, validly existing and in good standing under the laws of the jurisdiction of its
organization. Seller (a) has all requisite corporate or other power, and has all governmental licenses, authorizations, consents and approvals necessary to own its assets and carry on its business as now being or as proposed to be conducted,
except where the lack of such licenses, authorizations, consents and approvals would not be reasonably likely to have a Material Adverse Effect; (b) is qualified to do business and is in good standing in all other jurisdictions in which the
nature of the business conducted by it makes such qualification necessary, except where failure so to qualify would not be reasonably likely (either individually or in the aggregate) to have a Material Adverse Effect; and (c) has full power and
authority to execute, deliver and perform its obligations under the Program Documents. 

  
 35 








 (e) Authorization, Compliance, Approvals. The execution and delivery of, and the
performance by Seller of its obligations under, the Program Documents to which it is a party (a) are within Seller’s powers, (b) have been duly authorized by all requisite action, (c) do not violate any provision of applicable
law, rule or regulation, or any order, writ, injunction or decree of any court or other Governmental Authority, or its organizational documents, (d) do not violate any indenture, agreement, document or instrument to which Seller or any of its
Subsidiaries is a party, or by which any of them or any of their properties, or any of the Repurchase Assets is bound or to which any of them is subject and (e) are not in conflict with, do not result in a breach of, or constitute (with due
notice or lapse of time or both) a default under, or except as may be provided by any Program Document, result in the creation or imposition of any Lien upon any of the property or assets of Seller or any of its Subsidiaries pursuant to, any such
indenture, agreement, document or instrument. Seller is not required to obtain any consent, approval or authorization from, or to file any declaration or statement with, any Governmental Authority in connection with or as a condition to the
consummation of the Transactions contemplated herein and the execution, delivery or performance of the Program Documents to which it is a party. 

(f) Litigation. There are no actions, suits, arbitrations, investigations (including, without limitation, any of the foregoing which
are pending or threatened) or other legal or arbitrable proceedings affecting Seller or any of its Subsidiaries or affecting any of the Repurchase Assets or any of the other properties of Seller before any Governmental Authority which
(i) questions or challenges the validity or enforceability of the Program Documents or any action to be taken in connection with the transactions contemplated hereby, (ii) except as disclosed to Buyer, makes a claim or claims in an
aggregate amount greater than the Litigation Threshold, (iii) individually or in the aggregate, if adversely determined, would be reasonably likely to have a Material Adverse Effect, (iv) requires filing with the SEC in accordance with its
regulations or (v) relates to any violation of the Home Ownership and Equity Protection Act or any state, city or district high cost home mortgage or predatory lending law. 

(g) Purchased Assets. 

(i) Seller has not assigned, pledged, or otherwise conveyed or encumbered any Purchased Asset to any other Person, and
immediately prior to the sale of such Purchased Asset to Buyer, Seller was the sole owner of such Purchased Asset and had good and marketable title thereto, free and clear of all Liens, in each case except for Liens to be released simultaneously
with the sale to Buyer hereunder. 
 (ii) The provisions of this Agreement are effective to either constitute a sale of
Repurchase Assets to Buyer or to create in favor of Buyer a valid first priority security interest in all right, title and interest of Seller in, to and under the Repurchase Assets. 

(h) Proper Names; Chief Executive Office/Jurisdiction of Organization. Seller does not operate in any jurisdiction under a trade name,
division name or name other than 

  
 36 








 
those names previously disclosed in writing by Seller to Buyer. On the Effective Date, Seller’s chief executive office is, and has been, located as specified on the signature page hereto.
Seller’s jurisdiction of organization, type of organization and organizational identification number is as set forth in the Pricing Letter. 

(i) Location of Books and Records. The location where Seller keeps its books and records, including all computer tapes, computer
systems and storage media and records related to the Repurchase Assets is its chief executive office. 
 (j) Enforceability. This
Agreement and all of the other Program Documents executed and delivered by Seller in connection herewith are legal, valid and binding obligations of Seller and are enforceable against Seller in accordance with their terms except as such
enforceability may be limited by (i) the effect of any applicable bankruptcy, insolvency, reorganization, moratorium or similar Requirement of Law affecting creditors rights generally and (ii) general principles of equity. 

(k) Ability to Perform. Seller does not believe, nor does it have any reason or cause to believe, that it cannot perform each and every
covenant contained in the Program Documents to which it is a party on its part to be performed. 
 (l) No Default. No Default or
Event of Default has occurred and is continuing. 
 (m) No Adverse Selection. Seller has not selected the Purchased Assets in a
manner so as to adversely affect Buyer’s interests. 
 (n) Scheduled Indebtedness. All Indebtedness which is presently in effect
and/or outstanding that has a maximum borrowing capacity in excess of $1,000,000 listed on Schedule 3 hereto (the “Scheduled Indebtedness”) and no defaults or events of default exist thereunder. The financial covenants
hereunder are at least equal to those Seller makes under each of its Scheduled Indebtedness. Seller shall give Buyer prior notification if any amendment to any financial covenant in any Scheduled Indebtedness increases the obligations or
requirements of Seller thereunder, and such changed financial covenant shall, with no further action of Seller or Buyer, automatically become a part hereof and be incorporated herein upon the effectiveness of such amendment to the Scheduled
Indebtedness. 
 (o) Accurate and Complete Disclosure. The information, reports, Financial Statements, exhibits and schedules
furnished in writing by or on behalf of Seller to Buyer in connection with the negotiation, preparation or delivery of this Agreement or performance hereof and the other Program Documents or included herein or therein or delivered pursuant hereto or
thereto, when taken as a whole, do not contain any untrue statement of material fact or omit to state any material fact necessary to make the statements herein or therein, in light of the circumstances under which they were made, not misleading. All
written information furnished after the date hereof by or on behalf of Seller to Buyer in connection with this Agreement and the other Program Documents and the transactions contemplated hereby and thereby including without limitation, the
information set forth in the related Mortgage Loan Schedule, will be true, complete and accurate in every material respect, or (in the case of projections) based on 

  
 37 








 
reasonable estimates, on the date as of which such information is stated or certified. There is no fact known to Seller, after due inquiry, that could reasonably be expected to have a Material
Adverse Effect that has not been disclosed herein, in the other Program Documents or in a report, financial statement, exhibit, schedule, disclosure letter or other writing furnished to Buyer for use in connection with the transactions contemplated
hereby or thereby. 
 (p) Margin Regulations. The use of all funds acquired by Seller under this Agreement will not conflict with or
contravene any of Regulations T, U or X promulgated by the Board of Governors of the Federal Reserve System as the same may from time to time be amended, supplemented or otherwise modified. 

(q) Investment Company. Neither Seller nor any of its Subsidiaries is an “investment company” or a company
“controlled” by an “investment company” within the meaning of the Investment Company Act of 1940, as amended. 
 (r)
Solvency. As of the date hereof and immediately after giving effect to each Transaction, the fair value of the assets of Seller is greater than the fair value of the liabilities (including, without limitation, contingent liabilities if and to
the extent required to be recorded as a liability on the Financial Statements of Seller in accordance with GAAP) of Seller and Seller is solvent and, after giving effect to the transactions contemplated by this Agreement and the other Program
Documents, will not be rendered insolvent or left with an unreasonably small amount of capital with which to conduct its business and perform its obligations. Seller does not intend to incur, nor does it believe that it has incurred, debts beyond
its ability to pay such debts as they mature. Seller is not contemplating the commencement of an insolvency, bankruptcy, liquidation, or consolidation proceeding or the appointment of a receiver, liquidator, conservator, trustee, or similar official
in respect of itself or any of its property. 
 (s) ERISA. From the fifth fiscal year preceding the current year through the
termination of this Agreement (the “Reporting Period”), with respect to any pension or benefit plan maintained by Seller or any ERISA Affiliate, or to which Seller or any ERISA Affiliate contributes or has contributed (each, a
“Plan”), the benefits under which Plan are guaranteed, in whole or in part, by the PBGC (i) Seller and each ERISA Affiliate has funded and will continue to fund each Plan as required by the provisions of Section 412 of the
Code; (ii) Seller and each ERISA Affiliate has caused and will continue to cause each Plan to pay all benefits when due; (iii) neither Seller nor any ERISA Affiliate has been or is obligated to contribute to any multiemployer plan as
defined in Section 3(37) of ERISA; (iv) Seller (on behalf of ERISA Affiliate, if applicable) will provide to Buyer (A) no later than the date of submission to the PBGC, a copy of any notice of a Plan’s termination (B) no
later than the date of submission to the Department of Labor or to the Internal Revenue Service, as the case may be, a copy of any request for waiver from the funding standards or extension of the amortization periods required by Section 412 of
the Code and (C) notice of any Reportable Event as such term is defined in ERISA (and has, prior to the date of this Agreement, provided to Buyer a copy of any document described in clauses (iv)(A), (B) or (C) relating to any date in
the Reporting Period prior to the date of this Agreement); and (v) Seller and each ERISA Affiliate will subscribe from the date of this Agreement to the termination of this Agreement to any contingent liability insurance provided by the PBGC to
protect against employer liability upon termination of a guaranteed pension plan, if available to Seller or ERISA Affiliate, as applicable. 

  
 38 








 (t) Taxes. 

(i) Seller and its Subsidiaries have timely filed all income, franchise and other material Tax returns that are required to be
filed by them and have timely paid all Taxes due and payable by them or imposed with respect to any of their property and all other material fees and other charges imposed on them or any of their property by any Governmental Authority, except for
any such Taxes the amount or validity of which is currently being contested in good faith by appropriate proceedings diligently conducted and with respect to which adequate reserves have been provided in accordance with GAAP. 

(ii) There are no Liens for Taxes with respect to any assets of Seller or its Subsidiaries, and no claim is being asserted with
respect to Taxes of Seller or its Subsidiaries, except for statutory Liens for Taxes not yet due and payable or for Taxes the amount or validity of which is currently being contested in good faith by appropriate proceedings diligently conducted and,
in each case, with respect to which adequate reserves have been provided in accordance with GAAP. 
 (iii) Seller is and has
always been treated as a limited liability company for U.S. federal income tax purposes. 
 (u) No Reliance. Seller has made its own
independent decisions to enter into the Program Documents and each Transaction and as to whether such Transaction is appropriate and proper for it based upon its own judgment and upon advice from such advisors (including without limitation, legal
counsel and accountants) as it has deemed necessary. Seller is not relying upon any advice from Buyer as to any aspect of the Transactions, including without limitation, the legal, accounting or tax treatment of such Transactions. 

(v) Plan Assets. Seller is not an employee benefit plan as defined in Section 3 of Title I of ERISA, or a plan described in
Section 4975(e)(1) of the Code, and the Purchased Assets are not “plan assets” within the meaning of 29 CFR §2510.3-101, as modified by Section 3(42) of ERISA, in Seller’s hands and transactions by or with Seller are
not subject to any state or local statute regulating investments of, or fiduciary obligations with respect to, governmental plans within the meaning of Section 3(32) of ERISA. 

(w) Agency Approvals. To the extent previously approved, Seller is approved by Fannie Mae as an approved lender and Freddie Mac as an
approved seller/servicer, and, to the extent necessary, approved by the Secretary of Housing and Urban Development pursuant to Sections 203 and 211 of the National Housing Act. In each such case, Seller is in good standing, with no event having
occurred or Seller having any reason whatsoever to believe or suspect will occur, including, without limitation, a change in insurance coverage which would either make Seller unable to comply with the eligibility requirements for maintaining all
such applicable approvals or require notification to the relevant Agency. Seller has adequate financial standing, servicing facilities, procedures and experienced personnel necessary for the sound servicing of mortgage loans of the same types as may
from time to time constitute Mortgage Loans and in accordance with Accepted Servicing Practices. 

  
 39 








 (x) Anti-Money Laundering Laws. Seller has complied with all applicable anti-money
laundering laws and regulations, including without limitation the USA Patriot Act of 2001 (collectively, the “Anti-Money Laundering Laws”); Seller has established an anti-money laundering compliance program as required by the
Anti-Money Laundering Laws, has conducted the requisite due diligence in connection with the origination of each Mortgage Loan for purposes of the Anti-Money Laundering Laws, including with respect to the legitimacy of the applicable Mortgagor and
the origin of the assets used by the said Mortgagor to purchase the property in question, and maintains, and will maintain, sufficient information to identify the applicable Mortgagor for purposes of the Anti-Money Laundering Laws. 

(y) No Prohibited Persons. Neither Seller nor any of its Affiliates, officers, directors, partners or members, is an entity or person
(or to the Seller’s knowledge, owned or controlled by an entity or person): (i) that is listed in the Annex to, or is otherwise subject to the provisions of Executive Order 13224 issued on September 24, 2001
(“EO13224”); (ii) whose name appears on the United States Treasury Department’s Office of Foreign Assets Control (“OFAC”) most current list of “Specifically Designated National and Blocked
Persons” (which list may be published from time to time in various mediums including, but not limited to, the OFAC website, http:www.treas.gov/ofac/t11sdn.pdf); (iii) who commits, threatens to commit or supports “terrorism”, as
that term is defined in EO13224; or (iv) who is otherwise affiliated with any entity or person listed above (any and all parties or persons described in clauses (i) through (iv) above are herein referred to as a “Prohibited
Person”). Neither Seller nor any of its Affiliates, officers, directors, partners or members or, to the knowledge of any such entity or any of its officers, directors, partners or members is currently subject to any economic sanctions
administered or imposed by OFAC, the United Nations Security Council, the European Union or other relevant sanctions authority, and neither the Seller nor any of its Affiliates will directly or indirectly use the proceeds of any Transactions
contemplated hereunder, or lend, contribute or otherwise make available such proceeds to or for the benefit of any person or entity for the purpose of financing or supporting the activities of any person or entity currently subject to any such
sanctions by such authorities. 
 (z) Insured Depository Institution Representations. If Seller is an Insured Depository Institution,
Seller makes the following additional representations and warranties: (i) the Program Documents do not violate any statutory or regulatory requirements applicable to Seller; (ii) the Program Documents have been (1) executed
contemporaneously with the definitive agreement reached by Buyer and Seller, (2) Seller’s managing members have authorized Seller’s officers to negotiate and enter into this Agreement, which authorization shall be reflected in the
minutes of said board, and (3) entered into the official records of Seller, a copy of which approvals, certified by a vice president or higher officer of Seller, has been provided to Buyer; (iii) the aggregate amount of the Purchase Price
of the Transactions, after giving effect to any Transactions being made on the Purchase Date hereof, between Buyer and Seller does not exceed any restrictions or limitations imposed by the managing members or regulatory requirements of Seller and
(iv) as of any date of determination, Seller is Well Capitalized. 
 (aa) Takeout Commitments. With respect to any Takeout
Commitment with an Agency, if applicable, (1) with respect to the wire transfer instructions as set forth in Freddie Mac Form 987 (Wire Transfer Authorization for a Cash Warehouse Delivery) such wire transfer


  
 40 








 
instructions are identical to Buyer’s wire instructions or the Buyer has approved such wire transfer instructions in writing in its sole discretion, or (2) the Payee Number set forth on
Fannie Mae Form 1068 (Fixed-Rate, Graduated-Payment, or Growing-Equity Mortgage Loan Schedule) or Fannie Mae Form 1069 (Adjustable-Rate Mortgage Loan Schedule), as applicable, is identical to the Payee Number that has been identified by Buyer in
writing as Buyer’s Payee Number or the Buyer has approved the related Payee Number in writing in its sole discretion. With respect to any Takeout Commitment with an Agency for which the Agency is swapping the related Purchased Mortgage Loans
for a mortgage backed security, the applicable Agency documents list Buyer or its designee as sole subscriber. 
 SECTION
12.    COVENANTS 
 On and as of the date of this Agreement and each Purchase Date and at all times until this
Agreement is no longer in force, Seller covenants as follows: 
 (a) Preservation of Existence; Compliance with Law. Seller shall
(i) preserve and maintain its legal existence and all of its material rights, privileges, licenses and franchises necessary for the operation of its business; (ii) comply with any applicable Requirement of Law, rules, regulations and
orders, whether now in effect or hereafter enacted or promulgated by any applicable Governmental Authority (including, without limitation, all environmental laws); (iii) maintain all licenses, permits or other approvals necessary for Seller to
conduct its business and to perform its obligations under the Program Documents, and shall conduct its business strictly in accordance with any applicable Requirement of Law; and (iv) keep adequate records and books of account, in which
complete entries will be made in accordance with GAAP consistently applied. 
 (b) Taxes. 

(i) Seller and its Subsidiaries shall timely file all income, franchise and other material Tax returns that are required to be
filed by them and shall timely pay all Taxes due and payable by them or imposed with respect to any of their property and all other material fees and other charges imposed on them or any of their property by any Governmental Authority, except for
any such Taxes the amount or validity of which is currently being contested in good faith by appropriate proceedings diligently conducted and with respect to which adequate reserves have been provided in accordance with GAAP. 

(ii) Seller will be treated as a limited liability company for U.S. federal income tax purposes. 

(c) Notice of Proceedings or Adverse Change. Seller shall give notice to Buyer immediately after a Responsible Officer of Seller has
any knowledge of: 
 (i) the occurrence of any Default or Event of Default; 

(ii) any (a) default or event of default under any Indebtedness of Seller or (b) litigation, investigation,
regulatory action or proceeding that is pending or threatened by or against Seller in any federal or state court or before any Governmental 

  
 41 








 
Authority which, if not cured or if adversely determined, would reasonably be expected to have a Material Adverse Effect or constitute a Default or Event of Default, and (c) any Material
Adverse Effect with respect to Seller; 
 (iii) any litigation or proceeding that is pending or threatened against
(a) Seller in which the amount involved exceeds the Litigation Threshold and is not covered by insurance, in which injunctive or similar relief is sought, or which, would reasonably be expected to have a Material Adverse Effect and (b) any
litigation or proceeding that is pending or threatened in connection with any of the Repurchase Assets, which, if adversely determined, would reasonably be expected to have a Material Adverse Effect; 

(iv) as soon as reasonably possible, notice of any of the following events: (A) a change in the insurance coverage of
Seller, with a copy of evidence of same attached; (B) any material change in accounting policies or financial reporting practices of Seller; (C) promptly upon receipt of notice or knowledge of any Lien or security interest (other than
security interests created hereby or under any other Program Document) on, or claim asserted against, any of the Repurchase Assets; (D) the termination or nonrenewal of any debt facilities of Seller which have a maximum principal amount (or
equivalent) available of more than the Facility Termination Threshold; (E) any Change in Control or any change in direct or indirect ownership or controlling interest of Seller’s direct or indirect owner; and (F) any other event,
circumstance or condition that has resulted, or has a possibility of resulting, in a Material Adverse Effect; and 
 (v)
Promptly, but no later than two (2) Business Days after Seller receives notice of the same, (A) any Mortgage Loan submitted for inclusion into an Agency Security and rejected by that Agency for inclusion in such Agency Security or
(B) any Mortgage Loan submitted to an Approved Investor (whole loan or securitization) and rejected for purchase by such Approved Investor; (C) any request for repurchase of or indemnification for a Mortgage Loan purchased by a third party
investor or (D) the termination or suspension of approval of Seller to sell any Mortgage Loans to any Approved Investor. 
 (d)
Financial Reporting. Seller shall maintain a system of accounting established and administered in accordance with GAAP consistently applied, and furnish to Buyer, with a certification by the president or chief financial officer of Seller (the
following hereinafter referred to as the “Financial Statements”): 
 (i) Within ninety (90) days after
the close of each fiscal year, audited consolidated and consolidating balance sheets and the related consolidated and consolidating statements of income and retained earnings and of cash flows as at the end of such year for Seller for the fiscal
year, setting forth in each case in comparative form the figures for the previous year, with an unqualified opinion thereon of an Approved CPA; 

  
 42 








 (ii) Within sixty (60) days after the end of each calendar quarter, the
consolidated and consolidating balance sheets and the related consolidated and consolidating statements of income and retained earnings and of cash flows for Seller for such quarterly period(s), of Seller, setting forth in each case in comparative
form the figures for the previous year; 
 (iii) Within thirty (30) days after the end of each month, the consolidated
and consolidating balance sheets and the related consolidated and consolidating statements of income and retained earnings and of cash flows for Seller for such monthly period(s) of Seller; 

(iv) Simultaneously with the furnishing of each of the Financial Statements to be delivered pursuant to subsection
(i)-(ii) above, and monthly, a certificate in the form of Exhibit A to the Pricing Letter and certified by the president or chief financial officer of Seller; 

(v) If applicable, copies of any 10-Ks, 10-Qs, registration statements and other “corporate finance” SEC
filings (other than 8-Ks) by Seller within 5 Business Days of their filing with the SEC; provided, that, Seller or any Affiliate will provide Buyer with a copy of the annual 10-K filed with the SEC by Seller or its Affiliates, no later than 90 days
after the end of the year; and 
 (vi) Promptly, from time to time, such other information regarding the business affairs,
operations and financial condition of Seller as Buyer may reasonably request. 
 (e) Further Assurances. Seller shall execute and
deliver to Buyer all further documents, financing statements, agreements and instruments, and take all further actions that may be required under any applicable Requirement of Law, or that Buyer may reasonably request, in order to effectuate the
transactions contemplated by this Agreement and the Program Documents or, without limiting any of the foregoing, to grant, preserve, protect and perfect the validity and first-priority of the security interests created or intended to be created
hereby. 
 (f) True and Correct Information. All information, reports, exhibits, schedules, Financial Statements or certificates of
Seller or any of its Affiliates thereof or any of their officers furnished to Buyer hereunder and during Buyer’s diligence of Seller will be true and complete and will not omit to disclose any material facts necessary to make the statements
herein or therein, in light of the circumstances in which they are made, not misleading. All required Financial Statements, information and reports delivered by Seller to Buyer pursuant to this Agreement shall be prepared in accordance with GAAP, or
as applicable, to SEC filings, the appropriate SEC accounting requirements. 
 (g) ERISA Events. Seller shall not and shall not
permit any ERISA Affiliate to be in violation of any provision of Section 11(s) of this Agreement and Seller shall not be in violation of Section 11(v) of this Agreement. 

(h) Financial Condition Covenants. Seller shall comply with the Financial Condition Covenants set forth in the Pricing Letter. 

  
 43 








 (i) Hedging. Seller shall hedge all Purchased Assets in accordance with
Seller’s hedging policies. Seller shall deliver to Buyer, not later than 1:00 p.m. (New York City time) on each Monday, or if Monday is not a Business Day, on the next succeeding Business Day, a hedging report, in a form reasonably satisfactory
to Buyer. Seller shall (i) review the hedging policies periodically to confirm that they are being complied with in all material respects and are adequate to meet Seller’s business objectives; (ii) in the event Seller makes any
amendment or modification to the hedging policies, within 10 days of such amendment or modification deliver to Buyer a complete copy of the amended or modified hedging policies and (iii) with respect to each Hedge Agreement, deliver to Buyer an
Irrevocable Instruction Letter executed by the related hedge counterparty. Additionally, Buyer may in its reasonable discretion request a current copy of Seller’s hedging policies at any time. 

(j) [RESERVED]. 
 (k)
Servicer Approval. Seller shall not cause the Mortgage Loans to be serviced by any servicer other than a servicer expressly approved in writing by Buyer, which approval shall be deemed granted by Buyer with respect to Seller with the
execution of this Agreement. 
 (l) Insurance. Seller shall maintain Fidelity Insurance and errors and omissions insurance in respect
of its officers, employees and agents is such amounts acceptable to Buyer, which shall include a provision that such policies cannot be terminated or materially modified without at least 30 days’ prior notice to Buyer. Seller shall notify Buyer
of any material change in the terms of any such insurance. Seller shall maintain endorsements for theft of warehouse lender money and collateral, naming Buyer as a loss payee under its Fidelity Insurance and as a direct loss payee/right of action
under its errors and omissions insurance policy. 
 (m) Books and Records. Seller shall, to the extent practicable, maintain and
implement administrative and operating procedures (including, without limitation, an ability to recreate records evidencing the Repurchase Assets in the event of the destruction of the originals thereof), and keep and maintain or obtain, as and when
required, all documents, books, records and other information reasonably necessary or advisable for the collection of all Repurchase Assets. 

(n) Illegal Activities. Seller shall not engage in any conduct or activity that could subject its assets to forfeiture or seizure. 

(o) Material Change in Business. Seller shall not make any material change in the nature of its business as carried on at the date
hereof. 
 (p) Limitation on Dividends and Distributions. Following the occurrence and during the continuance of an Event of Default,
Seller shall not make any payment on account of, or set apart assets for, a sinking or other analogous fund for the purchase, redemption, defeasance, retirement or other acquisition of any equity interest of Seller, whether now or hereafter
outstanding, or make any other distribution or dividend in respect of any of the foregoing or to any shareholder or equity owner of Seller, either directly or indirectly, whether in cash or property or in obligations of Seller or any of
Seller’s consolidated Subsidiaries. 

  
 44 








 (q) Scheduled Indebtedness. Without the prior written consent of Buyer (which shall not be
unreasonably withheld), Seller shall not incur any additional material Indebtedness (other than (i) the Scheduled Indebtedness listed under the definition thereof and (ii) usual and customary accounts payable for a mortgage company).
Seller shall cause each counterparty under Seller’s Indebtedness to enter into an Interparty Agreement, in form and substance acceptable to Buyer. 

(r) Disposition of Assets; Liens. Seller shall not create, incur, assume or suffer to exist any mortgage, pledge, Lien, charge or other
encumbrance of any nature whatsoever on any of the Repurchase Assets, whether real, personal or mixed, now or hereafter owned, other than the Liens created in connection with the transactions contemplated by this Agreement; nor shall Seller cause
any of the Purchased Assets to be sold, pledged, assigned or transferred except as permitted hereunder. 
 (s) Transactions with
Affiliates. Seller shall not enter into any transaction, including, without limitation, the purchase, sale, lease or exchange of property or assets or the rendering or accepting of any service with any Affiliate unless such transaction is
(i) in the ordinary course of Seller’s business and (ii) upon fair and reasonable terms no less favorable to Seller, as the case may be, than it would obtain in a comparable arm’s length transaction with a Person which is not an
Affiliate. 
 (t) Organization. Seller shall not (i) cause or permit any change to be made in its name, organizational
identification number, identity or corporate structure, each as described in Section 11(h) or (ii) change its jurisdiction of organization, unless it shall have provided Buyer thirty (30) days’ prior written notice of such change
and shall have first taken all action required by Buyer for the purpose of perfecting or protecting the lien and security interest of Buyer established hereunder. 

(u) Mortgage Loan Reports. On the Reporting Date or with such greater frequency as requested by Buyer, Seller will furnish to Buyer
monthly electronic Mortgage Loan performance data, including, without limitation, a Mortgage Loan Schedule, delinquency reports, pool analytic reports and static pool reports (i.e., delinquency, foreclosure and net charge off reports) and monthly
stratification reports summarizing the characteristics of the Mortgage Loans. 
 (v) Reserved. 

(w) Approved Underwriting Guidelines. Seller shall not submit to Buyer for purchase, and Buyer shall have no obligation to purchase,
any Mortgage Loan underwritten in accordance with underwriting guidelines, including amendments to Approved Underwriting Guidelines not expressly approved by Buyer, other than Approved Underwriting Guidelines. 

(x) Agency Approvals; Servicing. To the extent previously approved, Seller shall maintain its status with Fannie Mae and Ginnie Mae as
an approved lender and Freddie Mac as an approved seller/servicer, in each case in good standing (each such approval, an 

  
 45 








 
“Agency Approval”). Should Seller, for any reason, cease to possess all such applicable Agency Approvals to the extent necessary, should Seller experience any change in its
delegated underwriting authority from any Agency, or should notification of an adverse occurrence to the relevant Agency or to HUD, FHA or VA be required, Seller shall so notify Buyer immediately in writing. Notwithstanding the preceding sentence
and to the extent previously approved, Seller shall take all necessary action to maintain all of its applicable Agency Approvals at all times during the term of this Agreement and each outstanding Transaction. 

(y) Sharing of Information. Seller hereby allows and consents to Buyer, subject to applicable law, exchanging information related to
Seller, its credit, its mortgage loan originations and the Transactions hereunder with third party lenders, facility providers and Approved Investors (collectively, “Third Party Participants”), and Seller shall permit each Third
Party Participant to share such similar information with Buyer. In furtherance of the foregoing, Seller shall use its best efforts to provide Buyer access to each Third Party Participant’s electronic system to retrieve the information described
herein. 
 (z) Status. Seller agrees that should Seller or any Affiliate thereof enter into a repurchase agreement or credit facility
with any Person other than Buyer or an Affiliate of Buyer which by its terms provides more favorable terms to counterparty with respect to any guaranties or financial covenants, including without limitation covenants covering the same or similar
subject matter referred to in Section 12(h) hereof (a “More Favorable Agreement”), Seller shall immediately notify Buyer of such more favorable terms contained in such More Favorable Agreement, identifying such more favorable
terms with reasonable specificity. 
 (aa) Takeout Payments. With respect to each Purchased Asset subject to a Takeout Commitment,
the Seller shall arrange that all payments under the related Takeout Commitment shall be paid directly to the Buyer as described in the Customer Guide, or to an account approved by the Buyer in writing prior to such payment. 

(bb) Issuance of Agency Securities. If Purchased Mortgage Loans are pooled for the purpose of backing an Agency Security, Seller shall
promptly deliver to the applicable Agency any and all documents necessary to enable such Agency to make Delivery to Buyer or its designee of an Agency Security backed by the related Purchased Mortgage Loans. Seller shall not revoke such instructions
to an Agency. 
 (cc) Trade Assignment. Upon Custodian certifying a Purchased Mortgage Loan to an Agency for the issuance of an
Agency Security backed by such Purchased Mortgage Loan, Seller shall deliver to Buyer a Trade Assignment executed by Seller with respect to such Agency Security. 

SECTION 13.    EVENTS OF DEFAULT 

If any of the following events (each an “Event of Default”) occur, Buyer shall have the rights set forth in Section 14,
as applicable: 
 (a) Payment Default. Seller shall default in the payment of (i) any amount payable by it hereunder or under any
other Program Document, including payment of cash in the amount of any Margin Deficit in accordance with Section 4(c) (ii) Expenses (and such failure to 

  
 46 








 
pay Expenses shall continue for more than 30 calendar days) or (iii) any other Obligations, when the same shall become due and payable, whether at the due date thereof, or by acceleration or
otherwise; or 
 (b) Representation and Warranty Breach. Any representation, warranty or certification made or deemed made herein or
in any other Program Document by Seller or any certificate furnished to Buyer pursuant to the provisions hereof or thereof or any information with respect to the Mortgage Loans furnished in writing by on behalf of Seller shall prove to have been
untrue or misleading in any material respect as of the time made or furnished (other than the representations and warranties set forth in Schedule 1, which shall be considered solely for the purpose of determining the Market Value of the
Purchased Assets; unless (i) Seller shall have made any such representations and warranties with actual knowledge that they were materially false or misleading at the time made; or (ii) any such representations and warranties have been
determined in good faith by Buyer in its sole discretion to be materially false or misleading on a regular basis); or 
 (c) Immediate
Covenant Default. The failure of Seller to perform, comply with or observe any term, covenant or agreement applicable to Seller contained in any of Sections 12(a) (Preservation of Existence; Compliance with Law); 12(d) (Financial
Reporting); 12(f) (True and Correct Information); 12(g) (ERISA Events); 12(h) (Financial Condition Covenants); 12(l) (Insurance); 12(n) (Illegal Activities.); 12(o) (Material Change in Business); 12(p)
(Limitation on Dividends and Distributions); 12(r) (Disposition of Assets; Liens); 12(s) (Transactions with Affiliates); 12(t) (Organization); 12(u) (Mortgage Loan Reports); 12(w) (Approved Underwriting
Guidelines); 12(x) (Agency Approvals; Servicing); 12(aa) (Takeout Payments); or 12(bb) (Trade Assignment); or 
 (d)
Additional Covenant Defaults. Seller shall fail to observe or perform any other covenant or agreement contained in this Agreement (and not identified in Section 13(c)) or any other Program Document, and if such default shall be capable
of being remedied, and such failure to observe or perform shall continue unremedied for a period of 10 Business Days; or 
 (e)
Judgments. A judgment or judgments for the payment of money in excess of the Litigation Threshold in the aggregate shall be rendered against Seller or any of its Affiliates by one or more courts, administrative tribunals or other bodies
having jurisdiction and the same shall not be satisfied, discharged (or provision shall not be made for such discharge) or bonded, or a stay of execution thereof shall not be procured, within 30 days from the date of entry thereof, and Seller or any
such Affiliate shall not, within said period of 30 days, or such longer period during which execution of the same shall have been stayed or bonded, appeal therefrom and cause the execution thereof to be stayed during such appeal; or 

(f) Cross-Default. Any “event of default” or any other default which the result of which is the demand for, or requires, the
early repayment of obligations due by Seller under any agreement (after the expiration of any applicable grace period under any such agreement) relating to any Indebtedness or any other contractual obligation of Seller with an outstanding principal
amount in excess of $1,000,000; or 
 (g) [RESERVED]. 

  
 47 








 (h) Insolvency Event. An Insolvency Event shall have occurred with respect to Seller; or

 (i) Enforceability. For any reason, this Agreement at any time shall not be in full force and effect in all material respects or
shall not be enforceable in all material respects in accordance with its terms, or any Lien granted pursuant thereto shall fail to be perfected and of first priority, or any Person (other than Buyer) shall contest the validity, enforceability,
perfection or priority of any Lien granted pursuant thereto, or any party thereto (other than Buyer) shall seek to disaffirm, terminate, limit or reduce its obligations hereunder; or 

(j) Liens. Seller shall grant, or suffer to exist, any Lien on any Repurchase Asset (except any Lien in favor of Buyer and Permitted
Encumbrances); or at least one of the following fails to be true (A) the Repurchase Assets shall have been sold to Buyer, or (B) the Liens contemplated hereby are first priority perfected Liens on any Repurchase Assets in favor of Buyer or
shall be Liens in favor of any Person other than Buyer; or 
 (k) Material Adverse Effect. A Material Adverse Effect shall occur as
determined by Buyer in its sole but reasonable discretion; or 
 (l) Change in Control. A Change in Control shall have occurred; or

 (m) Going Concern. Any Financial Reporting Party’s audited Financial Statements or notes thereto or other opinions or
conclusions stated therein shall be qualified or limited by reference to the status of Seller as a “going concern” or reference of similar import; or 

(n) Investigations. There shall occur the initiation of any investigation, audit, examination or review of Seller by an Agency, any
Governmental Authority, any trade association or consumer advocacy group relating to the origination, sale or servicing of mortgage loans by Seller or the business operations of Seller that is likely to cause a Material Adverse Effect, with the
exception of normally scheduled audits or examinations by Seller’s regulators; or 
 (o) Inability to Perform. An officer of
Seller shall admit its inability to, or its intention not to, perform any of Seller’s obligations; or 
 (p) Governmental
Action. Seller shall become the subject of a cease and desist order of the Appropriate Federal Banking Agency or any other Governmental Authority or enter into a memorandum of understanding or consent agreement with the Appropriate Federal
Banking Agency or other Governmental Authority, any of which, would have, or is purportedly the result of any condition which would be reasonably likely to have, a Material Adverse Effect. 

SECTION 14.    REMEDIES 

(a) If an Event of Default occurs, the following rights and remedies are available to Buyer; provided, that an Event of Default shall be deemed
to be continuing unless expressly waived by Buyer in writing. 
 (i) At the option of Buyer, exercised by written or
electronic notice to Seller (which option shall be deemed to have been exercised, even if no notice is given, 

  
 48 








 
immediately upon the occurrence of an Insolvency Event of Seller), the Repurchase Date for each Transaction hereunder, if it has not already occurred, shall be deemed immediately to occur. 

(ii) If Buyer exercises or is deemed to have exercised the option referred to in subsection (a)(i) of this Section, 

(A) Seller’s obligations in such Transactions to repurchase all Purchased Assets, at the Repurchase Price therefor on the
Repurchase Date determined in accordance with subsection (a)(i) of this Section, (1) shall thereupon become immediately due and payable and (2) all Income paid after such exercise or deemed exercise shall be retained by Buyer and applied
to the aggregate unpaid Repurchase Price and any other amounts owed by Seller hereunder; 
 (B) to the extent permitted by
any applicable Requirement of Law, the Repurchase Price with respect to each such Transaction shall be increased by the aggregate amount obtained by daily application of, on a 360 day per year basis for the actual number of days during the period
from and including the date of the exercise or deemed exercise of such option to but excluding the date of payment of the Repurchase Price as so increased, (x) the Post-Default Rate in effect following an Event of Default to (y) the
Repurchase Price for such Transaction as of the Repurchase Date as determined pursuant to subsection (a)(i) of this Section (decreased as of any day by (i) any amounts applied by Buyer pursuant to clause (C) of this subsection, and
(ii) any proceeds from the sale of Purchased Assets applied to the Repurchase Price pursuant to subsection (a)(iv) of this Section; and 

(C) all Income actually received by Buyer pursuant to Section 5 shall be applied to the aggregate unpaid Obligations owed
by Seller. 
 (iii) Upon the occurrence of one or more Events of Default, Buyer shall have the right to obtain (A) a
physical transfer of the servicing of the Purchased Assets in accordance with Section 16(c) and (B) physical possession of all files of Seller relating to the Purchased Assets and the Repurchase Assets and all documents relating to the
Purchased Assets which are then or may thereafter come in to the possession of Seller or any third party acting for Seller (including any Servicer) and Seller shall deliver to Buyer such assignments as Buyer shall request. Buyer shall be entitled to
specific performance of all agreements of Seller contained in the Program Documents. 
 (iv) At any time on the Business Day
following notice to Seller (which notice may be the notice given under subsection (a)(i) of this Section), in the event Seller has not repurchased all Purchased Assets, Buyer may (A) immediately sell, without demand or further notice of any
kind, at a public or private sale, without any representations or warranties of Buyer and at such price or prices as Buyer may deem satisfactory any or all Purchased Assets and the Repurchase Assets subject to a such


  
 49 








 
Transactions hereunder and apply the proceeds thereof to the aggregate unpaid Repurchase Prices and any other amounts owing by Seller hereunder or (B) in its sole discretion elect, in lieu
of selling all or a portion of such Purchased Assets, to give Seller credit for such Purchased Assets and the Repurchase Assets in an amount equal to the Market Value of the Purchased Assets against the aggregate unpaid Repurchase Price and any
other amounts owing by Seller hereunder. The proceeds of any disposition of Purchased Assets and the Repurchase Assets shall be applied as determined by Buyer in its sole discretion. 

(v) Seller shall be liable to Buyer for (A) the amount of all reasonable legal or other expenses (including, without
limitation, all costs and expenses of Buyer in connection with the enforcement of this Agreement or any other agreement evidencing a Transaction, whether in action, suit or litigation or bankruptcy, insolvency or other similar proceeding affecting
creditors’ rights generally, further including, without limitation, the reasonable fees and expenses of counsel (including the costs of internal counsel of Buyer) incurred in connection with or as a result of an Event of Default,
(B) damages in an amount equal to the cost (including all fees, expenses and commissions) of Buyer entering into replacement transactions and entering into or terminating hedge transactions in connection with or as a result of an Event of
Default, and (iii) any other loss, damage, cost or expense directly arising or resulting from the occurrence of an Event of Default in respect of a Transaction. 

(vi) Buyer shall have, in addition to its rights hereunder, any rights otherwise available to it under any other agreement or
any applicable Requirement of Law. 
 (b) Buyer may exercise one or more of the remedies available hereunder immediately upon the occurrence
of an Event of Default and at any time thereafter without notice to Seller. All rights and remedies arising under this Agreement as amended from time to time hereunder are cumulative and not exclusive of any other rights or remedies which Buyer may
have. 
 (c) Seller recognizes that the market for the Purchased Assets may not be liquid and as a result it may not be possible for Buyer
to sell all of the Purchased Assets on a particular Business Day, or in a transaction with the same purchaser, or in the same manner. In view of the nature of the Purchased Assets, the Seller agrees that liquidation of any Purchased Asset may be
conducted in a private sale. Seller acknowledges and agrees that any such private sale may result in prices and other terms less favorable to Buyer than if such sale were a public sale, and notwithstanding such circumstances, agrees that any such
private sale shall be deemed to have been made in a commercially reasonable manner. Seller further agrees that it would not be commercially unreasonable for Buyer to dispose of any Purchased Asset by using internet sites that provide for the auction
or sale of assets similar to the Purchased Assets, or that have the reasonable capability of doing so, or that match buyers and sellers of assets. 

(d) Buyer may enforce its rights and remedies hereunder without prior judicial process or hearing, and Seller hereby expressly waives any
defenses Seller might otherwise have to require Buyer to enforce its rights by judicial process. Seller also waives any defense (other 

  
 50 








 
than a defense of payment or performance) Seller might otherwise have arising from the use of nonjudicial process, enforcement and sale of all or any portion of the Repurchase Assets, or from any
other election of remedies. Seller recognizes that nonjudicial remedies are consistent with the usages of the trade, are responsive to commercial necessity and are the result of a bargain at arm’s length. 

(e) To the extent permitted by any applicable Requirement of Law, Seller shall be liable to Buyer for interest on any amounts owing by Seller
hereunder, from the date Seller becomes liable for such amounts hereunder until such amounts are (i) paid in full by Seller or (ii) satisfied in full by the exercise of Buyer’s rights hereunder. Interest on any sum payable by Seller
to Buyer under this Section 14(e) shall be at a rate equal to the Post-Default Rate. 
 (f) Without limiting the rights of Buyer hereto
to pursue all other legal and equitable rights available to Buyer for Seller’s failure to perform its obligations under this Agreement, Seller acknowledges and agrees that the remedy at law for any failure to perform obligations hereunder would
be inadequate and Buyer shall be entitled to specific performance, injunctive relief, or other equitable remedies in the event of any such failure. The availability of these remedies shall not prohibit Buyer from pursuing any other remedies for such
breach, including the recovery of monetary damages. 
 SECTION 15.    INDEMNIFICATION AND EXPENSES; RECOURSE 

(a) Seller agrees to hold Buyer, and its Affiliates and their officers, directors, employees, agents and advisors (each an “Indemnified
Party”) harmless from and indemnify, on an after-Tax basis, any Indemnified Party against all liabilities, losses, damages, judgments, costs and expenses of any kind which may be imposed on, incurred by or asserted against such Indemnified
Party (collectively, “Costs”), relating to or arising out of this Agreement (including, without limitation, as a result of a breach of any representation or warranty contained on Schedule 1), any other Program Document or any
transaction contemplated hereby or thereby, or any amendment, supplement or modification of, or any waiver or consent under or in respect of, this Agreement, any other Program Document or any transaction contemplated hereby or thereby, that, in each
case, results from anything other than the Indemnified Party’s gross negligence or willful misconduct. Without limiting the generality of the foregoing, Seller agrees to hold any Indemnified Party harmless from and indemnify such Indemnified
Party, on an after- Tax basis, against all Costs and Taxes incurred or assessed as a result of or otherwise in connection with the holding of the Mortgage Loans or Agency Securities or any failure by Seller or Subsidiary thereof to pay when due any
Taxes for which such Person is liable, that result from anything other than the Indemnified Party’s gross negligence or willful misconduct. In any suit, proceeding or action brought by an Indemnified Party in connection with this Agreement, any
Mortgage Loan or Agency Security for any sum owing thereunder, or to enforce any provisions of any Mortgage Loan or Agency Security, Seller will save, indemnify on an after-Tax basis and hold such Indemnified Party harmless from and against all
expense, loss or damage suffered by reason of any defense, set off, counterclaim, recoupment or reduction or liability whatsoever of the account debtor or obligor thereunder, arising out of a breach by Seller of any obligation thereunder or arising
out of any other agreement, indebtedness or liability at any time owing to or in favor of such account debtor or obligor or its successors from Seller. Seller also agrees to reimburse an Indemnified Party as and when billed by such Indemnified Party
for all the 

  
 51 








 
Indemnified Party’s costs and expenses incurred in connection with the enforcement or the preservation of Buyer’s rights under this Agreement, any other Program Document or any
transaction contemplated hereby or thereby, including without limitation the reasonable fees and disbursements of its counsel. 
 (b) Seller
agrees to pay as and when billed by Buyer all of the out-of-pocket costs and expenses incurred by Buyer in connection with the development, preparation and execution of, and any amendment, supplement or modification to, this Agreement, any other
Program Document or any other documents prepared in connection herewith or therewith, provided, however, that Seller shall not be required to pay or reimburse Buyer more than Thirty Five Thousand and 00/xx Dollars ($35,000) with respect to third
party legal fees incurred by Buyer solely in connection with the initial development, preparation and execution of the Program Documents through the Closing Date. Any legal fees in excess of the amount referenced in the prior sentence shall be
evenly split between the Seller and the Buyer. Seller agrees to pay as and when billed by Buyer all of the reasonable out-of-pocket costs and expenses incurred in connection with the consummation and administration of the transactions contemplated
hereby and thereby including without limitation search and filing fees and all the reasonable fees, disbursements and expenses of counsel to Buyer. Seller agrees to pay Buyer all the reasonable out of pocket due diligence, inspection, testing and
review costs and expenses incurred by Buyer with respect to Mortgage Loans submitted by Seller for purchase under this Agreement, including, but not limited to, those out of pocket costs and expenses incurred by Buyer pursuant to Sections 15(a) and
17 hereof. 
 (c) The obligations of Seller from time to time to pay the Repurchase Price, the Price Differential, the Obligations and all
other amounts due under this Agreement shall be full recourse obligations of Seller. 
 SECTION 16.    SERVICING 

(a) As a condition of purchasing a Mortgage Loan, Buyer may require Seller to service such Mortgage Loan as agent for Buyer for a term of
thirty (30) days (the “Servicing Term”). If the Servicing Term expires with respect to any Purchased Mortgage Loan for any reason other than such Purchased Mortgage Loan no longer being subject to a Transaction hereunder, then
upon written agreement of Buyer, Seller shall continue to service the Purchased Mortgage Loan for an additional thirty (30) days. Each thirty (30) day extension period shall automatically expire without notice unless Buyer agrees in
writing to any additional thirty (30) day extension period(s). Seller shall service the Purchased Mortgage Loans in accordance with prudent mortgage loan servicing standards and procedures generally accepted in the mortgage banking industry and
in accordance with all applicable requirements of the Agencies, Requirement of Law, the provisions of any applicable servicing agreement, and the requirements of any applicable Takeout Commitment and the Approved Investor, so that the eligibility of
the Mortgage Loan for purchase under such Takeout Commitment is not voided or reduced by such servicing and administration. 
 (b) If any
Mortgage Loan that is proposed to be sold on a Purchase Date is serviced by a servicer other than Seller (a “Subservicer”), or if the servicing of any Mortgage Loan is to be transferred to a Subservicer, Seller shall provide a copy
of the related servicing 

  
 52 








 
agreement and a Servicer Notice executed by such Subservicer (collectively, the “Servicing Agreement”) to Buyer prior to such Purchase Date or servicing transfer date, as
applicable. Each such Servicing Agreement shall be in form and substance acceptable to Buyer. In addition, Seller shall have obtained the prior written consent of Buyer for such Subservicer to subservice the Mortgage Loans, which consent may be
withheld in Buyer’s sole discretion. In no event shall Seller’s use of a Subservicer relieve Seller of its obligations hereunder, and Seller shall remain liable under this Agreement as if Seller were servicing such Mortgage Loans directly.

 (c) Seller shall transfer actual servicing of each Purchased Mortgage Loan, together with all of the related Records in its possession,
to Buyer’s designee and designate Buyer’s designee as the servicer in the MERS System upon the earliest of (i) the occurrence of a Default or Event of Default hereunder, (ii) the termination of Seller as interim servicer by Buyer
pursuant to this Agreement, (iii) the expiration (and non-renewal) of the Servicing Term, or (iv) transfer of servicing to any entity approved by Buyer and the assumption thereof by such entity. Buyer shall have the right to terminate
Seller as interim servicer of any of the Purchased Mortgage Loans, which right shall be exercisable at any time in Buyer’s sole discretion, upon written notice. Seller’s transfer of the Records and servicing under this Section shall be in
accordance with customary standards in the industry and such transfer shall include the transfer of the gross amount of all escrows held for the related mortgagors (without reduction for unreimbursed advances or “negative escrows”). 

(d) During the period Seller is servicing the Purchased Mortgage Loans as agent for Buyer, Seller agrees that Buyer is the owner of the
related Credit Files and Records and Seller shall at all times maintain and safeguard and cause the Subservicer to maintain and safeguard the Credit File for the Purchased Mortgage Loans (including photocopies or images of the documents delivered to
Buyer), and accurate and complete records of its servicing of the Purchased Mortgage Loan; Seller’s possession of the Credit Files and Records being for the sole purpose of servicing such Purchased Mortgage Loan and such retention and
possession by Seller being in a custodial capacity only. 
 (e) At Buyer’s request, Seller shall promptly deliver to Buyer reports
regarding the status of any Purchased Mortgage Loan being serviced by Seller, which reports shall include, but shall not be limited to, a description of any default thereunder for more than thirty (30) days or such other circumstances that
could cause a material adverse effect on such Purchased Mortgage Loan, Buyer’s title to such Purchased Mortgage Loan or the collateral securing such Purchased Mortgage Loan; Seller may be required to deliver such reports until the repurchase of
the Purchased Mortgage Loan by Seller. Seller shall immediately notify Buyer if it becomes aware of any payment default that occurs under the Purchased Mortgage Loan or any default under any Servicing Agreement that would materially and adversely
affect any Purchased Mortgage Loan subject thereto. 
 (f) Seller shall release its custody of the contents of any Credit File or Mortgage
File only (i) in accordance with the written instructions of Buyer, (ii) upon the consent of Buyer when such release is required as incidental to Seller’s servicing of the Purchased Mortgage Loan, or is required to complete the
Takeout Commitment or comply with the Takeout Commitment requirements, or (iii) as required by any applicable Requirement of Law. 

  
 53 








 (g) Buyer reserves the right to appoint a successor servicer at any time to service any Purchased
Mortgage Loan (each a “Successor Servicer”) in its sole discretion. If Buyer elects to make such an appointment due to a Default or Event of Default, Seller shall be assessed all costs and expenses incurred by Buyer associated with
transferring the servicing of the Purchased Mortgage Loans to the Successor Servicer. In the event of such an appointment, Seller shall perform all acts and take all action so that any part of the Credit File and related Records held by Seller,
together with all funds in the Custodial Account and other receipts relating to such Purchased Mortgage Loan, are promptly delivered to Successor Servicer, and shall otherwise reasonably cooperate with Buyer in effectuating such transfer. Seller
shall have no claim for lost servicing income, lost profits or other damages if Buyer appoints a Successor Servicer hereunder and the servicing fee is reduced or eliminated. 

(h) For the avoidance of doubt, Seller retains no economic rights to the servicing of the Purchased Mortgage Loans provided that Seller shall
continue to service the Purchased Mortgage Loans hereunder as part of its Obligations hereunder. As such, Seller expressly acknowledges that the Purchased Mortgage Loans are sold to Buyer on a “servicing released” basis. 

SECTION 17.    DUE DILIGENCE 

(a) Seller acknowledges that Buyer has the right to perform continuing due diligence reviews with respect to the Mortgage Loans, Seller,
Settlement Agents, Approved Investors and other parties which may be involved in or related to Transactions (collectively, “Third Party Transaction Parties”), from time to time, for purposes of verifying compliance with the
representations, warranties and specifications made hereunder, or otherwise, and Seller agrees that upon reasonable prior notice to Seller, unless an Event of Default shall have occurred, in which case no notice is required, Buyer or its authorized
representatives will be permitted during normal business hours to examine, inspect, and make copies and extracts of, the Mortgage Files and any and all documents, records, agreements, instruments or information relating to such Mortgage Loans in the
possession or under the control of Seller. Seller will use best efforts to cause Third Party Transaction Parties to cooperate with any due diligence requests of Buyer. Seller shall also make available to Buyer a knowledgeable financial or accounting
officer for the purpose of answering questions respecting the Mortgage Files and the Mortgage Loans. Without limiting the generality of the foregoing, Seller acknowledges that Buyer may purchase Mortgage Loans from Seller based solely upon the
information provided by Seller to Buyer in the Mortgage Loan Schedule and the representations, warranties and covenants contained herein, and that Buyer, at its option, has the right at any time to conduct a partial or complete due diligence review
on some or all of the Mortgage Loans purchased in a Transaction, including, without limitation, ordering broker’s price opinions, new credit reports and new appraisals on the related Mortgaged Properties and otherwise re-generating the
information used to originate such Mortgage Loan. Buyer may underwrite such Mortgage Loans itself or engage a mutually agreed upon third party underwriter to perform such underwriting. Seller agrees to cooperate with Buyer and any third party
underwriter in connection with such underwriting, including, but not limited to, providing Buyer and any third party underwriter with access to any and all documents, records, agreements, instruments or information relating to such Mortgage Loans in
the possession, or under the control, of Seller. Seller further agrees that it shall pay all out-of-pocket costs and expenses incurred by Buyer in connection with Buyer’s activities pursuant to this Section 17. 

  
 54 








 SECTION 18.    ASSIGNABILITY 

The rights and obligations of the parties under this Agreement and under any Transaction shall not be assigned by Seller without the prior
written consent of Buyer. Buyer may from time to time, without the consent of Seller, assign all or a portion of its rights and obligations under this Agreement and the Program Documents to any party, including, without limitation, any affiliate of
Buyer, pursuant to an executed assignment and acceptance by Buyer and assignee (“Assignment and Acceptance”), specifying the percentage or portion of such rights and obligations assigned. Upon such assignment, (a) such assignee
shall be a party hereto and to each Program Document to the extent of the percentage or portion set forth in the Assignment and Acceptance, and shall succeed to the applicable rights and obligations of Buyer hereunder, and (b) Buyer shall, to
the extent that such rights and obligations have been so assigned by it be released from its obligations hereunder and under the Program Documents. Subject to the foregoing, this Agreement and any Transactions shall be binding upon and shall inure
to the benefit of the parties and their respective successors and assigns. Nothing in this Agreement express or implied, shall give to any Person, other than the parties to this Agreement and their successors hereunder, any benefit of any legal or
equitable right, power, remedy or claim under this Agreement. Unless otherwise stated in the Assignment and Acceptance, Seller shall continue to take directions solely from Buyer unless otherwise notified by Buyer in writing. Buyer may distribute to
any prospective assignee any document or other information delivered to Buyer by Seller. 
 Buyer may sell participations to one or more
Persons in or to all or a portion of its rights and obligations under this Agreement; provided, however, that (i) Buyer’s obligations under this Agreement shall remain unchanged, (ii) Buyer shall remain solely responsible to the other
parties hereto for the performance of such obligations; and (iii) Seller shall continue to deal solely and directly with Buyer in connection with Buyer’s rights and obligations under this Agreement and the other Program Documents except as
provided in Section 7. 
 Buyer may, in connection with any assignment or participation or proposed assignment or participation
pursuant to this Section 18, disclose to the assignee or participant or proposed assignee or participant, as the case may be, any information relating to Seller or any of its Subsidiaries or to any aspect of the Transactions that has been
furnished to Buyer by or on behalf of Seller or any of its Subsidiaries; provided that such assignee or participant agrees to hold such information subject to the confidentiality provisions of this Agreement. 

In the event Buyer assigns all or a portion of its rights and obligations under this Agreement, the parties hereto agree to negotiate in good
faith an amendment to this Agreement to add agency provisions similar to those included in agreements for similar syndicated repurchase facilities. 

  
 55 








 SECTION 19.    TRANSFER AND MAINTENANCE OF REGISTER. 

(a) Subject to acceptance and recording thereof pursuant to Section 19(b), from and after the effective date specified in each Assignment
and Acceptance the assignee thereunder shall be a party hereto and, to the extent of the interest assigned by such Assignment and Acceptance, have the rights and obligations of Buyer under this Agreement. Any assignment or transfer by Buyer of
rights or obligations under this Agreement that does not comply with this Section 19 shall be treated for purposes of this Agreement as a sale by such Buyer of a participation in such rights and obligations in accordance with Section 19(b)
hereof. 
 (b) Buyer shall maintain, on Seller’s behalf, a register (the “Register”) on which it will record each
Assignment and Acceptance and participation. The Register shall include the names and addresses of Buyer (including all assignees, successors and participants) and the percentage or portion of such rights and obligations assigned. Failure to make
any such recordation, or any error in such recordation shall not affect Seller’s obligations in respect of such rights. 
 SECTION
20.    HYPOTHECATION OR PLEDGE OF PURCHASED ASSETS 
 Title to all Purchased Assets and Repurchase Assets shall pass
to Buyer and Buyer shall have free and unrestricted use of all Purchased Assets. Nothing in this Agreement shall preclude Buyer from engaging in repurchase transactions with the Purchased Assets or otherwise pledging, repledging, transferring,
hypothecating, or rehypothecating the Purchased Assets to any Person, including without limitation, the Federal Home Loan Bank. Nothing contained in this Agreement shall obligate Buyer to segregate any Purchased Assets delivered to Buyer by Seller.

 SECTION 21.    TAX TREATMENT 

Notwithstanding anything to the contrary in this Agreement or any other Program Documents, each party to this Agreement acknowledges that it is
its intent for U.S. federal, state and local income and franchise tax purposes to treat each Transaction as indebtedness of Seller that is secured by the Purchased Assets and the Purchased Assets as owned by Seller in the absence of a Default by
Seller. All parties to this Agreement agree to such treatment and agree to take no action inconsistent with this treatment, unless required by any Requirement of Law (in which case such party shall promptly notify the other party of such Requirement
of Law). 
 SECTION 22.    SET-OFF 

In addition to any rights and remedies of Buyer hereunder and by law, Buyer shall have the right, without prior notice to Seller, any such
notice being expressly waived by Seller to the extent permitted by applicable law to set-off and appropriate and apply against any Obligation from Seller or any Affiliate thereof to Buyer or any of its Affiliates any and all deposits (general or
special, time or demand, provisional or final), in any currency, and any other obligation (including to return excess margin), credits, indebtedness or claims or cash, in any currency, in each case whether direct or indirect, absolute or contingent,
matured or unmatured, at any time held or owing by or due from Buyer or any Affiliate thereof to or for the credit or the account of Seller or any Affiliate thereof. Buyer agrees promptly to notify Seller after any such set-off and application made
by Buyer; provided that the failure to give such notice shall not affect the validity of such set-off and application. 

  
 56 








 Buyer shall at any time have the right, in each case until such time as Buyer determines
otherwise, to retain, to suspend payment or performance of, or to decline to remit, any amount or property that Buyer would otherwise be obligated to pay, remit or deliver to Seller hereunder if an Event of Default or Default has occurred. 

SECTION 23.    TERMINABILITY 

Each representation and warranty made or deemed to be made by entering into a Transaction, herein or pursuant hereto shall survive the making
of such representation and warranty, and Buyer shall not be deemed to have waived any Default that may arise because any such representation or warranty shall have proved to be false or misleading, notwithstanding that Buyer may have had notice or
knowledge or reason to believe that such representation or warranty was false or misleading at the time the Transaction was made. Notwithstanding any such termination or the occurrence of an Event of Default, all of the representations and
warranties and covenants hereunder shall continue and survive. The obligations of Seller under Section 15 hereof shall survive the termination of this Agreement. 

SECTION 24.    NOTICES AND OTHER COMMUNICATIONS 

Except as otherwise expressly permitted by this Agreement, all notices, requests and other communications provided for herein (including
without limitation any modifications of, or waivers, requests or consents under, this Agreement) shall be given or made in writing (including without limitation by electronic transmission) delivered to the intended recipient at the “Address for
Notices” specified below its name on the signature pages hereof or thereof); and with respect to Buyer, as specified in the Customer Guide or, as to any party, at such other address as shall be designated by such party in a written notice to
each other party. In all cases, to the extent that the related individual set forth in the respective “Attention” line is no longer employed by the respective Person, such notice may be given to the attention of a Responsible Officer of
the respective Person or to the attention of such individual or individuals as subsequently notified in writing by a Responsible Officer of the respective Person. Except as otherwise provided in this Agreement and except for notices given under
Section 3 (which shall be effective only on receipt), all such communications shall be deemed to have been duly given when transmitted electronically or personally delivered or, in the case of a mailed notice, upon receipt, in each case given
or addressed as aforesaid. 
 SECTION 25.    USE OF THE WAREHOUSE ELECTRONIC SYSTEM AND OTHER ELECTRONIC MEDIA 

Seller acknowledges and agrees that Buyer may require or permit certain transactions with Buyer be conducted electronically using Electronic
Records and/or Electronic Signatures. Seller consents to the use of Electronic Records and/or Electronic Signatures whenever expressly required or permitted by Buyer and acknowledges and agrees that Seller shall be bound by its Electronic Signature
and by the terms, conditions, requirements, information and/or instructions contained in any such Electronic Records. 

  
 57 








 Seller agrees to adopt as its Electronic Signature its user identification codes, passwords,
personal identification numbers, access codes, a facsimile image of a written signature and/or other symbols or processes as provided or required by Buyer from time to time (as a group, any subgroup thereof or individually, hereinafter referred to
as Seller’s Electronic Signature). Seller acknowledges that Buyer will rely on any and all Electronic Records and on Seller’s Electronic Signature transmitted or submitted to Buyer. 

Buyer shall not be liable for the failure of either its or Seller’s internet service provider, or any other telecommunications company,
telephone company, satellite company or cable company to timely, properly and accurately transmit any Electronic Record or fax copy. 

Before engaging in Electronic Transactions with Seller, Buyer may provide Seller, or require Seller to create, user identification codes,
passwords, personal identification numbers and/or access codes, as applicable, to permit access to Buyer’s computer information processing system. Each Person permitted access to the Warehouse Electronic System must have a separate
identification code and password. Seller shall be fully responsible for protecting and safeguarding any and all user identification codes, passwords, personal identification numbers and access codes provided or required by Buyer. Seller shall adopt
and maintain security measures to prevent the loss, theft or unauthorized or improper disclosure or use of any and all user identification codes, passwords, personal identification numbers and/or access codes by Persons other than the individual
Person who is authorized to use such information. Seller shall notify Buyer immediately in the event (i) of any loss, theft or unauthorized disclosure or use of any of the user identification codes, passwords, personal identification numbers
and/or access codes or (ii) Seller has any reason to believe there has been a breach of security or that its access to Warehouse Electronic System is no longer secure for any reason. 

Seller understands and agrees that it shall be fully responsible for protecting and safeguarding its computer hardware and software from any
and all (a) computer “viruses,” “time bombs,” “trojan horses” or other harmful computer information, commands, codes or programs that may cause or facilitate the destruction, corruption, malfunction or
appropriation of, or damage or change to, any of Seller’s or Buyer’s computer information processing systems, including without limitation, all hardware, software, Electronic Records, information, data and/or codes and (b) computer
“worms,” “trap doors” or other harmful computer information, commands, codes or programs that enable unauthorized access to Seller’s and/or Buyer’s computer information processing systems, including without limitation,
all hardware, software, Electronic Records, information, data and/or codes. 
 Seller agrees that Buyer may, in its sole discretion and from
time to time, without limiting Seller’s liability set forth herein, establish minimum security standards that Seller must, at a minimum, comply with in an effort to (x) protect and safeguard any and all user identification codes,
passwords, personal identification numbers and/or access codes from loss, theft or unauthorized disclosure or use; and (y) prevent the infiltration and “infection” of Seller’s hardware and/or software by any and all computer
“viruses,” “time bombs,” “trojan horses,” “worms,” “trapdoors” or other harmful computer codes or programs. 

If Buyer, from time to time, establishes minimum security standards, Seller shall comply with such minimum security standards within the time
period established by Buyer. 

  
 58 








 
Buyer shall have the right to confirm Seller’s compliance with any such minimum security standards. Seller’s compliance with such minimum security standards shall not relieve Seller
from any of its liability set forth herein. 
 Whether or not Buyer establishes minimum security standards, Seller shall continue to be
fully responsible for adopting and maintaining security measures that are consistent with the risks associated with conducting electronic transactions with Buyer. Seller’s failure to adopt and maintain appropriate security measures or to comply
with any minimum security standards established by Buyer may result in, among other things, termination of Seller’s access to Buyer’s computer information processing systems. 

Seller understands and agrees that certain elements or components of the Warehouse Electronic System may be provided by third party vendors,
and hereby holds Buyer harmless from any liabilities, losses, damages, judgments, costs and expenses of any kind which may be imposed on, incurred by or asserted against Seller relating to or arising out of Seller’s use of the Warehouse
Electronic System including without limitation, the use of any elements or components provided by third party vendors. 
 SECTION
26.    ENTIRE AGREEMENT; SEVERABILITY; SINGLE AGREEMENT 
 This Agreement, together with the Program Documents,
constitute the entire understanding between Buyer and Seller with respect to the subject matter they cover and shall supersede any existing agreements between the parties containing general terms and conditions for repurchase transactions involving
Purchased Assets. By acceptance of this Agreement, Buyer and Seller each acknowledge that they have not made, and are not relying upon, any statements, representations, promises or undertakings not contained in this Agreement. Each provision and
agreement herein shall be treated as separate and independent from any other provision or agreement herein and shall be enforceable notwithstanding the unenforceability of any such other provision or agreement. 

Buyer and Seller acknowledge that, and have entered hereinto and will enter into each Transaction hereunder in consideration of and in
reliance upon the fact that, all Transactions hereunder constitute a single business and contractual relationship and that each has been entered into in consideration of the other Transactions. Accordingly, each of Buyer and Seller agrees
(i) to perform all of its obligations in respect of each Transaction hereunder, and that a default in the performance of any such obligations shall constitute a default by it in respect of all Transactions hereunder, (ii) that Buyer shall
be entitled to set off claims and apply property held by it in respect of any Transaction against obligations owing to it in respect of any other Transaction hereunder; (iii) that payments, deliveries, and other transfers made by either of them
in respect of any Transaction shall be deemed to have been made in consideration of payments, deliveries, and other transfers in respect of any other Transactions hereunder, and the obligations to make any such payments, deliveries, and other
transfers may be applied against each other and netted and (iv) to promptly provide notice to the other after any such set off or application. 

  
 59 








 SECTION 27.    GOVERNING LAW 

THIS AGREEMENT SHALL BE GOVERNED BY THE INTERNAL LAWS OF THE STATE OF NEW YORK WITHOUT GIVING EFFECT TO THE CONFLICT OF LAW PRINCIPLES
THEREOF. NOTWITHSTANDING ANYTHING TO THE CONTRARY, THE EFFECTIVENESS, VALIDITY AND ENFORCEABILITY OF ELECTRONIC CONTRACTS, OTHER RECORDS, ELECTRONIC RECORDS AND ELECTRONIC SIGNATURES USED IN CONNECTION WITH ANY ELECTRONIC TRANSACTION BETWEEN BUYER
AND SELLER SHALL BE GOVERNED BY E-SIGN. 
 SECTION 28.    SUBMISSION TO JURISDICTION; WAIVERS 

BUYER AND SELLER HEREBY IRREVOCABLY AND UNCONDITIONALLY: 

(i) SUBMITS FOR ITSELF AND ITS PROPERTY IN ANY LEGAL ACTION OR PROCEEDING RELATING TO THIS AGREEMENT AND THE OTHER PROGRAM
DOCUMENTS, OR FOR RECOGNITION AND ENFORCEMENT OF ANY JUDGMENT IN RESPECT THEREOF, TO THE EXCLUSIVE GENERAL JURISDICTION OF THE COURTS OF THE STATE OF NEW YORK, THE FEDERAL COURTS OF THE UNITED STATES OF AMERICA FOR THE SOUTHERN DISTRICT OF NEW YORK,
AND APPELLATE COURTS FROM ANY THEREOF; 
 (ii) CONSENTS THAT ANY SUCH ACTION OR PROCEEDING MAY BE BROUGHT IN SUCH
COURTS AND, TO THE EXTENT PERMITTED BY LAW, WAIVES ANY OBJECTION THAT IT MAY NOW OR HEREAFTER HAVE TO THE VENUE OF ANY SUCH ACTION OR PROCEEDING IN ANY SUCH COURT OR THAT SUCH ACTION OR PROCEEDING WAS BROUGHT IN AN INCONVENIENT COURT AND AGREES NOT
TO PLEAD OR CLAIM THE SAME; 
 (iii) AGREES THAT SERVICE OF PROCESS IN ANY SUCH ACTION OR PROCEEDING MAY BE EFFECTED
BY MAILING A COPY THEREOF BY REGISTERED OR CERTIFIED MAIL (OR ANY SUBSTANTIALLY SIMILAR FORM OF MAIL), POSTAGE PREPAID, TO ITS ADDRESS SET FORTH UNDER ITS SIGNATURE BELOW OR AT SUCH OTHER ADDRESS OF WHICH THE OTHER PARTY SHALL HAVE BEEN NOTIFIED;
AND 
 (iv) AGREES THAT NOTHING HEREIN SHALL AFFECT THE RIGHT TO EFFECT SERVICE OF PROCESS IN ANY OTHER MANNER
PERMITTED BY LAW OR SHALL LIMIT THE RIGHT TO SUE IN ANY OTHER JURISDICTION. 
 (v) HEREBY IRREVOCABLY WAIVES, TO THE
FULLEST EXTENT PERMITTED BY APPLICABLE LAW, ANY AND ALL RIGHT TO 

  
 60 








 
TRIAL BY JURY IN ANY LEGAL PROCEEDING ARISING OUT OF OR RELATING TO THIS AGREEMENT, ANY OTHER PROGRAM DOCUMENT OR THE TRANSACTIONS CONTEMPLATED HEREBY OR THEREBY. 

SECTION 29.    NO WAIVERS, ETC. 

No failure on the part of Buyer to exercise and no delay in exercising, and no course of dealing with respect to, any right, power or privilege
under any Program Document shall operate as a waiver thereof, nor shall any single or partial exercise of any right, power or privilege under any Program Document preclude any other or further exercise thereof or the exercise of any other right,
power or privilege. The remedies provided herein are cumulative and not exclusive of any remedies provided by law. An Event of Default shall be deemed to be continuing unless expressly waived by Buyer in writing. 

SECTION 30.    NETTING 

If Buyer and Seller are “financial institutions” as now or hereinafter defined in Section 4402 of Title 12 of the United States
Code (“Section 4402”) and any rules or regulations promulgated thereunder (a) all amounts to be paid or advanced by one party to or on behalf of the other under this Agreement or any Transaction hereunder shall be deemed to be
“payment obligations” and all amounts to be received by or on behalf of one party from the other under this Agreement or any Transaction hereunder shall be deemed to be “payment entitlements” within the meaning of
Section 4402, and this Agreement shall be deemed to be a “netting contract” as defined in Section 4402; (b) the payment obligations and the payment entitlements of the parties hereto pursuant to this Agreement and any
Transaction hereunder shall be netted as follows. In the event that either party (the “Defaulting Party”) shall fail to honor any payment obligation under this Agreement or any Transaction hereunder, the other party (the
“Nondefaulting Party”) shall be entitled to reduce the amount of any payment to be made by the Nondefaulting Party to the Defaulting Party by the amount of the payment obligation that the Defaulting Party failed to honor. 

SECTION 31.    CONFIDENTIALITY 

Buyer and Seller hereby acknowledge and agree that all written or computer-readable information provided by one party to any other regarding
the terms set forth in any of the Program Documents or the Transactions contemplated thereby (the “Confidential Terms”) shall be kept confidential and shall not be divulged to any party without the prior written consent of such
other party except to the extent that (i) it is necessary to do so in working with legal counsel, auditors, taxing authorities or other governmental agencies or regulatory bodies or in order to comply with any applicable federal or state laws,
(ii) any of the Confidential Terms are in the public domain other than due to a breach of this covenant, (iii) in the event of an Event of Default Buyer determines such information to be necessary or desirable to disclose in connection
with the marketing and sales of the Purchased Assets or otherwise to enforce or exercise Buyer’s rights hereunder or (iv) by Buyer in connection with any marketing material undertaken by Buyer. 

  
 61 








 Notwithstanding the foregoing or anything to the contrary contained herein or in any other
Program Document, the parties hereto may disclose to any and all Persons, without limitation of any kind, the federal, state and local tax treatment of the Transactions, any fact relevant to understanding the federal, state and local tax treatment
of the Transactions, and all materials of any kind (including opinions or other tax analyses) relating to such federal, state and local tax treatment and that may be relevant to understanding such tax treatment; provided that neither Seller nor any
Subsidiary or Affiliate thereof may disclose the name of or identifying information with respect to Buyer, its Affiliates or any other Indemnified Party, or any pricing terms (including, without limitation, the Pricing Rate, Warehouse Fees and,
Purchase Price) or other nonpublic business or financial information (including any sublimits and financial covenants) that is unrelated to the federal, state and local tax treatment of the Transactions and is not relevant to understanding the
federal, state and local tax treatment of the Transactions, without the prior written consent of Buyer. The provisions set forth in this Section 31 shall survive the termination of this Agreement. 

Notwithstanding anything in this Agreement to the contrary, Seller shall comply with all applicable local, state and federal laws, including,
without limitation, all privacy and data protection law, rules and regulations that are applicable to the Purchased Assets and/or any applicable terms of this Agreement (the “Confidential Information”). Seller understands that the
Confidential Information may contain “nonpublic personal information”, as that term is defined in Section 509(4) of the Gramm-Leach-Bliley Act (the “GLB Act”), and Seller agrees to maintain such nonpublic personal
information that it receives hereunder in accordance with the GLB Act and other applicable federal and state privacy laws. Seller shall implement such physical and other security measures as shall be necessary to (a) ensure the security and
confidentiality of the “nonpublic personal information” of the “customers” and “consumers” (as those terms are defined in the GLB Act) of Buyer or any Affiliate of Buyer which Buyer holds (b) protect against any
threats or hazards to the security and integrity of such nonpublic personal information, and (c) protect against any unauthorized access to or use of such nonpublic personal information. Seller shall, at a minimum establish and maintain such
data security program as is necessary to meet the objectives of the Interagency Guidelines Establishing Standards for Safeguarding Customer Information as set forth in the Code of Federal Regulations at 12 C.F.R. Parts 30, 208, 211, 225, 263, 308,
364, 568 and 570. Upon request, Seller will provide evidence reasonably satisfactory to allow Buyer to confirm that Seller has satisfied its obligations as required under this Section. Without limitation, this may include Buyer’s review of
audits, summaries of test results, and other equivalent evaluations of Seller. Seller shall notify Buyer immediately following discovery of any breach or compromise of the security, confidentiality, or integrity of nonpublic personal information of
the customers and consumers of Buyer or any Affiliate of Buyer provided directly to Seller by Buyer or such Affiliate. Seller shall provide such notice to Buyer by personal delivery, by facsimile with confirmation of receipt, or by overnight courier
with confirmation of receipt to the applicable requesting individual. 
 SECTION 32.    INTENT 

(a) The parties recognize that each Transaction is a “repurchase agreement” as that term is defined in Section 101 of Title 11
of the Bankruptcy Code, as amended and a “securities contract” as that term is defined in Section 741 of Title 11 of the Bankruptcy Code, as amended and that all payments hereunder are deemed “margin payments” or
“settlement payments” as defined in Title 11 of the Bankruptcy Code. 

  
 62 








 (b) This Agreement is intended to be a “repurchase agreement” and a “securities
contract,” within the meaning of Section 555 and Section 559 under the Bankruptcy Code. It is understood that either party’s right to liquidate Purchased Assets delivered to it in connection with Transactions hereunder or to
exercise any other remedies pursuant to Section 14 hereof is a contractual right to liquidate such Transaction as described in Sections 555 and 559 of Title 11 of the Bankruptcy Code, as amended. 

(c) The parties agree and acknowledge that if a party hereto is an “insured depository institution,” as such term is defined in the
Federal Deposit Insurance Act, as amended (“FDIA”), then each Transaction hereunder is a “qualified financial contract,” a “repurchase agreement” and a “securities contract” as such terms are defined in
FDIA and any rules, orders or policy statements thereunder. 
 (d) It is understood that this Agreement constitutes a “netting
contract” as defined in and subject to Title IV of the Federal Deposit Insurance Corporation Improvement Act of 1991 (“FDICIA”) and each payment entitlement and payment obligation under any Transaction hereunder shall
constitute a “covered contractual payment entitlement” or “covered contractual payment obligation”, respectively, as defined in and subject to FDICIA (except insofar as one or both of the parties is not a “financial
institution” as that term is defined in FDICIA). 
 (e) Each Party intends that this Agreement constitutes and shall be construed and
interpreted as a “master netting agreement” within the meaning of and as such terms are used in Section 561 of the Bankruptcy Code and each party agrees that this Agreement is intended to create mutuality of obligations among the
parties, and as such, this Agreement constitutes a contract which (i) is between all of the parties and (ii) places each party in the same right and capacity. 

SECTION 33.    DISCLOSURE RELATING TO CERTAIN FEDERAL PROTECTIONS 

The parties acknowledge that they have been advised that (a) in the case of Transactions in which one of the parties is a broker or dealer
registered with the Securities and Exchange Commission (“SEC”) under Section 15 of the Securities Exchange Act of 1934 (“1934 Act”), the Securities Investor Protection Corporation has taken the position that
the provisions of the Securities Investor Protection Act of 1970 (“SIPA”) do not protect the other party with respect to any Transaction hereunder and (b) in the case of Transactions in which one of the parties is a financial
institution, funds held by the financial institution pursuant to a Transaction hereunder are not a deposit and therefore are not insured by the Federal Deposit Insurance Corporation or the National Credit Union Share Insurance Fund, as applicable.

 SECTION 34.    CONFLICTS 

In the event of any conflict between the terms of this Agreement, any other Program Agreement and any Confirmation, the documents shall control
in the following order of priority: first, the terms of the Confirmation shall prevail, then the terms of this Agreement shall prevail, and then the terms of the other Program Agreement shall prevail. 

  
 63 








 SECTION 35.    MISCELLANEOUS 

(a) Counterparts. This Agreement may be executed in any number of counterparts, all of which taken together shall constitute one and the
same instrument, and any of the parties hereto may execute this Agreement by signing any such counterpart. Delivery of an executed counterpart of a signature page of this Agreement in Portable Document Format (PDF) or by facsimile shall be effective
as delivery of a manually executed original counterpart of this Agreement. 
 (b) Captions. The captions and headings appearing
herein are for included solely for convenience of reference and are not intended to affect the interpretation of any provision of this Agreement. 

(c) Acknowledgment. Seller hereby acknowledges that (i) it has been advised by counsel in the negotiation, execution and delivery
of this Agreement and the other Program Documents; (ii) Buyer has no fiduciary relationship to Seller; and (iii) no joint venture exists between Buyer and Seller. 

(d) Documents Mutually Drafted. Seller and Buyer agree that this Agreement each other Program Document prepared in connection with the
Transactions set forth herein have been mutually drafted and negotiated by each party, and consequently such documents shall not be construed against either party as the drafter thereof. 

(e) Amendments. This Agreement and each other Program Document may be amended from time to time, either by amendment to the Customer
Guide from time to time, or such other amendments to this Agreement, without further consent or assent by Seller and such amendments shall be effective immediately upon notice to Seller of the change (whether that notice is sent individually or
posted to Warehouse Electronic System) and Mortgage Loans sold to Buyer after the effective date shall be governed by the revised Agreement. 

(f) Acknowledgement of Anti Predatory Lending Policies. Buyer has in place internal policies and procedures that expressly prohibit its
purchase of any High Cost Mortgage Loan. 
 (g) Authorizations. Any of the persons whose signatures and titles appear on Schedule
2 are authorized, acting singly, to act for Seller, under this Agreement. Any persons identified in the Customer Guide are authorized to act for Buyer under this Agreement. 

SECTION 36.    GENERAL INTERPRETIVE PRINCIPLES 

For purposes of this Agreement, except as otherwise expressly provided or unless the context otherwise requires: (a) the terms defined in
this Agreement have the meanings assigned to them in this Agreement and include the plural as well as the singular, and the use of any gender herein shall be deemed to include the other gender; (b) accounting terms not otherwise defined herein
have the meanings assigned to them in accordance with generally 

  
 64 








 
accepted accounting principles; (c) references herein to “Articles”, “Sections”, “Subsections”, “Paragraphs”, and other subdivisions without reference
to a document are to designated Articles, Sections, Subsections, Paragraphs and other subdivisions of this Agreement; (d) a reference to a Subsection without further reference to a Section is a reference to such Subsection as contained in the
same Section in which the reference appears, and this rule shall also apply to Paragraphs and other subdivisions; (e) the words “herein”, “hereof”, “hereunder” and other words of similar import refer to this
Agreement as a whole and not to any particular provision; (f) the term “include” or “including” shall mean without limitation by reason of enumeration; (g) all times specified herein or in any other Program Document
(unless expressly specified otherwise) are local times in New York, New York unless otherwise stated; and (h) all references herein or in any Program Document to “good faith” means good faith as defined in Section 1-201(19) of
the UCC as in effect in the State of New York. 
 [THIS SPACE INTENTIONALLY LEFT BLANK] 

  
 65 








 IN WITNESS WHEREOF, the parties have entered into this Agreement as of the date set forth above.

  

			
	BUYER:
	
	UBS REAL ESTATE SECURITIES INC.
		
	By:	 	






 
					
		 	Name:	 	GARY TIMMERMAN
		 	Title:	 	MANAGING DIRECTOR


  

			
	By:	 	






 
					
		 	Name:	 	ARI LASH
		 	Title:	 	DIRECTOR


 
					
	
	Address for Notices: AS SET FORTH IN THE
    CUSTOMER GUIDE


 
					
	
	SELLER:
	
	LOANDEPOT.COM, LLC


  

			
	By:	 	 


 
					
		 	Name:	 	
		 	Title:	 	


 
					
	
	Address for Notices:
			
		 		 	26642 Towne Centre Drive
		 		 	Foothill Ranch, CA 92610
		 		 	Attention: John Lee, CFO
		 		 	Fax No.: (949) 470-6231
		 		 	Telephone No: (949) 470-6231


 [Signature Page for loanDepot.com, LLC MRA] 







 IN WITNESS WHEREOF, the parties have entered into this Agreement as of the date set forth above.

  

			
	BUYER:
	
	UBS REAL ESTATE SECURITIES INC.
		
	By:	 	 


 
					
		 	Name:	 	
		 	Title:	 	


 
			
		
	By:	 	 


 
					
		 	Name:	 	
		 	Title:	 	


 
					
	
	Address for Notices: AS SET FORTH IN THE
    CUSTOMER GUIDE


 
					
	
	SELLER:
	
	LOANDEPOT.COM, LLC


  

			
		
	By:	 	






 
					
		 	Name:	 	  John Lee
		 	Title:	 	  CFO


 
					
	
	Address for Notices:
			
		 		 	26642 Towne Centre Drive
		 		 	Foothill Ranch, CA 92610
		 		 	Attention: John Lee, CFO
		 		 	Fax No.: (949) 470-6231
		 		 	Telephone No: (949) 470-6231


 [Signature Page for loanDepot.com, LLC MRA] 







 REPRESENTATIONS AND WARRANTIES 

Seller represents and warrants to Buyer, with respect to each Mortgage Loan, that as of the Purchase Date for the purchase of Purchased
Mortgage Loans by Buyer from Seller and as of the date of this Agreement and any Transaction hereunder and at all times while the Program Documents and any Transaction hereunder is in full force and effect, that the following are true and correct.
For purposes of this Schedule 1 and the representations and warranties set forth herein, a breach of a representation or warranty shall be deemed to have been cured with respect to a Mortgage Loan if and when Seller has taken or caused to be
taken action such that the event, circumstance or condition that gave rise to such breach no longer adversely affects such Mortgage Loan. With respect to those representations and warranties which are made to the best of Seller’s knowledge, if
it is discovered by Seller or Buyer that the substance of such representation and warranty is inaccurate, notwithstanding Seller’s lack of knowledge with respect to the substance of such representation and warranty, such inaccuracy shall be
deemed a breach of the applicable representation and warranty. 
 (a) Mortgage Loans as Described. The information set forth in the
Mortgage Loan Schedule is complete, true and correct in all material respects. 
 (b) Payments Current. No payment required under the
Mortgage Loan is 30 days or more delinquent nor has any payment under the Mortgage Loan been 30 days or more delinquent at any time since the origination of the Mortgage Loan. 

(c) Origination Date. The initial Purchase Date is no more than thirty (30) days following the origination date. 

(d) Approved Underwriting Guidelines. The Mortgage Loan satisfies the Approved Underwriting Guidelines. 

(e) No Outstanding Charges. There are no defaults in complying with the terms of the Mortgage, and all taxes, governmental assessments,
insurance premiums, water, sewer and municipal charges, leasehold payments or ground rents which previously became due and owing have been paid, or an escrow of funds has been established in an amount sufficient to pay for every such item which
remains unpaid and which has been assessed but is not yet due and payable. Seller has not advanced funds, or induced, solicited or knowingly received any advance of funds by a party other than the Mortgagor, directly or indirectly, for the payment
of any amount required under the Mortgage Loan, except for interest accruing from the date of the Mortgage Note or date of disbursement of the Mortgage Loan proceeds, whichever is earlier, to the day which precedes by one month the Due Date of the
first installment of principal and interest. 
 (f) Original Terms Unmodified. The terms of the Mortgage Note and Mortgage have not
been impaired, waived, altered or modified in any respect, from the date of origination except by a written instrument which has been recorded, if necessary to protect the interests of Buyer, and which has been delivered to the Custodian or to such
other Person as Buyer shall designate in writing, and the terms of which are reflected in the Mortgage Loan 

  
 Sch. 1-2 








 
Schedule. The substance of any such waiver, alteration or modification has been approved by the issuer of any related PMI Policy and the title insurer, if any, to the extent required by the
policy, and its terms are reflected on the Mortgage Loan Schedule, if applicable. No Mortgagor has been released, in whole or in part, except in connection with an assumption agreement, approved by the issuer of any related PMI Policy and the issuer
of the title insurer, to the extent required by the policy, and which assumption agreement is part of the Mortgage File delivered to the Custodian or to such other Person as Buyer shall designate in writing and the terms of which are reflected in
the Mortgage Loan Schedule. 
 (g) No Defenses. The Mortgage Loan is not subject to any right of rescission, set-off, counterclaim or
defense, including without limitation the defense of usury, nor will the operation of any of the terms of the Mortgage Note or the Mortgage, or the exercise of any right thereunder, render either the Mortgage Note or the Mortgage unenforceable, in
whole or in part, or subject to any right of rescission, set-off, counterclaim or defense, including without limitation the defense of usury, and no such right of rescission, set-off, counterclaim or defense has been asserted with respect thereto,
and no Mortgagor was a debtor in any state or federal bankruptcy or insolvency proceeding at, or subsequent to, the time the Mortgage Loan was originated. 

(h) Hazard Insurance. Pursuant to the terms of the Mortgage, all buildings or other improvements upon the Mortgaged Property are
insured by a generally acceptable insurer against loss by fire, hazards of extended coverage and such other hazards as are provided for in the Fannie Mae guides or by Freddie Mac, as well as all additional requirements set forth in the Approved
Underwriting Guidelines. If required by the National Flood Insurance Act of 1968, as amended, each Mortgage Loan is covered by a flood insurance policy meeting the requirements of the current guidelines of the Federal Insurance Administration as in
effect which policy conforms to Fannie Mae and Freddie Mac, as well as all additional requirements set forth in the Servicing Agreement. All individual insurance policies contain a standard mortgagee clause naming Seller and its successors and
assigns as mortgagee, and all premiums thereon have been paid and such policies may not be reduced, terminated or cancelled without 30 days’ prior written notice to the mortgagee. The Mortgage obligates the Mortgagor thereunder to maintain the
hazard insurance policy at the Mortgagor’s cost and expense, and on the Mortgagor’s failure to do so, authorizes the holder of the Mortgage to obtain and maintain such insurance at such Mortgagor’s cost and expense, and to seek
reimbursement therefor from the Mortgagor. Where required by state law or regulation, the Mortgagor has been given an opportunity to choose the carrier of the required hazard insurance, provided the policy is not a “master” or
“blanket” hazard insurance policy covering a condominium, or any hazard insurance policy covering the common facilities of a planned unit development. The hazard insurance policy is the valid and binding obligation of the insurer,
is in full force and effect, and will be in full force and effect and inure to the benefit of Buyer upon the consummation of the transactions contemplated by this Agreement. Seller has not engaged in, and has no knowledge of the Mortgagor’s or
any servicer’s having engaged in, any act or omission which would impair the coverage of any such policy, the benefits of the endorsement provided for herein, or the validity and binding effect of such policy, including, without limitation, no
unlawful fee, commission, kickback or other unlawful compensation or value of any kind has been or will be received, retained or realized by any attorney, firm or other person or entity, and no such unlawful items have been received, retained or
realized by Seller. 

  
 Sch. 1-3 








 (i) Compliance with Applicable Laws. Any and all requirements of any federal, state or
local law including, without limitation, usury, truth-in-lending, real estate settlement procedures, consumer credit protection, anti-predatory lending laws, laws covering fair housing, fair credit reporting, community reinvestment, homeowners
equity protection, equal credit opportunity, mortgage reform and disclosure laws or unfair and deceptive practices laws applicable to the Mortgage Loan have been complied with, and the consummation of the transactions contemplated hereby will not
involve the violation of any such laws or regulations. Seller shall maintain in its possession, available for Buyer’s inspection, and shall deliver to Buyer upon demand, evidence of compliance with all requirements set forth herein. 

(j) No Satisfaction of Mortgage. The Mortgage has not been satisfied, canceled, subordinated or rescinded, in whole or in part, and the
Mortgaged Property has not been released from the lien of the Mortgage, in whole or in part, nor has any instrument been executed that would effect any such release, cancellation, subordination or rescission. Seller has not waived the performance by
the Mortgagor of any action, if the Mortgagor’s failure to perform such action would cause the Mortgage Loan to be in default, nor has Seller waived any default resulting from any action or inaction by the Mortgagor. 

(k) Location and Type of Mortgaged Property. The Mortgaged Property is a fee simple property located in the state identified in the
Mortgage Loan Schedule except that with respect to real property located in jurisdictions in which the use of leasehold estates for residential properties is a widely-accepted practice, the Mortgaged Property may be a leasehold estate and consists
of a single parcel of real property with a detached single family residence erected thereon, or a two- to four-family dwelling, or an individual residential condominium or cooperative unit in a low-rise or high-rise condominium or cooperative
project, or an individual unit in a planned unit development, provided, however, that any condominium or cooperative unit or planned unit development shall not fall within any of the “Ineligible Projects” of part VIII, Section 102 of
the Fannie Mae Selling Guide and shall conform with the Approved Underwriting Guidelines. The Mortgaged Property is not raw land. In the case of any Mortgaged Properties that are manufactured homes (a “Manufactured Home Mortgage
Loan”), (i) such Manufactured Home Mortgage Loan conforms with the applicable Fannie Mae or Freddie Mac requirements regarding mortgage loans related to manufactured dwellings, (ii) the related manufactured dwelling is permanently
affixed to the land, (iii) the related manufactured dwelling and the related land are subject to a Mortgage properly filed in the appropriate public recording office and naming Seller as mortgagee, (iv) the applicable laws of the
jurisdiction in which the related Mortgaged Property is located will deem the manufactured dwelling located on such Mortgaged Property to be a part of the real property on which such dwelling is located, and (v) such Manufactured Home Mortgage
Loan is (x) a qualified mortgage under Section 860G(a)(3) of the Internal Revenue Code of 1986, as amended and (y) secured by manufactured housing treated as a single family residence under Section 25(e)(10) of the Code. As of the
date of origination, no portion of the Mortgaged Property was used for commercial purposes, and since the date of origination, no portion of the Mortgaged Property has been used for commercial purposes; provided, that Mortgaged Properties which
contain a home office shall not be considered as being used for commercial purposes as long as the Mortgaged Property has not been altered for commercial purposes and is not storing any chemicals or raw materials other than those commonly used for
homeowner repair, maintenance and/or household purposes. 

  
 Sch. 1-4 








 (l) Valid First Lien. Each Mortgage is a valid and subsisting first lien of record on a
single parcel of real estate constituting the Mortgaged Property, including all buildings and improvements on the Mortgaged Property and all installations and mechanical, electrical, plumbing, heating and air conditioning systems located in or
annexed to such buildings, and all additions, alterations and replacements made at any time, subject in all cases to the exceptions to title set forth in the title insurance policy with respect to the related Mortgage Loan, which exceptions are
generally acceptable to prudent mortgage lending companies, and such other exceptions to which similar properties are commonly subject and which do not individually, or in the aggregate, materially and adversely affect the benefits of the security
intended to be provided by such Mortgage. The lien of the Mortgage is subject only to: 
 (i) the lien of current real
property taxes and assessments not yet due and payable. 
 (ii) covenants, conditions and restrictions, rights of way,
easements and other matters of the public record as of the date of recording acceptable to prudent mortgage lending institutions generally and specifically referred to in the lender’s title insurance policy delivered to the originator of the
Mortgage Loan and (a) specifically referred to or otherwise considered in the appraisal made for the originator of the Mortgage Loan or (b) which do not adversely affect the Appraised Value of the Mortgaged Property set forth in such
appraisal; and 
 (iii) other matters to which like properties are commonly subject which do not materially interfere with
the benefits of the security intended to be provided by the Mortgage or the use, enjoyment, value or marketability of the related Mortgaged Property. 
 Any
security agreement, chattel mortgage or equivalent document related to and delivered in connection with the Mortgage Loan establishes and creates a valid, subsisting, enforceable and perfected first lien and first priority security interest on the
property described therein and Seller has full right to sell and assign the same to Buyer. The Mortgaged Property was not, as of the date of origination of the Mortgage Loan, subject to a mortgage, deed of trust, deed to secure debt or other
security instrument creating a lien subordinate to the lien of the Mortgage. 
 (m) Validity of Mortgage Documents. The Mortgage Note
and the Mortgage and any other agreement executed and delivered by a Mortgagor in connection with a Mortgage Loan are genuine, and each is the legal, valid and binding obligation of the maker thereof enforceable in accordance with its terms. All
parties to the Mortgage Note, the Mortgage and any other such related agreement had legal capacity to enter into the Mortgage Loan and to execute and deliver the Mortgage Note, the Mortgage and any such agreement, and the Mortgage Note, the Mortgage
and any other such related agreement have been duly and properly executed by other such related parties. The documents, instruments and agreements submitted for loan underwriting were not falsified and contain no untrue statement of material fact or
omit to state a material fact required to be stated therein or necessary to make the information and statements therein not misleading. No fraud, error, omission, misrepresentation, negligence or similar occurrence with respect to a Mortgage Loan
has taken place on the part of any Person, including without limitation, the Mortgagor, any appraiser, any builder or developer, or any other party 

  
 Sch. 1-5 








 
involved in the origination or servicing of the Mortgage Loan or in the application or any insurance in relation to such Mortgage Loan. Seller has reviewed all of the documents constituting the
Servicing File and has made such inquiries as it deems necessary to make and confirm the accuracy of the representations set forth herein. 

(n) Full Disbursement of Proceeds. The Mortgage Loan has been closed and the proceeds of the Mortgage Loan have been fully disbursed
and there is no requirement for future advances thereunder, and any and all requirements as to completion of any on-site or off-site improvement and as to disbursements of any escrow funds therefor have been complied with. All costs, fees and
expenses incurred in making or closing the Mortgage Loan and the recording of the Mortgage were paid, and the Mortgagor is not entitled to any refund of any amounts paid or due under the Mortgage Note or Mortgage. All points and fees related to each
Mortgage Loan were disclosed in writing to the Mortgagor in accordance with applicable state and federal law and regulation. 
 (o)
Ownership. Seller is the sole owner of record and holder of the Mortgage Loan and the indebtedness evidenced by each Mortgage Note and upon the sale of the Mortgage Loans to Buyer, Seller will retain the Mortgage Files or any part thereof
with respect thereto not delivered to the Custodian, Buyer or Buyer’s designee, in trust only for the purpose of servicing and supervising the servicing of each Mortgage Loan. The Mortgage Loan is not assigned or pledged, and Seller has good,
indefeasible and marketable title thereto, and has full right to transfer and sell the Mortgage Loan to Buyer free and clear of any encumbrance, equity, participation interest, lien, pledge, charge, claim or security interest, and has full right and
authority subject to no interest or participation of, or agreement with, any other party, to sell and assign each Mortgage Loan pursuant to this Agreement and following the sale of each Mortgage Loan, Buyer will own such Mortgage Loan free and clear
of any encumbrance, equity, participation interest, lien, pledge, charge, claim or security interest. Seller intends to relinquish all rights to possess, control and monitor the Mortgage Loan. 

(p) Doing Business. All parties which have had any interest in the Mortgage Loan, whether as mortgagee, assignee, pledgee or otherwise,
are (or, during the period in which they held and disposed of such interest, were) (1) in compliance with any and all applicable licensing requirements of the laws of the state wherein the Mortgaged Property is located, and (2) either
(i) organized under the laws of such state, or (ii) qualified to do business in such state, or (iii) a federal savings and loan association, a savings bank or a national bank having a principal office in such state, or (3) not
doing business in such state. 
 (q) LTV, PMI Policy. No Mortgage Loan has an LTV greater than 125%. The LTV of the Mortgage Loan
either is not more than 80% or the excess over 75% of the Appraised Value is and will be insured as to payment defaults by a PMI Policy until the LTV of such Mortgage Loan is reduced to 80%. All provisions of such PMI Policy have been and are being
complied with, such policy is in full force and effect, and all premiums due thereunder have been paid. No action, inaction, or event has occurred and no state of facts exists that has, or will result in the exclusion from, denial of, or defense to
coverage. Any Mortgage Loan subject to a PMI Policy obligates the Mortgagor thereunder to maintain the PMI Policy and to pay all premiums and charges in connection therewith. The Mortgage Interest Rate for the Mortgage Loan as set forth on the
Mortgage Loan Schedule is net of any such insurance premium. 

  
 Sch. 1-6 








 (r) Title Insurance. The Mortgage Loan is covered by an ALTA lender’s title insurance
policy, or with respect to any Mortgage Loan for which the related Mortgaged Property is located in California a CLTA lender’s title insurance policy, or other generally acceptable form of policy or insurance acceptable to Fannie Mae or Freddie
Mac and each such title insurance policy is issued by a title insurer acceptable to Fannie Mae or Freddie Mac and qualified to do business in the jurisdiction where the Mortgaged Property is located, insuring Seller, its successors and assigns, as
to the first priority lien of the Mortgage in the original principal amount of the Mortgage Loan, subject only to the exceptions contained in clauses (1), (2) and (3) of paragraph (l) of this Schedule 1, and in the case of
adjustable rate Mortgage Loans, against any loss by reason of the invalidity or unenforceability of the lien resulting from the provisions of the Mortgage providing for adjustment to the Mortgage Interest Rate and Monthly Payment. Where required by
state law or regulation, the Mortgagor has been given the opportunity to choose the carrier of the required mortgage title insurance. Additionally, such lender’s title insurance policy affirmatively insures ingress and egress, and against
encroachments by or upon the Mortgaged Property or any interest therein. The title policy does not contain any special exceptions (other than the standard exclusions) for zoning and uses and has been marked to delete the standard survey exception or
to replace the standard survey exception with a specific survey reading. Seller, its successors and assigns, are the sole insureds of such lender’s title insurance policy, and such lender’s title insurance policy is valid and remains in
full force and effect and will be in force and effect upon the consummation of the transactions contemplated by this Agreement. No claims have been made under such lender’s title insurance policy, and no prior holder of the related Mortgage,
including Seller, has done, by act or omission, anything which would impair the coverage of such lender’s title insurance policy, including without limitation, no unlawful fee, commission, kickback or other unlawful compensation or value of any
kind has been or will be received, retained or realized by any attorney, firm or other Person or entity, and no such unlawful items have been received, retained or realized by Seller. 

(s) No Defaults. Other than payments due but not yet 30 days or more delinquent, there is no default, breach, violation or event which
would permit acceleration existing under the Mortgage or the Mortgage Note and no event which, with the passage of time or with notice and the expiration of any grace or cure period, would constitute a default, breach, violation or event which would
permit acceleration, and neither Seller nor any of its affiliates nor any of their respective predecessors, have waived any default, breach, violation or event which would permit acceleration. 

(t) No Mechanics’ Liens. There are no mechanics’ or similar liens or claims which have been filed for work, labor or material
(and no rights are outstanding that under law could give rise to such liens) affecting the related Mortgaged Property which are or may be liens prior to, or equal or coordinate with, the lien of the related Mortgage. 

(u) Location of Improvements; No Encroachments. All improvements which were considered in determining the Appraised Value of the
Mortgaged Property lay wholly within the boundaries and building restriction lines of the Mortgaged Property, and no improvements on adjoining properties encroach upon the Mortgaged Property. No improvement located on or being part of the Mortgaged
Property is in violation of any applicable zoning law or regulation. 

  
 Sch. 1-7 








 (v) Origination; Payment Terms. The Mortgage Loan was originated by Seller. Seller is a
mortgagee approved by the Secretary of Housing and Urban Development pursuant to Sections 203 and 211 of the National Housing Act, a savings and loan association, a savings bank, a commercial bank, credit union, insurance company or other similar
institution which is supervised and examined by a federal or state authority. The documents, instruments and agreements submitted for loan underwriting were not falsified and contain no untrue statement of material fact or omit to state a material
fact required to be stated therein or necessary to make the information and statements therein not misleading. No Mortgage Loan contains terms or provisions which would result in negative amortization. Principal payments on the Mortgage Loan
commenced no more than sixty days after funds were disbursed in connection with the Mortgage Loan. The mortgage interest rate as well as the lifetime rate cap and the periodic cap are as set forth on the Mortgage Loan Schedule. The Mortgage Note is
payable in equal monthly installments of principal and interest, which installments of interest, with respect to adjustable rate Mortgage Loans, are subject to change due to the adjustments to the mortgage interest rate on each interest rate
adjustment date, with interest calculated and payable in arrears, sufficient to amortize the Mortgage Loan fully by the stated maturity date, over an original term of not more than thirty years from commencement of amortization. Unless otherwise
specified, the Mortgage Loan is payable on the first day of each month. There are no Mortgage Loans which contain a provision allowing the Mortgagor to convert the Mortgage Note from an adjustable interest rate Mortgage Note to a fixed interest rate
Mortgage Note. 
 (w) Customary Provisions. The Mortgage contains customary and enforceable provisions such as to render the rights
and remedies of the holder thereof adequate for the realization against the Mortgaged Property of the benefits of the security provided thereby, including, (i) in the case of a Mortgage designated as a deed of trust, by trustee’s sale, and
(ii) otherwise by judicial foreclosure. Upon default by a Mortgagor on a Mortgage Loan and foreclosure on, or trustee’s sale of, the Mortgaged Property pursuant to the proper procedures, the holder of the Mortgage Loan will be able to
deliver good and merchantable title to the Mortgaged Property. There is no homestead or other exemption or other right available to the Mortgagor or any other person, or restriction on Seller or any other person, including without limitation, any
federal, state or local, law, ordinance, decree, regulation, guidance, attorney general action, or other pronouncement, whether temporary or permanent in nature, that would interfere with, restrict or delay, either (y) the ability of Seller,
Buyer or any servicer or any successor servicer to sell the related Mortgaged Property at a trustee’s sale or otherwise, or (z) the ability of Seller, Buyer or any servicer or any successor servicer to foreclose on the related Mortgage.

 (x) Conformance with Agency and Approved Underwriting Guidelines. The Mortgage Loan was underwritten in accordance with the
Approved Underwriting Guidelines (a copy of which has been delivered to Buyer). The Mortgage Note and Mortgage are on forms acceptable to Freddie Mac, Fannie Mae or FHA, as applicable, and Seller has not made any representations to a Mortgagor that
are inconsistent with the mortgage instruments used. The methodology used in underwriting the extension of credit for each Mortgage Loan employs objective quantitative principles which relate the Mortgagor’s credit characteristics, income,
assets and liabilities (as applicable to a particular underwriting program) to the proposed payment, and such underwriting methodology does not rely on the extent of the Mortgagor’s equity in the collateral as the principal determining factor
in approving such credit extension. Such underwriting methodology confirmed that at the time of origination (application/approval) the Mortgagor had a reasonable ability to make timely payments on the Mortgage Loan. 

  
 Sch. 1-8 








 (y) Occupancy of the Mortgaged Property. The Mortgaged Property is lawfully occupied under
applicable law. All inspections, licenses and certificates required to be made or issued with respect to all occupied portions of the Mortgaged Property and, with respect to the use and occupancy of the same, including but not limited to
certificates of occupancy and fire underwriting certificates, have been made or obtained from the appropriate authorities. 
 (z) No
Additional Collateral. The Mortgage Note is not and has not been secured by any collateral except the lien of the corresponding Mortgage and the security interest of any applicable security agreement or chattel mortgage referred to in clause
(j) above. 
 (aa) Deeds of Trust. In the event the Mortgage constitutes a deed of trust, a trustee, authorized and duly
qualified under applicable law to serve as such, has been properly designated and currently so serves and is named in the Mortgage, and no fees or expenses are or will become payable by Buyer to the trustee under the deed of trust, except in
connection with a trustee’s sale after default by the Mortgagor. 
 (bb) Acceptable Investment. There are no circumstances or
conditions with respect to the Mortgage, the Mortgaged Property, the Mortgagor, the Mortgage File or the Mortgagor’s credit standing that can reasonably be expected to cause private institutional investors to regard the Mortgage Loan as an
unacceptable investment, cause the Mortgage Loan to become delinquent, or adversely affect the value or marketability of the Mortgage Loan, or cause the Mortgage Loans to prepay during any period materially faster or slower than the mortgage loans
originated by Seller generally. 
 (cc) Delivery of Mortgage Documents. The Mortgage Note, the Mortgage, the Assignment of Mortgage
and any other documents required to be delivered under the Custodial Agreement for each Mortgage Loan have been delivered to the Custodian. Seller is in possession of a complete, true and accurate Mortgage File in compliance with the Customer Guide,
except for such documents the originals of which have been delivered to the Custodian. 
 (dd) Condominiums/Planned Unit
Developments. If the Mortgaged Property is a condominium unit or a planned unit development (other than a de minimis planned unit development) such condominium or planned unit development project is (i) acceptable to Fannie Mae or Freddie
Mac or (ii) located in a condominium or planned unit development project which has received project approval from Fannie Mae or Freddie Mac. The representations and warranties required by Fannie Mae with respect to such condominium or planned
unit development have been satisfied and remain true and correct. 
 (ee) Transfer of Mortgage Loans. The Assignment of Mortgage with
respect to each Mortgage Loan is in recordable form and is acceptable for recording under the laws of the jurisdiction in which the Mortgaged Property is located. The transfer, assignment and conveyance of the Mortgage Notes and the Mortgages by
Seller are not subject to the bulk transfer or similar statutory provisions in effect in any applicable jurisdiction. 

  
 Sch. 1-9 








 (ff) Due-On-Sale. The Mortgage contains an enforceable provision for the acceleration of
the payment of the unpaid principal balance of the Mortgage Loan in the event that the Mortgaged Property is sold or transferred without the prior written consent of the mortgagee thereunder, and to the best of Seller’s knowledge, such
provision is enforceable. 
 (gg) Assumability. No Mortgage Loan is assumable. 

(hh) No Buydown Provisions; No Graduated Payments or Contingent Interests. The Mortgage Loan does not contain provisions pursuant to
which Monthly Payments are paid or partially paid with funds deposited in any separate account established by Seller, the Mortgagor, or anyone on behalf of the Mortgagor, or paid by any source other than the Mortgagor nor does it contain any other
similar provisions which may constitute a “buydown” provision. The Mortgage Loan is not a graduated payment mortgage loan and the Mortgage Loan does not have a shared appreciation or other contingent interest feature. 

(ii) Consolidation of Future Advances. Any future advances made to the Mortgagor prior to the Purchase Date have been consolidated with
the outstanding principal amount secured by the Mortgage, and the secured principal amount, as consolidated, bears a single interest rate and single repayment term. The lien of the Mortgage securing the consolidated principal amount is expressly
insured as having first lien priority by a title insurance policy, an endorsement to the policy insuring the mortgagee’s consolidated interest or by other title evidence acceptable to Fannie Mae and Freddie Mac and/or FHA, as applicable. The
consolidated principal amount does not exceed the original principal amount of the Mortgage Loan. 
 (jj) Mortgaged Property Undamaged;
No Condemnation Proceedings. There is no proceeding pending or threatened for the total or partial condemnation of the Mortgaged Property. The Mortgaged Property is undamaged by waste, fire, earthquake or earth movement, windstorm, flood,
tornado or other casualty so as to affect adversely the value of the Mortgaged Property as security for the Mortgage Loan or the use for which the premises were intended and each Mortgaged Property is in good repair. 

(kk) Collection Practices; Escrow Deposits; Interest Rate Adjustments. The origination, servicing and collection practices used by
Seller with respect to the Mortgage Loan have been in all respects in compliance with Accepted Servicing Practices, applicable laws and regulations, and have been in all respects legal and proper and prudent in the mortgage origination and servicing
business. With respect to escrow deposits and Escrow Payments, all such payments are in the possession of, or under the control of, Seller and there exist no deficiencies in connection therewith for which customary arrangements for repayment thereof
have not been made. All Escrow Payments have been collected in full compliance with state and federal law and the provisions of the related Mortgage Note and Mortgage. An escrow of funds is not prohibited by applicable law and has been established
in an amount sufficient to pay for every item that remains unpaid and has been assessed but is not yet due and payable. No escrow deposits or Escrow Payments or other charges or payments due Seller have been capitalized under the Mortgage or the
Mortgage Note. All mortgage interest rate adjustments have been made in strict compliance with state and federal law and the terms of the related Mortgage and Mortgage Note on the related interest rate adjustment date. If, pursuant to the terms of
the 

  
 Sch. 1-10 








 
Mortgage Note, another index was selected for determining the mortgage interest rate, the same index was used with respect to each Mortgage Note which required a new index to be selected, and
such selection did not conflict with the terms of the related Mortgage Note. Seller executed and delivered any and all notices required under applicable law and the terms of the related Mortgage Note and Mortgage regarding the mortgage interest rate
and the Monthly Payment adjustments. Any interest required to be paid pursuant to state, federal and local law has been properly paid and credited. 

(ll) No Violation of Environmental Laws. The Mortgaged Property is free from any and all toxic or hazardous substances and there exists
no violation of any local, state or federal environmental law, rule or regulation. There is no pending action or proceeding directly involving the Mortgaged Property in which compliance with any environmental law, rule or regulation is an issue;
there is no violation of any environmental law, rule or regulation with respect to the Mortgaged Property; and nothing further remains to be done to satisfy in full all requirements of each such law, rule or regulation constituting a prerequisite to
use and enjoyment of said property. 
 (mm) Servicemembers Civil Relief Act of 2003. The Mortgagor has not notified Seller, and
Seller has no knowledge of any relief requested or allowed to the Mortgagor under the Servicemembers Civil Relief Act of 2003. 
 (nn)
Appraisal. The Mortgage File contains an appraisal of the related Mortgaged Property signed prior to the approval of the Mortgage Loan application by a qualified appraiser, duly appointed by Seller, who had no interest, direct or indirect in
the Mortgaged Property or in any loan made on the security thereof, and whose compensation is not affected by the approval or disapproval of the Mortgage Loan, and the appraisal and appraiser both satisfy the requirements of Fannie Mae, Freddie Mac
or FHA and Title XI of the Financial Institutions Reform, Recovery, and Enforcement Act of 1989 and the regulations promulgated thereunder, all as in effect on the date the Mortgage Loan was originated. 

(oo) Disclosure Materials. The Mortgagor has executed a statement to the effect that the Mortgagor has received all disclosure
materials required by, and Seller has complied with, all applicable law with respect to the making of the Mortgage Loans. Seller shall maintain such statement in the Mortgage File. 

(pp) Construction or Rehabilitation of Mortgaged Property. No Mortgage Loan was made in connection with the construction or
rehabilitation of a Mortgaged Property or facilitating the trade-in or exchange of a Mortgaged Property. 
 (qq) Value of Mortgaged
Property. Seller has no knowledge of any circumstances existing that could reasonably be expected to adversely affect the value or the marketability of any Mortgaged Property or Mortgage Loan or to cause the Mortgage Loans to prepay during any
period materially faster or slower than similar mortgage loans held by Seller generally secured by properties in the same geographic area as the related Mortgaged Property. 

(rr) No Defense to Insurance Coverage. Seller has caused or will cause to be performed any and all acts required to preserve the rights
and remedies of Buyer in any insurance 

  
 Sch. 1-11 








 
policies applicable to the Mortgage Loans including, without limitation, any necessary notifications of insurers, assignments of policies or interests therein, and establishments of coinsured,
joint loss payee and mortgagee rights in favor of Buyer. No action has been taken or failed to be taken, no event has occurred and no state of facts exists or has existed on or prior to the Purchase Date (whether or not known to Seller on or prior
to such date) which has resulted or will result in an exclusion from, denial of, or defense to coverage under any applicable special hazard insurance policy, or applicable PMI Policy or bankruptcy bond (including, without limitation, any exclusions,
denials or defenses which would limit or reduce the availability of the timely payment of the full amount of the loss otherwise due thereunder to the insured) whether arising out of actions, representations, errors, omissions, negligence, or fraud
of Seller, the related Mortgagor or any party involved in the application for such coverage, including the appraisal, plans and specifications and other exhibits or documents submitted therewith to the insurer under such insurance policy, or for any
other reason under such coverage, but not including the failure of such insurer to pay by reason of such insurer’s breach of such insurance policy or such insurer’s financial inability to pay. 

(ss) Escrow Analysis. With respect to each Mortgage, Seller has within the last twelve months (unless such Mortgage was originated
within such twelve month period) analyzed the required Escrow Payments for each Mortgage for which Escrow Payments are required and adjusted the amount of such payments so that, assuming all required payments are timely made, any deficiency will be
eliminated on or before the first anniversary of such analysis, or any overage will be refunded to the Mortgagor, in accordance with Real Estate Settlement Procedures Act and any other applicable law. 

(tt) Prior Servicing. Each Mortgage Loan has been serviced in all material respects in strict compliance with Accepted Servicing
Practices. 
 (uu) Credit Information. As to each consumer report (as defined in the Fair Credit Reporting Act, Public Law 91-508) or
other credit information furnished by Seller to Buyer, that Seller has full right and authority and is not precluded by law or contract from furnishing such information to Buyer and Buyer is not precluded from furnishing the same to any subsequent
or prospective purchaser of such Mortgage. Seller shall hold Buyer harmless from any and all damages, losses, costs and expenses (including attorney’s fees) arising from disclosure of credit information in connection with Buyer’s secondary
marketing operations and the purchase and sale of mortgages or Servicing Rights thereto. 
 (vv) Leaseholds. If the Mortgage Loan is
secured by a long-term residential lease, (1) the lessor under the lease holds a fee simple interest in the land; (2) the terms of such lease expressly permit the mortgaging of the leasehold estate, the assignment of the lease without the
lessor’s consent and the acquisition by the holder of the Mortgage of the rights of the lessee upon foreclosure or assignment in lieu of foreclosure or provide the holder of the Mortgage with substantially similar protections; (3) the
terms of such lease do not (a) allow the termination thereof upon the lessee’s default without the holder of the Mortgage being entitled to receive written notice of, and opportunity to cure, such default, (b) allow the termination of
the lease in the event of damage or destruction as long as the Mortgage is in existence, (c) prohibit the holder of the Mortgage from being insured (or receiving proceeds of insurance) under the hazard insurance policy or policies relating to
the Mortgaged Property or (d) permit any increase in rent 

  
 Sch. 1-12 








 
other than pre-established increases set forth in the lease; (4) the original term of such lease is not less than 15 years; (5) the term of such lease does not terminate earlier than
five years after the maturity date of the Mortgage Note; and (6) the Mortgaged Property is located in a jurisdiction in which the use of leasehold estates in transferring ownership in residential properties is a widely accepted practice. 

(ww) Prepayment Penalty. No Mortgage Loan is subject to a prepayment penalty such that an amount in excess of the unpaid principal
balance is due by the Mortgagor if Mortgagor prepays the Mortgage Loan prior to the maturity date of such Mortgage Loan. 
 (xx)
Predatory Lending Regulations; High Cost Loans. No Mortgage Loan (i) is classified as a High Cost Mortgage Loan; (ii) is subject to Section 226.32 of Regulation Z or any similar state law (relating to high interest rate
credit/lending transactions) or (iii) is subject to any law, regulation or rule that (A) imposes liability on a mortgagee or a lender to a mortgagee for upkeep to a Mortgaged Property prior to completion of foreclosure thereon, or
(B) imposes liability on a lender to a mortgagee for acts or omissions of the mortgagee or otherwise defines a mortgagee in a manner that would include a lender to a mortgagee. No Mortgagor was encouraged or required to select a Mortgage Loan
product offered by Seller or the originator which is a higher cost product designed for less creditworthy borrowers, unless at the time of the Mortgage Loan’s origination, such Mortgagor did not qualify taking into account credit history and
debt to income ratios for a lower cost credit product then offered by Seller or originator. If, at the time of loan application, the Mortgagor qualified for a lower cost credit product then offered by Seller or the originator’s standard
mortgage channel (if applicable), Seller or the originator directed the Mortgagor towards such standard mortgage channel, or offered such lower-cost credit product to the Mortgagor. 

(yy) Ohio Stated Income Exclusion. Each Mortgage Loan with an origination date on or after January 1, 2007 which is secured by
Mortgaged Property located in Ohio was originated pursuant to a program which requires verification of the borrower’s income in accordance with “Full and Alternative Documentation” programs as described within the Approved
Underwriting Guidelines. 
 (zz) Origination. No predatory or deceptive lending practices, including, without limitation, the
extension of credit without regard to the ability of the Mortgagor to repay and the extension of credit which has no apparent benefit to the Mortgagor, were employed in the origination of the Mortgage Loan. 

(aaa) Single-premium Credit or Life Insurance Policy. In connection with the origination of any Mortgage Loan, no proceeds from any
Mortgage Loan were used to purchase any single premium credit insurance policy (e.g., life, mortgage, disability, accident, unemployment, or health insurance product) or debt cancellation agreement as a condition of obtaining the extension of
credit. No Mortgagor obtained a prepaid single-premium credit insurance policy (e.g., life, mortgage, disability, accident, unemployment, or health insurance product) or debt cancellation agreement in connection with the origination of the Mortgage
Loan; No proceeds from any Mortgage Loan were used to purchase single premium credit insurance policies (e.g., life, mortgage, disability, accident, unemployment, or health insurance product) or debt cancellation agreements as part of the
origination of, or as a condition to closing, such Mortgage Loan. 

  
 Sch. 1-13 








 (bbb) Tax Service Contract; Flood Certification Contract. Each Mortgage Loan is covered by
a paid in full, life of loan, tax service contract and a paid in full, life of loan, flood certification contract and each of these contracts is assignable to Buyer. 

(ccc) Qualified Mortgage. The Mortgage Loan is a “qualified mortgage” within the meaning of Section 860G(a)(3) of the
Code. 
 (ddd) Regarding the Mortgagor. The Mortgagor is one or more natural persons and/or trustees for an Illinois land trust or a
trustee under a “living trust” and such “living trust” is in compliance with Fannie Mae guidelines for such trusts. 

(eee) Recordation. Each original Mortgage was recorded and, except for those Mortgage Loans subject to the MERS identification system,
all subsequent assignments of the original Mortgage (other than the assignment to Buyer) have been recorded in the appropriate jurisdictions wherein such recordation is necessary to perfect the lien thereof as against creditors of Seller, or is in
the process of being recorded. 
 (fff) FICO Scores. Each Mortgage Loan has a non-zero FICO score. 

(ggg) Georgia Mortgage Loans. There is no Mortgage Loan that was originated on or after March 7, 2003 that is a “high cost
home loan” as defined under the Georgia Fair Lending Act. 
 (hhh) Illinois Mortgage Loans. All Mortgage Loans originated on
or after September 1, 2006 secured by property located in Cook County, Illinois are recordable at the time of origination. 
 (iii)
Subprime Mortgage Loans. No Mortgage Loan is a “Subprime Home Loan” as defined in New York Banking Law 6-m, effective September 1, 2008. 

(jjj) Balloon Mortgage Loans. No Mortgage Loan is a balloon mortgage loan that has an original stated maturity of less than seven
(7) years. 
 (kkk) Adjustable Rate Mortgage Loans. Each Mortgage Loan that is an adjustable rate Mortgage Loan and that has a
residential loan application date on or after September 13, 2007, complies in all material respects with the Interagency Statement on Subprime Mortgage Lending, 72 FR 37569 (July 10, 2007), regardless of whether the Mortgage Loan’s
originator or Seller is subject to such statement as a matter of law. 
 (lll) Agency Mortgage Loans. Each Mortgage Loan that is
subject to a Takeout Commitment with an Agency as the Approved Investor had a principal balance at its origination that did not exceed such Agency’s conforming loan limits as of the Purchase Date. 

(mmm) Nontraditional Mortgage Loan. Each Mortgage Loan that is a “nontraditional mortgage loan” within the meaning of the
Interagency Guidance on 

  
 Sch. 1-14 








 
Nontraditional Mortgage Product Risks, 71 FR 58609 (October 4, 2006), and that has a residential loan application date on or after September 13, 2007, complies in all material respects with
such guidance, regardless of whether the Mortgage Loan’s originator or Seller is subject to such guidance as a matter of law. 
 (nnn)
Mandatory Arbitration. No Mortgage Loan is subject to mandatory arbitration. 
 (ooo) Federal Home Loan Bank. No Mortgage Loan
sold by Seller hereunder is expressly prohibited by the Federal Home Loan Bank of New York’s Member Products Guide. 
 (ppp) Wet
Loans. With respect to each Mortgage Loan that is a Wet Loan, (i) such Mortgage Loan (other than a Mortgage Loan originated in the State of New York) is covered by a duly authorized, executed, delivered and enforceable Closing Protection
Letter, and (ii) the Settlement Agent has been instructed in writing by the Seller to hold the related Mortgage Loan documents as agent and bailee for Buyer or Buyer agent and to promptly forward such Mortgage Loan documents to Custodian. 

(qqq) Takeout Commitment. Each Conforming Mortgage Loan, Certified Conforming Mortgage Loan, Exception Conforming Mortgage Loan, High
Balance Conforming Mortgage Loan and Jumbo Mortgage Loan is covered by a Takeout Commitment, does not exceed the availability under such Takeout Commitment (taking into consideration mortgage loans which have been purchased by the respective Takeout
Investor under the Takeout Commitment and mortgage loan which Seller has identified to Buyer as covered by such Takeout Commitment) and conforms to the requirements and the specifications set forth in such Takeout Commitment and the related
regulations, rules, requirements and/or handbooks of the applicable Takeout Investor and is eligible for sale to and insurance or guaranty by, respectively the applicable Takeout Investor and applicable insurer. 

Each Takeout Commitment is a legal, valid and binding obligation of Seller enforceable against it in accordance with its terms, subject to
applicable bankruptcy, insolvency and similar laws affecting creditors’ rights generally and subject, as to enforceability, to general principles of equity (regardless of whether enforcement is sought in a proceeding in equity or at law). 

(rrr) Prior Financing. No Mortgage Loan has been subject to any other repurchase agreement or credit facility prior to the initial
Purchase Date of such Mortgage Loan. 

  
 Sch. 1-15 








 SCHEDULE 2 

RESPONSIBLE OFFICERS 
 SELLER
AUTHORIZATIONS 
 Any of the persons whose signatures and titles appear below are authorized, acting singly, to act for Seller under this Agreement:

  

					
	 Name
	  	 Title
	  	 Signature

	John Lee	  	CFO	  	  
 





	James B. Svinth	  	EVP	  	  
 





	KIMBER KRONFLE	  	FUNDING MGR	  	  
 





	VICTORIA CLEMENT	  	SVP	  	  
 





	Betty Kranig	  	SVP	  	  
 





	DEBORA WILSON	  	OPERATIONS MANAGER	  	  
 





		  		  	


  
 Sch. 2-1 








 BUYER AUTHORIZATIONS 

Any of the persons whose signatures and titles appear below are authorized, acting singly, to act for Buyer under this Agreement: 

AUTHORIZED REPRESENTATIVES OF UBS REAL ESTATE SECURITIES INC. 
  


					
	 Name
	  	 Title
	  	 Signature

	Ari Lash	  	Director	  	  
 





			
	Gary Timmerman	  	Managing Director	  	






  
 Sch. 2-2 








 SCHEDULE 3 

[SCHEDULED INDEBTEDNESS] 

  
 Sch. 2-3 








 Annex B to Amendment No. 3 

SCHEDULE 3 
 SCHEDULED INDEBTEDNESS

  

	1.	Amended and Restated Master Repurchase Agreement among Wells Fargo Bank, NA and loanDepot.com, LLC, dated as of September 15, 2011, as amended ($35,000,000). 


 

	2.	Amended and Restated Master Repurchase Agreement among Bank of America, NA and loanDepot.com, LLC, dated as of December 23, 2009, as amended ($75,000,000). 


 

	3.	Amended and Restated Master Repurchase Agreement among Citibank, NA and loanDepot.com, LLC, dated as of July 26, 2011, as amended ($100,000,000). 


 

	4.	Amended and Restated Master Repurchase Agreement among, JPMorgan Chase Bank, NA and loanDepot.com, LLC, dated as of March 31, 2010, as amended ($150,000,000). 


 

	5.	Subordinated Debt Agreement among Anthony Hsieh and loanDepot.com, LLC, dated as of September 19, 2011 ($1,818,000). 

  

	6.	Subordinated Debt Agreement among Anthony Hsieh and loanDepot.com, LLC, dated as of September 26, 2011 ($1,000,000). 

  

	7.	Subordinated Debt Agreement among Parthenon Capital Holdings, Inc. and loanDepot.com, LLC, dated as of September 26, 2011 ($4,500,000). 


 

	8.	Subordinated Debt Agreement among Parthenon Capital Holdings, Inc. and loanDepot.com, LLC, dated as of November 09, 2011 ($5,000,000). 








 EXHIBIT A 

FORM OF OPINION LETTER 
 UBS Real Estate
Securities Inc. 
 677 Washington Boulevard 
 Stamford,
Connecticut 06901 
 Dear Sirs and Mesdames: 

You have requested our opinion as counsel to loanDepot.com, LLC, a limited liability company organized and existing under the laws of Delaware
(the “Seller”), with respect to certain matters in connection with (i) that certain Master Repurchase Agreement governing purchases and sales of certain Mortgage Loans, dated March 14, 2012 (the “Repurchase
Agreement”), by and between Seller and UBS Real Estate Securities Inc. (the “Buyer”) and (ii) that certain Custodial Agreement, dated March 14, 2012 (the “Custodial Agreement”), by and among
Buyer, Seller and Deutsche Bank National Trust Company. The Repurchase Agreement and the Custodial Agreement are hereinafter collectively referred to as the “Governing Agreements.” Capitalized terms not otherwise defined herein have
the meanings set forth in the Repurchase Agreement. 
 [We][I] have examined the following documents: 

 

	 	1.	the Repurchase Agreement; 

  

	 	2.	the Custodial Agreement; 

  

	 	3.	unfiled copies of each financing statements listed on Schedule 1 (collectively, the “Financing Statements”) naming Seller as Debtor and Buyer as Secured Party and describing the Repurchase Assets
(as defined in the Master Repurchase Agreement) as to which security interests may be perfected by filing under the Uniform Commercial Code of the States listed on Schedule 1 (the “Filing Collateral”), which [we][I]
understand will be filed in the filing offices listed on Schedule 1 (the “Filing Offices”); 

  

	 	4.	the reports listed on Schedule 2 as to UCC financing statements (collectively, the “UCC Search Report”); 

  

	 	5.	such other documents, records and papers as we have deemed necessary and relevant as a basis for this opinion. 


To the extent [we][I] have deemed necessary and proper, [we][I] have relied upon the representations and warranties of Seller contained in the
Repurchase Agreement. [We][I] have assumed the authenticity of all documents submitted to [me][us] as originals, the genuineness of all signatures, the legal capacity of natural persons and the conformity to the originals of all documents. 

  
 Exh. A-1 








 Based upon the foregoing, it is [our][my] opinion that: 

1. LoanDepot.com, LLC is a limited liability company duly organized, validly existing and in good standing under the laws of the State of
Delaware and is qualified to transact business in, and is in good standing under, the laws of the [State of             ]. 

2. The execution, delivery and performance by Seller of the Governing Agreements to which it is a party, and the sales by Seller and the
pledge of the Repurchase Assets under the Repurchase Agreement have been duly authorized by all necessary corporate action on the part of Seller. Each of the Governing Agreements have been executed and delivered by Seller, and are legal, valid and
binding agreements enforceable in accordance with their respective terms against Seller, subject to bankruptcy laws and other similar laws of general application affecting rights of creditors and subject to the application of the rules of equity,
including those respecting the availability of specific performance, none of which will materially interfere with the realization of the benefits provided thereunder or with Buyer’s purchase of the Purchased Assets and/or security interest in
the Purchased Assets. 
 3. No consent, approval, authorization or order of, and no filing or registration with, any court or governmental
agency or regulatory body is required on the part of Seller for the execution, delivery or performance by such party of the Governing Agreements to which it is a party or for the sales by Seller under the Repurchase Agreement or the sale of the
Repurchase Assets to Buyer and/or granting of a security interest to Buyer in the Repurchase Assets, pursuant to the Repurchase Agreement. 

4. The execution, delivery and performance by Seller of, and the consummation of the transactions contemplated by the Governing Agreements to
which it is a party do not and will not (a) violate any provision of Seller’ charter or bylaws, (b) violate any applicable law, rule or regulation, (c) violate any order, writ, injunction or decree of any court or governmental
authority or agency or any arbitral award applicable to Seller of which [I][we] have knowledge (after due inquiry) or (d) result in a breach of, constitute a default under, require any consent under, or result in the acceleration or required
prepayment of any indebtedness pursuant to the terms of, any agreement or instrument of which [I][we] have knowledge (after due inquiry) to which Seller is a party or by which it is bound or to which it is subject, or (except for the Liens created
pursuant to the Repurchase Agreement) result in the creation or imposition of any Lien upon any Property of such party pursuant to the terms of any such agreement or instrument. 

5. There is no action, suit, proceeding or investigation pending or, to the best of [our][my] knowledge, threatened against Seller which, in
[our][my] judgment, either in any one instance or in the aggregate, would be reasonably likely to result in any material adverse change in the properties, business or financial condition, or prospects of such party or in any material impairment of
the right or ability of such party to carry on its business substantially as now conducted or in any material liability on the part of such party or which would draw into question the validity of the Governing Agreements to which it is a party or
the Mortgage Loans or of any action taken or to be taken in connection with the transactions contemplated thereby, or which would be reasonably likely to impair materially the ability of such party to perform under the terms of the Governing
Agreements to which it is a party or the Mortgage Loans. 

  
 Exh. A-2 








 6. The Repurchase Agreement is effective to create, in favor of Buyer, a valid “security
interest” as defined in Section 1-201(37) of the Uniform Commercial Code in all of the right, title and interest of Seller in, to and under the Repurchase Assets, except that (a) such security interests will continue in Repurchase
Assets after its sale, exchange or other disposition only to the extent provided in Section 9-315 of the Uniform Commercial Code, (b) the security interests in Repurchase Assets in which Seller acquires rights after the commencement of a
case under the Bankruptcy Code in respect of Seller may be limited by Section 552 of the Bankruptcy Code. 
 7. When the Purchased
Mortgage Loans are delivered to Buyer, the security interest referred to in Section 6 above in the Mortgage Loans will constitute a fully perfected first priority security interest in all right, title and interest of Seller therein. 

8. (a) Upon the filing of financing statements on Form UCC-1 with respect to Seller naming Buyer as “Secured Party” and Seller
as a “Debtor”, and describing the Repurchase Assets, in the jurisdictions and recording offices listed on Schedule 1 attached hereto, the security interests referred to in Section 6 above will constitute fully perfected
security interests under the Uniform Commercial Code in all right, title and interest of Seller in, to and under such Repurchase Assets, which can be perfected by filing under the Uniform Commercial Code, or, will demonstrate a completion of the
sale of the Mortgage Loans to Buyer. 
 (b) The UCC Search Report sets forth the proper filing offices and the proper debtors necessary to
identify those Persons who have on file in the jurisdictions listed on Schedule 1 financing statements covering the Repurchase Assets as of the dates and times specified on Schedule 2. The UCC Search Report identifies no Person who has
filed in any Filing Office a financing statement describing the Repurchase Assets prior to the effective dates of the UCC Search Report. 

9. Seller is an “investment company”, or a company “controlled” by an “investment company,” within the meaning
of the Investment Company Act of 1940, as amended. 
 Very truly yours, 

  
 Exh. A-3 








 EXHIBIT B 

FORM OF SELLER’S OFFICER’S CERTIFICATE 

The undersigned,             of loanDepot.com, LLC, a Delaware limited liability
company (the “Seller”), hereby certifies as follows: 
 1. Attached hereto as Exhibit 1 is a copy of the formation
documents of the Seller, as certified by the Secretary of State of the State of Delaware. 
 2. Neither any amendment to the formation
documents of the Seller nor any other charter document with respect to the Seller has been filed, recorded or executed since             ,         ,
and no authorization for the filing, recording or execution of any such amendment or other charter document is outstanding. 
 3. Attached
hereto as Exhibit 2 is a true, correct and complete copy of the Bylaws of the Seller as in effect as of the date hereof and at all times since
                    ,         . 

4. Attached hereto as Exhibit 3 is a true, correct and complete copy of resolutions adopted by the managing members of the Seller by
unanimous written consent on                     , 2012 (the “Resolutions”). The Resolutions have not been further amended, modified
or rescinded and are in full force and effect in the form adopted, and they are the only resolutions adopted by the managing members of the Seller or by any committee of or designated by such managing members relating to the execution and delivery
of, and performance of the transactions contemplated by the Master Repurchase Agreement dated as of March [    ], 2012 (the “Repurchase Agreement”), between the Seller and UBS Real Estate Securities Inc. (the
“Buyer”). 
 5. The Repurchase Agreement is substantially in the form approved by the Resolutions or pursuant to authority
duly granted by the Resolutions. 
 6. The undersigned, as a officers of the Seller or as attorney-in-fact, are authorized to and have
signed manually the Repurchase Agreement or any other document delivered in connection with the transactions contemplated thereby, were duly elected or appointed, were qualified and acting as such officer or attorney-in-fact at the respective times
of the signing and delivery thereof, and were duly authorized to sign such document on behalf of the Seller, and the signature of each such person appearing on any such document is the genuine signature of each such person. 

 

					
	 Name
	  	 Title
	  	 Signature

		  		  	
		  		  	
		  		  	


  
 Exh. B-1 








 IN WITNESS WHEREOF, the undersigned has hereunto executed this Certificate as of the
    day of                     , 20    . 

 

			
	 LOANDEPOT.COM, LLC,
 as
Seller

		
	 By:
	 	  

		 	 Name:
 Title:




  
 Exh. B-2 








 Exhibit 3 to Officer’s Certificate of the Seller 

RESOLUTIONS OF SELLER 
 Action of
the Managing Members 
 Without a Meeting Pursuant to 

Section
            of             

The undersigned, being the managers of loanDepot.com, LLC, a limited liability company (the “Company”), do hereby consent to the
taking of the following action without a meeting and do hereby adopt the following resolutions by written consent pursuant to Section             of
            of the State of             : 

WHEREAS, it is in the best interests of the Company to transfer from time to time to Buyer Mortgage Loans against the transfer of funds by
Buyer, with a simultaneous agreement by Buyer to transfer to Company such Mortgage Loans at a date certain or on demand, against the transfer of funds by Company pursuant to the terms of the Repurchase Agreement (as defined below). 

NOW, THEREFORE, be it 

RESOLVED, that the execution, delivery and performance by the Company of the Master Repurchase Agreement (the “Repurchase
Agreement”) to be entered into by the Company and UBS Real Estate Securities Inc., as Buyer, substantially in the form of the draft dated
                    , 2012, attached hereto as Exhibit A, are hereby authorized and approved and that the [President] or any [Vice President]
(collectively, the “Authorized Officers”) of the Company be and each of them hereby is authorized and directed to execute and deliver the Repurchase Agreement to the Buyer with such changes as the officer executing the same shall
approve, his execution and delivery thereof to be conclusive evidence of such approval; 
 RESOLVED, that the Authorized Officers hereby
are, and each hereby is, authorized to execute and deliver all such aforementioned agreements on behalf of the Company and to do or cause to be done, in the name and on behalf of the Company, any and all such acts and things, and to execute, deliver
and file in the name and on behalf of the Company, any and all such agreements, applications, certificates, instructions, receipts and other documents and instruments, as such Authorized Officer may deem necessary, advisable or appropriate in order
to carry out the purposes of the foregoing resolutions. 

  
 Exh. B-3 








 RESOLVED, that the proper officers, agents and counsel of the Company are, and each of such
officers, agents and counsel is, hereby authorized for and in the name and on behalf of the Company to take all such further actions and to execute and deliver all such other agreements, instruments and documents, and to make all governmental
filings, in the name and on behalf of the Company and such officers are authorized to pay such fees, taxes and expenses, as advisable in order to fully carry out the intent and accomplish the purposes of the resolutions heretofore adopted hereby.

 Dated as of:                     , 2012 

  
 Exh. B-4 








 EXHIBIT C 

FORM OF SERVICER NOTICE 
 [Date]

 [            ], as Servicer 

[ADDRESS] 

Attention:             
  

	 	Re:	Master Repurchase Agreement, dated as of March 14, 2012 (the “Agreement”), between loanDepot.com, LLC (the “Seller”) and UBS Real Estate Securities Inc. (the “Buyer”).


 Ladies and Gentlemen: 

[            ] (the “Servicer”) is servicing certain mortgage
loans for Seller pursuant to that certain Servicing Agreement between the Servicer and Seller. Pursuant to the Agreement, the Servicer is hereby notified that Seller has pledged to Buyer certain mortgage loans which are serviced by Servicer which
are subject to a security interest in favor of Buyer. 
 Upon receipt of a Notice of Event of Default from Buyer in which Buyer shall
identify the mortgage loans which are then pledged to Buyer under the Agreement (the “Mortgage Loans”), the Servicer shall segregate all amounts collected on account of such Mortgage Loans, hold them in trust for the sole and
exclusive benefit of Buyer, and remit such collections in accordance with Buyer’s written instructions. Following such Notice of Event of Default, Servicer shall follow the instructions of Buyer with respect to the Mortgage Loans, and shall
deliver to Buyer any information with respect to the Mortgage Loans reasonably requested by Buyer. 
 Notwithstanding any contrary
information which may be delivered to the Servicer by Seller, the Servicer may conclusively rely on any information or Notice of Event of Default delivered by Buyer, and Seller shall indemnify and hold the Servicer harmless for any and all claims
asserted against it for any actions taken in good faith by the Servicer in connection with the delivery of such information or Notice of Event of Default. 

  
 Exh. C-1 








 Please acknowledge receipt of this instruction letter by signing in the signature block below and
forwarding an executed copy to Buyer promptly upon receipt. Any notices to Buyer should be delivered to the following addresses: UBS Real Estate Securities Inc., 677 Washington Boulevard, Stamford; Connecticut 06901 Attention: Gary Timmerman;
Telephone: (212) 649-8156; Facsimile: (203) 719-2971. 
  

			
	 Very truly yours,
  

[                    ]

		
	By:	 	  

		 	 Name:
 Title:



 ACKNOWLEDGED: 

[                    ], 

    as Servicer 
  

			
	 By:
	 	  

		 	 Name:
 Title:



  
 Exh. C-2 








 EXHIBIT D 

FORM OF CONFIRMATION LETTER 

[Date] 
 loanDepot.com, LLC 

26642 Towne Centre Drive 
 Foothill Ranch, CA 92610 

Attention: John Lee, CFO 

            Confirmation No.: 

Ladies/Gentlemen: 
 [This letter confirms our
agreement to purchase from you the Mortgage Loans listed in Appendix I hereto in accordance with the terms listed in Appendix I, pursuant to the Master Repurchase Agreement governing purchases and sales of Mortgage Loans between us, dated as of
March 14, 2012 (the “Agreement”).] 
 [The Servicing Term for the Purchased Assets listed in Appendix I is hereby
extended until the date set forth in Appendix I.] 
  

			
	UBS REAL ESTATE SECURITIES INC.
		
	 By:
	 	  

		 	 Name:
 Title:




  
 Exh. D-1 








 EXHIBIT E 

FORM OF POWER OF ATTORNEY 
 KNOW
ALL MEN BY THESE PRESENTS, that loanDepot.com, LLC (“Seller”) hereby irrevocably constitutes and appoints UBS Real Estate Securities Inc. (“Buyer”) and any officer or agent thereof, with full power of substitution,
as its true and lawful attorney-in-fact with full irrevocable power and authority in the place and stead of Seller and in the name of Seller or in its own name, from time to time in Buyer’s discretion: 

(a) in the name of Seller, or in its own name, or otherwise, to take possession of and endorse and collect any checks, drafts, notes,
acceptances or other instruments for the payment of moneys due with respect to any assets purchased by Buyer under the Master Repurchase Agreement (as amended, restated or modified) dated March 14, 2012 (the “Assets”) and to
file any claim or to take any other action or proceeding in any court of law or equity or otherwise deemed appropriate by Buyer for the purpose of collecting any and all such moneys due with respect to any other assets whenever payable; 

(b) to pay or discharge taxes and liens levied or placed on or threatened against the Assets; 

(c) (i) to direct any party liable for any payment under any Assets to make payment of any and all moneys due or to become due thereunder
directly to Buyer or as Buyer shall direct; (ii) to ask or demand for, collect, receive payment of and receipt for, any and all moneys, claims and other amounts due or to become due at any time in respect of or arising out of any Assets;
(iii) to sign and endorse any invoices, assignments, verifications, notices and other documents in connection with any Assets; (iv) to commence and prosecute any suits, actions or proceedings at law or in equity in any court of competent
jurisdiction to collect the Assets or any proceeds thereof and to enforce any other right in respect of any Assets; (v) to defend any suit, action or proceeding brought against Seller with respect to any Assets; (vi) to settle, compromise
or adjust any suit, action or proceeding described in clause (vii) above and, in connection therewith, to give such discharges or releases as Buyer may deem appropriate; and (viii) generally, to sell, transfer, pledge and make any
agreement with respect to or otherwise deal with any Assets as fully and completely as though Buyer were the absolute owner thereof for all purposes, and to do, at Buyer’s option and Seller’s expense, at any time, and from time to time,
all acts and things which Buyer deems necessary to protect, preserve or realize upon the Assets and Buyer’s Liens thereon and to effect the intent of the Agreement, all as fully and effectively as Seller might do; 

(d) for the purpose of carrying out the transfer of servicing with respect to the Assets from Seller to a successor servicer appointed by
Buyer in its sole discretion and to take any and all appropriate action and to execute any and all documents and instruments which may be necessary or desirable to accomplish such transfer of servicing, and, without limiting the generality of the
foregoing, Seller hereby gives Buyer the power and right, on behalf of Seller, without assent by Seller, to, in the name of Seller or its own name, or otherwise, prepare and send or cause to be sent “good-bye” letters to all mortgagors
under the Assets, transferring the servicing of the Assets to a successor servicer appointed by Buyer in its sole discretion; 

  
 Exh. E-1 








 (e) for the purpose of delivering any notices of sale to mortgagors or other third parties,
including without limitation, those required by law. 
 Seller hereby ratifies all that said attorneys shall lawfully do or cause to be done
by virtue hereof. This power of attorney is a power coupled with an interest and shall be irrevocable. 
 Seller also authorizes Buyer, from
time to time, to execute, in connection with any sale, any endorsements, assignments or other instruments of conveyance or transfer with respect to the Assets. 

The powers conferred on Buyer hereunder are solely to protect Buyer’s interests in the Assets and shall not impose any duty upon it to
exercise any such powers. Buyer shall be accountable only for amounts that it actually receives as a result of the exercise of such powers, and neither it nor any of its officers, directors, employees or agents shall be responsible to Seller for any
act or failure to act hereunder, except for its or their own gross negligence or willful misconduct. 
 TO INDUCE ANY THIRD PARTY TO ACT
HEREUNDER, SELLER HEREBY AGREES THAT ANY THIRD PARTY RECEIVING A DULY EXECUTED COPY OR FACSIMILE OF THIS INSTRUMENT MAY ACT HEREUNDER, AND THAT REVOCATION OR TERMINATION HEREOF SHALL BE INEFFECTIVE AS TO SUCH THIRD PARTY UNLESS AND UNTIL ACTUAL
NOTICE OR KNOWLEDGE OF SUCH REVOCATION OR TERMINATION SHALL HAVE BEEN RECEIVED BY SUCH THIRD PARTY, AND BUYER ON ITS OWN BEHALF AND ON BEHALF OF BUYER’S ASSIGNS, HEREBY AGREES TO INDEMNIFY AND HOLD HARMLESS ANY SUCH THIRD PARTY FROM AND AGAINST
ANY AND ALL CLAIMS THAT MAY ARISE AGAINST SUCH THIRD PARTY BY REASON OF SUCH THIRD PARTY HAVING RELIED ON THE PROVISIONS OF THIS INSTRUMENT. 

[REMAINDER OF PAGE INTENTIONALLY BLANK. SIGNATURES FOLLOW.] 

  
 Exh. E-2 








 IN WITNESS WHEREOF Seller has caused this power of attorney to be executed and Seller’s seal
to be affixed this     day of                     , 20    . 

 

			
	LOANDEPOT.COM, LLC
		 	(Seller)
		
	By:	 	  

		 	Name:
		 	Title:



  
 Exh. E-3 








 Acknowledgment of Execution by Seller (Principal): 

STATE OF               ) 

                          
        )            ss.: 
 COUNTY OF
          ) 
 On the     day of
                    , 20     before me, the undersigned, a Notary Public in and for said State, personally appeared
            , personally known to me or proved to me on the basis of satisfactory evidence to be the individual whose name is subscribed to the within instrument and acknowledged to me that
he executed the same in his capacity as              for loanDepot.com, LLC and that by his signature on the instrument, the person upon behalf of which the individual acted, executed the
instrument. 
 IN WITNESS WHEREOF, I have hereunto set my hand affixed my office seal the day and year in this certificate first above
written. 
  

	
	   

	Notary Public
	
	My Commission expires



  
 Exh. E-4 








 EXHIBIT F 

FORM OF SECTION 7 CERTIFICATE 

Reference is hereby made to the Master Repurchase Agreement dated as of March 14, 2012 (as amended, restated, supplemented or otherwise
modified from time to time, the “Agreement”), between loanDepot.com, LLC (the “Seller”) and UBS Real Estate Securities Inc. (the “Buyer”). Pursuant to the provisions of Section 7 of the
Agreement, the undersigned hereby certifies that: 
  

	 	1.	It is a     natural individual person,             treated as a corporation for U.S. federal income tax purposes,
            disregarded for U.S. federal income tax purposes (in which case a copy of this Section 7 Certificate is attached in respect of its sole beneficial owner), or
            treated as a partnership for U.S. federal income tax purposes (one must be checked). 

  

	 	2.	It is the beneficial owner of amounts received pursuant to the Agreement. 

  

	 	3.	It is not a bank, as such term is used in section 881(c)(3)(A) of the Internal Revenue Code of 1986, as amended (the “Code”), or the Agreement is not, with respect to the undersigned, a loan
agreement entered into in the ordinary course of its trade or business, within the meaning of such section. 

  

	 	4.	It is not a 10-percent shareholder of Seller within the meaning of section 871(h)(3) or 881(c)(3)(B) of the Code. 

  

	 	5.	It is not a controlled foreign corporation that is related to Seller within the meaning of section 881(c)(3)(C) of the Code. 

  

	 	6.	Amounts paid to it under the Agreement and the other Program Documents (as defined in the Agreement) are not effectively connected with its conduct of a trade or business in the United States. 


Dated: 
  

			
	LOANDEPOT.COM, LLC
		
	By:	 	 
		 	Name:
		 	Title:



  
 Exh. F-1 








 EXHIBIT G 

FORM OF IRREVOCABLE INSTRUCTION LETTER 

[Date] 

[            ], as Hedge Counterparty 

[ADDRESS] 
 Attention:
             
  

	 	Re:	[Identify Hedge Agreement] (the “Hedge Agreement”) 

 Ladies and Gentlemen: 

LoanDepot.com, LLC (the “Seller”) is a party to that certain Master Repurchase Agreement, dated as of March 14, 2012 (the
“Repurchase Agreement”), between Seller and UBS Real Estate Securities Inc. (the “Buyer”). This Irrevocable Instruction Letter is being sent pursuant to Section 12(i) of the Repurchase Agreement. 

(a) Assignment of Hedge Agreement. Seller hereby assigns all of its rights, but not its obligations, under the Hedge Agreement to
Buyer. 
 (b) Irrevocable Instructions. Seller hereby authorizes and instructs Hedge Counterparty to remit any and all amounts which
would be otherwise payable to the Seller under the Hedge Agreement (including without limitation any early termination payment under the Hedge Agreement) to Buyer, in accordance with the following wire instructions, or such other wire instructions
as may be provided by Buyer from time to time: 
  

					
	 Bank:
	  	  
	  	
	 ABA#
	  	  
	  	
	 Account Number:
	  	  
	  	
	 Account Name:
	  	  
	  	
	 Attention:
	  	  
	  	

 (c) Intent. This Irrevocable Instruction Letter is intended to constitute a master netting agreement as
defined under Section 101(38A) of the Bankruptcy Code, and a security agreement or other arrangement or other credit enhancement related to the Hedge Agreement and transactions hereunder as defined under Section 101(53B)(vi) of the
Bankruptcy Code. 
 (d) No Duties or Obligations Imposed on Buyer. Nothing herein shall be construed as imposing any duties or
obligations on Buyer to Hedge Counterparty. 
 (e) Letter is Irrevocable. This Irrevocable Instruction Letter is irrevocable absent
the prior written consent of Buyer. 

  
 Exh. G-1 








 (f) GOVERNING LAW. THIS IRREVOCABLE INSTRUCTION SHALL BE CONSTRUED IN ACCORDANCE WITH, AND
GOVERNED BY, THE LAW OF THE STATE OF NEW YORK, WITHOUT GIVING EFFECT TO THE CONFLICT OF LAWS PRINCIPLES THEREOF. 

  
 Exh. G-2 








 Please acknowledge your receipt of this Irrevocable Instruction by signing this Irrevocable
Instruction in the spaces provided below for same. 
  

			
	 Very truly yours,

	
	 LOANDEPOT.COM, LLC, as Seller

		
	 By:
	 	  

		 	 Name:

		 	 Title:



 ACKNOWLEDGED AND AGREED: 
  

			
	
	 UBS REAL ESTATE SECURITIES INC.,
as Buyer

		
	 By:
	 	  

		 	 Name:

		 	 Title:

	
	[                    ],
		 	 as Hedge Counterparty

		
	 By:
	 	  

		 	 Name:

		 	 Title:



  
 Exh. G-3