Document:

EX-10.40

 [***] - Confidential portions of this document have been redacted and filed separately with the
Commission. 
 Exhibit 10.40 

EXECUTION COPY 
  

 
 MASTER REPURCHASE AGREEMENT

  
  

Dated as of September 2, 2015 
  

 
 LOANDEPOT.COM,
LLC, 
 the Seller, 
 MORGAN
STANLEY BANK, N.A., 
 the Buyer 

and 
 MORGAN STANLEY MORTGAGE
CAPITAL HOLDINGS LLC, 
 the Agent 
  

 
  

 TABLE OF CONTENTS 
  

							
	 	 	 	  	Page	 
	 Section 1.
	 	Definitions and Accounting Matters	  	 	1	  
			
	 1.01
	 	Certain Defined Terms	  	 	1	  
	 1.02
	 	Accounting Terms and Determinations	  	 	21	  
	 1.03
	 	Interpretation	  	 	21	  
			
	 Section 2.
	 	Transactions, Repurchase and Margin Maintenance	  	 	22	  
			
	 2.01
	 	Transactions	  	 	22	  
	 2.02
	 	Transaction Request Procedure (Transactions other than Wet-Ink Transactions)	  	 	22	  
	 2.03
	 	Transaction Request Procedure (Wet-Ink Transactions)	  	 	23	  
	 2.04
	 	Limitation on Types of Transactions; Illegality	  	 	25	  
	 2.05
	 	Payment of Repurchase Price, Price Differential	  	 	25	  
	 2.06
	 	Margin Maintenance	  	 	27	  
			
	 Section 3.
	 	Payments, Computations, Requirements of Law, Etc.	  	 	27	  
			
	 3.01
	 	Payments	  	 	27	  
	 3.02
	 	Computations	  	 	28	  
	 3.03
	 	Requirements of Law	  	 	28	  
			
	 Section 4.
	 	Purchased Items	  	 	29	  
			
	 4.01
	 	Purchased Items; Security Interest	  	 	29	  
	 4.02
	 	Further Documentation	  	 	31	  
	 4.03
	 	Changes in Locations, Name, etc.	  	 	31	  
	 4.04
	 	The Buyer’s Appointment as Attorney-in-Fact	  	 	31	  
	 4.05
	 	Performance by The Buyer of The Seller’s Repurchase Obligations	  	 	33	  
	 4.06
	 	Proceeds	  	 	33	  
	 4.07
	 	Remedies	  	 	33	  
	 4.08
	 	Limitation on Duties Regarding Preservation of Purchased Items	  	 	34	  
	 4.09
	 	Powers Coupled with an Interest	  	 	35	  
	 4.10
	 	Release of Security Interest	  	 	35	  
	 4.11
	 	Cash Reporting	  	 	35	  
	 4.12
	 	Taxes; Tax Treatment	  	 	35	  
			
	 Section 5.
	 	Conditions Precedent	  	 	36	  
			
	 5.01
	 	Initial Transaction	  	 	36	  
	 5.02
	 	Initial and Subsequent Transactions	  	 	38	  

  
 -i- 

							
	 Section 6.
	 	Representations and Warranties	  	 	40	  
			
	 6.01
	 	Legal Name	  	 	40	  
	 6.02
	 	Existence	  	 	40	  
	 6.03
	 	Financial Condition	  	 	40	  
	 6.04
	 	Litigation	  	 	41	  
	 6.05
	 	No Breach	  	 	41	  
	 6.06
	 	Action	  	 	41	  
	 6.07
	 	Approvals	  	 	42	  
	 6.08
	 	Margin Regulations	  	 	42	  
	 6.09
	 	Taxes	  	 	42	  
	 6.10
	 	Investment Company Act	  	 	42	  
	 6.11
	 	Purchased Items; Security	  	 	42	  
	 6.12
	 	Chief Executive Office/Jurisdiction of Organization	  	 	43	  
	 6.13
	 	Location of Books and Records	  	 	43	  
	 6.14
	 	Hedging	  	 	43	  
	 6.15
	 	True and Complete Disclosure	  	 	43	  
	 6.16
	 	Tangible Net Worth	  	 	44	  
	 6.17
	 	ERISA	  	 	44	  
	 6.18
	 	Delivery of Mortgage Loans	  	 	44	  
	 6.19
	 	Subsidiaries	  	 	44	  
	 6.20
	 	Regulatory Status	  	 	44	  
	 6.21
	 	Takeout Commitments; Takeout Assignments	  	 	44	  
	 6.22
	 	Identification of Servicer(s)	  	 	44	  
	 6.23
	 	Solvency	  	 	45	  
	 6.24
	 	Massachusetts Subprime Loans, Nevada Subprime Loans and Loans Subject to Consent or Other Orders	  	 	45	  
	 6.25
	 	Licenses	  	 	45	  
	 6.26
	 	True Sales	  	 	45	  
	 6.27
	 	No Burdensome Restrictions	  	 	45	  
	 6.28
	 	Origination and Acquisition of Mortgage Loans	  	 	46	  
	 6.29
	 	No Broker	  	 	46	  
	 6.30
	 	FHA/VA/RHS	  	 	46	  
	 6.31
	 	Seller’s Internal Mortgage Tracking System	  	 	46	  
	 6.32
	 	Servicer Approvals; Compliance with Guidelines	  	 	46	  
	 6.33
	 	Fannie Mae/Freddie Mac	  	 	46	  
	 6.34
	 	Servicing	  	 	47	  
			
	 Section 7.
	 	Covenants of the Seller	  	 	47	  
			
	 7.01
	 	Financial Statements	  	 	47	  
	 7.02
	 	Litigation	  	 	49	  
	 7.03
	 	Existence, etc.	  	 	50	  
	 7.04
	 	Prohibition of Fundamental Changes	  	 	50	  
	 7.05
	 	Margin Deficiency	  	 	51	  
	 7.06
	 	Notices	  	 	51	  
	 7.07
	 	Hedging Arrangements	  	 	51	  

  
 -ii- 

							
	 7.08
	 	Reports	  	 	52	  
	 7.09
	 	Underwriting Guidelines	  	 	52	  
	 7.10
	 	Transactions with Affiliates	  	 	52	  
	 7.11
	 	Limitation on Liens	  	 	52	  
	 7.12
	 	Limitation on Guarantees	  	 	52	  
	 7.13
	 	Limitation on Distributions	  	 	52	  
	 7.14
	 	Maintenance of Tangible Net Worth	  	 	53	  
	 7.15
	 	Maintenance of Ratio of Total Indebtedness to Tangible Net Worth and Non-Agency Indebtedness to Tangible Net Worth	  	 	53	  
	 7.16
	 	Maintenance of Profitability	  	 	53	  
	 7.17
	 	Servicer; Servicing File	  	 	53	  
	 7.18
	 	Maintenance of Liquidity	  	 	53	  
	 7.19
	 	Required Filings	  	 	53	  
	 7.20
	 	No Adverse Selection	  	 	53	  
	 7.21
	 	Massachusetts Subprime Loans, Nevada Subprime Loans and Loans subject to Consent or Other Orders	  	 	53	  
	 7.22
	 	Remittance of Prepayments	  	 	54	  
	 7.23
	 	Agency Approvals	  	 	54	  
	 7.24
	 	Takeout Commitments; Takeout Assignments	  	 	54	  
	 7.25
	 	Maintenance of Property; Insurance	  	 	54	  
	 7.26
	 	MERS Designated Mortgage Loans	  	 	54	  
	 7.27
	 	Loan Purchase Agreements	  	 	55	  
	 7.28
	 	Underwriting Guidelines	  	 	55	  
	 7.29
	 	Power of Attorney	  	 	55	  
	 7.30
	 	Quality Control	  	 	55	  
	 7.31
	 	Maintenance of Papers, Records and Files	  	 	55	  
	 7.32
	 	Taxes, Etc.	  	 	56	  
	 7.33
	 	Delivery of Servicing Rights and Servicing Records	  	 	56	  
	 7.34
	 	MERS	  	 	57	  
	 7.35
	 	Maintenance of Financial Covenants, Reporting Requirements and Other Provisions	  	 	57	  
	 7.36
	 	FHA/VA/RHS Loans	  	 	57	  
			
	 Section 8.
	 	Events of Default	  	 	57	  
			
	 Section 9.
	 	Remedies Upon Default	  	 	62	  
			
	 Section 10.
	 	No Duty of The Buyer	  	 	62	  
			
	 Section 11.
	 	Reserved	  	 	62	  
			
	 Section 12.
	 	The Agent	  	 	62	  
			
	 12.01
	 	Appointment	  	 	62	  
	 12.02
	 	Duties of Agent	  	 	63	  
	 12.03
	 	Delegation of Duties	  	 	63	  
	 12.04
	 	Exculpatory Provisions	  	 	63	  

  
 -iii- 

							
	 12.05
	 	Reliance by Agent	  	 	64	  
	 12.06
	 	Notices	  	 	64	  
	 12.07
	 	Non Reliance by Buyer	  	 	64	  
	 12.08
	 	Indemnification	  	 	65	  
	 12.09
	 	Successor Agent	  	 	65	  
			
	 Section 13.
	 	Miscellaneous	  	 	66	  
			
	 13.01
	 	Delay Not Waiver; Remedies Are Cumulative	  	 	66	  
	 13.02
	 	Notices	  	 	66	  
	 13.03
	 	Use of Employee Plan Assets	  	 	66	  
	 13.04
	 	Indemnification and Expenses	  	 	66	  
	 13.05
	 	Waiver of Redemption and Deficiency Rights	  	 	68	  
	 13.06
	 	Reimbursement	  	 	68	  
	 13.07
	 	Termination	  	 	68	  
	 13.08
	 	Severability	  	 	68	  
	 13.09
	 	Amendments and Waivers	  	 	68	  
	 13.10
	 	Assignments and Participations	  	 	69	  
	 13.11
	 	Successors and Assigns	  	 	70	  
	 13.12
	 	Survival	  	 	71	  
	 13.13
	 	Captions	  	 	71	  
	 13.14
	 	Counterparts	  	 	71	  
	 13.15
	 	Governing Law; Repurchase Agreement Constitutes Security Agreement	  	 	71	  
	 13.16
	 	Captions	  	 	71	  
	 13.17
	 	Electronic Signatures	  	 	71	  
	 13.18
	 	Submission To Jurisdiction; Waivers	  	 	71	  
	 13.19
	 	WAIVER OF JURY TRIAL	  	 	72	  
	 13.20
	 	Acknowledgments	  	 	72	  
	 13.21
	 	Hypothecation or Pledge of Purchased Items	  	 	72	  
	 13.22
	 	Servicing	  	 	73	  
	 13.23
	 	Periodic Due Diligence Review	  	 	75	  
	 13.24
	 	Ratings	  	 	75	  
	 13.25
	 	Set-Off	  	 	76	  
	 13.26
	 	Single Agreement	  	 	76	  
	 13.27
	 	Intent	  	 	76	  
	 13.28
	 	Confidentiality	  	 	77	  
	 13.29
	 	Entire Agreement	  	 	78	  

  
 -iv- 

			
	 SCHEDULES
	 	
		
	 SCHEDULE 1
	 	Representations and Warranties re: Eligible Mortgage Loans
	 SCHEDULE 2
	 	Filing Jurisdictions and Offices
	 SCHEDULE 3
	 	Subsidiaries
	 SCHEDULE 4
	 	Previous Names, Assumed Names or Trade Names used by the Seller
	 SCHEDULE 5
	 	Cooperative Mortgage Loan Documents
	 SCHEDULE 6
	 	Information for Servicer Reports
	 SCHEDULE 7
	 	Excluded States
		
	 EXHIBITS
	 	
		
	 EXHIBIT A
	 	Form of Custodial Agreement
	 EXHIBIT B
	 	Form of Opinion of Counsel to the Seller
	 EXHIBIT C
	 	Form of Transaction Request
	 EXHIBIT D-1
	 	Form of Warehouse Lender’s Release Letter
	 EXHIBIT D-2
	 	Form of Qualified Originator’s Release Letter
	 EXHIBIT E
	 	Underwriting Guidelines
	 EXHIBIT F
	 	Form of Blocked Account Agreement
	 EXHIBIT G
	 	Form of Servicer Notice
	 EXHIBIT H
	 	Form of Takeout Assignment
	 EXHIBIT I
	 	Form of Confirmation
	 EXHIBIT J
	 	Form of Assignment and Acceptance
	 EXHIBIT K
	 	Form of Takeout Proceeds Identification Letter
	 EXHIBIT L
	 	Form of Officer’s Certificate
	 EXHIBIT M
	 	Form of Compliance Certificate

  
 -v- 

 MASTER REPURCHASE AGREEMENT 

MASTER REPURCHASE AGREEMENT, dated as of September 2, 2015 (as amended, restated, supplemented or otherwise modified and in effect from
time to time, this “Repurchase Agreement”), by and between loanDepot.com, LLC, a Delaware limited liability company (the “Seller”), MORGAN STANLEY BANK, N.A., a national banking association (the
“Buyer”) and MORGAN STANLEY MORTGAGE CAPITAL HOLDINGS LLC, a New York limited liability company, as agent for the Buyer (together with any successor agent appointed from time to time in accordance with the terms of
Section 12.09, the “Agent”) . 
 RECITALS 

Buyer shall, from time to time, upon the terms and conditions set forth herein, agree to enter into transactions in which Seller transfers to
Buyer Eligible Mortgage Loans against the transfer of funds by Buyer, with a simultaneous agreement by Buyer to transfer to Seller such Purchased Loans at a date certain, against the transfer of funds by Seller. Each such transaction shall be
referred to herein as a “Transaction,” and, unless otherwise agreed in writing, shall be governed by this Agreement. 

Section 1. Definitions and Accounting Matters. 

1.01 Certain Defined Terms. As used herein, the following terms shall have the following meanings (all terms defined in this
Section 1.01 or in other provisions of this Repurchase Agreement in the singular to have the same meanings when used in the plural and vice versa): 

“1934 Act” shall mean the Securities and Exchange Act of 1934, as amended. 

“Accepted Servicing Practices” shall mean with respect to any Mortgage Loan, those accepted and prudent
mortgage servicing practices (including collection procedures) of prudent mortgage lending institutions that service mortgage loans of the same type as the Mortgage Loans in the jurisdiction where the related Mortgaged Property is located, and which
are in accordance with FHA Regulations, VA Regulations, RHS, Ginnie Mae, Freddie Mac and Fannie Mae servicing practices and procedures for MBS pool mortgages, as defined in the FHA, VA, RHS, Ginnie Mae, Freddie Mac and Fannie Mae servicing guides
including future updates, and in a manner at least equal in quality to the servicing the Seller or the Seller’s designee provides to mortgage loans which it owns in its own portfolio. 

“Affiliate” shall mean with respect to any Person, any other Person which, directly or indirectly, controls,
is controlled by, or is under common control with, such Person. For purposes of this definition, “control” (together with the correlative meanings of “controlled by” and “under common control with”) means possession,
directly or indirectly, of the power (a) to vote 10% or more of the securities (on a fully diluted basis) having ordinary voting power for the directors or managing general partners (or their equivalent) of such Person, or (b) to direct or
cause the direction of the management or policies of such Person, whether through the ownership of voting securities, by contract, or otherwise, provided, however, that, with respect to the Seller, the term “Affiliate” shall
not include any joint venture between the Seller and any other party for the origination of mortgage loans if the Seller’s share of such joint venture does not exceed 50%. 

  
 1 

 “Agency” shall mean Fannie Mae, Freddie Mac, Ginnie Mae, FHA,
VA, RHS and any other government mortgage loan program acceptable to the Buyer (or the Agent on the Buyer’s behalf) or any successors thereto. 

“Agency Approvals” shall mean approval by the Agencies as an approved issuer in good standing, as more
particularly defined in Section 6.07(b) hereof. 
 “Agency Guide” shall mean, with respect to
Fannie Mae securities and Fannie Mae eligible Mortgage Loans, the Fannie Mae Selling Guide and the Fannie Mae Servicing Guide, with respect to Freddie Mac securities and Freddie Mac eligible Mortgage Loans, the Freddie Mac Sellers’ and
Servicers’ Guide; and with respect to any other Agency, the relevant guide or guidelines or regulations, in each case including all exhibits thereto, as such guide may be amended, supplemented or otherwise modified from time to time. 

“Agent” shall have the meaning set forth in the preamble to this Agreement.  

“Applicable Pricing Spread” shall mean, for each Type of Eligible Mortgage Loan, the applicable pricing
spread set forth in the Pricing Side Letter. 
 “Applicable Purchase Rate” shall mean, for each Type
of Eligible Mortgage Loan, the applicable purchase rate set forth in the Pricing Side Letter. 
 “Assignment
and Acceptance” shall have the meaning set forth in Section 13.10(a) hereof. 
 “Assignment of
Mortgage” means, with respect to any mortgage, 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 assignment and pledge of the mortgage. 
 “Bankruptcy Code” shall mean the United States
Bankruptcy Code of 1978.  
 “Blocked Account” shall mean any account identified in a Blocked
Account Agreement. 
 “Blocked Account Agreement” shall mean a collection account control agreement
to be entered into by the Buyer, the Agent, the Seller and Wells Fargo Bank, N.A., or such other institution acceptable to Buyer in its sole discretion, in form and substance acceptable to the Buyer to be entered into with respect to a Blocked
Account, as the same may be amended, restated, supplemented or otherwise modified from time to time. 

  
 2 

 “Business Day” shall mean any day other than (i) a Saturday
or Sunday, (ii) a day on which the New York Stock Exchange, the Federal Reserve Bank of New York or the Custodian is authorized or obligated by law or executive order to be closed. 

“Buyer” shall have the meaning provided in the introductory paragraph hereto. 

“Calculation Period” shall mean, with respect to any Transaction, (a) initially, the period commencing on
the related Purchase Date to but excluding the first Repurchase Date to occur after that Purchase Date; and (b) thereafter, each period commencing on a Payment Date to but excluding the next Repurchase Date. Notwithstanding the foregoing, no
Calculation Period may end after the Termination Date. 
 “Capital Lease Obligations” shall mean, for any
Person, all obligations of such Person to pay rent or other amounts under a lease of (or other agreement conveying the right to use) Property to the extent such obligations are required to be classified and accounted for as a capital lease on a
balance sheet of such Person under GAAP, and, for purposes of this Repurchase Agreement, the amount of such obligations shall be the capitalized amount thereof, determined in accordance with GAAP. 

“Capital Stock” shall mean any and all shares, interests, participations or other equivalents (however
designated) of capital stock of a corporation, any and all similar ownership interests in a Person (other than a corporation) and any and all warrants or options to purchase any of the foregoing. 

“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 any commercial bank having capital and surplus in excess of $500,000,000, (c) repurchase obligations of any commercial bank satisfying the requirements of clause (b) of this definition, having a term of not more than seven
(7) days with respect to securities issued or fully guaranteed or insured by the United States Government, (d) 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, (e) securities with maturities of 90 days or less from the date of acquisition issued or fully guaranteed by any state, commonwealth or territory of the
United States, by any political subdivision or taxing authority of any such state, commonwealth or territory or by any foreign government, the securities of which state, commonwealth, territory, political subdivision, taxing authority or foreign
government (as the case may be) are rated at least A by S&P or A by Moody’s, (f) securities with maturities of 90 days or less from the date of acquisition backed by standby letters of credit issued by any commercial bank satisfying
the requirements of clause (b) of this definition, or (g) shares of money market, mutual or similar funds which invest exclusively in assets satisfying the requirements of clauses (a) through (f) of this definition. 

  
 3 

 “Change of Control” shall mean, (a) with respect to
Seller, the acquisition by any Person, or two or more Persons acting in concert, of beneficial ownership (within the meaning of Rule 13d-3 of the Securities and Exchange Commission under the Securities Exchange Act of 1934, as amended) of
outstanding Equity Interests of Seller if after giving effect to such acquisition such Person or Persons owns twenty percent (20%) or more of such outstanding Equity Interests, (b) the owners of the Equity Interests in the Seller as of the
Effective Date cease to own more than forty percent (40%) of such Equity Interests or (c) Anthony Hsieh is no longer employed by Seller as its Chief Executive Officer. For purposes of this definition, “Equity Interests” means,
with respect to the Seller, all shares, interests, participations or other equivalents in the equity of the Seller, including common stock, preferred stock, warrants, membership interests, partnership interests, limited partnership interests,
convertible debentures, other debt securities which include voting rights in the Seller referred to, and any and all agreements, instruments and documents convertible, in whole or in part, into any one or more of the foregoing. Notwithstanding the
foregoing, an initial public offering of Equity Interests of Seller shall not constitute a “Change of Control.” 

“Closing Agent” shall mean, with respect to any Wet-Ink Transaction, an entity reasonably satisfactory to the
Buyer and the Agent (which may be a title company, escrow company or attorney in accordance with local law and practice in the jurisdiction where the related Wet-Ink Mortgage Loan is being originated) to which the proceeds of such Wet-Ink
Transaction are to be wired pursuant to the instructions of the Seller. Unless the Agent notifies the Seller (electronically or in writing) that a Closing Agent is unsatisfactory, each Closing Agent utilized by the Seller shall be deemed
satisfactory; provided, that the Agent shall instruct the Custodian that no funds shall be transferred to the account of any Closing Agent after the date that is five (5) Business Days following the date that notice is delivered to the Seller
that such Closing Agent is unsatisfactory, and provided, further, that the Recognized Value shall be deemed to be zero with respect to each Mortgage Loan, for so long as such Mortgage Loan is a Wet-Ink Mortgage Loan, as to which the proceeds of such
Mortgage Loan were wired to a Closing Agent with respect to which the Agent has notified the Seller at any time (both before and after the related Purchase Date without regard to the five (5) Business Day period referenced above) that such
Closing Agent is not satisfactory. 
 “Code” shall mean the Internal Revenue Code of 1986, as amended. 

“Compliance Certificate” shall have the meaning set forth in Section 7.01 hereof. 

“Confirmation” shall mean, with respect to any Transaction, a confirmation of such Transaction, substantially
in the form attached hereto as Exhibit I, as may be modified by the Buyer (or the Agent on behalf of the Buyer). 

“Contractual Obligation” shall mean as to any Person, any provision of any agreement, instrument or
other undertaking to which such Person is a party or by which it or any of its property is bound or any provision of any security issued by such Person. 

  
 4 

 “Cooperative Corporation” shall mean the cooperative apartment
corporation that holds legal title to a Cooperative Project and grants occupancy rights to units therein to stockholders through Proprietary Leases or similar arrangements. 

“Cooperative Mortgage Loan” shall mean a Mortgage Loan that is secured by a first lien on, and a perfected
security interest in, Cooperative Shares and the related Proprietary Lease granting exclusive rights to occupy the related Cooperative Unit in the building owned by the related Cooperative Corporation. 

“Cooperative Mortgage Loan Documents” shall mean the documents listed on Schedule 5 attached hereto.

 “Cooperative Mortgage Note” shall mean the original executed promissory note or other evidence of the
indebtedness of a Mortgagor with respect to a Cooperative Mortgage Loan. 
 “Cooperative Project” shall mean
all real property owned by a Cooperative Corporation in the State of New York including the land, separate dwelling units and all common elements. 

“Cooperative Shares” shall mean the shares of stock issued by a Cooperative Corporation and allocated to a
Cooperative Unit and represented by a stock certificate. 
 “Cooperative Unit” shall mean a specific unit in
a Cooperative Project. 
 “Custodial Agreement” shall mean the Custodial and Disbursement Agreement,
dated as of the date hereof, among the Seller, the Custodian, the Disbursement Agent, the Agent and the Buyer, substantially in the form of Exhibit A hereto, as the same shall be amended, restated, supplemented or otherwise modified and in
effect from time to time, and any other custodial agreement entered into pursuant to this Repurchase Agreement. 

“Custodian” shall mean Deutsche Bank National Trust Company, as custodian under the Custodial Agreement, and
its successors and permitted assigns thereunder. 
 “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. 
 “Disbursement Agent” shall
mean Deutsche Bank National Trust Company, as disbursement agent under the Custodial Agreement, and its successors and permitted assigns thereunder. 

“Dollars” and “$” shall mean lawful money of the United States of America. 

“Due Diligence Review” shall mean the performance by the Buyer (or the Agent on behalf of the Buyer) of any or
all of the reviews permitted under Section 13.23 hereof with respect to any or all of the Purchased Loans, as desired by the Buyer and the Agent from time to time. 

  
 5 

 “Effective Date” shall mean the date upon which the conditions
precedent set forth in Section 5.01 hereof shall have been satisfied. 
 “Electronic Agent”
shall mean Merscorp Holdings, Inc., as electronic agent under the Electronic Tracking Agreement, and its successors and permitted assigns thereunder. 

“Electronic Tracking Agreement” shall mean the Electronic Tracking Agreement, among the Seller, the Buyer, the
Agent, the Electronic Agent and MERS, as the same shall be amended, supplemented or otherwise modified from time to time  

“Eligible Mortgage Loans” shall have the meaning assigned thereto in the Pricing Side Letter. 

“ERISA” shall mean the Employee Retirement Income Security Act of 1974, as amended from time to time. 

“ERISA Affiliate” shall mean any corporation or trade or business that is a member of any group of
organizations (i) described in Section 414(b) or (c) of the Code of which the Seller is a member and (ii) solely for purposes of potential liability under Section 302(c)(11) of ERISA and Section 412(c)(11) of the Code
and the lien created under Section 302(f) of ERISA and Section 412(n) of the Code, described in Section 414(m) or (o) of the Code of which the Seller is a member. 

“Eurocurrency Liabilities” shall have the meaning specified in Regulation D of the Board of Governors of the
Federal Reserve System, as in effect from time to time. 
 “Event of Default” shall have the meaning
provided in Section 8 hereof.  
 “Exception” shall have the meaning specified in the
Custodial Agreement.  
 “Exception Report” shall mean the portion of the Mortgage Loan
Schedule and Exception Report detailing Exceptions in respect of each Mortgage Loan. 
 “Excess Proceeds”
shall have the meaning provided in Section 2.05(d) hereof.  
 “Fannie Mae” shall
mean the Federal National Mortgage Association, or any successor thereto. 
 “Federal Funds Rate” shall
mean, for any day, the weighted average of the rates on overnight federal funds transactions with members of the Federal Reserve System arranged by federal funds brokers, as published on the next succeeding Business Day by the Federal Reserve Bank
of New York, or, if such rate is not so published for any day which is a Business Day, the average of the quotations for the day of such transactions received by the Buyer from three federal funds brokers of recognized standing selected by it. 

  
 6 

 “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 Approved Mortgagee” shall mean an institution which is approved by FHA to act as servicer and mortgagee
of record pursuant to FHA Regulations. 
 “FHA Insurance Contract” shall mean the contractual obligation of
FHA respecting the insurance of an FHA Loan pursuant to the National Housing Act, as amended. 
 “FHA Loan”
shall mean a Mortgage Loan that is the subject of an FHA Insurance Contract as evidenced by a Mortgage Insurance Certificate. 

“FHA Regulations” shall mean the regulations promulgated by HUD under the National Housing Act, codified in 24
Code of Federal Regulations, and other HUD issuances relating to FHA Loans, including the related handbooks, Circulars, Notices and Mortgagee Letters. 

“FHA Streamline Loan” shall mean a FHA Loan originated pursuant to the “FHA Streamline Refinance”
program and in compliance with FHA Regulations, including HUD Handbook 4155.1.6.C. 
 “FHA §203(k)
Loan” shall mean a closed-end first lien FHA Loan with the following characteristics: 
 (a) a portion of the
proceeds of which will be used for the purpose of rehabilitating or repairing the related single family property; 

(b) which satisfies the definition of “rehabilitation loan” under 24 C.F.R. 203.50(a); and 

(c) the payment of which is insured by the FHA under the National Housing Act or with respect to which a current binding
and enforceable commitment for such insurance has been issued by the FHA. 
 “Freddie Mac” shall mean the
Federal Home Loan Mortgage Corporation, or any successor thereto. 
 “GAAP” shall mean generally accepted
accounting principles as in effect from time to time in the United States. 
 “Ginnie Mae” shall mean the
Government National Mortgage Association, or any successor thereto. 

  
 7 

 “Governmental Authority” shall mean any nation or government,
any state or other political subdivision, agency or instrumentality thereof, any entity exercising executive, legislative, judicial, regulatory or administrative functions of or pertaining to government and any court or arbitrator, accounting board
or authority having jurisdiction over the Seller, any of its Subsidiaries or any of its properties. 

“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 (i) endorsements for collection or deposit in the ordinary course of business, or
(ii) obligations to make servicing advances for delinquent taxes and insurance or other obligations in respect of a Mortgaged Property, to the extent required by the Buyer. 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. 

“HARP Loan” shall mean a Mortgage Loan which (a) is secured by a first lien, (b) conforms to the
requirements of an Agency for securitization or cash purchase and (c) is a refinance Mortgage Loan originated in accordance with and pursuant to the Home Affordable Refinance Program 2.0, as amended, supplemented or otherwise modified from time
to time. 
 “HUD” shall mean the United States Department of Housing and Urban Development. 

“Income” shall mean, with respect to any Purchased Loan at any time, any principal and/or interest thereon and
all dividends, sale proceeds (including, without limitation, any proceeds from the liquidation or securitization of such Purchased Loan or other disposition thereof), rent and other collections and distributions thereon (including, without
limitation, any proceeds received in respect of mortgage insurance), but not including any commitment fees, origination fees and/or servicing fees accrued in respect of periods on or after the initial Purchase Date with respect to such Purchased
Loan. 
 “Indebtedness” shall mean, for any Person without duplication: (a) obligations created, issued
or incurred by such Person for borrowed money (whether by loan, the issuance and sale of debt securities or the sale of Property to another Person subject to an understanding or agreement, contingent or otherwise, to repurchase such Property from
such Person); (b) obligations of such Person to pay the deferred purchase or acquisition price of Property or services, other than trade accounts payable (other than for borrowed money) arising, and accrued expenses incurred, in the ordinary
course of business so long as such trade accounts payable are payable within ninety (90) days of the date the respective goods are delivered or the respective services are rendered; (c) indebtedness of others secured by a Lien on the
Property of such Person, whether or not the respective Indebtedness so secured has been assumed by such Person; (d) obligations (contingent or 

  
 8 

 otherwise) of such Person in respect of letters of credit or similar instruments issued or
accepted by banks and other financial institutions for account of such Person; (e) obligations of such Person under Capital Lease Obligations; (f) obligations of such Person under repurchase agreements or like arrangements;
(g) indebtedness of others Guaranteed by such Person; (h) all obligations of such Person incurred in connection with the acquisition or carrying of fixed assets by such Person; (i) indebtedness of general partnerships of which such
Person is a general partner; and (j) any other indebtedness of such Person by a note, bond, debenture or similar instrument. 

“Intangible Assets” shall mean the excess of the cost over book value of assets acquired, patents, trademarks,
trade names, copyrights, franchises and other intangible assets (excluding in any event the value of any residual securities and the value of any owned or purchased mortgage servicing rights). 

“Interest Rate Protection Agreement” shall mean, with respect to any or all of the Purchased Loans, any short
sale of US Treasury Securities, futures contract, mortgage related security, eurodollar futures contract, options related contract, interest rate swap, cap or collar agreement 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 the Seller and an Affiliate of the Buyer, and acceptable to the Buyer and the Agent. 

“LIBOR Base Rate” shall mean, with respect to each day any Transaction is outstanding, the rate per annum
equal to the rate appearing on Reuters Screen LIBOR01 Page as one-month LIBOR on such date (and if such date is not a Business Day, the rate quoted as one-month LIBOR on the Business Day immediately preceding such date), and if such rate shall not
be so quoted, the rate per annum at which the Buyer is offered Dollar deposits at or about 10:00 A.M., New York City time, on such date by prime banks in the interbank eurodollar market where the eurodollar and foreign currency exchange operations
in respect of the Transactions are then being conducted for delivery on such day for a period of thirty (30) days and in an amount comparable to the aggregate Purchase Price of all Transactions outstanding on such day. 

“LIBOR Rate” shall mean with respect to each day during each Calculation Period pertaining to a LIBOR
Transaction, a rate per annum determined for such day in accordance with the following formula (rounded upward to the nearest 1/100th of 1%): 

                    LIBOR Base Rate
                     
 1.00 –
LIBOR Rate Reserve Percentage 
 “LIBOR Rate Reserve Percentage” shall mean, for any Calculation
Period pertaining to a LIBOR Transaction, the reserve percentage applicable two Business Days before the first day of such Calculation Period under regulations issued from time to time by the Board of Governors of the Federal Reserve System (or any
successor thereto) for determining the maximum reserve requirement (including, without limitation, any emergency, supplemental or other marginal reserve requirement) for a member bank of the Federal Reserve System in New York, New York with respect
to liabilities or assets consisting of or including Eurocurrency Liabilities (or with respect to any other category of liabilities that includes deposits by reference to which the interest rate on LIBOR Transactions is determined) having a term
comparable to such Calculation Period. 

  
 9 

 “LIBOR Transaction” shall mean a Transaction with respect to
which the related Pricing Rate is determined by reference to the LIBOR Rate. 
 “Lien” shall mean any
mortgage, lien, pledge, charge, security interest or similar encumbrance. 
 “Liquidity” shall mean with
respect to any Person, the sum of (i) its unrestricted cash, plus (ii) its unrestricted Cash Equivalents, plus (iii) the aggregate amount of unused capacity available to such Person (taking into account applicable haircuts) under
committed mortgage loan warehouse and servicer advance facilities for which such Person has unencumbered eligible collateral to pledge thereunder. 

“Loan Guaranty Certificate” shall mean, with respect to any VA Loan, the physical or electronic certificate
evidencing the VA Loan Guaranty Agreement. 
 “Loan Loss Reserves” shall mean funds held by the Seller to
cover potential losses in connection with the mortgage loans owned in the Seller’s portfolio, including without limitation any amounts required to be maintained and held as a loan loss reserve in accordance with GAAP and any other regulatory
requirement applicable to the Seller. 
 “Loan-to-Value Ratio” or “LTV” means with respect
to any Mortgage Loan, the loan to value ratio of such Mortgage Loan as determined in accordance with the Agency Guides of the Agency which is insuring or guaranteeing such Mortgage Loan or to which such Mortgage Loan is eligible to be sold. 

“Margin Base” shall mean the aggregate Recognized Value of all Purchased Loans. 

“Margin Deficiency” shall have the meaning provided in Section 2.06 hereof. 

“Margin Threshold” shall have the meaning assigned thereto in the Pricing Side Letter. 

“Market Value” shall mean, as of any date with respect to any Eligible Mortgage Loan or Purchased Loan, the
price at which such Eligible Mortgage Loan or Purchased Loan could readily be sold as determined by the Agent in its sole discretion, which price may be determined to be zero. The Agent’s determination of Market Value shall be conclusive upon
the parties absent manifest error on the part of the Agent. For the purpose of determining the related Market Value, the Agent shall have the right to request at any time from the Seller, an updated valuation for each Mortgage Loan, in a form
acceptable to the Agent in its sole discretion. The Market Value shall be deemed to be zero with respect to each Mortgage Loan for which such valuation is not provided as promptly as is commercially reasonable. 

  
 10 

 “Massachusetts Subprime Loan” shall mean a Mortgage Loan to a
Mortgagor with a credit score of 660 or less if such Mortgage Loan is secured by a residence located in Massachusetts or made to a Mortgagor whose primary residence is in Massachusetts. 

“Master Trust Receipt” shall have the meaning provided thereto in the Custodial Agreement. 

“Material Adverse Effect” shall mean a material adverse effect on (a) the Property, business,
operations, financial condition or prospects of the Seller, (b) the ability of the Seller to perform its obligations under any of the Repurchase Documents to which it is a party, (c) the validity or enforceability of any of the Repurchase
Documents, (d) the rights and remedies of the Buyer under any of the Repurchase Documents, (e) the timely payment of the Repurchase Price or the Price Differential on the Transactions or other amounts payable in connection therewith or
(f) the Purchased Items taken as a whole. 
 “Maximum Amount” shall have the meaning assigned thereto
in the Pricing Side Letter. 
 “MERS” shall mean Mortgage Electronic Registration Systems, Inc. 

“MERS Designated Mortgage Loan” shall have the meaning assigned to such term in Section 3 of the
Electronic Tracking Agreement. 
 “MERS Procedures Manual” shall mean the MERS Procedures Manual attached as
Exhibit B to the Electronic Tracking Agreement, as it may be amended, supplemented or otherwise modified from time to time. 

“MERS® System” shall mean the Electronic Agent’s
mortgage electronic registry system, as more particularly described in the MERS Procedures Manual  

“Moody’s” shall mean Moody’s Investors Service, Inc. 

“Mortgage” shall mean the mortgage, deed of trust or other instrument securing a Mortgage Note, which creates
a first lien on the fee in real property securing the Mortgage Note. 
 “Mortgage File” shall have
the meaning assigned thereto in the Custodial Agreement. 
 “Mortgage Insurance Certificate” shall mean the
physical or electronic certificate evidencing an FHA Insurance Contract. 
 “Mortgage Loan” shall mean a
mortgage loan which the Seller has sold to the Buyer pursuant hereto and which the Custodian has been instructed to hold for the Buyer pursuant to the Custodial Agreement, and which Mortgage Loan includes, without limitation, (i) a Mortgage
Note and related Mortgage, (ii) all right, title and interest of the Seller in and to the Mortgaged Property covered by such Mortgage and (iii) the related Servicing Rights. 

  
 11 

 “Mortgage Loan Data File” shall mean a computer-readable file
containing information with respect to each Purchased Loan, to be delivered by the Seller to the Agent pursuant to Section 2.02(a) hereof, the data fields of which are identified on Annex I to the Custodial Agreement. 

“Mortgage Loan Documents” shall mean, with respect to each Purchased Loan, the documents comprising the
Mortgage File for such Purchased Loan, as applicable. 
 “Mortgage Loan Schedule” shall have the meaning
assigned thereto in the Custodial Agreement. 
 “Mortgage Loan Schedule and Exception Report” shall mean the
mortgage loan schedule and exception report prepared by the Custodian pursuant to the Custodial Agreement. 

“Mortgage Note” shall mean the original executed promissory note or other evidence of the indebtedness
of a mortgagor/borrower with respect to a Mortgage Loan. 
 “Mortgage Note Interest Rate” shall mean the
annual rate of interest borne on the Mortgage Note. 
 “Mortgaged Property” shall mean the real
property (including all improvements, buildings, fixtures, building equipment and personal property thereon and all additions, alterations and replacements made at any time with respect to the foregoing) and all other collateral securing repayment
of the debt evidenced by a Mortgage Note or, in the case of any Cooperative Mortgage Loan, the Cooperative Shares and the Proprietary Lease. 

“Mortgagor” shall mean the obligor on a Mortgage Note. 

“MS&Co.” shall mean Morgan Stanley & Co. LLC, a registered broker-dealer.  

“MS Indebtedness” shall mean any indebtedness of the Seller hereunder and under any other arrangement (other
than this Repurchase Agreement) between the Seller on the one hand and the Buyer or an Affiliate of the Buyer on the other hand (including, without limitation, the amount of any loans, interest due and default interest, termination payments, hedging
costs, structuring or other facility fees and expenses). 
 “MSR” shall mean mortgage servicing rights
entitling the holder to service mortgage loans. 
 “Multiemployer Plan” shall mean a multiemployer plan
defined as such in Section 3(37) of ERISA to which contributions have been or are required to be made by the Seller or any ERISA Affiliate and that is covered by Title IV of ERISA. 

  
 12 

 “Net Income” shall mean, for any period, the net income of the
Seller for such period as determined in accordance with GAAP. 
 “Nevada Subprime Loan” shall mean a
Mortgage Loan to a Mortgagor with a credit score of 660 or less if such Mortgage Loan is secured by a residence located in Nevada or made to a Mortgagor whose primary residence is in Nevada. 

“Payment Date” shall mean, with respect to each Transaction, the sixth Business Day of each calendar month,
commencing with the first such date after the related Purchase Date. 
 “PBGC” shall mean the Pension
Benefit Guaranty Corporation or any entity succeeding to any or all of its functions under ERISA. 

“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 mean an employee benefit or other plan established or maintained by the Seller or any ERISA
Affiliate and covered by Title IV of ERISA, other than a Multiemployer Plan. 
 “Post-Default Rate” shall
have the meaning assigned thereto in the Pricing Side Letter. 
 “Predatory Lending Practices” means any and
all underwriting and lending policies, procedures and practices defined or enumerated in any local or municipal ordinance or regulation or any state or federal regulation or statute prohibiting, limiting or otherwise relating to the protection of
consumers from such policies, procedures and practices. Such policies, practices and procedures may include, without limitation, charging excessive loan, broker, and closing fees, charging excessive rates of loan interest, making loans without
regard to a consumer’s ability to re-pay the loan, refinancing loans with no material benefit to the consumer, charging fees for services not actually performed, discriminating against consumers on the basis of race, gender, or age, failing to
make proper disclosures to the consumer of the consumer’s rights under federal and state law, and any other predatory lending policy, practice or procedure as defined by ordinance, regulation or statute. 

“Prescribed Laws” shall mean, collectively, (a) the Uniting and Strengthening America by Providing
Appropriate Tools Required to Intercept and Obstruct Terrorism Act of 2001 (Public Law 107-56) (the USA PATRIOT Act), (b) Executive Order No. 13224 on Terrorist Financing, effective September 24, 2001, and relating to Blocking
Property and Prohibiting Transactions With Persons Who Commit, Threaten to Commit, or Support Terrorism, (c) the International Emergency Economic Power Act, 50 U.S.C. §1701 et. seq. and (d) all other Requirements of Law relating to
money laundering or terrorism, including without limitation, the USA PATRIOT Act and all regulations and executive orders promulgated with respect to money laundering or terrorism, including, without limitation, those promulgated by the Office of
Foreign Assets Control of the United States Department of the Treasury. 

  
 13 

 “Price Differential” means, with respect to any Transaction
hereunder as of any date, the aggregate amount obtained by daily application of the Pricing Rate for such Transaction to the Purchase Price for such Transaction during the period commencing on (and including) the Purchase Date for such Transaction
and ending on (but excluding) the Termination Date (reduced by any amount of such Price Differential previously paid by the Seller to the Buyer with respect to such Transaction). 

“Pricing Rate” shall have the meaning assigned thereto in the Pricing Side Letter. 

“Pricing Side Letter” shall mean the pricing side letter, dated as of the date hereof, among the Seller, the
Buyer and the Agent, as the same may be amended, supplemented or modified from time to time. 
 “Principal”
shall have the meaning assigned thereto in Annex I. 
 “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. 
 “Proprietary
Lease” shall mean a lease on (or occupancy agreement with respect to) a Cooperative Unit evidencing the possessory interest of the owner of the Cooperative Shares or the Seller in such Cooperative Unit. 

“Purchase Advice” shall have the meaning provided in Section 2.05(d) hereof. 

“Purchase Advice Deficiency” shall have the meaning provided in Section 2.05(d) hereof. 

“Purchase Date” shall mean the date on which a Transaction is entered into hereunder. 

“Purchase Price” shall mean, with respect to each Purchased Loan, (i) on each Purchase Date
therefor, an amount equal to the lesser of (a) the product of (x) the Applicable Purchase Rate times (y) the Market Value of such Purchased Loan, and (b) the product of (x) the Applicable Purchase Rate times (y) the
outstanding principal balance of such Purchased Loan on such Purchase Date and (ii) thereafter, such amount decreased by the amount of any payments made by the Seller hereunder that are applied in reduction of such amount. 

“Purchased Items” shall have the meaning provided in Section 4.01(b) hereof. 

“Purchased Loans” shall mean the Mortgage Loans sold by the Seller on a servicing-released basis to the Buyer,
in Transactions hereunder (together with any additional Eligible Mortgage Loans transferred pursuant to Section 2.06) together with the related Records, the related Servicing Rights (which, for the avoidance of doubt, were sold by the
Seller and purchased by the Buyer on the related Purchase Date), the related 

  
 14 

 Takeout Commitment, if any, and with respect to each Mortgage Loan, any related FHA Insurance
Contract, any related VA Loan Guaranty Agreement, any related Rural Housing Service Guaranty, the Seller’s rights under any related escrow letter and/or insured closing letter, the Seller’s rights under any takeout commitment related to
the Mortgage Loans and other Purchased Items with respect to the Mortgage Loans, such other property, rights, titles or interest as are specified on a Transaction Request, and all instruments, chattel paper, and general intangibles comprising or
relating to all of the foregoing. 
 “Qualified Originator” shall mean the Seller, an Affiliate of the
Seller, any joint venture between the Seller and another party for the origination of mortgage loans approved by Agent, or a correspondent of the Seller approved by Agent. 

“Recognition Agreement” shall mean, with respect to a Cooperative Mortgage Loan, an agreement executed by a
Cooperative Corporation which, among other things, acknowledges the lien of the Mortgage on the Mortgaged Property in question. 

“Recognized Value” shall mean, with respect to each Purchased Loan the lesser of (a) the Applicable
Purchase Rate of the Market Value of such Purchased Loan and (b) the Applicable Purchase Rate of the outstanding principal balance of such Purchased Loan. Recognized Value shall be zero with respect to each Purchased Loan that is not an
Eligible Mortgage Loan. 
 “Records” shall mean, with respect to any Purchased Loan, all instruments,
agreements and other books, records, and reports and data generated by other media for the storage of information maintained by the Seller or any other person or entity with respect to a Purchased Loan. Records shall include without limitation, the
Mortgage Notes, any Mortgages, the Mortgage Loan Documents, the Servicing File, the Servicing Records and any other instruments necessary to document or service a Mortgage Loan that is a Purchased Loan, including, without limitation, the complete
payment and modification history of each Purchased Loan. 
 “Related Credit Enhancement” shall have the
meaning assigned to such term in Section 4.01(c). 
 “Regulation T, U or X” shall mean Regulation T, U
or 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. 

“Remittance Amount” shall have the meaning provided in Section 2.05(d) hereof. 

“Reportable Event” shall mean any of the events set forth in Section 4043(b) of ERISA, other than those
events as to which the thirty day notice period is waived under subsections .21, .22, .23, .24, .28, .29, .31, or .32 of PBGC Reg. § 4043 (provided that a failure to meet the minimum funding standard of Section 412 of the Code or Sections
302 or 303 of ERISA, including, without limitation, the failure to make on or before its due date a required installment under Section 430(j) of the Code or Section 303(j) of ERISA, shall be a reportable event regardless of the issuance of
any waivers in accordance with Section 412(c) of the Code). 

  
 15 

 “Repurchase Agreement” shall have the meaning assigned in the
introductory paragraph hereof. 
 “Repurchase Date” shall mean the date occurring on (i) the
sixth (6th) Business Day of each month following the related Purchase Date (or if such date is not a Business Day, the following Business Day), (ii) such earlier date provided under the terms of this Repurchase Agreement, or (iii) the
Termination Date. In no event shall the Repurchase Date for any Transaction occur after the Termination Date. 

“Repurchase Documents” shall mean, collectively, this Repurchase Agreement, the Custodial Agreement,
the Pricing Side Letter, the Electronic Tracking Agreement, each Transaction Request, each Confirmation, and any other related account control agreement. 

“Repurchase Obligations” shall mean (a) all of the Seller’s obligation to pay the Repurchase Price
on the Repurchase Date and other obligations and liabilities (including, without limitation, the obligation to pay any fees and expenses hereunder) of the Seller to the Buyer, its Affiliates, the Custodian or any other Person arising under, or in
connection with, the Repurchase Documents or directly related to the Purchased Loans, whether now existing or hereafter arising; (b) any and all sums paid by the Buyer or on behalf of the Buyer pursuant to the Repurchase Documents in order to
preserve any Purchased Loan or its interest therein; (c) in the event of any proceeding for the collection or enforcement of any of the Seller’s indebtedness, obligations or liabilities referred to in clause (a), the reasonable expenses of
retaking, holding, collecting, preparing for sale, selling or otherwise disposing of or realizing on any Purchased Loan, or of any exercise by the Buyer, the Agent or any Affiliate of the Buyer of any of their respective rights under the Repurchase
Documents, including without limitation, reasonable attorneys’ fees and disbursements and court costs; and (d) all of the Seller’s indemnity obligations to the Buyer and the Agent pursuant to the Repurchase Documents. 

“Repurchase Price” shall mean, with respect to each Purchased Loan, the price at which such Purchased
Loan is to be transferred from the Buyer or its designee (including the Custodian) to the Seller upon termination of the related Transaction, which price will be determined in each case as the sum of the unpaid Purchase Price related to such
Purchased Loan, the amount of unpaid Price Differential that has accrued with respect to such Transaction and the amount of any fees or expenses due and payable under the Repurchase Documents. 

“Requirement of Law” shall mean as to any Person, the certificate of incorporation and by-laws or other
organizational or governing documents of such Person, and any law (including, without duplication, Prescribed Laws and all laws with respect to unfair and deceptive lending practices and Predatory Lending Practices), treaty, rule or regulation 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. 

  
 16 

 “Responsible Officer” shall mean, as to any Person, the
chief executive officer, the chief financial officer, the chief accounting officer, the treasurer or the chief operating officer of such Person or such other officer designated as an authorized signatory in such Person’s governing documents;
provided, that in the event any such officer is unavailable at any time he or she is required to take any action hereunder, Responsible Officer shall mean any officer authorized to act on such officer’s behalf as demonstrated by a certificate
of corporate resolution. 
 “RHS Loan” shall mean a Mortgage Loan originated in accordance with the Rural
Housing Service Section 502 Single Family Housing Guaranteed Loan Program, which Mortgage Loan is subject to a Rural Housing Service Guaranty and eligible for delivery to an Agency for inclusion in a loan pool securitized. 

“Rural Housing Service” shall mean the Rural Housing Service of the USDA.  

“Rural Housing Service Approved Lender” shall mean a lender which is approved by Rural Housing Service
to act as a lender in connection with the origination of RHS Loans. 
 “Rural Housing Service Guaranty”
shall mean with respect to a RHS Loan, the agreements evidencing the guaranty of such Loan by the Rural Housing Service. 

“Rural Housing Service Regulations” shall mean the regulations, guidelines, instructions, policies and
procedures adopted and implemented by the Rural Housing Service and applicable to (i) the origination and servicing of RHS Loans and (ii) the issuance and validity of Rural Housing Service Guaranties, in each case as such regulations,
guidelines, instructions, policies and procedures may be revised or modified and in effect from time to time. 

“Section 404 Notice” shall mean the notice required pursuant to Section 404 of the Helping Families Save
Their Homes Act of 2009 (P.L. 111-22), which amends 15 U.S.C. Section 1641 et seq., to be delivered by a creditor that is an owner or an assignee of a mortgage loan to the related Mortgagor within thirty (30) days after the date on which
such mortgage loan is sold or assigned to such creditor. 
 “S&P” shall mean Standard &
Poor’s Ratings Services, a division of The McGraw-Hill Companies, Inc. 
 “Security Agreement” shall
mean the specific security agreement creating a security interest on and pledge of the Cooperative Shares and the appurtenant Proprietary Lease securing a Cooperative Mortgage Loan. 

“Seller” shall have the meaning provided in the introductory paragraph hereof. 

“Servicer” shall have the meaning provided in Section 13.22(c) hereof. 

  
 17 

 “Servicer Notice and Agreement” shall have the meaning provided
in Section 13.22(c) hereof. 
 “Servicer Report” shall mean a list (in computer readable form)
of Purchased Loans serviced by the Servicer, providing as to each such Purchased Loan the applicable information specified in Schedule 6 to this Repurchase Agreement. 

“Servicing Agreement” shall have the meaning provided in Section 13.22(c) hereof. 

“Servicing Records” shall have the meaning provided in Section 13.22(b) hereof. 

“Servicing Rights” shall mean contractual, possessory or other rights of the Seller or any other Person
to service or subservice a Mortgage Loan, whether arising under the Servicing Agreement, the Custodial Agreement or otherwise, to administer or service a Purchased Loan or to possess related Servicing Records. 

“Settlement Date” shall mean, with respect to any Purchased Loan, the actual date on which the Takeout Price
for such Purchased Loan is received by the Buyer, for the benefit of the Buyer, or the Seller pursuant to a Takeout Commitment or on which the purchase price paid for such Purchased Loan by the Takeout Investor is otherwise received by the Buyer,
for the benefit of the Buyer, or the Seller. 
 “Single Employer Plan” shall mean as to any Person any Plan
of such Person which is not a Multiemployer Plan. 
 “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. 

“System” shall mean all hardware or software, or any system consisting of one or more thereof, including,
without limitation, any and all enhancements, upgrades, customizations, modifications and the like utilized by any Person for the benefit of such Person to perform its obligations and to administer and track, store, process, provide, and where
appropriate, insert, true and accurate dates and calculations for dates and spans with respect to the Mortgage Loans. 

“Takeout Assignment” shall mean an assignment executed by the Seller, whereby the Seller irrevocably assigns
its rights and obligations under a Takeout Commitment, and which assignment shall be substantially in the form and content of Exhibit H hereto. 

  
 18 

 “Takeout Commitment” shall mean a trade confirmation from a
Takeout Investor to the Seller confirming the details of a forward trade between the Takeout Investor (as the buyer) and the Seller (as the seller) constituting a valid, binding and enforceable mandatory delivery commitment by a Takeout Investor to
purchase on the anticipated Settlement Date and at a given Takeout Price described therein. 
 “Takeout
Investor” shall mean a securities broker-dealer, Agency or other institution, acceptable to the Agent, which has made a Takeout Commitment. 

“Takeout Price” shall mean as to each Takeout Commitment the purchase price (expressed as a percentage of par)
set forth therein. 
 “Takeout Proceeds” shall mean as to each Purchased Loan which is subject to a Takeout
Commitment, the actual amount of proceeds delivered to the Buyer, for the account of the Buyer, by the applicable Takeout Investor for the purchase of such Purchased Loan. 

“Takeout Proceeds Identification Letter” shall mean a takeout proceeds identification letter, substantially in
the form of Exhibit K hereto. 
 “Tangible Net Worth” shall mean, as of a particular date, 

(a) all amounts which would be included under equity on a balance sheet of the Seller at such date, determined in accordance
with GAAP, less 
 (b) (i) amounts owing to the Seller from Affiliates, and (ii) Intangible Assets.

 “Termination Date” shall mean August 31, 2017 or such earlier date on which this Repurchase
Agreement shall terminate in accordance with the provisions hereof or by operation of law. 
 “Total
Indebtedness” shall mean, for any period, the aggregate Indebtedness of the Seller during such period less the amount of any nonspecific balance sheet reserves maintained in accordance with GAAP. 

“Transaction” shall have the meaning provided in the Recitals hereof. 

“Transaction Request” shall mean a Transaction Request substantially in the form of Exhibit C attached
hereto. 
 “Type” shall mean each type of Mortgage Loan identified in the definition of Applicable Pricing
Spread. 
 “Underwriting Guidelines” shall mean the underwriting guidelines attached as Exhibit E
hereto, which comply with all current requirements of Fannie Mae and Freddie Mac, in effect as of the date of this Agreement, as the same may be amended, supplemented or otherwise modified from time to time in accordance with terms of this
Agreement, and which have been approved (including any changes subsequent to the date hereof) in writing by Agent. 

  
 19 

 “Uniform Commercial Code” 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 or the renewal or enforcement thereof in any
Purchased Items 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 hereof relating to such perfection or effect of perfection or non-perfection. 
 “USDA” shall
mean the United States Department of Agriculture. 
 “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. 

“VA Approved Lender” shall mean a lender which is approved by VA to act as a lender in connection with the
origination of VA loans. 
 “VA Loan” shall mean a Mortgage Loan that, as of the closing of such Mortgage
Loan, is the subject of a VA Loan Guaranty Agreement and that will be evidenced by a physical or electronic Loan Guaranty Certificate delivered after closing of such Mortgage Loan. 

“VA Loan Guaranty Agreement” shall mean the obligation of the United States to pay a specific percentage of a
Mortgage Loan (subject to a maximum amount) upon default of the Mortgagor pursuant to the Servicemen’s Readjustment Act, as amended. 

“VA Regulations” shall mean the regulations promulgated by the Veterans Administration pursuant to the
Serviceman’s Readjustment Act, as amended, codified in 36 Code of Federal Regulations, and other VA issuances relating to VA loans, including related Handbooks, Circulars and Notices. 

“VA Streamline Loan” shall mean a VA Loan originated pursuant to the VA “Interest Rate Reduction
Refinance Loan program” and in compliance with VA Regulations. 
 “Wet Aged Report” shall have the
meaning specified in the Custodial Agreement. 
 “Wet-Ink Mortgage Loan” shall mean a Mortgage Loan
originated by the Seller in a transaction table-funded by the Buyer, which origination or table funding is financed in part or in whole with proceeds of Transactions and as to which the Custodian has not yet received the related Mortgage File. A
Mortgage Loan shall cease to be a Wet-Ink Mortgage Loan on the date on which the Agent has received a Mortgage Loan Schedule and Exception Report from the Custodian with respect to such Mortgage Loan 

  
 20 

 
confirming that the Custodian has physical possession of the related Mortgage File (as defined in the Custodial Agreement) and that there are no Exceptions (as defined in the Custodial Agreement)
with respect to such Mortgage Loan. No Mortgage Loan that is table-funded by Seller or any third party shall be eligible as a Wet-Ink Mortgage Loan under this Repurchase Agreement. 

“Wet-Ink Transaction” shall mean a Transaction in which a Wet-Ink Mortgage Loan is the Purchased Loan.
A Wet-Ink Transaction shall cease to be a Wet-Ink Transaction on the date that the underlying Wet-Ink Mortgage Loan ceases to be a Wet-Ink Mortgage Loan (in accordance with the definition thereof). 

“Whole Loan Transfer” shall mean the sale or transfer of some or all of the Mortgage Loans to a Takeout
Investor in a whole loan transaction. 
 1.02 Accounting Terms and Determinations. Except as otherwise expressly provided herein, all
accounting terms used herein shall be interpreted, and all financial statements and certificates and reports as to financial matters required to be delivered to the Buyer hereunder shall be prepared, in accordance with GAAP. 

1.03 Interpretation. The following rules of this Section 1.03 apply unless the context requires otherwise or as otherwise provided
in this Repurchase Agreement. A gender includes all genders. Where a word or phrase is defined, its other grammatical forms have a corresponding meaning. A reference to a subsection, Section, Annex or Exhibit is, unless otherwise specified, a
reference to a Section of, or annex or exhibit to, this Repurchase Agreement. A reference to an agreement or document (including any Repurchase Document) is to the agreement or document as amended, modified, novated, supplemented or replaced, except
to the extent prohibited thereby or by any Repurchase Document and in effect from time to time in accordance with the terms thereof. A reference to legislation or to a provision of legislation includes any amendment, modification or re-enactment of
it, a legislative provision substituted for it and a regulation or statutory instrument issued under it. A reference to conduct includes, without limitation, an omission, statement or undertaking, whether or not in writing. The words
“hereof,” “herein,” “hereunder” and similar words refer to this Repurchase Agreement as a whole and not to any particular provision of this Repurchase Agreement. The term “including” is not limiting and means
“including without limitation.” In the computation of periods of time from a specified date to a later specified date, the word “from” means “from and including,” the words “to” and “until” each mean
“to but excluding,” and the word “through” means “to and including.” 
 Except where otherwise provided in
this Repurchase Agreement, any determination, consent, approval, statement or certificate made or confirmed in writing with notice to the Seller by the Buyer or the Agent on the Buyer’s behalf or an authorized officer of the Buyer or the Agent
provided for in this Repurchase Agreement is conclusive and binds the parties in the absence of manifest error. A reference to an agreement includes a security interest, guarantee, agreement or legally enforceable arrangement whether or not in
writing related to such agreement. 

  
 21 

 This Repurchase Agreement is the result of negotiations among, and has been reviewed by counsel
to, the Buyer, the Agent and the Seller, and is the product of all parties. In the interpretation of this Repurchase Agreement, no rule of construction shall apply to disadvantage one party on the ground that such party proposed or was involved in
the preparation of any particular provision of this Repurchase Agreement or this Repurchase Agreement itself. Except where otherwise expressly stated, the Buyer or the Agent on behalf of the Buyer may give or withhold, or give conditionally,
approvals and consents and may form opinions and make determinations at its absolute discretion. Any requirement of good faith, discretion or judgment by the Buyer or the Agent shall not be construed to require the Buyer or the Agent to request or
await receipt of information or documentation not immediately available from or with respect to the Seller, a servicer of the Purchased Loans, any other Person or the Purchased Loans themselves. 

With respect to any Transaction, the Buyer and the Agent may conclusively rely upon, and shall incur no liability to the Seller in acting
upon, any request or other communication that the Buyer or the Agent reasonably believes to have been given or made by a person authorized to enter into a Transaction on the Seller’s behalf. 

Section 2. Transactions, Repurchase and Margin Maintenance. 

2.01 Transactions. 
 (a)
Subject to the terms and conditions of the Repurchase Documents and provided that no Default or Event of Default shall have occurred and be continuing hereunder, the Buyer shall, from time to time as requested by the Seller, enter into Transactions
with an aggregate Purchase Price for all Purchased Loans acquired by the Buyer not to exceed the lesser of (i) the Maximum Amount and (ii) the Margin Base as in effect from time to time (after giving effect to the purchase of such Eligible
Mortgage Loans). 
 (b) A Confirmation (including all schedules related thereto), together with this Repurchase Agreement, shall constitute
conclusive evidence of the terms agreed between the Seller and the Buyer (or the Agent on behalf of the Buyer) with respect to the Transaction to which such Confirmation relates, and the Seller’s acceptance of the related proceeds of a
Transaction shall constitute Seller’s agreement to the terms of such Confirmation. It is the intention of the parties that each Confirmation shall not be separate from this Repurchase Agreement but shall be made a part hereof. In the event of
any conflict between this Repurchase Agreement and a Confirmation, the terms of this Repurchase Agreement shall control with respect to the related Transaction. A Confirmation, and any terms and conditions therein, shall be applicable solely with
respect to the related Transaction and shall not constitute a course of dealing between the Seller and the Buyer. 
 2.02 Transaction
Request Procedure (Transactions other than Wet-Ink Transactions). 
 (a) The Seller may request a Transaction hereunder that is not a
Wet-Ink Transaction, on any Business Day during the period from and including the Effective Date to and including the Termination Date by delivering to the Agent, with a copy to the Custodian, a 

  
 22 

 
Transaction Request, which Transaction Request must be received by the Agent prior to 2:00 p.m., New York City time, one (1) Business Day prior to the requested Purchase Date. Such
Transaction Request shall (i) attach a schedule identifying the Eligible Mortgage Loans that the Seller proposes to sell to the Buyer hereunder in connection with such Transaction, (ii) specify the requested Purchase Price and Purchase
Date, (iii) include (unless the same has been submitted previously) a Mortgage Loan Data File containing information with respect to the Eligible Mortgage Loans that the Seller proposes to sell to the Buyer hereunder in connection with such
Transaction, and (iv) such other information reasonably requested by the Agent or the Buyer from time to time. 
 (b) Upon receipt from
the Seller of a Transaction Request pursuant to Section 2.02(a), the Buyer shall, upon satisfaction of all applicable conditions precedent set forth in Sections 5.01 and 5.02 hereof and provided that no Default or Event of
Default shall have occurred and be continuing, enter into such Transaction with the Seller. In the event that the Buyer (or the Agent on behalf of the Buyer) determines, in its sole discretion, to enter into a Transaction, the Buyer (or the Agent)
shall specify the terms for such proposed Transaction, including the Purchase Price for the applicable Eligible Mortgage Loans, the Pricing Rate for the Transaction, the Market Value for the applicable Eligible Mortgage Loans, the Repurchase Date in
respect of such Transaction and any additional terms or conditions of the Transaction, in a Confirmation to be delivered to the Seller on or prior to the applicable Purchase Date. 

(c) The Seller shall deliver to the Custodian, in accordance with the terms and conditions of the Custodial Agreement, the Mortgage File
pertaining to each Eligible Mortgage Loan to be sold to the Buyer hereunder on the requested Purchase Date. 
 (d) Pursuant to the Custodial
Agreement, the Custodian shall deliver to the Agent and the Seller, no later than 11:00 a.m., New York City time, on a Purchase Date, an updated Mortgage Loan Schedule and Exception Report to the Master Trust Receipt in respect of all Mortgage Loans
to be purchased by the Buyer on such Purchase Date. The Seller acknowledges that Mortgage Loans listed in any Exception Report are not Eligible Mortgage Loans and the Buyer is not obligated to enter into any Transaction with respect to any Mortgage
Loan listed in any Exception Report. 
 (e) Subject to Section 5 hereof and provided that no Default or Event of Default shall
have occurred and be continuing, such Transaction will then be entered into by the Buyer, transferring, via wire transfer, to the account specified by Seller on a Transaction Request, an amount equal to the aggregate Purchase Price for such
Transaction in funds immediately available to the Seller. 
 2.03 Transaction Request Procedure (Wet-Ink Transactions). 

(a) Seller may request a Wet-Ink Transaction hereunder, on any Business Day during the period from and including the Effective Date to and
excluding the Termination Date. Upon request of Agent, Seller shall use commercially reasonable efforts to deliver to the Agent, an estimate of the amount required to fund Wet-Ink Transactions the following Business Day by 5:00 p.m. New York City
time one (1) Business Day prior to the requested Purchase Date. 

  
 23 

 (b) On the requested Purchase Date for a Wet-Ink Transaction, the Seller may deliver to the Agent
with a copy to the Custodian, no more than three (3) transmissions, which transmissions shall (i) attach a Transaction Request, (ii) attach a schedule identifying the Eligible Mortgage Loans that the Seller proposes to sell to the
Buyer hereunder in connection with such Transaction, (iii) specify the requested Purchase Price and (iv) be accompanied by a Mortgage Loan Data File from the Custodian, pursuant to the Custodial Agreement, in respect of all Wet-Ink
Mortgage Loans sold to the Buyer on such Purchase Date. The latest transmission must be received by the Agent no later than 4:00 p.m. New York City time, on such Purchase Date. Such Transaction Request shall specify the requested Purchase Date. 

(c) The Seller shall deliver (or cause to be delivered) and release to the Custodian the Mortgage File pertaining to such Wet-Ink Mortgage Loan
on the next Business Day following receipt of such Mortgage File by the Seller, but in any event no later than seven (7) Business Days following the applicable Purchase Date in accordance with the terms and conditions of the Custodial
Agreement. On the applicable Purchase Date and on each Business Day following the applicable Purchase Date, no later than 5:00 p.m., New York City time, pursuant to the Custodial Agreement, the Custodian shall deliver to the Agent a schedule listing
each Wet-Ink Mortgage Loan with respect to which the complete Mortgage File has not been received by the Custodian (the “Wet-Aged Report”). The Agent may confirm that the information in the Wet-Aged Report is consistent with the
information provided to the Agent pursuant to Section 2.03(b). 
 (d) Upon the Seller’s request for a Transaction pursuant
to Section 2.03(a), the Buyer may, upon satisfaction of all conditions precedent set forth in Sections 5.01 and 5.02 hereof, and provided that no Default or Event of Default shall have occurred and be continuing, enter into
a Transaction with the Seller on the requested Purchase Date, in the amount so requested. 
 (e) Subject to Section 5 hereof,
such Purchase Price will then be made available by the Custodian transferring at the direction of the Buyer (or the Agent on behalf of the Buyer), via wire transfer, the amount of such Purchase Price from the account of the Buyer maintained with the
Custodian to the account of the designated Closing Agent pursuant to disbursement instructions provided by the Seller on the electronic system maintained by the Custodian; provided, however, that (i) the Buyer (or the Agent on
behalf of the Buyer) has been provided such disbursement instructions and shall not have rejected, in its sole good faith discretion, any wiring location, (ii) the Custodian shall not, in any event, (A) transfer funds to the Seller or any
Affiliate of the Seller or (B) transfer funds in excess of the original principal balance of the related Wet-Ink Mortgage Loan. Upon notice from the Closing Agent to the Seller that the related Wet-Ink Mortgage Loan was not originated, the
Wet-Ink Mortgage Loan shall be removed from the list of Eligible Mortgage Loans and the Closing Agent shall immediately return the funds via wire transfer to the account of the Buyer maintained with the Custodian. The Seller shall notify the Agent
if a Wet-Ink Mortgage Loan was not originated and has been removed from the list of Eligible Mortgage Loans. 

  
 24 

 2.04 Limitation on Types of Transactions; Illegality. Anything herein to the contrary
notwithstanding, if, on or prior to the determination of any LIBOR Rate: 
 (a) the Buyer (or the Agent on behalf of the Buyer) determines,
which determination shall be conclusive, that quotations of rates for the relevant deposits referred to in the definition of “LIBOR Rate” in Section 1.01 hereof are not being provided in the relevant amounts or for the relevant
maturities for purposes of determining Price Differential for Transactions as provided herein; or 
 (b) the Buyer determines, which
determination shall be conclusive, that the relevant rate referred to in the definition of “LIBOR Rate” in Section 1.01 hereof upon the basis of which the Price Differential for Transactions is to be determined is not likely
adequately to cover the cost to the Buyer of entering into or maintaining Transactions; or 
 (c) it becomes unlawful for the Buyer to
enter into or maintain Transactions hereunder using a LIBOR Rate; 
 then the Buyer (or the Agent on behalf of the Buyer) shall give the Seller prompt
notice thereof and, so long as such condition remains in effect, the Buyer shall not be under any obligation to enter into any additional Transactions and either (i) the Seller shall pay the aggregate Repurchase Price of all Transactions then
outstanding or (ii) continue the current Transactions and any additional Transactions at another per annum rate approximating the LIBOR Rate as determined by the Buyer in connection with determining the Price Differential. 

2.05 Payment of Repurchase Price, Price Differential. 

(a) The Seller hereby promises to pay in full on the Termination Date the aggregate Repurchase Price of all Transactions then outstanding. In
addition, the Seller shall repurchase the related Purchased Loans from Buyer on each related Repurchase Date. Each obligation to repurchase exists without regard to any prior or intervening liquidation or foreclosure with respect to any Purchased
Loan. The Seller is obligated to obtain the related Purchased Loans from the Buyer or its designee (including Custodian) at Seller’s expense on (or after) the related Repurchase Date. Provided that the applicable conditions in
Section 5 have been satisfied and provided further no Default or Event of Default shall have occurred and be continuing, unless the Agent is notified to the contrary not later than 11:00 a.m. New York City time at least two
(2) Business Days prior to any such Repurchase Date, on each related Repurchase Date each Purchased Loan shall automatically become subject to a new Transaction. In such event, the related Repurchase Date on which such Transaction becomes
subject to a new Transaction shall become the “Purchase Date” for such Transaction. Seller shall deliver a written Transaction Request to Agent requesting that the Purchased Loans become subject to such new Transaction prior to such
Purchase Date. For each new Transaction, unless otherwise agreed, (y) the accrued and unpaid Price Differential shall be settled in cash on each related Repurchase Date, and (z) the Pricing Rate shall be as set forth in the Pricing Side
Letter. The term of any Transaction shall not exceed one month. 
 (b) The Seller hereby promises to pay to the Buyer, Price Differential on
the unpaid Repurchase Price of each Transaction for the period from and including the Purchase Date of such Transaction to but excluding the Termination Date of such Transaction, at a rate per annum equal to the Pricing Rate; provided, that
in no event shall such rate per annum exceed the maximum rate permitted by law. Notwithstanding the foregoing, the Seller hereby promises to 

  
 25 

 
pay to the Buyer, interest at the applicable Post-Default Rate on any Repurchase Price and on any other amount payable by the Seller hereunder that shall not be paid in full when due (whether at
stated maturity, by acceleration or by mandatory prepayment or otherwise) for the period from and including the due date thereof to but excluding the date the same is paid in full. Accrued Price Differential on each Transaction shall be payable
monthly on the Repurchase Date each month and for the last month of the Repurchase Agreement on the Repurchase Date of such last month and on the Termination Date; provided, that the Buyer may, in its sole discretion, require accrued Price
Differential to be paid simultaneously with any prepayment of Repurchase Price that is made by the Seller on a day other than the Termination Date. Interest payable at the Post-Default Rate shall accrue daily and shall be payable upon such accrual.
Promptly after the determination of any interest rate provided for herein or any change therein, the Buyer (or the Agent on behalf of the Buyer) shall give notice thereof to the Seller. 

(c) It is understood and agreed that, unless and until a Default or Event of Default shall have occurred and be continuing, the Seller shall be
entitled to the proceeds of the Purchased Loans subject to Transactions outstanding hereunder subject to the terms and provisions of this Repurchase Agreement. If directed by Buyer in Buyer’s sole discretion, at any time after a Default or
Event of Default has occurred and is continuing, Seller shall enter into a Blocked Account Agreement and thereafter deposit all Income or other proceeds received with respect to each Purchased Loan after the related Purchase Date into the Blocked
Account within one (1) Business Day of receipt. Notwithstanding the foregoing, unless and until a Default or Event of Default shall have occurred and is continuing, the Seller may withdraw amounts from the Blocked Account on each Repurchase
Date so long as all amounts then due and payable to Buyer have been paid in full. 
 (d) With respect to each Purchased Loan subject to a
Takeout Commitment, the Seller shall instruct the related Takeout Investor to remit directly to the Buyer no later than 3:00 p.m., New York City time, on a Business Day all Takeout Proceeds in an amount equal to the Repurchase Price for such
Purchased Loan. Simultaneously, the Seller shall deliver to the Buyer via facsimile or electronic mail a purchase advice (the “Purchase Advice”) and shall indicate on such Purchase Advice the Mortgage Loan identification number
which identified the applicable Eligible Mortgage Loan when it was purchased by the Buyer hereunder. A portion of the Takeout Proceeds in an amount equal to the Recognized Value of such Purchased Loan shall be applied to the Repurchase Price of the
outstanding Transactions. Upon receipt by the Buyer of payment of the Repurchase Price in respect of such Purchased Loan, the Buyer shall release and remit to the Seller the amount of any Takeout Proceeds in excess of the Recognized Value of such
Purchased Loans (the “Remittance Amount”); provided, that, both immediately before and after giving effect to such release and remittance, (i) there is no Default or Event of Default under this Repurchase Agreement or
any other Repurchase Document and (ii) there is no Margin Deficiency. To the extent that a Margin Deficiency exists or would be created by the release of the Remittance Amount or a Default or an Event of Default has occurred and is continuing,
the Buyer shall be entitled to retain the Remittance Amount, and the Seller thereupon shall have no further rights, title, or interest in and to such Remittance Amount. In the event that the Purchase Advice indicates that some of the proceeds
forwarded to the Buyer do not belong to the Buyer or the Seller (such amount, the “Excess Proceeds”), then (i) the Seller shall provide the Buyer with a Takeout Proceeds Identification Letter, and (ii) upon confirmation by
the Buyer that the information set forth in the Purchase Advice matches the information that the Buyer has in its 

  
 26 

 
possession with respect to the Purchased Loans, the Buyer shall promptly remit by wire transfer the Excess Proceeds in accordance with the Seller’s instructions. If funds are received before
3:00 p.m., New York City time on a Business Day, but either (A) no Purchase Advice is received or (B) such funds are not properly identified on the related Purchase Advice (a “Purchase Advice Deficiency”), then such funds
shall be retained by the Buyer, and the Transactions made in respect of the related Purchased Loans shall continue to accrue Price Differential under this Repurchase Agreement, until such Purchase Advice Deficiency is remedied, and the Mortgage Loan
subject to such Purchase Advice shall not be released until such Purchase Advice Deficiency is remedied. In no event shall such Purchase Advice be back-dated to the date of its issuance. The Buyer shall not be liable to the Seller or any other
Person to the extent that the Buyer follows instructions given to it by the Seller in a Takeout Proceeds Identification Letter. 
 2.06
Margin Maintenance. 
 (a) If at any time the aggregate Purchase Price of all Transactions then outstanding hereunder exceeds the
aggregate Recognized Value of all Purchased Loans subject to such Transactions (a “Margin Deficiency”), and such Margin Deficiency is greater than the Margin Threshold, as determined in good faith by the Buyer (or the Agent on
behalf of the Buyer) and notified to the Seller on any Business Day, the Seller shall no later than one (1) Business Day after receipt of such notice, either make a payment to the Buyer, in respect of the aggregate Purchase Price or transfer to
the Buyer additional Eligible Mortgage Loans that are in all respects acceptable to the Buyer in good faith (which additional Eligible Mortgage Loans shall be deemed to be Purchased Loans under the Repurchase Documents) such that after giving effect
to such payment or transfer no Margin Deficiency shall then exist. 
 (b) If at any time the aggregate Purchase Price of all Transactions
then outstanding hereunder exceeds the Maximum Amount then in effect, the Seller shall at such time make a payment to the Buyer, in respect of the aggregate Repurchase Price such that, after giving effect to such payment, the aggregate Repurchase
Price of all Transactions then outstanding hereunder shall not exceed the Maximum Amount then in effect. 
 Section 3. Payments,
Computations, Requirements of Law, Etc. 
 3.01 Payments. 

(a) Except to the extent otherwise provided herein, all payments of Repurchase Price, including Price Differential, and other amounts to be
paid by the Seller under this Repurchase Agreement, shall be made in Dollars, in immediately available funds, without deduction, set-off or counterclaim, to the Agent, at the following account maintained by the Agent: Account No. 30463591,
Citibank, N.A., ABA No. 021-000-089, Attn: Whole Loans, Ref: loanDepot.com, LLC, not later than 1:00 p.m., New York City time, on the date on which such payment shall become due (and each such payment made after such time on such due date shall
be deemed to have been made on the next succeeding Business Day). The Seller acknowledges that it has no rights of withdrawal from the foregoing account. 

  
 27 

 (b) Except to the extent otherwise expressly provided herein, if the due date of any payment
under this Repurchase Agreement would otherwise fall on a day that is not a Business Day, such date shall be extended to the next succeeding Business Day, and Price Differential shall accrue with respect to the amount of any Purchase Price so
extended for the period of such extension. 
 3.02 Computations. Price Differential on the Transactions shall be computed on the basis
of a 360-day year for the actual number of days elapsed (including the first day but excluding the last day) occurring in the period for which payable. 

3.03 Requirements of Law. 

(a) If the introduction or adoption of or any change (other than any change by way of the imposition of or increase in reserve requirements
included in the LIBOR Rate Reserve Percentage) in any Requirement of Law (other than with respect to any amendment made to the Buyer’s certificate of incorporation and by-laws or other organizational or governing documents) or any change in the
interpretation or application thereof or compliance by the 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 the Buyer and the Agent (or the Buyer or the Agent, as the case may be) to any tax of any kind whatsoever with respect to
this Repurchase Agreement or any Transaction entered into by it (excluding taxes on the Buyer’s or the Agent’s, as applicable, net income or franchise taxes) or change the basis of taxation of payments to the Buyer or Agent, as applicable,
in respect thereof; 
 (ii) shall impose, modify or hold applicable to any Transaction any reserve, special deposit, compulsory loan or
similar requirement against assets held by, deposits or other liabilities in or for the account of, advances, loans, Transactions or other extensions of credit by, or any other acquisition of funds by, any office of the Buyer and the Agent (or the
Buyer or the Agent, as the case may be) which is not otherwise included in the determination of the LIBOR Rate hereunder; 
 (iii) shall
impose on the Buyer and the Agent (or the Buyer or the Agent, as the case may be) any other condition; 
 and the result of any of the
foregoing is to increase the cost to the Buyer and the Agent (or the Buyer or the Agent, as the case may be), by an amount which the Buyer and the Agent (or the Buyer or the Agent, as the case may be) deem to be material, of making, participating
in, continuing or maintaining any Transaction or to reduce any amount due or owing hereunder in respect thereof, then, in any such case, the Seller shall promptly pay the Buyer and the Agent (or the Buyer or the Agent, as the case may be) such
additional amount or amounts as will compensate the Buyer and the Agent (or the Buyer or the Agent, as the case may be) for such increased cost or reduced amount receivable. 

(b) If the Buyer and the Agent (or the Buyer or the Agent, as the case may be) shall have determined that the adoption of or any change in any
Requirement of Law applicable to the Buyer and the Agent (or the Buyer or the Agent, as the case may be)(other than with respect to any amendment made to the Buyer’s or the Agent’s certificate of incorporation and by-laws or other
organizational or governing documents) regarding capital adequacy or in the 

  
 28 

 
interpretation or application thereof or compliance by the Buyer and the Agent (or the Buyer or the Agent, as the case may be) or any corporation controlling the Buyer and the Agent (or the Buyer
or the Agent, as the case may be) 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 the Buyer’s or the Agent’s, as applicable, or such corporation’s capital as a consequence of its actions hereunder to a level below that which the Buyer and the Agent (or the Buyer or the Agent, as the case may be) or such
corporation could have achieved but for such adoption, change or compliance (taking into consideration the Buyer’s or the Agent’s, as applicable, or such corporation’s policies with respect to capital adequacy) by an amount deemed by
the Buyer and the Agent (or the Buyer or the Agent, as the case may be) to be material, then from time to time, the Seller shall promptly pay to the Buyer and the Agent (or the Buyer or the Agent, as the case may be) such additional amount or
amounts as will compensate the Buyer and the Agent (or the Buyer or the Agent, as the case may be) for such reduction. 
 (c) If the Buyer
and the Agent (or the Buyer or the Agent, as the case may be) become entitled to claim any additional amounts pursuant to this Section, it shall promptly notify the 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 the Buyer or the Agent, as applicable, to the Seller shall be conclusive in the absence of manifest error. 

Section 4. Purchased Items. 

4.01 Purchased Items; Security Interest. 

(a) Pursuant to the Custodial Agreement, the Custodian shall hold the Mortgage Loan Documents as exclusive bailee and agent for the benefit of
the Buyer pursuant to terms of the Custodial Agreement and shall deliver to the Buyer a Master Trust Receipt to the effect that it has reviewed such Mortgage Loan Documents in the manner and to the extent required by the Custodial Agreement and
identifying any deficiencies in such Mortgage Loan Documents as so reviewed. 
 (b) All of the Seller’s right, title and interest in, to
and under each of the following items of property, whether now owned or hereafter acquired, now existing or hereafter created and wherever located, is hereinafter referred to as the “Purchased Items”; 

(i) all Purchased Loans (including, without limitation, the related Servicing Rights). For the avoidance of doubt, it is acknowledged and
agreed by the Seller that the grant of a security interest by the Seller to the Buyer in any Purchased Loan shall not be released or otherwise affected due to the fact that any Purchased Loan is not an Eligible Mortgage Loan or that the Recognized
Value thereof is zero dollars or is reduced, including if it is reduced to zero dollars, at any time; 
 (ii) all Mortgage Loan Documents,
including without limitation all promissory notes, and all Servicing Records, Servicing Agreements and any other collateral pledged or otherwise relating to such Purchased Loans, together with all files, documents, instruments, surveys,
certificates, correspondence, appraisals, computer programs, computer storage media, accounting records and other books and records relating thereto, including electronic records; 

  
 29 

 (iii) all rights of Seller to receive from any third party or to take delivery of any Servicing
Records or other documents which constitute a part of the Mortgage File or Servicing File, all rights of Seller to receive from any third party or to take delivery of any Records or other documents which constitute a part of the Mortgage File; 

(iv) all mortgage guaranties and insurance (issued by governmental agencies or otherwise) and any mortgage insurance certificate or other
document evidencing such mortgage guaranties or insurance relating to any Purchased Loan and all claims and payments thereunder; 
 (v) all
other insurance policies and insurance proceeds relating to any Purchased Loan or the related Mortgaged Property; 
 (vi) all purchase
agreements or other agreements, contracts (and all rights to receive documentation relating thereto) or any related Takeout Commitments now existing or hereafter arising, covering any part of the foregoing Purchased Items, all rights to deliver such
Mortgage Loans to Takeout Investors or to permanent investors and other purchasers pursuant thereto and all proceeds resulting from the disposition of such Purchased Items pursuant thereto, including the Seller’s right and entitlement to
receive the entire Takeout Price specified in each Takeout Commitment; 
 (vii) any Interest Rate Protection Agreements, relating to or
constituting any and all of the foregoing; 
 (viii) any Blocked Account and all monies from time to time on deposit in such Blocked
Accounts; 
 (ix) all collateral, however defined, under any other agreement between the Seller or any of its Affiliates on the one hand and
the Buyer or any of its Affiliates on the other hand; (x) all “accounts,” “chattel paper,” “commercial tort claims,” “deposit accounts,” “documents,” “equipment,” “general
intangibles,” “goods,” “instruments,” “inventory,” “investment property,” “letter of credit rights,” and “securities’ accounts” as each of those terms is defined in the Uniform
Commercial Code and all cash and Cash Equivalents and all products and proceeds relating to or constituting any or all of the foregoing; and 

(xi) any and all replacements, substitutions, distributions on or proceeds of any and all of the foregoing. 

(c) The Seller and the Buyer intend that the Transactions hereunder be sales to the Buyer of the Purchased Items (including, without
limitation, the related Servicing Rights) and not loans from the Buyer to the Seller secured by the Purchased Items. However, in order to preserve the Buyer’s rights under this Repurchase Agreement and the other Repurchase Documents in the
event that a court or other forum recharacterizes the Transactions hereunder as 

  
 30 

 
loans, and as security for the performance by the Seller of all of the Seller’s obligations to the Buyer under the Repurchase Documents and the Transactions entered into hereunder, the
Seller hereby assigns, pledges and grants a security interest in all of its right, title and interest in, to and under the Purchased Items to the Buyer, to secure the payment of the Repurchase Price on all Transactions and all other amounts owing to
the Buyer hereunder and under the other Repurchase Documents (collectively, and together with the pledge of Servicing Rights in the immediately preceding sentence, the “Related Credit Enhancement”). The Related Credit Enhancement is
hereby pledged as further security for Seller’s Obligations to Buyer hereunder. The Seller agrees to mark its computer records and tapes to evidence the interests granted to the Buyer hereunder. For the avoidance of doubt, it is acknowledged
and agreed by the Seller that the grant of a security interest by the Seller to the Buyer in any Purchased Loan shall not be released or otherwise affected due to the fact that any Purchased Loan is not an Eligible Mortgage Loan or that the
Recognized Value thereof is zero dollars or is reduced, including if it is reduced to zero dollars, at any time. 
 4.02 Further
Documentation. At any time and from time to time, upon the written request of the Buyer (or the Agent on behalf of the Buyer), and at the sole expense of the Seller, the Seller will promptly and duly execute and deliver, or will promptly cause
to be executed and delivered, such further instruments and documents and take such further action as the Buyer (or the Agent on behalf of the Buyer) may reasonably request for the purpose of obtaining or preserving the full benefits of this
Repurchase Agreement and of the rights and powers herein granted, including, without limitation, the filing of any financing or continuation statements under the Uniform Commercial Code in effect in any jurisdiction with respect to the Liens created
hereby. The Seller also hereby authorizes the Buyer to file any such financing or continuation statement without the signature of the Seller to the extent permitted by applicable law. A photographic or other reproduction of this Repurchase Agreement
shall be sufficient as a financing statement for filing in any jurisdiction. 
 4.03 Changes in Locations, Name, etc. The Seller shall
not (i) change the location of its chief executive office/chief place of business or mailing address from that specified in Section 6 hereof, (ii) change its name, identity or corporate structure (or the equivalent) or change
the location where it maintains its records with respect to the Purchased Items or (iii) reincorporate or reorganize under the laws of another jurisdiction unless it shall have given the Buyer at least thirty (30) days prior written notice
thereof and shall have delivered to the Buyer all Uniform Commercial Code financing statements and amendments thereto as the Buyer shall reasonably request and taken all other actions deemed reasonably necessary by the Buyer to continue its
perfected status in the Purchased Items with the same or better priority. The Seller’s organizational identification number is 4756878 (Delaware); the Seller’s federal tax identification number is 26-4599244. The Seller shall promptly
notify the Buyer of any change in such organizational or federal tax identification number. 
 4.04 The Buyer’s Appointment as
Attorney-in-Fact. 
 (a) The Seller hereby irrevocably constitutes and appoints the 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 the Seller and in the name of the Seller or in its own name, from time to time in the Buyer’s discretion, for the
purpose of 

  
 31 

 
carrying out the terms of this Repurchase Agreement, to take any and all appropriate action and to execute any and all documents and instruments which may be necessary or desirable to accomplish
the purposes of this Repurchase Agreement, and, without limiting the generality of the foregoing, the Seller hereby gives the Buyer the power and right, on behalf of the Seller, without assent by, but with notice to, the Seller, if an Event of
Default shall have occurred and be continuing, to do the following: 
 (i) in the name of the Seller or 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 under any mortgage insurance or payable on or on account of any other Purchased Items 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 the Buyer for the purpose of collecting any and all such moneys due under any such mortgage insurance or with respect to any other Purchased Items
whenever payable; 
 (ii) to pay or discharge taxes and Liens levied or placed on or threatened against the Purchased Items; and 

(iii) (A) to direct any party liable for any payment under any Purchased Items to make payment of any and all moneys due or to become due
thereunder directly to the Buyer or as the Buyer shall direct, including, without limitation, to send “goodbye” letters and Section 404 notices on behalf of the Seller and any applicable Servicer; (B) 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 Purchased Items; (C) to sign and endorse any invoices, assignments, verifications,
notices and other documents in connection with any of the Purchased Items; (D) to commence and prosecute any suits, actions or proceedings at law or in equity in any court of competent jurisdiction to collect the Purchased Items or any portion
thereof or proceeds thereof and to enforce any other right in respect of any Purchased Items; (E) to defend any suit, action or proceeding brought against the Seller with respect to any Purchased Items; (F) to settle, compromise or adjust
any suit, action or proceeding described in clause (E) above and, in connection therewith, to give such discharges or releases as the Buyer may deem appropriate; and (G) generally, to sell, transfer, pledge and make any agreement with
respect to or otherwise deal with any of the Purchased Items as fully and completely as though the Buyer were the absolute owner thereof for all purposes, and to do, at the Buyer’s option and the Seller’s expense, at any time, and from
time to time, all acts and things which the Buyer deems necessary to protect, preserve or realize upon the Purchased Items and the Buyer’s Liens thereon and to effect the intent of this Repurchase Agreement, all as fully and effectively as the
Seller might do. 
 The 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. This power of attorney shall not revoke any prior powers of attorney granted by the Seller. 

(b) The Seller also authorizes the Buyer, at any time and from time to time, (i) to execute, in connection with any sale provided for in
Section 4.07 hereof, any endorsements, assignments or other instruments of conveyance or transfer with respect to the Purchased Items and (ii) to file any initial financing statements, amendments thereto and continuation statements
with or without the signature of the Seller as authorized by applicable law, as applicable to all or any part of the Purchased Items. 

  
 32 

 (c) The powers conferred on the Buyer are solely to protect the interests of the Buyer in the
Purchased Items and shall not impose any duty upon the Buyer to exercise any such powers. The Buyer shall be accountable only for amounts that it actually receives as a result of the exercise of such powers, and neither the Buyer nor any of its
officers, directors, employees or agents shall be responsible to the Seller for any act or failure to act hereunder, except for its own gross negligence or willful misconduct. 

4.05 Performance by The Buyer of The Seller’s Repurchase Obligations. If the Seller fails to perform or comply with any of its
agreements contained in the Repurchase Documents and the Buyer itself performs or complies, or otherwise causes performance or compliance, with such agreement, the out-of-pocket expenses of the Buyer incurred in connection with such performance or
compliance, together with interest thereon at a rate per annum equal to the Post-Default Rate, shall be payable by the Seller to the Buyer upon five (5) days’ notice that such amounts are due and payable, unless an Event of Default shall
have occurred and is continuing, in which case such amounts shall be due and payable on demand and, in either case, shall constitute Repurchase Obligations. 

4.06 Proceeds. If a Default shall occur and be continuing, (a) all Income and other proceeds of Purchased Items received by the
Seller consisting of cash, checks and other near-cash items shall be held by the Seller in trust for the Buyer, segregated from other funds of the Seller, and shall forthwith upon receipt by the Seller be turned over to the Buyer in the exact form
received by the Seller (duly endorsed by the Seller to the Buyer, if required) and (b) any and all such proceeds received by the Buyer (whether from the Seller or otherwise) may, in the sole discretion of the Buyer, be held by the Buyer as
collateral security for, and/or then or at any time thereafter may be applied by the Buyer against, the Repurchase Obligations (whether matured or unmatured), such application to be in such order as the Buyer shall elect. Any balance of such
proceeds remaining after the Repurchase Obligations shall have been paid in full and this Repurchase Agreement shall have been terminated shall be paid over to the Seller or to whomsoever may be lawfully entitled to receive the same. For purposes
hereof, proceeds shall include, but not be limited to, all principal and interest payments, all prepayments and payoffs, insurance claims, condemnation awards, sale proceeds, real estate owned rents and any other income and all other amounts
received with respect to the Purchased Items. 
 4.07 Remedies. If a Default shall occur and be continuing, the Buyer may, at its
option, enter into one or more interest rate protection agreements or other hedging arrangements covering all or a portion of the Purchased Loans purchased by the Buyer hereunder, and the Seller shall be responsible for all damages, judgments, costs
and expenses of any kind which may be imposed on, incurred by or asserted against the Buyer relating to or arising out of such Interest Rate Protection Agreements, including without limitation any net losses (after giving effect to any gain in the
sale of the related Mortgage Loans) resulting from such Interest Rate Protection Agreements. If an Event of Default shall occur and be continuing, the Buyer may exercise, in addition to all other rights and remedies granted to it in this Repurchase
Agreement and in any other instrument or agreement securing, evidencing or relating to the Repurchase Obligations, all rights and remedies of a secured party under the 

  
 33 

 
Uniform Commercial Code. Without limiting the generality of the foregoing, the Buyer without demand of performance or other demand, presentment, protest, advertisement or notice of any kind
(except any notice required by law referred to below) to or upon the Seller or any other Person (each and all of which demands, presentments, protests, advertisements and notices are hereby waived), may in such circumstances forthwith collect,
receive, appropriate and realize upon the Purchased Items, or any part thereof, and/or may forthwith sell, lease, assign, give option or options to purchase, or otherwise dispose of and deliver the Purchased Items or any part thereof (or contract to
do any of the foregoing), in one or more parcels or as an entirety at public or private sale or sales, at any exchange, broker’s board or office of the Buyer or elsewhere upon such terms and conditions as it may deem advisable and at such
prices as it may deem best, for cash or on credit or for future delivery without assumption of any credit risk. The Buyer shall have the right upon any such public sale or sales, and, to the extent permitted by law, upon any such private sale or
sales, to purchase the whole or any part of the Purchased Items so sold, free of any right or equity of redemption in the Seller, which right or equity is hereby waived or released. The Seller further agrees, at the Buyer’s request, to assemble
the Purchased Items and make them available to the Buyer at places which the Buyer shall reasonably select, whether at the Seller’s premises or elsewhere. The Buyer shall apply the net proceeds of any such collection, recovery, receipt,
appropriation, realization or sale, after deducting all costs and expenses of every kind incurred therein or incidental to the care or safekeeping of any of the Purchased Items or in any way relating to the Purchased Items or the rights of the Buyer
hereunder, including without limitation attorneys’ fees and disbursements, to the payment in whole or in part of the Repurchase Obligations, in such order as the Buyer may elect, and only after such application and after the payment by the
Buyer of any other amount required or permitted by any provision of law, including without limitation Sections 9-608(a) and 9-615(a) of the Uniform Commercial Code, need the Buyer account for the surplus, if any, to the Seller. To the extent
permitted by applicable law, the Seller waives all claims, damages and demands the Seller may acquire against the Buyer arising out of the exercise by the Buyer of any of its rights hereunder, other than those claims, damages and demands arising
from the gross negligence or willful misconduct of the Buyer. If any notice of a proposed sale or other disposition of Purchased Items shall be required by law, such notice shall be deemed reasonable and proper if given at least 10 days before such
sale or other disposition. The Seller shall remain liable for any deficiency (plus accrued interest thereon at the Post-Default Rate) if the proceeds of any sale or other disposition of the Purchased Items are insufficient to pay the Repurchase
Obligations and the fees and disbursements of any attorneys employed by the Buyer to collect such deficiency. 
 4.08 Limitation on Duties
Regarding Preservation of Purchased Items. The Buyer’s duty with respect to the custody, safekeeping and physical preservation of the Purchased Items in its possession, under Section 9-207 of the Uniform Commercial Code or otherwise,
shall be to deal with it in the same manner as the Buyer deals with similar property for its own account. Subject to the immediately preceding sentence, neither the Buyer nor any of its respective directors, officers or employees shall be liable for
failure to demand, collect or realize upon all or any part of the Purchased Items or for any delay in doing so or shall be under any obligation to sell or otherwise dispose of any Purchased Items upon the request of the Seller or otherwise. 

  
 34 

 4.09 Powers Coupled with an Interest. All authorizations and agencies herein contained
with respect to the Purchased Items are irrevocable and are powers coupled with an interest. 
 4.10 Release of Security Interest.
Upon termination of this Repurchase Agreement and payment to the Buyer of all Repurchase Obligations and the performance of all obligations under the Transactions and the Repurchase Documents the Buyer shall reconvey all Purchased Items to the
Seller and release its security interest in any remaining Purchased Items. 
 4.11 Cash Reporting. The Seller shall provide, or cause
to be provided, to the Buyer as requested by the Buyer, a report of all cash and other collections activity with respect to each Purchased Loan. Such report shall be delivered to Buyer not later than 3:00 p.m. New York City time on the Business Day
following the request of Buyer. 
 4.12 Taxes; Tax Treatment. 

(a) All payments made by the Seller under this Repurchase Agreement shall be made free and clear of, and without deduction or withholding for
or on account of, any present or future taxes, levies, imposts, deductions, charges or withholdings, and all liabilities (including penalties, interest and additions to tax) with respect thereto imposed by any Governmental Authority (collectively,
“Taxes”), all of which shall be paid by the Seller for its own account not later than the date when due . Taxes as defined in this Section 4.12(a) shall not include (i) taxes imposed on the net income of the Buyer,
(ii) taxes imposed under Section 1471 through Section 1474 of the Code, any current or future regulations or official interpretations thereof, any agreement entered into pursuant to Section 1471(b) of the Code, or any fiscal or
regulatory legislation, rules or practices adopted pursuant to any intergovernmental agreement entered into in connection with the implementation of such Sections of the Code, (iii) branch profits taxes, or (iv) franchise taxes. If the
Seller is required by law or regulation to deduct or withhold any Taxes from or in respect of any amount payable hereunder, it shall: (a) make such deduction or withholding; (b) pay the amount so deducted or withheld to the appropriate
Governmental Authority not later than the date when due; (c) deliver to the Buyer, promptly, original tax receipts and other evidence satisfactory to the Buyer of the payment when due of the full amount of such Taxes; and (d) pay to the
Buyer such additional amounts as may be necessary so that the Buyer receives, free and clear of all Taxes, a net amount equal to the amount it would have received under this Repurchase Agreement, as if no such deduction or withholding had been made.
In addition, the Seller agrees to pay to the relevant Governmental Authority in accordance with applicable law any current or future stamp or documentary taxes or any other excise or property taxes, charges or similar levies (including, without
limitation, mortgage recording taxes, transfer taxes and similar fees) imposed by any Governmental Authority that arise from any payment made hereunder or from the execution, delivery or registration of, or otherwise with respect to, this Repurchase
Agreement (“Other Taxes”). 
 (b) The Seller agrees to indemnify and hold the Buyer harmless for the full amount of Taxes
(including additional amounts with respect thereto) and Other Taxes, and the full amount of Taxes of any kind imposed by any jurisdiction on amounts payable under this Section 4.12, and any liability (in each case, including penalties,
interest, additions thereto and expenses) arising therefrom or with respect thereto, provided that the Buyer shall have provided the Seller with evidence, reasonably satisfactory to the Seller, of payment of Taxes or Other Taxes, as the case may be.

  
 35 

 (c) Without prejudice to the survival or any other agreement of the Seller hereunder, the
agreements, covenants and obligations of the Seller contained in this Section 4.12 shall survive the termination of this Repurchase Agreement. Nothing contained in this Section 4.12 shall require the Buyer to make available any of its tax
returns or other information that it deems to be confidential or proprietary or to incur additional costs or regulatory burdens that the Buyer considers in its good faith reasonable judgment to be material. 

(d) Each party to this Repurchase Agreement acknowledges that it is its intent for purposes of U.S. federal, state and local income and
franchise taxes to treat each Transaction as indebtedness of the Seller that is secured by the Purchased Loans and that the Purchased Loans are owned by the Seller in the absence of an Event of Default or any event under Section 13.21 of this
Repurchase Agreement which the Buyer determines to be inconsistent with such treatment. All parties to this Repurchase Agreement agree to such treatment and agree to take no action inconsistent with this treatment, unless required by law. 

Section 5. Conditions Precedent. 

5.01 Initial Transaction. The Buyer entering 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 the Buyer shall have received all of the following documents, each of which shall be satisfactory to the Buyer and its counsel in form and substance: 

(a) Repurchase Documents. 

(i) Repurchase Agreement. This Repurchase Agreement, duly executed and delivered by the Seller; 

(ii) Custodial Agreement. The Custodial Agreement, duly executed and delivered by the Seller and the Custodian; 

(iii) [reserved]; 
 (iv)
Electronic Tracking Agreement. The Electronic Tracking Agreement, duly executed and delivered by the Seller, Electronic Agent and MERS. 

(b) Organizational Documents. An officer’s certificate of the Seller in the form attached hereto as Exhibit L, together with
a good standing certificate dated as of a recent date, but in no event more than ten (10) days prior to the date of such initial Transaction and certified copies of the charter and by-laws (or equivalent documents) of the Seller and of all
corporate or other authority for the Seller with respect to the execution, delivery and performance of the Repurchase Documents and each other document to be delivered by the Seller from time to time in connection herewith (and the Buyer may
conclusively rely on such certificate until it receives notice in writing from the Seller to the contrary); 

  
 36 

 (c) Legal Opinion. A legal opinion of outside counsel to the Seller, substantially in the
form attached hereto as Exhibit B; 
 (d) Master Trust Receipt and Mortgage Loan Schedule and Exception Report. A Master Trust
Receipt, substantially in the form of Annex 2 of the Custodial Agreement, dated the Effective Date, from the Custodian, duly completed, with a Mortgage Loan Schedule and Exception Report attached thereto; 

(e) Servicing Agreement(s). Any Servicing Agreement, certified as a true, correct and complete copy of the original together, with a
fully executed Servicer Notice and, if the Servicer is not the Seller or an Affiliate of the Seller, a letter from the applicable Servicer consenting to termination of such Servicing Agreement upon the occurrence of an Event of Default; 

(f) Filings, Registrations, Recordings; Lien Searches. (i) Any documents (including, without limitation, financing statements) required
to be filed, registered or recorded in order to create, in favor of the Buyer, a perfected, first-priority security interest in the Purchased Items, subject to no Liens other than those created hereunder, shall have been properly prepared and
executed for filing (including the applicable county(ies) if the Buyer determines such filings are necessary in its sole good faith discretion), registration or recording in each office in each jurisdiction in which such filings, registrations and
recordations are required to perfect such first-priority security interest; provided, that assignments of the Mortgages securing or related to the Mortgage Loans shall not be required to be recorded prior to the occurrence of an Event of Default;

 (ii) UCC lien searches in such jurisdictions as shall be applicable to the Seller and the Purchased Items, the results of which
shall be satisfaction to the Buyer; 
 (g) Financial Statements. The financial statements referenced in Section 6.03;

 (h) Underwriting Guidelines. A certified copy of the Underwriting Guidelines, which shall be in form and substance
satisfactory to the Buyer; 
 (i) Consents, Licenses, Approvals, etc. The Buyer shall have received copies certified by the
Seller of all consents, licenses and approvals, if any, required in connection with the execution, delivery and performance by the Seller of, and the validity and enforceability of, the Mortgage Loan Documents and Repurchase Documents, which
consents, licenses and approvals shall be in full force and effect, including but not limited to, evidence of the following, to the extent applicable, Fannie Mae, Freddie Mac, Ginnie Mae, VA and RHS approval as lender, evidence of FHA approval as
Mortgagee and FHA, Fannie Mae, Freddie Mac, Ginnie Mae, RHS and VA approval as servicer of the Mortgage Loans, as well as approval by FHA, Fannie Mae, Freddie Mac, Ginnie Mae, RHS and VA of any Servicer of the Mortgage Loans; 

(j) Insurance. The Buyer shall have received evidence in form and substance satisfactory to the Buyer showing compliance by the
Seller as of such initial Purchase Date with Section 7.25 hereof; 

  
 37 

 (k) HUD Letter. If any of the Mortgage Loans are HUD insured mortgage loans, the Seller
shall have executed and provided to HUD, with a copy to the Buyer, a letter addressed to HUD identifying the Buyer as the owner of the Purchased Loans and authorizing the Buyer to obtain any information with respect to the Purchased Loans directly
from HUD, which letter shall be acceptable to HUD for such purpose; and 
 (l) Other Documents. Such other documents as the Buyer
may reasonably request. 
 5.02 Initial and Subsequent Transactions. The entering into by the Buyer of each Transaction (including the
initial Transaction) on any Business Day is subject to the satisfaction of the following further conditions precedent, both immediately prior to the entering into of such Transaction and also after giving effect thereto and to the intended use of
the Purchase Price paid to the Seller in respect thereof: 
 (a) No Default. No Default or Event of Default shall have occurred and be
continuing; 
 (b) Representations and Warranties. Both immediately prior to the entering into of such Transaction and also after
giving effect thereto and to the intended use of the Purchase Price paid to the Seller in respect thereof, the representations and warranties made by the Seller in Section 6 and Schedule 1 hereof, and elsewhere in each of the
Repurchase Documents, shall be true, correct and complete in all material respects on and as of the date of the making of such Transaction (in the case of the representations and warranties in Section 6.11, Section 6.24 and
Schedule 1, solely with respect to Purchased Loans subject to outstanding Transactions) 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); 
 (c) Margin Maintenance. No Margin Deficiency shall exist; 

(d) Due Diligence. Subject to the Buyer’s right to perform one or more Due Diligence Reviews pursuant to Section 13.23
hereof, the Buyer (or the Agent on behalf of the Buyer) shall have completed its due diligence review of the Mortgage Loan Documents for each Transaction and such other documents, records, agreements, instruments, mortgaged properties or information
relating to such Mortgage Loans as the Buyer (or the Agent on behalf of the Buyer) in its sole discretion deems appropriate to review and such review shall be satisfactory to the Buyer (or the Agent on behalf of the Buyer) in its sole discretion;

 (e) Mortgage Loan Schedule and Exception Report. The Buyer shall have received from the Custodian a Mortgage Loan Schedule and
Exception Report with Exceptions as are acceptable to the Buyer in its sole discretion in respect of Eligible Mortgage Loans to be purchased hereunder on such Business Day; 

(f) Release Letter. The Agent shall have received from the Seller a Warehouse Lender’s Release Letter, if applicable, substantially
in the form of Exhibit D-1 hereto (or such other form acceptable to the Agent) or a Qualified Originator’s Release Letter, if applicable, substantially in the form of Exhibit D-2 covering each Eligible Mortgage Loan to be sold to
the Buyer; 

  
 38 

 (g) Good Standing Certificate. At the request of the Agent, the Seller shall deliver to
the Agent a good standing certificate dated as of a recent date, but in no event more than ten (10) days prior to the date of such Transaction; 

(h) Fees and Expenses. The Buyer shall have received all fees and expenses payable by the Seller (including, without limitation, all of
the Buyer’s attorney fees and expenses as contemplated by Section 13.04(c) and due diligence expenses then due and owing) which amount, at the Buyer’s option, may be netted from the amount of Purchase Price to be paid to the Seller in
connection with any Transaction entered into under this Repurchase Agreement; 
 (i) Takeout Assignment. Upon the request of the
Buyer, the Buyer shall have received a Takeout Assignment for each Takeout Commitment relating to any Purchased Loan subject to a Transaction outstanding as of the Purchase Date; 

(j) No Market Events. None of the following shall have occurred and/or be continuing: 

(i) an event or events shall have occurred resulting in the effective absence of a “repo market” or comparable “lending
market” for financing debt obligations secured by mortgage loans or securities or an event or events shall have occurred resulting in the Buyer not being able to finance any 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; 

(ii) 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 the Buyer not being able to sell securities backed by mortgage loans at prices which would have been reasonable prior to such event or events; 

(iii) there shall have occurred a material adverse change in the financial condition of the Buyer which affects (or can reasonably be expected
to affect) materially and adversely the ability of the Buyer to fund its obligations under this Repurchase Agreement; or 
 (iv) an event
beyond the control of the Buyer which the Buyer reasonably determines may result in the Buyer’s inability to perform its obligations under this Repurchase Agreement including, without limitation, acts of God, strikes, lockouts, riots, acts of
war or terrorism, epidemics, nationalization, expropriation, currency restrictions, fire, communication line failures, computer viruses, power failures, earthquakes, or other disasters of a similar nature to the foregoing shall have occurred or be
continuing. 
 (k) Filings, Registrations, Recordings. Any documents (including, without limitation, financing statements) required to
be filed, registered or recorded in order to create, in favor of the Buyer, a perfected, first-priority security interest in the Purchased Items, subject to no Liens other than those created hereunder, shall have been properly prepared and executed
for filing (including the applicable county(ies) if the Buyer determines such filings are necessary in its sole discretion), registration or recording in each office in each jurisdiction in which such filings, registrations and recordations are
required to perfect such first-priority security interest; 

  
 39 

 provided, that assignments of the Mortgages securing or related to the Mortgage Loans shall not be
required to be recorded prior to the occurrence of an Event of Default. 
 (l) No Adverse Litigation. The Buyer (or the Agent on
behalf of the Buyer) shall not have determined that there is any action, proceeding or investigation by or before any Governmental Authority affecting the Seller, or any of its Affiliates or Property (including, without limitation, any Purchased
Loan), which is reasonably likely to be adversely determined and which, if decided adversely, would have a reasonable likelihood of having a Material Adverse Effect. 

(m) Legal Sale. With respect to any Mortgage Loan that was funded in the name of an Affiliate of the Seller, the Buyer may, in its sole
discretion, require the Seller to provide evidence sufficient to satisfy the Buyer that such Mortgage Loan was acquired in a legal sale, including without limitation, an opinion, in form and substance and from an attorney, in both cases, acceptable
to the Buyer in its sole discretion, that such Mortgage Loan was acquired in a legal sale. 
 Each request for a Transaction by the Seller hereunder shall
constitute a certification by the Seller that all the conditions set forth in this Section 5 (other than Section 5.02(i) and (j)) have been satisfied (both as of the date of such notice, request or confirmation and as of the
Purchase Date therefor). 
 Section 6. Representations and Warranties. The Seller represents and warrants to the Buyer that
throughout the term of this Repurchase Agreement: 
 6.01 Legal Name. On the Effective Date, the exact legal name of the Seller is
loanDepot.com, LLC, and the Seller has not used any previous names, assumed names or trade names except as set forth on Schedule 4 attached hereto. 

6.02 Existence. The Seller (a) is a corporation duly organized, validly existing and in good standing under the laws of the
jurisdiction of its organization; (b) 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; and (c) 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. 

6.03 Financial Condition. The Seller has heretofore furnished to the Buyer a copy of (a) its consolidated balance sheet and the
consolidated balance sheets of its consolidated Subsidiaries for the fiscal year of the Seller ended December 31, 2014 (the “Financial Statement Date”) and the related consolidated statements of income and retained
earnings and of cash flows for the Seller and its consolidated Subsidiaries for such fiscal year, setting forth in each case in comparative form the figures for the previous year, with the opinion thereon of Grant Thornton and (b) its
consolidated balance sheet and the consolidated balance sheets of its consolidated Subsidiaries for the quarterly fiscal period of the Seller ended June 30, 2015 and the related 

  
 40 

 
consolidated statements of income and retained earnings and of cash flows for the Seller and its consolidated Subsidiaries for such quarterly fiscal period, 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 financial condition of the Seller and its Subsidiaries and the consolidated
results of their operations as at such dates and for such fiscal periods, all in accordance with GAAP applied on a consistent basis. Since the Financial Statement Date, there has been no material adverse change in the consolidated business,
operations or financial condition of the Seller and its consolidated Subsidiaries taken as a whole from that set forth in the financial statements delivered for the fiscal year of the Seller ending on such date. 

6.04 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 the Seller or any of its Subsidiaries or affecting any of the Property of any of them before any Governmental Authority that (i) questions or challenges the validity
or enforceability of any of the Repurchase Documents or any action to be taken in connection with the transactions contemplated hereby, (ii) makes a claim or claims in an aggregate amount greater than $5,000,000, (iii) which, individually
or in the aggregate, if adversely determined, could reasonably be likely to have a Material Adverse Effect, or (iv) requires filing with the Securities and Exchange Commission in accordance with the 1934 Act or any rules thereunder. 

6.05 No Breach. Neither (a) the execution and delivery of the Repurchase Documents nor (b) the consummation of the
transactions therein contemplated in compliance with the terms and provisions thereof will (x) conflict with any applicable law (including, without limitation, Prescribed Laws), rule or regulation, or any order, writ, injunction or decree of
any Governmental Authority, other than such conflicts or breaches that would not result in a Material Adverse Effect, or (y) conflict with or result in a breach of the charter or by-laws of the Seller, or any Servicing Agreement or other
material agreement or instrument to which the Seller or any of its Subsidiaries is a party or by which any of them or any of their Property is bound or to which any of them is subject, or constitute a default under any such material agreement or
instrument or result in the creation or imposition of any Lien (except for the Liens created pursuant to this Repurchase Agreement) upon any Property of the Seller or any of its Subsidiaries pursuant to the terms of any such agreement or instrument.

 6.06 Action. The Seller has all necessary corporate or other power, authority and legal right to execute, deliver and perform its
obligations under each of the Repurchase Documents; the execution, delivery and performance by the Seller of each of the Repurchase Documents have been duly authorized by all necessary corporate or other action on its part; and each Repurchase
Document has been duly and validly executed and delivered by the Seller and constitutes a legal, valid and binding obligation of the Seller, enforceable against the Seller in accordance with its terms. 

  
 41 

 6.07 Approvals. 

(a) No authorizations, approvals or consents of, and no filings or registrations with, any Governmental Authority or any securities exchange
are necessary for the execution, delivery or performance by the Seller of the Repurchase Documents or for the legality, validity or enforceability thereof, except for filings and recordings in respect of the Liens created pursuant to this Repurchase
Agreement. 
 (b) The Seller is approved by Fannie Mae, Freddie Mac and Ginnie Mae as an approved lender, the Seller and each Servicer is
approved by Fannie Mae, Freddie Mac and Ginnie Mae as an approved seller and servicer and the Seller has all other approvals required with respect to the FHA, VA, RHS and any other Agency, in each case is in good standing (such collective approvals
and conditions, “Agency Approvals”), with no event having occurred or the Seller having any reason whatsoever to believe or suspect will occur (including, without limitation, a change in insurance coverage) which would either make
the Seller (or any Servicer) unable to comply with the eligibility requirements for maintaining all such applicable Agency Approvals or require notification to the relevant Agency. The Seller (and any Servicer) 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. 

6.08 Margin Regulations. Neither the making of any Transaction hereunder, nor the use of the proceeds thereof, will violate or be
inconsistent with the provisions of Regulation T, U or X. 
 6.09 Taxes. The Seller and its Subsidiaries have timely filed all Federal
income tax returns and all other material tax returns that are required to be filed by them and have paid all taxes due and payable (whether or not reflected on such tax returns), except for any such taxes as are being appropriately contested in
good faith by appropriate proceedings diligently conducted and with respect to which adequate reserves have been provided. The charges, accruals and reserves on the books of the Seller and its Subsidiaries in respect of taxes and other governmental
charges are, in the reasonable opinion of the Seller, adequate. 
 6.10 Investment Company Act. Neither the 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. 

6.11 Purchased Items; Security. 

(a) The Seller has not assigned, pledged, or otherwise conveyed or encumbered any Purchased Loan to any other Person, and immediately prior to
the sale of such Purchased Loan to the Buyer, the Seller was the sole owner of such Purchased Loan 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
the Buyer hereunder and Liens granted in favor of the Buyer hereunder. No Purchased Loan sold to the Buyer hereunder was acquired (by purchase or otherwise) by the Seller from an Affiliate of the Seller. 

(b) The provisions of this Repurchase Agreement are effective to create in favor of the Buyer a valid security interest in all right, title and
interest of the Seller in, to and under the Purchased Items. 

  
 42 

 (c) Upon (i) receipt by the Custodian of each Mortgage Note endorsed in blank, and each
assignment of the related Mortgage, assigned in blank, by a duly authorized officer of the Seller unless the related Mortgage Loan is registered in the MERS System in which case the Seller shall provide evidence of such registration, and
(ii) the issuance by the Custodian to the Buyer of the Master Trust Receipt and Mortgage Loan Schedule therefor, the Buyer shall have a fully perfected first priority security interest therein, in the Purchased Loan evidenced thereby and in the
Seller’s interest in the related Mortgaged Property, in the event that any Transaction was construed to constitute a financing rather than a sale. 

(d) Upon the filing of financing statements on Form UCC-1 naming the Buyer as “Secured Party” and the Seller as “Debtor,”
and describing the Purchased Items as the “Collateral,” in the jurisdictions and recording offices listed on Schedule 2 attached hereto, the security interests granted hereunder in the Purchased Items will constitute fully perfected
first priority security interests under the Uniform Commercial Code in all right, title and interest of the Seller in, to and under such Purchased Items which can be perfected by filing under the Uniform Commercial Code, in the event that any
Transaction is construed to constitute a financing rather than a sale. 
 6.12 Chief Executive Office/Jurisdiction of Organization. On
the Effective Date, the Seller’s chief executive office and operational facilities are located at 26642 Towne Centre Drive, Foothill Ranch, CA 92610. On the Effective Date, the Seller’s jurisdiction of organization is Delaware. 

6.13 Location of Books and Records. The location where the Seller keeps its books and records, including all computer tapes and records
relating to the Purchased Items is its chief executive office. 
 6.14 Hedging. The Seller has entered hedging arrangements consistent
with the Seller’s Interest Rate Risk Management Policy. The Seller shall provide prompt notice to Buyer of any change to the Seller’s Interest Rate Risk Management Policy. 

6.15 True and Complete Disclosure. The information, reports, financial statements, exhibits and schedules furnished in writing by or on
behalf of the Seller to the Buyer in connection with the negotiation, preparation or delivery of this Repurchase Agreement and the other Repurchase 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 the Seller to the Buyer in connection with this Repurchase Agreement and the other Repurchase Documents and the transactions contemplated hereby and thereby will be true, complete and accurate in
every material respect, or (in the case of projections) based on reasonable estimates, on the date as of which such information is stated or certified. There is no fact known to a Responsible Officer of the Seller, after due inquiry, that could
reasonably be expected to have a Material Adverse Effect that has not been disclosed herein, in the other Repurchase Documents or in a report, financial statement, exhibit, schedule, disclosure letter or other writing furnished to the Buyer for use
in connection with the transactions contemplated hereby or thereby. 

  
 43 

 6.16 Tangible Net Worth. On the Effective Date, the Tangible Net Worth of the Seller is
not less than $140,000,000. 
 6.17 ERISA. Each Plan to which the Seller or its Subsidiaries make direct contributions, and, to the
knowledge of the Seller, each other Plan and each Multiemployer Plan, is in compliance in all material respects with, and has been administered in all material respects in compliance with, the applicable provisions of ERISA, the Code and any other
Federal or State law. No event or condition has occurred and is continuing as to which the Seller would be under an obligation to furnish a report to the Buyer under Section 7.01(d) hereof. The present value of all accumulated benefit
obligations under each Plan subject to Title IV of ERISA (based on the assumptions used for purposes of Statement of Financial Accounting Standards No. 87) did not, as of the date of the most recent financial statements reflecting such amounts,
exceed the fair market value of the assets of such Plan, and the present value of all accumulated benefit obligations of all Plans (based on the assumptions used for purposes of Statement of Financial Accounting Standards No. 87) did not, as of
the date of the most recent financial statements reflecting such amounts, exceed the fair market value of the assets of all such Plans. The Seller and its Subsidiaries do not provide any material medical or health benefits to former employees other
than as required by the Consolidated Omnibus Budget Reconciliation Act, as amended, or similar state or local law at no cost to the employer. 

6.18 Delivery of Mortgage Loans. The Seller has no reason to believe, after reasonable and diligent inquiry respecting (among other
things) the relevant Mortgage Loan Documents, the characteristics and quality of the Mortgage Loans, that the transfer will not occur as required pursuant to this Repurchase Agreement. 

6.19 Subsidiaries. The Seller has no subsidiaries other than those set forth on Schedule 3 hereto. 

6.20 Regulatory Status. The Seller is not a “bank holding company” or a direct or indirect subsidiary of a “bank holding
company” as defined in the Bank Holding Company Act of 1956, as amended, and Regulation Y thereunder of the Board of Governors of the Federal Reserve System. 

6.21 Takeout Commitments; Takeout Assignments. Each Takeout Commitment (if any) has been delivered by the Seller and constitutes a
valid, binding and existing obligation of a Takeout Investor, enforceable against the Seller and the Takeout Investor, respectively, in accordance with its terms (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 relating to specific performance). If requested by the Buyer, each Takeout Commitment (if any) has been duly and validly assigned by the Seller to the Buyer
pursuant to a Takeout Assignment. 
 6.22 Identification of Servicer(s). Each Servicer of any Mortgage Loans shall be identified in
writing to the Buyer and must be acceptable to the Buyer in its sole reasonable discretion. The Seller shall provide written notification to the Buyer within one (1) Business Day of any rating agency reducing the credit or servicer rating
applicable to any Servicer. 

  
 44 

 6.23 Solvency. After giving effect to each Transaction (i) the amount of the
“present fair saleable value” of the assets of the Seller and of the Seller and its Subsidiaries, taken as a whole, will, as of such date, exceed the amount of all “liabilities of the Seller and of the Seller and its Subsidiaries,
taken as a whole, contingent or otherwise,” as of such date, as such quoted terms are determined in accordance with applicable federal and state laws governing determinations of the insolvency of debtors, (ii) the present fair saleable
value of the assets of the Seller and of the Seller and its Subsidiaries, taken as a whole, will, as of such date, be greater than the amount that will be required to pay the liabilities of the Seller and of the Seller and its Subsidiaries, taken as
a whole, on their respective debts as such debts become absolute and matured, (iii) neither the Seller, nor the Seller and its Subsidiaries, taken as a whole, will have, as of such date, an unreasonably small amount of capital with which to
conduct their respective businesses, and (iv) the Seller and the Seller and its Subsidiaries, taken as a whole, will be able to pay their respective debts as they mature. The Seller does not intend to incur, or believe that it has incurred,
debts beyond its ability to pay such debts as they mature. The Seller is not contemplating the commencement of insolvency, bankruptcy, liquidation or consolidation proceedings or the appointment of a receiver, liquidator, conservator, trustee or
similar official in respect of the Seller or any of its assets. The Seller is not transferring any Mortgage Loans with any intent to hinder, delay or defraud any of its creditors. For purposes of this Section, “debt” means “liability
on a claim,” “claim” means any (x) right to payment, whether or not such a right is reduced to judgment, liquidated, unliquidated, fixed, contingent, matured, unmatured, disputed, undisputed, legal, equitable, secured or
unsecured, and (y) right to an equitable remedy for breach of performance if such breach gives rise to a right to payment, whether or not such right to an equitable remedy is reduced to judgment, fixed, contingent, matured or unmatured,
disputed, undisputed, secured or unsecured. 
 6.24 Massachusetts Subprime Loans, Nevada Subprime Loans and Loans Subject to Consent or
Other Orders. No Purchased Loan which is a Massachusetts Subprime Loan violates the Massachusetts Borrower’s Best Interest Statute (M.G.L. 183 § 28c) or is presumptively unfair under M.G.L. c 93A, as such term is defined in
Massachusetts law and court decisions, no Purchased Loan is a Nevada Subprime Loan and no Purchased Loan violates any consent order or decree or any judicial, regulatory, administrative or other similar judgments, orders, stipulations, awards, writs
or injunctions applicable to the Buyer. 
 6.25 [Reserved.]. 

6.26 True Sales. Any and all interest of a Qualified Originator in, to and under any Mortgage funded in the name of or acquired by such
Qualified Originator or seller which is an Affiliate of the Seller has been sold, transferred, conveyed and assigned to the Seller pursuant to a legal sale and such Qualified Originator retains no interest in such Loan, and if so requested by the
Buyer with reasonable discretion, such sale is covered by an opinion of counsel to that effect in form and substance acceptable to the Buyer. 

6.27 No Burdensome Restrictions. No Requirement of Law or Contractual Obligation of the Seller has a Material Adverse Effect. 

  
 45 

 6.28 Origination and Acquisition of Mortgage Loans. The Mortgage Loans were originated by
the Seller or a Qualified Originator, and the origination and collection practices used by the Seller or Qualified Originator, as applicable, with respect to the Mortgage Loans have been, in all material respects legal and in compliance with all
laws with respect to unfair and deceptive lending practices and Predatory Lending Practices, proper, prudent and customary in the residential mortgage loan origination and servicing business, and in accordance with FHA, VA, RHS, Ginnie Mae, Fannie
Mae and Freddie Mac standards as applicable, and in accordance with the Underwriting Guidelines. All Mortgage Loans are in conformity with the Underwriting Guidelines and are eligible for sale to Ginnie Mae, Fannie Mae or Freddie Mac or for guaranty
by the VA or the RHS or for insurance by the FHA, and satisfy all applicable requirements for delivery to the appropriate Agency. Each of the Mortgage Loans complies with the representations and warranties listed in Schedule 1 hereto. The Seller
shall assure that the Buyer has access to the Freddie Mac Loan Prospector (LP) Fannie Mae DeskTop Underwriting (DU) to confirm the approved status of the Mortgage Loans under such programs; provided that LP and DU are not used for Mortgage Loans
that are part of the “VA IRRRL” or “FHA Streamline” programs. 
 6.29 No Broker. The Seller has not dealt with any
broker, investment banker, agent, or other person, except for the Buyer, who may be entitled to any commission or compensation in connection with the sale of Purchased Loans pursuant to this Repurchase Agreement; provided, that if the Seller
has dealt with any broker, investment banker, agent, or other person, except for the Buyer, who may be entitled to any commission or compensation in connection with the sale of Purchased Loans pursuant to this Agreement, such commission or
compensation shall have been paid in full by the Seller. 
 6.30 FHA/VA/RHS. Each of the Seller and/or any other Qualified Originator,
if applicable, is an FHA Approved Mortgagee, a VA Approved Lender and a Rural Housing Service Approved Lender, in good standing to originate and service mortgages and has not been suspended as a mortgagee or servicer by the FHA, VA or RHS, as
applicable. The Seller and Servicer are not under review or investigation or have knowledge of imminent or future investigation, by the FHA, VA or RHS. 

6.31 Seller’s Internal Mortgage Tracking System. Each printout and paper copy produced by the Seller’s internal mortgage
tracking system and delivered to the Buyer is true, complete and accurate in all material respects. 
 6.32 Servicer Approvals; Compliance
with Guidelines. The Seller (in its capacity as Servicer, if applicable), and any third-party Servicer servicing any Purchased Loans hereunder has all consents, licenses and approvals necessary to service loans on behalf of each Agency and has
remained at all times in compliance with the Guidelines. 
 6.33 Fannie Mae/Freddie Mac/Ginnie Mae. Each of the Seller and/or any
other Qualified Originator, if applicable, and Servicer, if applicable is, as applicable, a seller approved by Fannie Mae, Freddie Mac and Ginnie Mae, in good standing to originate and service mortgages and has not been suspended as a mortgagee or
servicer by Fannie Mae, Freddie Mac or Ginnie Mae. The Seller and Servicer are not under review or investigation or have knowledge of imminent or future investigation, by Fannie Mae, Freddie Mac or Ginnie Mae. 

  
 46 

 6.34 Servicing. The Seller or any third party Servicer 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. 

Section 7. Covenants of the Seller. The Seller covenants and agrees with the Buyer that, so long as any Transaction is outstanding
and until payment in full of all Repurchase Obligations: 
 7.01 Financial Statements. The Seller shall deliver to the Buyer: 

(a) as soon as available, and in any event not later than thirty (30) days after the end of each calendar month, the unaudited
consolidated balance sheet of the Seller and its consolidated Subsidiaries as at the end of such month and the related unaudited consolidated statement of income and retained earnings and consolidated statement of equity of the Seller and its
consolidated Subsidiaries for such month and the portion of the fiscal year through the end of such month, setting forth in each case in comparative form the figures for the previous year, accompanied by a certificate of a Responsible Officer of the
Seller, which certificate shall state that said consolidated financial statements fairly present the consolidated financial condition and results of operations of the Seller and its consolidated Subsidiaries in accordance with GAAP, consistently
applied, as at the end of, and for, such period (subject to normal year-end audit adjustments); 
 (b) as soon as available and in any event
within forty-five (45) days after the end of each of the first three quarterly fiscal periods of each fiscal year of the Seller, the unaudited consolidated balance sheet of the Seller and its consolidated Subsidiaries as at the end of such
period and the related unaudited consolidated statement of income and retained earnings, consolidated statement of cash flows and consolidated statement of equity for the Seller and its consolidated Subsidiaries for such period and the portion of
the fiscal year through the end of such period, setting forth in each case in comparative form the figures for the previous year, accompanied by a certificate of a Responsible Officer of the Seller, which certificate shall state that said
consolidated financial statements fairly present the consolidated financial condition and results of operations of the Seller and its consolidated Subsidiaries in accordance with GAAP, consistently applied, as at the end of, and for, such period
(subject to normal year-end audit adjustments); 
 (c) as soon as available and in any event within ninety (90) days after the end of
each fiscal year of the Seller, the consolidated balance sheet of the Seller and its consolidated Subsidiaries as at the end of such fiscal year and the related consolidated statement of income and retained earnings, consolidated statement of cash
flows and consolidated statement of equity for the Seller and its consolidated Subsidiaries for such year, setting forth in each case in comparative form the figures for the previous year, accompanied by an opinion thereon of independent certified
public accountants of recognized national standing, which opinion shall not be qualified as to scope of audit or going concern and shall state that said consolidated financial statements fairly present the consolidated financial condition and
results of operations of the Seller and its consolidated Subsidiaries as at the end of, and for, such fiscal year in accordance with GAAP, and a certificate of such accountants stating that, in making the examination necessary for their opinion,
they obtained no knowledge, except as specifically stated, of any Default or Event of Default; 

  
 47 

 (d) from time to time such other information regarding the financial condition, operations, or
business of the Seller as the Buyer may reasonably request; and 
 (e) as soon as reasonably possible, and in any event within thirty
(30) days after a Responsible Officer of the Seller knows, or with respect to any Plan or Multiemployer Plan to which the Seller or any of its Subsidiaries makes direct contributions, has reason to believe, that any of the events or conditions
specified below with respect to any Plan or Multiemployer Plan has occurred or exists, a statement signed by a senior financial officer of the Seller setting forth details respecting such event or condition and the action, if any, that the Seller or
its ERISA Affiliate proposes to take with respect thereto (and a copy of any report or notice required to be filed with or given to PBGC by the Seller or an ERISA Affiliate with respect to such event or condition): 

(i) any reportable event, as defined in Section 4043(c) of ERISA and the regulations issued thereunder, with respect to a Plan, as
to which PBGC has not by regulation waived the requirement of Section 4043(a) of ERISA that it be notified within thirty (30) days of the occurrence of such event (provided that a failure to meet the minimum funding standard of
Section 412 of the Code or Section 302 of ERISA, including without limitation the failure to make on or before its due date a required installment under Section 412(m) of the Code or Section 302(e) of ERISA, shall be a reportable
event regardless of the issuance of any waivers in accordance with Section 412(d) of the Code); and any request for a waiver under Section 412(d) of the Code for any Plan; 

(ii) the distribution under Section 4041(c) of ERISA of a notice of intent to terminate any Plan or any action taken by the Seller
or an ERISA Affiliate to terminate any Plan; 
 (iii) the institution by PBGC of proceedings under Section 4042 of ERISA for the
termination of, or the appointment of a trustee to administer, any Plan, or the receipt by the Seller or any ERISA Affiliate of a notice from a Multiemployer Plan that such action has been taken by PBGC with respect to such Multiemployer Plan; 

(iv) the complete or partial withdrawal from a Multiemployer Plan by the Seller or any ERISA Affiliate that results in liability under
Section 4201 or 4204 of ERISA (including the obligation to satisfy secondary liability as a result of a purchaser default) or the receipt by the Seller or any ERISA Affiliate of notice from a Multiemployer Plan that it is in reorganization or
insolvency pursuant to Section 4241 or 4245 of ERISA or that it intends to terminate or has terminated under Section 4041A of ERISA; 

(v) the institution of a proceeding by a fiduciary of any Multiemployer Plan against the Seller or any ERISA Affiliate to enforce
Section 515 of ERISA, which proceeding is not dismissed within thirty (30) days; and 
 (vi) the adoption of an amendment to
any Plan that would result in the loss of tax-exempt status of the Plan and trust of which such Plan is a part if the Seller or an ERISA Affiliate fails to provide timely security to such Plan if and as required by the provisions of
Section 401(a)(29) of the Code or Section 307 of ERISA. 

  
 48 

 The Seller will furnish to the Buyer, at the time it furnishes each set of financial statements pursuant to
paragraphs (a) above, an officer’s certificate in the form of Exhibit M hereto (each a “Compliance Certificate”) signed by a Responsible Officer of the Seller (i) certifying that, both immediately prior
to the entering into of each Transaction that has been entered into during the period since the delivery to Buyer of the immediately preceding Compliance Certificate (or, with respect to the first such certificate, since the Effective Date) and also
after giving effect to each such Transaction and to the intended use of the Purchase Price paid to the Seller in respect thereof, the representations and warranties made by the Seller in Section 6 and Schedule 1 hereof, and
elsewhere in each of the Repurchase Documents, were true, correct and complete in all material respects on and as of the date of the making of each such Transaction (in the case of the representations and warranties in Section 6.11 and
Schedule 1, solely with respect to Purchased Loans subject to such outstanding Transactions) 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), (ii) certifying that Seller is, and as of the date of each Transaction that was entered during the period since the delivery to Buyer of the immediately preceding Compliance Certificate (or, with
respect to the first such certificate, since the Effective Date) was, in compliance with all governmental licenses and authorizations, statutory and regulatory requirements, and qualified to do business and in good standing in all required
jurisdictions, (iii) stating that, to the best of such Responsible Officer’s knowledge, the Seller during such fiscal period or year has observed or performed all of its covenants and other agreements, and satisfied every condition,
contained in this Repurchase Agreement and the other Repurchase Documents to be observed, performed or satisfied by it, and that such Responsible Officer has obtained no knowledge of any Default or Event of Default except as specified in such
certificate (and, if any Default or Event of Default has occurred and is continuing, describing the same in reasonable detail and describing the action the Seller has taken or proposes to take with respect thereto), (iv) showing in detail the
calculations supporting such Responsible Officer’s certification of the Seller’s compliance with the requirements of Sections 7.14, 7.15, 7.16 and 7.18 and (v) stating that neither Seller nor any of its
Affiliates has entered into a new, or amended any existing, repurchase agreement or other warehouse credit facility with any Person that is a More Favorable Agreement, as defined in Section 7.35 of this Repurchase Agreement, or the new
terms have been provided to Buyer and are set forth on a schedule attached to such certificate. 
 7.02 Litigation. The Seller will
promptly, and in any event within 10 days after service of process on any of the following, give to the Buyer notice of all litigation, actions, suits, arbitrations, investigations (including, without limitation, any of the foregoing which are
pending or threatened) or other legal or arbitrable proceedings affecting the Seller or any of its Subsidiaries or affecting any of the Property of any of them before any Governmental Authority that (i) questions or challenges the validity or
enforceability of any of the Repurchase Documents or any action to be taken in connection with the transactions contemplated hereby, (ii) makes a claim or claims in an aggregate amount greater than $5,000,000, (iii) which, individually or
in the aggregate, if adversely determined, could be reasonably likely to have a Material Adverse Effect, or (iii) requires filing with the Securities and Exchange Commission in accordance with the 1934 Act and any rules thereunder. 

  
 49 

 7.03 Existence, etc. The Seller will: 

(a) preserve and maintain its legal existence and all of its material rights, privileges, licenses and franchises (including, but not limited
to, any FHA, VA or RHS licenses) or approvals (provided that nothing in this Section 7.03(a) shall prohibit any transaction expressly permitted under Section 7.04 hereof); 

(b) comply with the requirements of all applicable laws, rules, regulations and orders of Governmental Authorities (including, without
limitation, Prescribed Laws, all environmental laws, all laws with respect to unfair and deceptive lending practices and Predatory Lending Practices) if failure to comply with such requirements would be reasonably likely (either individually or in
the aggregate) to have a Material Adverse Effect; 
 (c) keep adequate records and books of account, in which complete entries will be made
in accordance with GAAP consistently applied; 
 (d) not change its jurisdiction of organization from the jurisdiction referred to in
Section 6.11 unless it shall have provided the Buyer thirty (30) days’ prior written notice of such change; 
 (e) pay
and discharge or cause to be paid and discharged, when due, all taxes, assessments and governmental charges or levies imposed upon the Seller or upon its income and profits or upon any of its property, real, personal or mixed (including without
limitation, the Purchased Loans) or upon any part thereof, as well as any other lawful claims which, if unpaid, might become a Lien upon such properties or any part thereof, except for any such taxes, assessments and governmental charges, levies or
claims as are appropriately contested in good faith by appropriate proceedings diligently conducted and with respect to which adequate reserves are provided, and (ii) file on a timely basis all federal, state and local tax and information
returns, reports and any other information statements or schedules required to be filed by or in respect of it; and 
 (f) permit
representatives of the Buyer, during normal business hours, to examine, copy and make extracts from its books and records, to inspect any of its Properties, and to discuss its business and affairs with its officers, all to the extent reasonably
requested by the Buyer by at least three (3) calendar days’ prior written notice provided to the Seller. 
 7.04 Prohibition of
Fundamental Changes. The Seller shall not enter into any transaction of merger or consolidation or amalgamation, or liquidate, wind up or dissolve itself (or suffer any liquidation, winding up or dissolution). The Seller shall not, without the
prior written consent of the Buyer, directly or indirectly alter, modify or otherwise change: (i) its current business operations; and (ii) its current mortgage loan origination platform (including but not limited to its process of
mortgage loan acquisitions). Other than in the ordinary course of business, the Seller shall not convey, sell, lease, assign, transfer or otherwise dispose of (collectively, “Transfer”), all or substantially all of its Property, business
or assets (including, without limitation, receivables and leasehold interests) whether now owned or hereafter acquired or allow any Subsidiary to Transfer substantially all of its assets to any Person; provided, that the Seller may after prior
written notice to the Buyer allow such action with respect to any 

  
 50 

 
Subsidiary which is not a material part of the Seller’s overall business operations. Other than in the ordinary course of business, the Seller shall not create or acquire any Subsidiary
without the prior written consent of the Buyer. Seller shall not create or acquire any Subsidiary for the purpose of circumventing Buyer’s interest in the Purchased Loans. 

7.05 Margin Deficiency. If at any time there exists a Margin Deficiency, the Seller shall cure such Margin Deficiency in accordance with
Section 2.06 hereof. 
 7.06 Notices. The Seller shall give notice to the Buyer and the Agent: 

(a) promptly upon receipt of notice or knowledge of the occurrence of any Default or Event of Default; 

(b) with respect to any Purchased Loan sold to the Buyer hereunder, immediately upon receipt of any principal payment of such Purchased Loan;

 (c) with respect to any Purchased Loan sold to the Buyer hereunder, immediately upon receipt of notice or knowledge that the underlying
Mortgaged Property has been damaged by waste, fire, earthquake or earth movement, windstorm, flood, tornado or other casualty, or otherwise damaged so as to affect adversely the Market Value of such Purchased Loan or that such Purchased Loan
breaches any representation or warranty listed on Schedule 1 hereto; 
 (d) promptly upon receipt of notice or knowledge of (i) any
default related to any Purchased Items, (ii) any Lien or security interest (other than security interests created hereby or by the other Repurchase Documents) on, or claim asserted against, any of the Purchased Items or (iii) any event or
change in circumstances which could reasonably be expected to have a Material Adverse Effect; 
 (e) [reserved]; 

(f) promptly upon notice or knowledge of the occurrence of any event (other than a Reportable Event) described in Section 8(n)
hereof without regard to its materiality; 
 (g) promptly upon notice or knowledge of the occurrence of any material Reportable Event; and

 (h) promptly upon any change in the name or ownership of Seller. 

Each notice pursuant to this Section shall be accompanied by a statement of a Responsible Officer of the Seller setting forth details of the
occurrence referred to therein and stating what action the Seller has taken or proposes to take with respect thereto. 
 7.07 Hedging
Arrangements. The Seller shall at all times maintain hedging arrangements consistent with the Seller’s Interest Rate Risk Management Policy. The Seller shall provide prompt notice to Buyer of any change to the Seller’s Interest Rate
Risk Management Policy. 

  
 51 

 7.08 Reports. The Seller shall provide the Buyer with a quarterly report, which report
shall include, among other items, (a) a summary of the Seller’s delinquency and loss experience with respect to mortgage loans serviced by the Seller, any Servicer or any designee of either, plus any such additional reports as the Buyer
may reasonably request with respect to the Seller’s or any Servicer’s servicing portfolio or pending originations of mortgage loans and (b) a mark to market summary of any residual and/or subordinate securities held by the Seller. To
the extent not prohibited by any law (including, without duplication, Prescribed Laws and all laws with respect to unfair and deceptive lending practices and Predatory Lending Practices) , treaty, rule or regulation or determination of an arbitrator
or a court or other Governmental Authority, the Seller shall provide notice upon becoming aware of any penalties, sanctions or charges levied, or threatened to be levied, against it or any change or threatened change in approval status, or the
commencement of any Agency audit (other than an audit conducted for due diligence purposes in the normal course of business by an Agency in accordance with the Agency’s policies) or investigation, or the institution of any action or the threat
of institution of any action against Seller by any Agency, HUD or any other agency, or any supervisory or regulatory Governmental Authority supervising or regulating the origination or servicing of mortgage loans by, or the issuer or seller status
of, the Seller. In addition, on a monthly basis, the Seller shall provide to the Buyer a report specifying the 6-month rolling average rate of rejection by Fannie Mae or Freddie Mac of sales by the Seller and/or any Subsidiary or Affiliate of the
Seller, the 6-month rolling average ratio of sales to Fannie Mae or Freddie Mac to proposed sales by the Seller and/or any Subsidiary or Affiliate of the Seller. 

7.09 Reserved. 

7.10 Transactions with Affiliates. The Seller will not enter into any transaction, including without limitation any purchase, sale,
lease or exchange of property or the rendering of any service, with any Affiliate unless such transaction is (a) otherwise permitted under this Repurchase Agreement, (b) in the ordinary course of the Seller’s business and
(c) upon fair and reasonable terms no less favorable to the Seller than it would obtain in a comparable arm’s length transaction with a Person which is not an Affiliate, or make a payment that is not otherwise permitted by this
Section 7.10 to any Affiliate. In no event shall the Seller sell to the Buyer hereunder any Purchased Loan acquired by the Seller from an Affiliate of the Seller. 

7.11 Limitation on Liens. The Seller will defend the Purchased Items against, and will take such other action as is necessary to remove,
any Lien, security interest or claim on or to the Purchased Items, other than the security interests created under this Repurchase Agreement, and the Seller will defend the right, title and interest of the Buyer in and to any of the Purchased Items
against the claims and demands of all persons whomsoever. 
 7.12 Limitation on Guarantees. The Seller shall not create, incur, assume
or suffer to exist any Guarantees that could result in a Material Adverse Effect of the Seller. 
 7.13 Limitation on Distributions.
Upon an Event of Default, the Seller shall not declare or pay any dividends upon any shares of the Seller’s stock now or hereafter outstanding, nor shall the Seller set apart assets for, a sinking or other analogous fund for the purchase,
redemption, defeasance, retirement or other acquisition of any equity or partnership interest of the Seller, whether now or hereafter outstanding, or make any other distribution in respect of any of the foregoing or to any shareholder or equity
owner of the Seller, either directly or indirectly, whether in cash or property or in obligations of the Seller or any of the Seller’s consolidated Subsidiaries. 

  
 52 

 7.14 Maintenance of Tangible Net Worth. The Seller shall not permit its Tangible Net Worth
at any time to be less than $140,000,000. 
 7.15 Maintenance of Ratio of Total Indebtedness to Tangible Net Worth and Non-Agency
Indebtedness to Tangible Net Worth. The Seller shall not permit the ratio of Total Indebtedness to Tangible Net Worth at any time to be greater than 12:1. 

7.16 Maintenance of Profitability. The Seller shall not permit Net Income (before income taxes), generated over a consecutive three
month period, measured on the last day of each month, to be less than $1.00. 
 7.17 Servicer; Servicing File. The Seller shall
provide to the Agent on the fifth Business Day of each month a computer readable file containing servicing information, including without limitation those fields specified by the Agent from time to time, on a loan-by-loan basis and in the aggregate,
with respect to the Mortgage Loans serviced hereunder by the Seller or any Servicer. The Seller shall not cause the Mortgage Loans to be serviced by any servicer other than a servicer expressly approved in writing by the Buyer. The Servicer shall
provide to the Agent a Servicer Report with respect to each of the Mortgage Loan serviced by such Servicer on each date that there is a change in the Mortgage Loans then serviced by such Servicer. 

7.18 Maintenance of Liquidity. The Seller shall ensure that it has unencumbered Cash Equivalents at all times in an amount not less than
$20 million. 
 7.19 Required Filings. The Seller shall promptly provide the Buyer and the Agent with copies of all documents which
the Seller or any Affiliate of the Seller is required to file with the Securities and Exchange Commission in accordance with the 1934 Act or any rules thereunder. 

7.20 No Adverse Selection. The Seller has not selected any Purchased Item in a manner so as to adversely affect the Buyer’s
interests. 
 7.21 Massachusetts Subprime Loans, Nevada Subprime Loans and Loans subject to Consent or Other Orders. If Buyer
determines, in its sole discretion, that any Purchased Loan breaches the representation and warranty in Section 6.24 of this Repurchase Agreement (whether or not such breach is material), or if Buyer determines, in its sole discretion,
that a Purchased Loan is a Massachusetts Subprime Loan or a Nevada Subprime Loan which suffers from a compliance exception resulting from a systematic or recurring fault in the Seller’s or other originator’s origination practices or
violates any consent order or decree or any judicial, regulatory, administrative or other similar judgment order, stipulation, award, writ or injunction applicable to the buyer, then the Seller shall immediately, and in no case later than one
(1) Business Day following discovery by, or notice to, Seller of such breach, repurchase such Mortgage Loan at the related Repurchase Price. The date on which the Seller repurchase such Mortgage Loan will be considered the “Repurchase
Date” for such Mortgage Loan. The Buyer shall provide written notice to the Seller of any consent order or decree or any judicial, regulatory, administrative or other similar judgment, order stipulation, award, writ or injunction applicable to
the Buyer. 

  
 53 

 7.22 Remittance of Prepayments. Upon, and during the continuation of, an Event of Default,
the Seller shall remit, with sufficient detail to enable the Buyer to appropriately identify the Purchased Loan to which any amount remitted applies, to the Buyer on each Thursday (or the next Business Day if such Thursday is not a Business Day) all
principal prepayments that the Seller has received during the previous week. 
 7.23 Agency Approvals. Should the Seller, for any
reason, cease to possess all such applicable Agency Approvals, or should notification to the relevant Agency be required, the Seller shall so notify the Buyer immediately in writing. Notwithstanding the preceding sentence, the Seller shall take all
necessary action to maintain all of its (and each Servicer’s) applicable Agency Approvals at all times during the term of this Repurchase Agreement and so long as any Transaction remains outstanding. 

7.24 Takeout Commitments; Takeout Assignments. Each Takeout Commitment (if any) has been delivered by the Seller and constitutes a
valid, binding and existing obligation of a Takeout Investor, enforceable against the Seller and the Takeout Investor, respectively, in accordance with its terms (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 relating to specific performance). If requested by the Buyer, each Takeout Commitment (if any) has been duly and validly assigned by the Seller to the Buyer
pursuant to a Takeout Assignment. 
 7.25 Maintenance of Property; Insurance. The Seller shall keep all property useful and necessary
in its business in good working order and condition. The Seller shall maintain errors and omissions insurance and/or mortgage impairment insurance and blanket bond coverage in such amounts as are in effect on the Effective Date and are customarily
required by Fannie Mae and Freddie Mac (as disclosed to the Buyer in writing) and shall not reduce such coverage without the written consent of the Buyer, and shall also maintain such other insurance with financially sound and reputable insurance
companies, and with respect to property and risks of a character usually maintained by entities engaged in the same or similar business similarly situated, against loss, damage and liability of the kinds and in the amounts customarily maintained by
such entities. Seller shall maintain endorsements for theft of warehouse lender money and collateral naming Buyer as a loss payee under its bond coverage or other fidelity insurance and as a direct loss payee/right of action under its bond or other
fidelity insurance policy. 
 7.26 MERS Designated Mortgage Loans. With respect to each MERS Designated Mortgage Loan, the Seller
shall not identify, or permit to be identified, any party other than Buyer in the field “warehouse/gestation” on the MERS® system without the express written consent of the Buyer.
The Buyer shall have the right to require the Seller, at the sole cost and expense of the Seller, to deregister each MERS Designated Mortgage Loan from the MERS® system and require MERS to
prepare assignments of mortgage as specified by the Buyer. 

  
 54 

 7.27 Loan Purchase Agreements. With respect to each Purchased Loan that is subject to a
Takeout Commitment, the Seller shall maintain at least one whole loan purchase agreement with at least one third party purchaser or Agency, pursuant to which such third party purchaser or Agency has agreed to purchase Eligible Mortgage Loans from
the Seller. The Seller shall not be in default under any purchase agreement with any third party purchaser or Agency. The Seller shall ensure that each Mortgage Loan sold to the Buyer in a Transaction hereunder which is subject to a Takeout
Commitment with a third party purchaser is eligible for sale to such third party purchaser or Agency pursuant to the related purchase agreement. 

7.28 Underwriting Guidelines. (a) The Seller shall give the Buyer prior notice of all intended changes, amendments or modifications
to the Underwriting Guidelines. If the Buyer (or the Agent on behalf of the Buyer) determines, in its sole discretion, that a proposed change is material, the Buyer will have no obligation to finance any Mortgage Loans that are originated pursuant
to the new Underwriting Guidelines. In the event that the Seller makes any amendment or modification to the Underwriting Guidelines, the Seller shall promptly deliver to the Buyer a complete copy of the amended or modified underwriting Guidelines.

 (b) The Seller shall originate Mortgage Loans in a manner which is consistent with sound underwriting and appraisal practices, and in
compliance with applicable federal and state consumer protection laws, including, without limitation, all laws with respect to unfair or deceptive practices and all laws relating to Predatory Lending Practices. 

7.29 Power of Attorney. The Seller shall, from time to time at the request of the Buyer, deliver to the Buyer any powers of attorney or
other documentation required by the Buyer to ensure the enforceability under applicable law of any rights and/or powers granted to the Buyer in Section 4.04 of this Repurchase Agreement. 

7.30 Quality Control. The Seller shall maintain an internal quality control program that evaluates and monitors, on a regular basis, the
overall quality of (i) its origination activities (including its compliance with all requirements of the Freddie Mac Loan Prospector (LP) or the Fannie Mae DeskTop Underwriting (DU) program, and all applicable laws with respect to unfair and
deceptive lending practices and Predatory Lending Practices and (ii) its servicing activities and that ensures that the Mortgage Loans are serviced in accordance with Accepted Servicing Practices and are serviced in accordance with all
applicable Agency Guides; guards against dishonest, fraudulent or negligent acts; and guards against errors and omissions by officers, employees or other authorized persons. The Seller shall notify the Buyer of the results of any such audit or third
party audit of the Seller and of any issues or violations of policy which are discovered in connection with such internal quality control program. 

7.31 Maintenance of Papers, Records and Files. 

(a) The Seller shall acquire, and the Seller shall build, maintain and have available, a complete file in accordance with lending industry
custom and practice for each Purchased Loan. The Seller will maintain all such Records not in the possession of Custodian or the Buyer in good and complete condition in accordance with industry practices and preserve them against loss or
destruction. 

  
 55 

 (b) The Seller shall collect and maintain or cause to be collected and maintained all Records
relating to the Purchased Loans in accordance with industry custom and practice, including those maintained pursuant to subsection (a), and all such Records shall be in Custodian’s possession unless the Buyer otherwise approves. The Seller
shall deliver to the Buyer or its designee updates of such Servicing Records at least monthly. The Seller will not cause or authorize any such papers, records or files that are an original or an only copy to leave Custodian’s possession, except
for individual items removed in connection with servicing a specific Loan, in which event the Seller will obtain or cause to be obtained a receipt from Custodian for any such paper, record or file. 

(c) For so long as the Buyer has an interest in or lien on any Purchased Loan, the Seller will hold or cause to be held all related Records in
trust for the Buyer. The Seller shall notify, or cause to be notified, every other party holding any such Records of the interests and liens granted hereby. 

(d) Upon reasonable advance notice from Custodian or the Buyer, the Seller shall (x) make any and all such Records available to Custodian
or the Buyer to examine any such Records, either by its own officers or employees, or by agents or contractors, or both, and make copies of all or any portion thereof, (y) permit the Buyer or its authorized agents to discuss the affairs,
finances and accounts of the Seller with its respective chief operating officer and chief financial officer and to discuss the affairs, finances and accounts of the Seller with its independent certified public accountants. 

7.32 Reserved. 
 7.33
Delivery of Servicing Rights and Servicing Records. With respect to the Servicing Rights appurtenant to each Purchased Loan, the Buyer shall own, and the Seller shall deliver, such Servicing Rights to the Buyer on the related Purchase Date.
The Seller shall deliver (or cause the related Servicer to deliver) the Servicing Records (including any Agency required records) and the physical and contractual servicing of each Purchased Loan, to the Buyer or its designee upon the termination of
the Seller, or Servicer as the servicer pursuant to Section 13.22. In addition, with respect to the Servicing Records for each Purchased Loan and the physical and contractual servicing of each Purchased Loan, the Seller shall deliver (or cause
the related Servicer to deliver) such Servicing Records and, to the extent applicable, the servicing to the Buyer or its designee within thirty (30) days of the earlier of (i) the termination of the Seller, or Servicer as the servicer,
respectively, of the Purchased Loans and (ii) the related Purchase Date for each such Purchased Loan (the “Servicing Delivery Requirement”). Notwithstanding the foregoing, such Servicing Delivery Requirement will be deemed restated
for each such Purchased Loan on each Repurchase Date on which such Purchased Loan is repurchased by the Seller and becomes subject to a new Transaction (and the immediately preceding delivery requirement will be deemed to be rescinded), and a new 30
day Servicing Delivery Requirement will be deemed to commence for such Purchased Loans as of such Repurchase Date in the absence of directions to the contrary from the Buyer. Further, the Servicing Delivery Requirement will no longer apply to any
Purchased Loan that is repurchased in full by the related the Seller in accordance with the provisions of this Agreement and is no longer subject to a Transaction. The Seller’s, or Servicer’s transfer of the Servicing Rights, Servicing
Records and the physical and contractual 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”). 

  
 56 

 7.34 MERS. The Seller and the Servicer are members of MERS in good standing and current in
the payment of all fees and assessments imposed by MERS, and shall comply with all rules and procedures of MERS in connection with the servicing of MERS Loans for as long as such Purchased Loans are registered with MERS. 

7.35 Maintenance of Financial Covenants, Reporting Requirements and Other Provisions. The Seller and the Buyer each agree that, to the
extent that the Seller is obligated under any other repurchase agreement, warehouse facility, or similar credit facility (whether now in effect or in effect at any time during the term of this Repurchase Agreement) to comply with a financial
covenant or reporting requirement that is in comparable to any of the financial covenants, reporting requirements or other similar provisions including, without limitation, the time period permitted for delivery of the Mortgage File to the Custodian
for Wet-Ink Mortgage Loans set forth in this Repurchase Agreement and such comparable provision is more restrictive to Seller or otherwise more favorable to the related lender or buyer thereunder than the parallel provision hereunder, or is in
addition to any financial covenant, disclosure requirement or similar provision set forth in this Repurchase Agreement, then such provision shall, with no further action required on the part of either the Seller or the Buyer, automatically become a
part hereof and be incorporated herein, and the Seller hereby covenants to maintain compliance with such comparable or additional provision at all times throughout the terms of this Repurchase Agreement. The Seller agrees to promptly notify the
Buyer of the execution of any agreement or other document that would cause the provisions of this Section 7.35 to become effective. The Seller and the Buyer further agree to execute and deliver any new guaranties, agreements or
amendments to this Repurchase Agreement evidencing such provisions, provided that the execution of such amendment shall not be a precondition to the effectiveness of such amendment, but shall merely be for the convenience of the parties hereto. 

7.36 FHA/VA/RHS Loans. Seller will maintain the FHA insurance on any FHA Loan, the Rural Housing Service Guaranty on any RHS Loan and
the VA guaranty on any VA Loan, including without limitation, the payment of any premium owed thereunder. Seller shall make, or cause to be made, all advances and other payments and provide all such reports and notices as are required under the FHA
Regulations, Rural Housing Service Regulations or VA Regulations, as applicable, and otherwise take all actions necessary to maintain and keep in full force and effect, during the term of this Agreement, the FHA Insurance Contract, Rural Housing
Service Guaranty or VA Guaranty Agreement, as applicable, including providing any notices required to be delivered to the FHA, RHS or the VA, as the case may be, in connection with the servicing of the Mortgage Loans pursuant hereto. 

Section 8. Events of Default Each of the following events shall constitute an event of default (an “Event of
Default”) hereunder: 
 (a) the Seller shall default in the payment of any Repurchase Price or Price Differential on any Transaction
when due (whether at stated maturity, upon acceleration or at mandatory or optional prepayment or repurchase); or 

  
 57 

 (b) the Seller shall default in the payment of any other amount payable by it hereunder or under
any other Repurchase Document after notification by the Buyer of such default, and such default shall have continued unremedied for three (3) Business Days; or 

(c) any representation, warranty or certification made or deemed made herein or in any other Repurchase Document by the Seller or any
certificate furnished to the Buyer pursuant to the provisions hereof or thereof shall prove to have been false 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 Recognized Value of the Purchased Loans; unless (i) the Seller shall have made any such representations and warranties with knowledge that they were
materially false or misleading at the time made or (ii) any such representations and warranties have been determined by the Buyer in its sole good faith discretion to be materially false or misleading on a regular basis); or 

(d) the Seller shall fail to comply with the requirements of Section 7.03(a), Section 7.04, Section 7.05,
Section 7.06, or Sections 7.09 through 7.36 hereof; or the Seller shall fail to comply with the requirements of Section 7.01, Section 7.02, Section 7.03(b), (c), (d),
(e), and (f), or Section 7.07 and such default or failure shall continue unremedied for a period of seven (7) Business Days, or the Seller shall fail to observe or perform any other covenant or agreement
contained in this Repurchase Agreement or any other Repurchase Document and such default or failure to observe or perform shall continue unremedied for a period of fifteen (15) Business Days; or 

(e) a final judgment or judgments for the payment of money in excess of $5,000,000 in the aggregate shall be rendered against the 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 the 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) the Seller shall admit in writing its inability to pay
its debts as such debts become due; or 
 (g) the Seller or any of its Affiliates shall (i) apply for or consent to the appointment of,
or the taking of possession by, a receiver, custodian, trustee, examiner or liquidator or the like of itself or of all or a substantial part of its property, (ii) make a general assignment for the benefit of its creditors, (iii) commence a
voluntary case under the Bankruptcy Code, (iv) file a petition seeking to take advantage of any other law relating to bankruptcy, insolvency, reorganization, liquidation, dissolution, arrangement or winding-up, or composition or readjustment of
debts, (v) fail to controvert in a timely and appropriate manner, or acquiesce in writing to, any petition filed against it in an involuntary case under the Bankruptcy Code or (vi) take any corporate or other action for the purpose of
effecting any of the foregoing; or 

  
 58 

 (h) a proceeding or case shall be commenced, without the application or consent of the Seller or
any of its Affiliates, in any court of competent jurisdiction, seeking (i) its reorganization, liquidation, dissolution, arrangement or winding-up, or the composition or readjustment of its debts, (ii) the appointment of, or the taking of
possession by, a receiver, custodian, trustee, examiner, liquidator or the like of the Seller or any such Affiliate or of all or any substantial part of its property, or (iii) similar relief in respect of the Seller or any such Affiliate under
any law relating to bankruptcy, insolvency, reorganization, liquidation, dissolution, arrangement or winding-up, or composition or adjustment of debts, and such proceeding or case shall continue undismissed, or an order, judgment or decree approving
or ordering any of the foregoing shall be entered and continue unstayed and in effect, for a period of 30 or more days; or an order for relief against the Seller or any such Affiliate shall be entered in an involuntary case under the Bankruptcy
Code; or 
 (i) the Custodial Agreement or any Repurchase Document shall for whatever reason be terminated or cease to be in full force and
effect, or the enforceability thereof shall be contested by the Seller; or 
 (j) the Seller shall grant, or suffer to exist, any Lien
on any Purchased Items except the Liens contemplated hereby; or the Liens contemplated hereby shall cease to be first priority perfected Liens on the Purchased Items in favor of the Buyer, or shall be Liens in favor of any Person other than the
Buyer; or 
 (k) the Seller or any of the Seller’s Affiliates shall be in default under, or fail to perform as required under
(1) any MS Indebtedness, or (2) any note, indenture, repurchase agreement, loan and security agreement, credit facility, guaranty, swap agreement or any other contract to which it is a party, other than any MS Indebtedness, which default
(i) involves the failure to pay a matured obligation in excess of $2,500,000, or (ii) permits the acceleration of the maturity of obligations or permits the prepayment of any indebtedness thereunder by any other party to or beneficiary of
such note, indenture, repurchase agreement, guaranty, swap agreement or other contract in an amount in excess of $2,500,000; or 

(l) any materially adverse change in the Property, business, financial condition or prospects of the Seller or any of its Affiliates shall
occur, in each case as determined by the Buyer in its sole good faith discretion, or any other condition shall exist which, in the Buyer’s sole good faith discretion, constitutes a material impairment of the Seller’s ability to perform its
obligations under this Repurchase Agreement or any other Repurchase Document; or 
 (m) [reserved]; or 

(n) [reserved]; or 

(o) (1) any Person shall engage in any “prohibited transaction” (as defined in Section 406 of ERISA or
Section 4975 of the Internal Revenue Code) involving any Plan, (2) any “accumulated funding deficiency” (as defined in Section 302 of ERISA), whether or not waived, shall exist with respect to any Plan, (3) a Reportable
Event shall occur with respect to, or proceedings shall commence to have a trustee appointed, or a trustee shall be appointed, to administer or to terminate, any Single Employer Plan, which Reportable Event or institution of proceedings is, in the
reasonable opinion of the Buyer, likely to result in the termination of such Plan for purposes of Title IV of ERISA, and, in the case of a Reportable Event, the continuance 

  
 59 

 
of such Reportable Event unremedied for ten (10) days after notice of such Reportable Event pursuant to Section 4043(a), (c) or (d) of ERISA is given or the continuance of
such proceedings for ten (10) days after commencement thereof, as the case may be, (4) any Single Employer Plan shall terminate for purposes of Title IV of ERISA, (5) any withdrawal liability to a Multiemployer Plan shall be incurred
by the Seller or any of its Subsidiaries or (6) any other event or condition shall occur or exist; and in each case in clauses (1) through (6) above, such event of condition, together with all other such events or conditions, if any,
is likely to subject the Seller or any of its Subsidiaries to any tax, penalty or other liabilities in the aggregate material in relation to the business, operations, property or financial or other condition of the Seller or any of its Subsidiaries;
or 
 (p) the Electronic Tracking Agreement shall for whatever reason be terminated or cease to be in full force and effect and the Buyer
shall not have received an Assignment of Mortgage with respect to each MERS Designated Mortgage Loan identified by the Buyer, in blank, in recordable form, but unrecorded, and such termination results in a Material Adverse Effect; or 

(q) a Change of Control of the Seller shall have occurred without the prior consent of the Buyer or a material change in the management of the
Seller shall have occurred which has not been approved by the Buyer, including the resignation, removal or other substantial change in the management responsibilities of Anthony Hsieh; or 

(r) the Buyer shall reasonably request, specifying the reasons for such request, reasonable information, and/or written responses to such
requests, regarding the financial well-being of the Seller (including but not limited to any information regarding any repurchase and indemnity requests or demands made upon the Seller by any third party investors (including any Agency)) and such
reasonable information and/or responses shall not have been provided within a reasonable time of such request; or 
 (s) the Seller or any
Affiliate of the Seller shall default under, or fail to perform as required under, or shall otherwise breach the terms of any instrument, agreement or contract between the Seller or such other entity, on the one hand, and the Buyer or any of the
Buyer’s Affiliates on the other; or 
 (t) the Seller’s membership in MERS is terminated for any reason and such termination
results in a Material Adverse Effect; or 
 (u) Servicer’s servicer rating assigned by at least one nationally recognized rating
agency is below the rating of “average”; or 
 (v) a material default of the Servicer shall have occurred under any Servicing
Agreement; or 
 (w) the aggregate amount of all repurchase and indemnity obligations of the Seller to its third party investors
(including any Agency) exceeds 20% of the Seller’s Liquidity; or 
 (x) the Seller or any Servicer receives a notice of denial from
any Agency or any Agency terminates, revokes or suspends such entity’s approval to sell and service loans to such Agency (including but not limited to its approval to use DU or LP to underwrite mortgage loans); or 

  
 60 

 [***] – Confidential portions of this document have been redacted and filed separately with
the Commission. 
 (y) the Seller shall cease to be approved by or its approval shall be revoked, suspended, rescinded, halted, eliminated,
withdrawn, annulled, repealed, voided or terminated by (i) Ginnie Mae as an approved issuer, (ii) HUD, pursuant to Sections 203 and 211 of the National Housing Act, (iii) the FHA, as an FHA Approved Mortgagee or servicer,
(iv) the VA as a VA Approved Lender or servicer, or (v) Fannie Mae, Freddie Mac or RHS as an approved seller, servicer or lender; or 

(z) any Agency shall at any time cease to accept delivery of any loan or loans from the Seller under any program or notifies the Seller that
any such Agency shall cease accepting loan deliveries from the Seller; or 
 (aa) all or a portion of the Seller’s servicing portfolio
consisting of Fannie Mae or Freddie Mac loans is seized or the servicing of all or a portion of such loans is otherwise transferred away from the Seller; or 

(bb) the Servicer’s FHA servicing eligibility is suspended, revoked or becomes subject to an investigation by the FHA; or 

(cc) the Seller’s status as an FHA Approved Mortgagee is suspended, revoked or becomes subject to an investigation by the FHA; or 

(dd) the Seller’s status as an VA Approved Lender is suspended, revoked or becomes subject to an investigation by the VA; or 

(ee) the Seller’s status as a Rural Housing Service Approved Lender is suspended, rescinded, halted, eliminated, withdrawn, annulled,
released, voided, revoked or otherwise terminated or becomes subject to an investigation by RHS; or 
 (ff) [reserved]; or 

(gg) [reserved]; or 
 (hh)
[reserved]; or 
 (ii) [reserved]; or 

(jj) the “compare ratio” assigned to the Seller by FHA under its “Neighborhood Watch” program is greater than [***]%;
provided, however, that the Buyer may, by providing prior written notice to the Seller in the Buyer’s sole good faith discretion, adopt a different threshold for such ratio or other statistic based upon the adoption by FHA of any
change in the methodology under such program, and in such event, there shall be an Event of Default hereunder if the “compare ratio” or such other statistic assigned to the Seller by FHA is less favorable than such threshold adopted by the
Buyer; or 

  
 61 

 (kk) to the extent the Seller has “delegated lender insurance authority” from HUD as of
the date hereof, such authority shall be revoked or suspended at any time by HUD. 
 Section 9. Remedies Upon Default. 

(a) An Event of Default shall be deemed to be continuing unless expressly waived in writing by the Buyer. Upon the occurrence and during the
continuance of one or more Events of Default hereunder, the Buyer’s obligation to enter into any additional Transactions hereunder shall automatically terminate without further action by any Person. Upon the occurrence and during the
continuance of one or more Events of Default other than those referred to in Section 8(g) or (h), the Buyer may immediately declare the Repurchase Price of the Transactions then outstanding to be immediately due and payable, together
with all Price Differential thereon and fees and expenses accruing under this Repurchase Agreement. Upon the occurrence and during the continuance of an Event of Default referred to in Sections 8(g) or (h), such amounts shall
immediately and automatically become due and payable without any further action by any Person. Upon such declaration or such automatic acceleration, the balance then outstanding shall become immediately due and payable, without presentment, demand,
protest or other formalities of any kind, all of which are hereby expressly waived by the Seller. 
 (b) Upon the occurrence and during the
continuance of one or more Events of Default and if the Buyer shall have exercised its rights to accelerate or an automatic acceleration shall have occurred pursuant to Section 9(a) hereof, the Buyer shall have the right to obtain
physical possession of, for the benefit of the Buyer, the Servicing Records and all other files of the Seller relating to the Purchased Items and all documents relating to the Purchased Items which are then or may thereafter come in to the
possession of the Seller or any third party acting for the Seller and the Seller shall deliver to the Buyer such assignments as the Buyer shall request. The Buyer shall be entitled to specific performance of all agreements of the Seller contained in
this Repurchase Agreement. 
 Section 10. No Duty of The Buyer. The powers conferred on the Buyer hereunder are solely to
protect the Buyer’s interests in the Purchased Items and shall not impose any duty upon it to exercise any such powers. The 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 the Seller for any act or failure to act hereunder, except for its or their own gross negligence or willful misconduct. 

Section 11. Reserved. 

Section 12. The Agent. 

12.01 Appointment. The Buyer hereby irrevocably designates and appoints Morgan Stanley Mortgage Capital Holdings LLC as its Agent under
this Repurchase Agreement and the other Repurchase Documents, and the Buyer irrevocably authorizes the Agent, in such capacity, to take such action on its behalf under the provisions of this Repurchase Agreement and the other Repurchase Documents
and to exercise such powers and perform such duties as are expressly delegated to the Agent by the terms of this Repurchase Agreement and the other Repurchase Documents, together with such other powers as are reasonably incidental thereto. 

  
 62 

 Notwithstanding any provision to the contrary elsewhere in this Repurchase Agreement, the Agent shall not have
any duties or responsibilities, except those expressly set forth herein, or any fiduciary relationship with the Buyer, and no implied covenants, functions, responsibilities, duties, obligations or liabilities shall be read into this Repurchase
Agreement or any other Repurchase Document or otherwise exist against the Agent. The provisions of this Section 12 are solely for the benefit of the Agent and the Buyer, and the Seller shall not have rights as a third party beneficiary of any
of such provisions. 
 12.02 Duties of Agent. In accordance with the terms of this Agreement, the Agent shall: 

(a) upon receipt of a Transaction Request pursuant to and in accordance with Section 2.02, promptly transmit such Transaction Request to
the Buyer and, upon approval by and at the instruction of the Buyer, enter into the Transactions and purchase the applicable Loans on the Buyer’s behalf; 

(b) upon receipt of a Confirmation from the Buyer pursuant to and in accordance with Section 2.02(d), promptly transmit such Confirmation
to the Seller; and 
 (c) upon receipt of any payments of Repurchase Price and other amounts to be paid by the Seller or any other party
under the Repurchase Agreement or the other Repurchase Documents, promptly deliver such payments to the Buyer at the following account (or such other account of which the Buyer may from time to time notify the Agent pursuant to Section 12.06):
Account No. 30463591, Citibank, N.A., ABA No. 021-000-089, Attn: Whole Loans, Ref: loanDepot.com, LLC. 
 12.03 Delegation of
Duties. The Agent may execute any of its duties under this Repurchase Agreement and the other Repurchase Documents by or through agents or attorneys-in-fact and shall be entitled to advice of counsel concerning all matters pertaining to such
duties. The Agent shall not be responsible for the negligence or misconduct of any agents or attorneys-in-fact selected by it with reasonable care. 

12.04 Exculpatory Provisions. Neither the Agent nor any of its officers, directors, employees, agents, attorneys-in-fact or Affiliates
shall be (i) liable for any action lawfully taken or omitted to be taken by it or such Person under or in connection with this Repurchase Agreement or any other Repurchase Document (except for its or such Person’s own gross negligence or
willful misconduct) or (ii) responsible in any manner to the Buyer for any recitals, statements, representations or warranties made by the Seller or any officer thereof contained in this Repurchase Agreement or any other Repurchase Document or
in any certificate, report, statement or other document referred to or provided for in, or received by the Agent under or in connection with, this Repurchase Agreement or any other Repurchase Document or for the value, validity, effectiveness,
genuineness, enforceability or sufficiency of this Repurchase Agreement or any other Repurchase Document or for any failure of the Seller to perform its obligations hereunder or thereunder. The Agent shall not be under any obligation to the Buyer to
ascertain or to inquire as to the observance or performance of any of the agreements contained in, or conditions of, this Repurchase Agreement or any other Repurchase Document, or to inspect the properties, books or records of the Seller. 

  
 63 

 12.05 Reliance by Agent. The Agent shall be entitled to rely, and shall be fully protected
in relying, upon any writing, resolution, notice, consent, certificate, affidavit, letter, cablegram, telegram, facsimile, telex or teletype message, statement, order or other document or conversation believed by it to be genuine and correct and to
have been signed, sent or made by the proper Person or Persons and upon advice and statements of legal counsel (including, without limitation, counsel to the Seller), independent accountants and other experts selected by the Agent. As between the
Agent and the Buyer, the Agent shall be fully justified in failing or refusing to take any action under this Repurchase Agreement or any other Repurchase Document unless it shall first receive such advice or concurrence of the Buyer as it deems
appropriate or it shall first be indemnified to its satisfaction by the Buyer against any and all liability and expense which may be incurred by it by reason of taking or continuing to take any such action. As between the Agent and the Buyer, the
Agent shall in all cases be fully protected in acting, or in refraining from acting, under this Repurchase Agreement and the other Repurchase Documents in accordance with a request of the Buyer, and such request and any action taken or failure to
act pursuant thereto shall be binding upon the Buyer and all future holders of the Purchased Loans. 
 12.06 Notices. The Agent shall
not be deemed to have knowledge or notice of the occurrence of any Default or Event of Default hereunder unless the Agent has received notice from the Buyer or the Seller referring to this Repurchase Agreement, describing such Default or Event of
Default and stating that such notice is a “notice of default.” In the event that the Agent receives such a notice, the Agent shall give notice thereof to the Buyer. The Agent shall take such action with respect to such Default or Event of
Default as shall be reasonably directed by the Buyer; provided that unless and until the Agent shall have received such directions, the Agent may (but shall not be obligated to) take such action, or refrain from taking such action, with respect to
such Default or Event of Default as it shall deem advisable in the best interests of the Buyer. Seller hereby acknowledges that all notices and other communications required to be delivered by the Seller to the Agent will not be valid if delivered
solely to the Buyer; such notices and communications must be delivered as required herein. Notices that are be delivered to Agent shall be delivered to 1585 Broadway, New York, New York 10036, Attention: SPG Mortgage Finance, Facsimile No.:
212-761-0093, Telephone No.: 212-761-4480. 
 12.07 Non Reliance by Buyer. The Buyer expressly acknowledges that neither the Agent nor
any of its officers, directors, employees, agents, attorneys-in-fact or Affiliates has made any representations or warranties to it and that no act by the Agent hereinafter taken, including any review of the affairs of the Seller, shall be deemed to
constitute any representation or warranty by the Agent to the Buyer. The Buyer represents to the Agent that it has, independently and without reliance upon the Agent, and based on such documents and information as it has deemed appropriate, made its
own appraisal of and investigation into the business, operations, property, financial and other condition and creditworthiness of the Seller and made its own decision to enter into Transactions and enter into this Repurchase Agreement. The Buyer
also represents that it will, independently and without reliance upon the Agent, and based on such documents and information as it shall deem appropriate at the time, continue to make its own credit analysis, appraisals and decisions in taking or
not taking action under this Repurchase Agreement and the other Repurchase Documents, and to make such investigation as it deems necessary to inform itself as to the business, operations, property, financial and other condition and creditworthiness
of the Seller. Except for notices, reports and other documents expressly required to be furnished by the Seller to the Agent hereunder or under the other 

  
 64 

 Repurchase Documents, which the Agent must distribute promptly to the Buyer, the Agent shall not have any duty or
responsibility to provide the Buyer with any credit or other information concerning the business, operations, property, condition (financial or otherwise), prospects or creditworthiness of the Seller which may come into the possession of the Agent
or any of its officers, directors, employees, attorneys-in-fact or Affiliates. 
 12.08 Indemnification. The Buyer agrees to indemnify
the Agent (to the extent not reimbursed by the Seller and without limiting the obligation of the Seller to do so) from and against any and all liabilities, obligations, losses, damages, penalties, actions, judgments, suits, costs, expenses or
disbursements of any kind whatsoever which may at any time (including, without limitation, at any time following the payment of the Repurchase Price) be imposed on, incurred by or asserted against the Agent in any way relating to or arising out of,
the Transactions, this Repurchase Agreement, any of the other Repurchase Documents or any documents contemplated by or referred to herein or therein or the transactions contemplated hereby or thereby or any action taken or omitted by the Agent under
or in connection with any of the foregoing; provided that the Buyer shall not be liable for the payment of any portion of such liabilities, obligations, losses, damages, penalties, actions, judgments, suits, costs, expenses or disbursements
resulting solely from the Agent’s gross negligence or willful misconduct. The agreements in this Section 12.08 shall survive the payment of the Repurchase Prices and all other amounts payable hereunder. 

12.09 Successor Agent. The Agent may resign as Agent upon thirty (30) calendar days’ notice to the Buyer and the Seller. If
the Agent shall resign as Agent under this Repurchase Agreement and the other Repurchase Documents, then the Buyer shall appoint a successor Agent, which successor Agent shall be approved by the Seller (unless an Event of Default has occurred and is
continuing), and any such successor Agent shall succeed to the rights, powers and duties of the Agent, and the term “Agent” shall mean such successor Agent effective upon such appointment and approval, and the former Agent’s rights,
powers and duties as Agent shall be terminated, without any other or further act or deed on the part of such former Agent or any of the parties to this Repurchase Agreement or any holders of the Purchased Loans. If no successor Agent has been
appointed and shall have accepted such appointment within thirty (30) calendar days after the retiring Agent’s giving notice of its resignation, then the retiring Agent, on behalf of the Buyer, may appoint an Agent which shall (unless an
Event of Default has occurred and is continuing) be reasonably acceptable to the Seller. Upon the acceptance of any appointment as the Agent hereunder by a successor Agent, such successor Agent shall thereupon succeed to and become vested with all
the rights, powers, privileges and duties of the retiring Agent, and the retiring Agent shall be discharged from its duties and obligations, under this Repurchase Agreement and the other Repurchase Documents. After any retiring Agent’s
resignation as Agent, the provisions of this Section 12 shall inure to its benefit as to any actions taken or omitted to be taken by it while it was Agent under this Repurchase Agreement and the other Repurchase Documents. 

  
 65 

 Section 13. Miscellaneous. 

13.01 Delay Not Waiver; Remedies Are Cumulative. No failure on the part of the Buyer and the Agent (or the Buyer or the Agent, as the
case may be) to exercise, and no delay in exercising, and no course of dealing with respect to, any right, power or remedy hereunder shall operate as a waiver thereof, nor shall any single or partial exercise by the Buyer and the Agent (or the Buyer
or the Agent, as the case may be) of any right, power or remedy under any Repurchase Document preclude any other or further exercise thereof or the exercise of any other right, power or remedy. All rights and remedies of the Buyer provided for
herein are cumulative and in addition to any and all other rights and remedies provided by law, the Repurchase Documents and the other instruments and agreements contemplated hereby and thereby, and are not conditional or contingent on any attempt
by the Buyer and the Agent (or the Buyer or the Agent, as the case may be) to exercise any of its rights under any other related document. The Buyer and the Agent (or the Buyer or the Agent, as the case may be) may exercise at any time after the
occurrence of an Event of Default one or more remedies, as they so desire, and may thereafter at any time and from time to time exercise any other remedy or remedies. 

13.02 Notices. Except as otherwise expressly permitted by this Repurchase Agreement, all notices, requests and other communications
provided for herein and under the Custodial Agreement (including without limitation any modifications of, or waivers, requests or consents under, this Repurchase Agreement) shall be given or made in writing (including without limitation by telex or
facsimile) delivered to the intended recipient at the “Address for Notices” specified below its name on the signature pages hereof or thereof); or, as to any party, at such other address as shall be designated by such party in a written
notice to each other party provided, that a copy of all notices given under Section 7.01 shall simultaneously be delivered to Credit Department, Morgan Stanley, 1585 Broadway, New York, New York 10036, Attention: SPG Mortgage Finance.
Except as otherwise provided in this Repurchase Agreement and except for notices given under Section 2 (which shall be effective only on receipt), all such communications shall be deemed to have been duly given when transmitted by telex
or facsimile or personally delivered or, in the case of a mailed notice, upon receipt, in each case given or addressed as aforesaid. 
 13.03
Use of Employee Plan Assets. No assets of an employee benefit plan subject to any provision of ERISA shall be used by either party hereto in a Transaction. 

13.04 Indemnification and Expenses. 

(a) The Seller agrees to hold the Buyer and the Agent (or the Buyer or the Agent, as the case may be) and each of its Affiliates and their
officers, directors, employees, agents and advisors (each an “Indemnified Party”) harmless from and indemnify 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, the “Costs”) relating to or arising out of this Repurchase Agreement, any other Repurchase 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 Repurchase Agreement, any other Repurchase Document or any transaction contemplated hereby or thereby (including, without limitation, any Takeout
Proceeds Identification Letter), that, in each case, results from anything other than any Indemnified Party’s gross negligence or willful misconduct. Without limiting the generality of the foregoing, the Seller agrees to hold any Indemnified
Party harmless from and indemnify such Indemnified Party against all Costs with respect to all Purchased Loans relating to or arising out of any violation or alleged violation of any environmental law, rule or regulation

  
 66 

 
or any consumer credit laws, including without limitation laws with respect to unfair or deceptive lending practices and Predatory Lending Practices, the Truth in Lending Act and/or the Real
Estate Settlement Procedures Act, that, in each case, results from anything other than such Indemnified Party’s gross negligence or willful misconduct. 

(b) In any suit, proceeding or action brought by an Indemnified Party in connection with any Mortgage Loan for any sum owing thereunder, or to
enforce any provisions of any Mortgage Loan, the Seller will save, indemnify 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 of
liability whatsoever of the account debtor or obligor thereunder, arising out of a breach by the 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 the Seller. The Seller also agrees to reimburse an Indemnified Party for all such Indemnified Party’s costs and expenses incurred in connection with the enforcement or the preservation of such
Indemnified Party’s rights under this Repurchase Agreement, any other Repurchase Document or any transaction contemplated hereby or thereby, including without limitation the fees and disbursements of its counsel as and when billed by such
Indemnified Party. 
 (c) The Seller agrees to pay as and when billed by the Buyer and the Agent (or the Buyer or the Agent, as the case may
be) all of the out-of-pocket costs and expenses incurred by the Buyer and the Agent (or the Buyer or the Agent, as the case may be) in connection with the development, preparation, negotiation and execution of, and any amendment, supplement or
modification to, this Repurchase Agreement, any other Repurchase Document or any other documents prepared in connection herewith or therewith. The Seller agrees to pay as and when billed by the Buyer and the Agent (or the Buyer or the Agent, as the
case may be) all of the out-of-pocket costs and expenses incurred in connection with the consummation and administration of the transactions contemplated hereby and thereby including without limitation (i) all the fees, disbursements and
expenses of counsel to the Buyer and (ii) all the due diligence, inspection, testing and review costs and expenses incurred by the Buyer and the Agent (or the Buyer or the Agent, as the case may be) with respect to Purchased Items under this
Repurchase Agreement, including, but not limited to, those costs and expenses incurred by the Buyer pursuant to Sections 13.04(a), 13.06 and 13.23 hereof. The Seller also agrees not to assert any claim against the Buyer and the Agent (or the Buyer
or the Agent, as the case may be) or any of its Affiliates, or any of their respective officers, directors, employees, attorneys and agents, on any theory of liability, for special, indirect, consequential or punitive damages arising out of or
otherwise relating to the Repurchase Documents, the actual or proposed use of the proceeds of the Transactions, this Repurchase Agreement or any of the transactions contemplated hereby or thereby. THE FOREGOING INDEMNITY AND AGREEMENT NOT TO ASSERT
CLAIMS EXPRESSLY APPLIES, WITHOUT LIMITATION, TO THE NEGLIGENCE (BUT NOT GROSS NEGLIGENCE OR WILLFUL MISCONDUCT) OF THE INDEMNIFIED PARTIES. 

(d) If the Seller fails to pay when due any costs, expenses or other amounts payable by it under this Repurchase Agreement, including, without
limitation, reasonable fees and expenses of counsel and indemnities, such amount may be paid on behalf of the Seller by the Buyer and the Agent (or the Buyer or the Agent, as the case may be) (including without limitation by the Buyer netting such
amount from the proceeds of any Purchase Price paid by the Buyer to the Seller hereunder), in its sole discretion and the Seller shall remain liable for any such payments by the Buyer. No such payment by the Buyer shall be deemed a waiver of any of
the Buyer’s rights under the Repurchase Documents. 

  
 67 

 (e) Without prejudice to the survival of any other agreement of the Seller hereunder, the
covenants and obligations of the Seller contained in this Section 13.04 shall survive the termination of this Repurchase Agreement, the payment in full of the Repurchase Price and all other amounts payable hereunder and delivery of the
Purchased Loans by the Buyer against full payment therefor. 
 13.05 Waiver of Redemption and Deficiency Rights. The Seller hereby
expressly waives, to the fullest extent permitted by law, every statute of limitation on a deficiency judgment, any reduction in the proceeds of any Purchased Items as a result of restrictions upon the Buyer, the Agent or Custodian contained in the
Repurchase Documents or any other instrument delivered in connection therewith, and any right that it may have to direct the order in which any of the Purchased Items shall be disposed of in the event of any disposition pursuant hereto. 

13.06 Reimbursement. All sums reasonably expended by the Buyer and the Agent (or the Buyer or the Agent, as the case may be) in
connection with the exercise of any right or remedy provided for herein shall be and remain the Seller’s obligation (unless and to the extent that the Seller is the prevailing party in any dispute, claim or action relating thereto). The Seller
agrees to pay, with interest at the Post-Default Rate to the extent that an Event of Default has occurred, the reasonable out-of-pocket expenses and reasonable attorneys’ fees incurred by the Buyer and/or Custodian in connection with the
preparation, negotiation, enforcement (including any waivers), administration and amendment of the Repurchase Documents (regardless of whether a Transaction is entered into hereunder), the taking of any action, including legal action, required or
permitted to be taken by the Buyer and/or Custodian pursuant thereto, any “due diligence” or loan agent reviews conducted by the Buyer or on its behalf or by refinancing or restructuring in the nature of a “workout.” 

13.07 Termination. This Repurchase Agreement shall remain in effect until the Termination Date. However, no such termination shall
affect the Seller’s outstanding obligations to the Buyer at the time of such termination. The Seller’s obligations under Section 3.03, Section 4.12, Section 6, Section 7, Section 13.04 and Section 13.06 and
any other reimbursement or indemnity obligation of the Seller to the Buyer pursuant to this Repurchase Agreement or any other Repurchase Documents shall survive the termination hereof. 

13.08 Severability. If any provision of any Repurchase Document is declared invalid by any court of competent jurisdiction, such
invalidity shall not affect any other provision of the Repurchase Documents, and each Repurchase Document shall be enforced to the fullest extent permitted by law. 

13.09 Amendments and Waivers. 

Except as otherwise expressly provided in this Repurchase Agreement, any provision of this Repurchase Agreement may be modified or supplemented
only by an instrument in writing signed by the Seller, the Buyer and the Agent and any provision of this Repurchase Agreement may be waived by the Buyer. 

  
 68 

 Neither this Repurchase Agreement nor any other Repurchase Document, nor any terms hereof or
thereof may be amended, supplemented or modified except in accordance with the provisions of this Section 13.09. The Buyer and the Agent (or the Buyer or the Agent, as the case may be) may, from time to time, (a) enter into with the Seller
written amendments, supplements or modifications hereto and to the other Repurchase Documents for the purpose of adding any provisions to this Repurchase Agreement or the other Repurchase Documents or changing in any manner the rights of the Buyer
or of the Seller hereunder or thereunder or (b) waive, on such terms and conditions as the Buyer and the Agent (or the Buyer or the Agent, as the case may be) may specify in such instrument, any of the requirements of this Repurchase Agreement
or the other Repurchase Documents or any Default or Event of Default and its consequences; provided, however, that no such waiver and no such amendment, supplement or modification shall: 

(i) reduce the amount or extend the scheduled date of maturity of any Transaction or of any payment made in respect thereof, or reduce the
stated rate of any interest or fee payable hereunder or extend the scheduled date of any payment thereof or increase the amount or extend the expiration date of this Repurchase Agreement or any Transaction, in each case without the consent of the
Buyer and the Agent (or the Buyer or the Agent, as the case may be), or 
 (ii) amend, modify or waive any provision of this
Section 13.09 or consent to the assignment or transfer by the Seller of any of its rights and obligations under this Repurchase Agreement and the other Repurchase Documents or release all or substantially all of the Purchased Items (except in
accordance with this Repurchase Agreement upon repayment of all amounts owing under the Repurchase Documents in respect thereof), in each case without the written consent of the Buyer and the Agent (or the Buyer or the Agent, as the case may be);

 provided, that any waiver, amendment, supplement or modification shall apply to the Buyer and shall be binding upon the Seller, the Buyer, the
Agent and their respective permitted successors and assigns and, in the case of any waiver, the Seller, the Buyer and the Agent shall be restored to their former positions and rights hereunder and under the other Repurchase Documents, and any
Default or Event of Default waived shall be deemed to be cured and not continuing, but no such waiver shall extend to any subsequent or other Default or Event of Default or impair any right consequent thereon. 

13.10 Assignments and Participations. (a) The Buyer may assign to one or more Persons all or a portion of its rights and
obligations under this Repurchase Agreement upon written consent of the Seller, which consent shall not be unreasonably withheld; provided, however, written consent of the Seller shall not be required if (i) an Event of Default
has occurred and is continuing or (ii) if the assignee is an Affiliate of the Buyer; provided, however, that the parties to each such assignment shall execute and deliver an Assignment and Acceptance substantially in the form of
Exhibit J, with appropriate completions (an “Assignment and Acceptance”). 

  
 69 

 (b) Upon such execution and delivery, from and after the effective date specified in such
Assignment and Acceptance, (i) the assignee thereunder shall be a party hereto and, to the extent that rights and obligations hereunder have been assigned to it pursuant to such Assignment and Acceptance, have the rights and obligations of the
Buyer hereunder, and (ii) the Buyer assignor thereunder shall, to the extent that any rights and obligations hereunder have been assigned by it pursuant to such Assignment and Acceptance, relinquish its rights and be released from its
obligations under this Repurchase Agreement. 
 (c) The Buyer may sell participations to one or more Persons in or to all or a portion of its
rights and obligations under this Repurchase Agreement; provided, however, that (i) the Buyer’s obligations under this Repurchase Agreement shall remain unchanged, (ii) the Buyer shall remain solely responsible to the
other parties hereto for the performance of such obligations, and (iii) the Seller shall continue to deal solely and directly with the Buyer in connection with the Buyer’s rights and obligations under and in respect of this Repurchase
Agreement and the other Repurchase Documents. Notwithstanding the terms of Section 3.03, each participant of the Buyer shall be entitled to the additional compensation and other rights and protections afforded the Buyer under
Section 3.03 to the same extent as the Buyer would have been entitled to receive them with respect to the participation sold to such participant. 

(d) The Buyer may, in connection with any assignment or participation or proposed assignment or participation pursuant to this
Section 13.10, disclose to the assignee or participant or proposed assignee or participant, as the case may be, any information relating to the Seller or any of its Subsidiaries or to any aspect of the Transactions that has been
furnished to the Buyer by or on behalf of the Seller or any of its Subsidiaries; provided, however, solely with respect to any proposed assignment, prior to providing information related to Seller or any of its Subsidiaries to any
proposed assignee other than an Affiliate of the Buyer, such proposed assignee must enter into a confidentiality agreement reasonably acceptable to the Seller. 

(e) The Buyer may at any time create a security interest in all or any portion of its rights under this Repurchase Agreement (including,
without limitation, the Repurchase Obligations owing to it) in favor of any Federal Reserve Bank in accordance with Regulation A of the Board of Governors of the Federal Reserve System and any Operating Circular issued by such Federal Reserve Bank.
No such assignment shall release the assigning the Buyer from its obligations hereunder. 
 (f) Notwithstanding the foregoing, upon the
occurrence and during the continuance of an Event of Default, the Buyer may assign all or any portion of its rights and obligations hereunder to any Person, provided that upon the effective date of such assignment such Person shall become a party
hereto and the Buyer hereunder and shall be (A) entitled to all the rights, benefits and privileges accorded the Buyer under the Repurchase Documents, and (B) subject to all the duties and obligations of the Buyer under the Repurchase
Documents. 
 13.11 Successors and Assigns. This Repurchase Agreement shall be binding upon and inure to the benefit of the parties
hereto and their respective successors and permitted assigns. The Seller may not assign any of its rights or obligations hereunder without the prior written consent of the Buyer. 

  
 70 

 13.12 Survival. The obligations of the Seller under Sections 3.03 and 13.04
hereof shall survive the payment of the Repurchase Obligations relating to all Transactions and the termination of this Repurchase Agreement. In addition, each representation and warranty made or deemed to be made by a request for a Transaction,
herein or pursuant hereto shall survive the making of such representation and warranty, and the Buyer shall not be deemed to have waived, by reason of making any Transaction, any Default that may arise because any such representation or warranty
shall have proved to be false or misleading, notwithstanding that the Buyer may have had notice or knowledge or reason to believe that such representation or warranty was false or misleading at the time such Transaction was made. 

13.13 Captions. The table of contents and captions and section headings appearing herein are included solely for convenience of
reference and are not intended to affect the interpretation of any provision of this Repurchase Agreement. 
 13.14 Counterparts. This
Repurchase 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 Repurchase Agreement by signing any such counterpart. 

13.15 Governing Law; Repurchase Agreement Constitutes Security Agreement. This Repurchase Agreement and any claim, controversy or
dispute arising under or related to or in connection with this Repurchase Agreement, the relationship of the parties, and/or the interpretation and enforcement of the rights and duties of the parties shall be governed by, and construed and
interpreted in accordance with, the laws of the State of New York and shall constitute a security agreement within the meaning of the Uniform Commercial Code. 

13.16 Captions. The table of contents and captions and section headings appearing herein are included solely for convenience of
reference and are not intended to affect the interpretation of any provision of this Repurchase Agreement. 
 13.17 Electronic
Signatures. The parties agree that this Repurchase Agreement, any documents to be delivered pursuant to this Repurchase Agreement and any notices hereunder may be transmitted between them by e-mail and/or by facsimile. The parties intend that
faxed signatures and electronically imaged signatures such as .pdf files shall constitute original signatures and are binding on all parties. Each party shall send to the other original signatures for any document that is transmitted by e-mail
and/or by facsimile 
 13.18 Submission To Jurisdiction; Waivers. The Seller hereby irrevocably and unconditionally: 

(A) SUBMITS FOR ITSELF AND ITS PROPERTY IN ANY LEGAL ACTION OR PROCEEDING RELATING TO THIS REPURCHASE AGREEMENT AND THE OTHER REPURCHASE
DOCUMENTS, OR FOR RECOGNITION AND ENFORCEMENT OF ANY JUDGMENT IN RESPECT THEREOF, TO THE NON-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; 

  
 71 

 (B) 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; 
 (C) 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 BUYER SHALL HAVE BEEN NOTIFIED; AND 

(D) 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. 
 13.19 WAIVER OF JURY TRIAL. TO THE EXTENT PERMITTED BY LAW, EACH OF THE SELLER, THE
AGENT AND THE BUYER HEREBY IRREVOCABLY WAIVES, TO THE FULLEST EXTENT PERMITTED BY APPLICABLE LAW, ANY AND ALL RIGHT TO TRIAL BY JURY IN ANY LEGAL PROCEEDING ARISING OUT OF OR RELATING TO THIS REPURCHASE AGREEMENT, ANY OTHER REPURCHASE DOCUMENT OR
THE TRANSACTIONS CONTEMPLATED HEREBY OR THEREBY. 
 13.20 Acknowledgments. The Seller hereby acknowledges that: 

(a) it has been advised by counsel in the negotiation, execution and delivery of this Repurchase Agreement and the other Repurchase Documents;

 (b) the Buyer and the Agent have no fiduciary relationship to the Seller, and the relationship between the Seller, on the one hand,
and the Buyer (and the Agent of the Buyer, as applicable), on the other hand, is solely that of the Seller and the Buyer (and the Agent of the Buyer, as applicable); and 

(c) no joint venture exists between the Buyer (including the Agent) and the Seller. 

13.21 Hypothecation or Pledge of Purchased Items. The Buyer, shall have free and unrestricted use of all of the Purchased Items and
nothing in this Repurchase Agreement shall preclude the Buyer from engaging in repurchase transactions with the Purchased Items or otherwise selling, pledging, repledging, transferring, assigning, hypothecating, rehypothecating or otherwise
conveying the Purchased Items. Nothing contained in this Repurchase Agreement shall obligate the Buyer to segregate any Purchased Items delivered to the Buyer by the Seller. 

  
 72 

 13.22 Servicing. 

(a) The Seller covenants to maintain or cause the servicing of the Purchased Loans to be maintained in conformity with Accepted Servicing
Practices. In the event that the preceding language is interpreted as constituting one or more servicing contracts, each such servicing contract shall terminate automatically upon the earliest of (i) an Event of Default, (ii) thirty
(30) days after the last Purchase Date of such Purchased Loan, (iii) the date on which all the Repurchase Obligations have been paid in full or (iv) the transfer of servicing approved by the Seller. Upon any such termination, Seller
shall comply with the requirements set forth in Section 7.31 as to the delivery of the Servicing Records and the physical servicing of each Purchased Loan. 

(b) During the period the Seller or Servicer is servicing the Purchased Loans, (i) the Seller agrees that the Buyer is the owner of the
Servicing Rights and all servicing records, including but not limited to any and all servicing agreements, files, documents, records, data bases, computer tapes, copies of computer tapes, proof of insurance coverage, insurance policies, appraisals,
other closing documentation, payment history records, and any other records relating to or evidencing the servicing of such Mortgage Loans (the “Servicing Records”), and (ii) the Seller grants the Buyer a security interest in all
servicing fees and rights relating to the Purchased Loans and all Servicing Records to secure the obligation of the Seller or its designee to service in conformity with this Section 13.22 and any other obligation of the Seller to the Buyer. At
all times during the term of this Repurchase Agreement, the Seller covenants to hold such Servicing Records in trust for the Buyer and to safeguard, or cause each Servicer to safeguard, such Servicing Records and to deliver them, or cause any such
Servicer to deliver them to the extent permitted under the related Servicing Agreement promptly to the Buyer or its designee (including Custodian) at the Buyer’s request or otherwise as required by operation of Section 7.31 hereof. It is
understood and agreed by the parties that prior to an Event of Default, the Seller, as servicer shall retain the servicing fees with respect to the Purchased Loans. 

(c) If the Purchased Loans are, at any time during the term of this Repurchase Agreement, serviced by a third party servicer or subservicer
(such third party servicer or subservicer, the “Servicer”), such Servicer must be acceptable to RHS, Fannie Mae, Freddie Mac, FHA or VA, as applicable, and each Seller (i) shall provide a copy of the related servicing or
subservicing agreement to the Buyer, which shall be in form and substance acceptable to the Buyer (the “Servicing Agreement”), and (ii) shall provide a Servicer Notice and Agreement to the Servicer substantially in the
form of Exhibit G hereto (a “Servicer Notice and Agreement”) and shall cause the Servicer to acknowledge and agree to the same. Any successor or assignee of a Servicer shall be approved in writing by the Buyer and
shall acknowledge and agree to a Servicer Notice and Agreement prior to such successor’s assumption of servicing obligations with respect to the Mortgage Loans. Any transfer of servicing of Mortgage Loans to any Servicer in accordance with this
Section 13.22(c), shall be subject to the Buyer’s ownership and security interest in the Servicing Rights, (including, without limitation, the security interest created under Section 4.01(b)), the Buyer’s security
interest in any payments received or to be received by the Seller in connection with such transfer or to any payments of any kind with respect to the Mortgage Loans being serviced by the Servicer and such transfer shall be subject to the
Buyer’s right to terminate the Servicing Agreement with such transferee and to cause such transferee to transfer the servicing rights to the Buyer’s designee, in each case as more particularly set forth in this
Section 13.22(c). 

  
 73 

 (d) If the Servicer of the Purchased Loans is the Seller or the Servicer is an Affiliate of the
Seller, the Seller shall provide to the Buyer a letter from the Seller or the Servicer, as the case may be, to the effect that upon the occurrence of an Event of Default, the Buyer may terminate any Servicing Agreement and in any event transfer
servicing to the Buyer’s designee, at no cost or expense to the Buyer, it being agreed that the Seller will pay any and all fees required to terminate the Servicing Agreement and to effectuate the transfer of servicing to the designee of the
Buyer. 
 (e) In addition to the rights provided in Section 13.22(a), the Buyer shall have the right, exercisable at any time in its
sole discretion, upon written notice, to terminate the Seller or any Servicers as servicer, respectively, of any Purchased Loans and any related Servicing Agreement. Upon any such termination, the Seller shall transfer or shall cause Servicer to
transfer such servicing with respect to such Purchased Loans to the Buyer or its designee, at no cost or expense to the Buyer. The Seller agrees to cooperate with the Buyer in connection with the transfer of servicing. 

(f) After the Purchase Date for any Purchased Loan, until such Purchased Loan is repurchased by the Seller and possession thereof is
relinquished by the Custodian, the Seller will have no right to modify or alter the terms of such Purchased Loan and the Seller will have no obligation or right to repossess such Purchased Loan or substitute another Purchased Loan, except as
provided in the Custodial Agreement. 
 (g) In the event the Seller or its Affiliate is servicing the Purchased Loans, the Seller shall
permit the Buyer from time to time to inspect the Seller’s or its Affiliate’s servicing facilities, as the case may be, for the purpose of satisfying the Buyer that the Seller or its Affiliate, as the case may be, has the ability to
service the Purchased Loans as provided in this Repurchase Agreement. 
 (h) The Buyer shall have the right in its sole discretion to appoint
a third party to perform due diligence with respect to the Seller’s servicing facilities at any time. The Seller shall cooperate with the Buyer and/or its designees to provide access to the Seller’s servicing facilities including without
limitation its books and records with respect to the Seller’s servicing portfolio and the Purchased Loans. In addition to the foregoing, the Seller shall permit the Buyer to inspect upon reasonable prior written notice at a mutually convenient
time, the Seller’s or its Affiliate’s servicing facilities, as the case may be, for the purpose of satisfying the Buyer that the Seller or its Affiliate, as the case may be, has the ability to service the Mortgage Loans as provided in this
Agreement. In addition, with respect to any Servicer which is not an Affiliate of the Seller, the Seller shall use its best efforts to enable the Buyer to inspect the servicing facilities of such Servicer and to cause such Servicer to cooperate with
the Buyer and/or its designees in connection with any due diligence performed by the Buyer and/or such designees in accordance with this Section 13.22(h). The Seller and the Buyer further agree that all reasonable out-of-pocket costs and
expenses incurred by the Buyer in connection with any due diligence or inspection performed pursuant to this Section 13.22(h) shall be paid by the Buyer. 

  
 74 

 13.23 Periodic Due Diligence Review. 

(a) Purchased Loans. The Seller acknowledges that the Buyer has the right to perform continuing due diligence reviews with respect to
the Purchased Loans and the manner in which they were originated, for purposes of verifying compliance with the representations, warranties and specifications made hereunder, or otherwise, and the Seller agrees that, unless a Default has occurred
(in which case no notice is required), upon reasonable (but no less than three (3) Business Days’) prior notice to the Seller, the 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 Files in the possession or under the control of the Seller and/or the Custodian. The Seller also
shall make available to the 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, the Seller acknowledges
that the Buyer may make Transactions to the Seller based solely upon the information provided by the Seller to the Buyer in the Mortgage Loan Data File and the representations, warranties and covenants contained herein, and that the 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 Purchased Loans relating to such Transaction, including without limitation ordering new credit reports and new appraisals on the related
Mortgaged Properties and otherwise re-generating the information used to originate such Mortgage Loan. The Buyer may underwrite such Purchased Loans itself or engage a mutually agreed upon third party underwriter to perform such underwriting. The
Seller agrees to cooperate with the Buyer and any third party underwriter in connection with such underwriting, including, but not limited to, providing the Buyer and any third party underwriter with access to any and all documents, records,
agreements, instruments or information relating to such Purchased Loans in the possession, or under the control, of the Seller. 
 (b) The
Seller. The Seller acknowledges that the Buyer has the right to perform quarterly due diligence reviews of the Seller’s operations, including, but not limited to, a review of (1) the financial condition of the Seller, (2) loan
origination and servicing guidelines, and (3) other corporate due diligence matters at the discretion of the Buyer. In connection therewith, the Seller agrees that upon reasonable (but no less than two (2) Business Day’s) prior notice
to the Seller (provided, that if a Default has occurred and is continuing, no such notice shall be required), the Buyer or its authorized representatives will be permitted during normal business hours to examine, inspect, and make copies and
extracts of all documents, records, agreements, instruments or information relating to the Seller which are in possession or under the control of the Seller, as the Buyer may reasonably request. The Seller shall also make available to the Buyer a
knowledgeable financial or accounting officer for the purpose of answering questions respecting the financial condition of the Seller and make available to the Buyer an officer of the Seller for the purpose of answering questions respecting other
corporate due diligence matters. 
 (c) Fees and Expenses. The Seller further agrees that the Seller shall reimburse the Buyer for any
and all out-of-pocket costs and expenses incurred by the Buyer in connection with their activities pursuant to this Section 13.23 as and when billed by the Buyer. 

13.24 Reserved. 

  
 75 

 13.25 Set-Off. The Seller hereby acknowledges, admits and agrees that the Seller’s
obligations under this Repurchase Agreement are recourse obligations of the Seller to which the Seller pledges its full faith and credit. In addition to any rights and remedies of the Buyer and the Agent (or the Buyer or the Agent, as the case may
be) provided by this Repurchase Agreement and by law, the Buyer and the Agent (or the Buyer or the Agent, as the case may be) shall have the right, without prior notice to the Seller, any such notice being expressly waived by the Seller to the
extent permitted by applicable law, upon any amount becoming due and payable by the Seller hereunder (whether at the stated maturity, by acceleration or otherwise) to set-off and appropriate and apply against such amount any and all deposits
(general or special, time or demand, provisional or final), in any currency, and any other credits, indebtedness or claims, in any currency, in each case whether direct or indirect, absolute or contingent, matured or unmatured, at any time held or
owing by the Buyer and the Agent (or the Buyer or the Agent, as the case may be) or any Affiliate thereof to or for the credit or the account of the Seller under the Repurchase Agreement or any other agreement between the Seller and its Affiliates
and the Buyer and its Affiliates. The Buyer and the Agent (or the Buyer or the Agent, as the case may be) agree promptly to notify the Seller after any such set-off and application made by the Buyer and the Agent (or the Buyer or the Agent, as the
case may be); provided that the failure to give such notice shall not affect the validity of such set-off and application 
 13.26 Single
Agreement. The Seller, the Agent and the Buyer 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 have been made in consideration of each other. Accordingly, the Seller, the Agent and the Buyer each agree (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, and (ii) that payments, deliveries and other transfers made by any 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 Transaction hereunder, and the obligations to make any such payments, deliveries and other transfers may be applied against each other and
netted. 
 13.27 Intent. 

(a) The Seller and the Buyer recognize that each Transaction is a “repurchase agreement” as that term is defined in
Section 101(47)(A)(i) of Title 11 of the USC, a “securities contract” as that term is defined in Section 741(7)(A)(i) of Title 11 of the USC, and a “master netting agreement” as that term is defined in
Section 101(38A)(A) of Title 11 of the USC, and that the pledge of the Related Credit Enhancement in Section 4.01(c) hereof is intended to constitute “a security agreement or other arrangement or other credit enhancement” that is
“related to” the Repurchase Agreement and Transactions hereunder within the meaning of Sections 101(38A)(A), 101(47)(a)(v) and 741(7)(A)(x) of Title 11 of the USC. 

(b) It is understood that the Buyer’s right to liquidate the Purchased Items delivered to it in connection with the Transactions hereunder
or to accelerate or terminate this Repurchase Agreement or otherwise exercise any other remedies pursuant to Section 9 hereof is a contractual right to liquidate, accelerate or terminate such Transaction as described in Sections 555, 559 and
561 of Title 11 of the USC. 

  
 76 

 (c) The parties further agree 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” as that term is defined in the FDIA, and any rules, orders
or policy statement thereunder. 
 (d) It is understood that this Repurchase 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. 
 13.28
Confidentiality. 
 (a) The Repurchase Documents and their respective terms, provisions, supplements and amendments, and transactions
and notices thereunder (collectively, “Confidential Information”), are proprietary to the Buyer and the Agent (or the Buyer or the Agent, as the case may be) and shall be held by the Seller and the Buyer in strict confidence
and shall not be disclosed to any third party without the consent of the Buyer and the Agent (or the Buyer or the Agent, as the case may be) or the Seller, as applicable, except for (i) disclosure to the Seller’s Affiliates, directors,
attorneys, agents or accountants (the “Representatives”), provided that the Seller shall (A) inform each of its Representatives receiving any Repurchase Documents of the confidential nature of the Repurchase Documents,
(B) direct its Representatives to treat the Repurchase Documents confidentially, and (C) be responsible for any improper use of the Repurchase Documents by the Seller or its Representatives or (ii) upon prior written notice to the
Buyer and the Agent (or the Buyer or the Agent, as the case may be) to the extent permitted by law, disclosure required by law, rule, regulation or order of a court or other regulatory body or (iii) upon prior written notice to the Buyer and
the Agent (or the Buyer or the Agent, as the case may be), disclosure to any approved hedge counterparty to the extent necessary to obtain any Interest Rate Protection Agreement hereunder or (iv) any disclosures or filing required under
Securities and Exchange Commission (“SEC”) or state securities’ laws; provided that in the case of disclosure by any party pursuant to the foregoing clauses (ii), (iii) and (iv), the disclosing party shall to the extent permitted
by law provide the Buyer and the Agent (or the Buyer or the Agent, as the case may be) or the Seller, applicable, with prior written notice to permit Buyer and the Agent (or the Buyer or the Agent, as the case may be) or the Seller, applicable, to
seek a protective order to take other appropriate action; provided further that in the case of (iv), the Seller shall not file any of the Repurchase Documents other than the Repurchase Agreement with the SEC or state securities office unless the
Seller shall have provided at least thirty (30) days (or such lesser time as may be demanded by the SEC or state securities office) prior written notice of such filing to the Buyer. The Seller shall use its commercially reasonable efforts to
cooperate in the Buyer’s efforts to obtain a protective order or other reasonable assurance that confidential treatment will be accorded the Repurchase Documents. If, in the absence of a protective order, the Seller or any of its
Representatives is compelled as a matter of law to disclose any such information, the Seller may disclose to the party compelling disclosure only the part of the Repurchase Documents as is required by law to

  
 77 

 be disclosed and the Seller shall use its commercially reasonable efforts to obtain confidential treatment
therefor. The Buyer and the Agent acknowledge that this Repurchase Agreement may be filed with the SEC; provided that, the Seller shall redact any pricing and other confidential provisions, including, without limitation, the amount of any fees,
Applicable Pricing Spread and Applicable Purchase Rate from such filed Agreement. Notwithstanding anything to the contrary contained herein, (i) the receiving party and any of its Representatives may disclose any Confidential Information,
without notice to the disclosing party, to any governmental agency, regulatory authority or self-regulatory authority (including, without limitation, bank and securities examiners) having or claiming to have authority to regulate or oversee any
aspect of the receiving party’s business or that of its Representatives in connection with the exercise of such authority or claimed authority, and (ii) the Buyer and the Seller agree that they (and their employees, representatives, and
other agents) may disclose to any and all persons, without limitation of any kind from the commencement of discussions, the U.S. federal and state income tax treatment and tax structure of the transaction and all materials of any kind (including
opinions or other tax analyses) that are provided to it relating to the tax treatment and tax structure. For this purpose, “tax structure” is limited to facts relevant to the U.S. federal and state income tax treatment of the transaction
and does not include information relating to the identity of the parties, their affiliates, agents or advisors. 
 (b) The Seller shall, with
respect to all Mortgage Loans, comply with the applicable provisions of the Gramm-Leach-Bliley Act of 1999 (the “GLB”) and any applicable state and local privacy laws pursuant to the GLB for financial institutions and applicable state and
local privacy laws. The Seller agrees to hold the Buyer and each of its Affiliates (other than any Excluded Affiliate) and their officers, directors and employees (each a “GLB Indemnified Party”) harmless from and indemnify
any GLB 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 GLB Indemnified Party relating to or arising out of the Seller’s
violation of the GLB or any applicable state or local privacy laws with respect to the Mortgage Loans. 
 13.29 Entire Agreement. This
Repurchase Agreement and the other Repurchase Documents embody the entire agreement and understanding of the parties hereto and thereto and supersede any and all prior agreements, arrangements and understandings relating to the matters provided for
herein and therein. No alteration, waiver, amendments, or change or supplement hereto shall be binding or effective unless the same is set forth in writing by a duly authorized representative of each party hereto. This Repurchase Agreement and the
other Repurchase Documents represent the agreement of the Buyer, the Agent and the Seller with respect to the subject matter hereof and thereof, and there are no promises, undertakings, representations or warranties by the Buyer or the Agent
relative to the subject matter hereof or thereof not expressly set forth or referred to herein or in the other Repurchase Documents. 

  
 78 

 IN WITNESS WHEREOF, the parties hereto have caused this Repurchase Agreement to be duly executed
and delivered as of the day and year first above written. 
  

			
	SELLER
	
	LOANDEPOT.COM, LLC
		
	By:	 	 /s/ Jon C. Frojen

		 	Title: Chief Financial Officer
	
	Address for Notices:
	
	 26642 Towne Centre Drive
 Foothill
Ranch, CA 92610
 Attention: Jon Frojen, CFO
 Telephone: (949)
465-8490
 Facsimile: (949) 465-8490

 [Signature Page to Master Repurchase Agreement – Morgan Stanley/loanDepot.com, LLC] 

 
			
	 BUYER
  

MORGAN STANLEY BANK, N.A.

		
	By:	 	 /s/ Geoffrey Kott

		 	Title: Authorized Signatory
	
	Address for Notices:
	
	1585 Broadway
	New York, New York 10036
	Attention: SPG Mortgage Finance
	Facsimile No.: 212-761-0093
	Telephone No.: 212-761-4480
	
	AGENT
	
	 MORGAN STANLEY MORTGAGE

CAPITAL HOLDINGS LLC

		
	By:	 	 /s/ Geoffrey Kott

		 	Title: Vice President
	
	Address for Notices:
	
	1585 Broadway
	New York, New York 10036
	Attention: SPG Mortgage Finance
	Facsimile No.: 212-761-0093
	Telephone No.: 212-761-4480

 [Signature Page to Master Repurchase Agreement – Morgan Stanley/loanDepot.com, LLC] 

 Schedule 1 

REPRESENTATIONS AND WARRANTIES RE: MORTGAGE LOANS 

Part I. Eligible Mortgage Loans 

As to each Mortgage Loan that is a Purchased Loan subject to any Transaction outstanding on a Purchase Date (and the related Mortgage, Mortgage
Note, Assignment of Mortgage and Mortgaged Property), the Seller shall be deemed to make the following representations and warranties to the Buyer as of such date and at all times a Purchased Loan is subject to a Transaction. With respect to any
representations and warranties made to the best of the Seller’s knowledge, in the event that it is discovered that the circumstances with respect to the related Mortgage Loan are not accurately reflected in such representation and warranty
notwithstanding that such representation and warranty is made to the best of the Seller’s knowledge, such Mortgage Loan shall be assigned a Recognized Value of zero. Certain defined terms used herein and not otherwise defined in the Repurchase
Agreement appear in Part II to this Schedule 1: 
 (a) Mortgage Loans as Described. The information set forth in the Mortgage
Loan Schedule with respect to the Mortgage Loan is complete, true and correct in all material respects. 
 (b) Payments Current. All
payments required to be made up to the Purchase Date for the Mortgage Loan under the terms of the Mortgage Note have been made and credited—it being understood that a payment is not required to be made until after the expiration of any
applicable grace period. No payment required under the Mortgage Loan is delinquent nor has any payment under the Mortgage Loan been delinquent at any time since the origination of the Mortgage Loan, in each case it being understood that payment is
delinquent after the expiration of any applicable grace period. The first Monthly Payment shall be made, or shall have been made, with respect to the Mortgage Loan on its Due Date or within the grace period, all in accordance with the terms of the
related Mortgage Note. 
 (c) No Outstanding Charges. There are no defaults in complying with the terms of the Mortgage securing the
Mortgage Loan, 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. Neither the Seller nor the Qualified Originator from which the Seller acquired the Mortgage Loan has 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 proceeds of the Mortgage Loan, whichever is earlier, to the day which precedes by one month the Due Date of the first installment of principal and interest thereunder. 

  
 Schedule 1-1 

 (d) 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 the Buyer, and which has been delivered to the Custodian and the
terms of which are reflected in the Mortgage Loan Schedule. The substance of any such waiver, alteration or modification has been approved by the insurer under the Primary Insurance Policy, if any, and the title insurer, to the extent required, and,
with respect to the FHA, RHS and VA Loans, has been approved by the FHA, to the extent required by the FHA Insurance Contract, the RHS to the extent required of the Rural Housing Service Guaranty or the VA, to the extent of the VA Guaranty
Agreement, and its terms are reflected on the Mortgage Loan Schedule. No Mortgagor in respect of the Mortgage Loan has been released, in whole or in part, except in connection with an assumption agreement approved by the insurer under the Primary
Insurance Policy, if any, and the title insurer, to the extent required by such policy and with respect to any FHA Loan, the FHA to the extent required by the FHA Insurance Contract or FHA Regulations, or with respect to any VA Loan, the VA to the
extent of the VA Guaranty Agreement, or with respect to any RHS Loan, the RHS to the extent of the Rural Housing Service Guaranty, and which assumption agreement is part of the Mortgage File delivered to the Custodian and the terms of which are
reflected in the Mortgage Loan Schedule. 
 (e) 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 and no such right of rescission, set-off, counterclaim or defense has been asserted with respect thereto, and no Mortgagor in respect of the Mortgage Loan was a debtor in any state or Federal bankruptcy or
insolvency proceeding at the time the Mortgage Loan was originated. The Seller has no knowledge nor has it received any notice that any Mortgagor in respect of the Mortgage Loan is a debtor in any state or federal bankruptcy or insolvency
proceeding. 
 (f) Hazard Insurance. The Mortgaged Property is insured by a fire and extended perils insurance policy, issued by a
Qualified Insurer, and such other hazards as are customary in the area where the Mortgaged Property is located, and to the extent required by the Seller as of the date of origination consistent with the applicable Agency Guide, against earthquake
and other risks insured against by Persons operating like properties in the locality of the Mortgaged Property, in an amount consistent with the amount that would have been required as of the date of origination in accordance with the applicable
Agency Guide. If any portion of the Mortgaged Property is in an area identified by any federal Governmental Authority as having special flood hazards, and flood insurance is available, a flood insurance policy meeting the current guidelines of the
Federal Emergency Management Agency is in effect with a generally acceptable insurance carrier, in an amount representing coverage not less than the least of (1) the outstanding principal balance of the Mortgage Loan, (2) the full
insurable value of the Mortgaged Property, and (3) the maximum amount of insurance available under the National Flood Insurance Act of 1968, as amended by the Flood Disaster Protection Act of 1974. All such insurance policies (collectively, the
“hazard insurance policy”) contain a standard mortgagee clause naming the Seller, its successors and assigns (including without limitation, subsequent owners of the Mortgage Loan), as mortgagee, and may not be reduced, terminated or
canceled without 30 days’ prior written notice to the mortgagee. No such notice has been received by the Seller. All premiums on such insurance policy have been paid. The related Mortgage obligates the Mortgagor to maintain all such insurance
and, at such Mortgagor’s 

  
 Schedule 1-2 

 
failure to do so, authorizes the mortgagee to maintain such insurance at the Mortgagor’s cost and expense and to seek reimbursement therefor from such 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 and is in full force and effect. The Seller has not engaged in, and has no knowledge of the
Mortgagor’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 either 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, and no such unlawful items have been received, retained or realized by the
Seller. 
 (g) Compliance with Applicable Laws. Any and all requirements of any federal, state or local law including, without
limitation, usury, laws with respect to unfair and deceptive lending practices and Predatory Lending Practices truth-in-lending, real estate settlement procedures, consumer credit protection, equal credit opportunity or disclosure laws applicable to
the Mortgage Loan have been complied with, the consummation of the transactions contemplated hereby will not involve the violation of any such laws or regulations, and the Seller shall maintain or shall cause its agent to maintain in its possession,
available for the inspection of the Buyer, and shall deliver to the Buyer, upon demand, evidence of compliance with all such requirements. 

(h) 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. The 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 the Seller waived any default resulting from any action or inaction by the Mortgagor. 

(i) Location and Type of Mortgaged Property. The Mortgaged Property is located in an Acceptable State as identified in the Mortgage Loan
Schedule and consists of a single parcel of real property with a dwelling which is acceptable to the related Agency pursuant to the applicable Agency Guide. No residence or dwelling is a mobile home or a manufactured dwelling. No portion of the
Mortgaged Property is used for commercial purposes. 
 (j) Valid First Lien. The Mortgage is a valid, subsisting, enforceable and
perfected first lien on the real property included in the Mortgaged Property, including all buildings 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 with respect to the foregoing. The lien of the Mortgage is subject only to: 

(1) the lien of current real property taxes and assessments not yet due and payable; 

  
 Schedule 1-3 

 (2) 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 to any applicable Agency, and specifically referred to in the lender’s title insurance policy delivered to the applicable
Agency, and originator of the Mortgage Loan and (a) 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 
 (3) 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, and which will not in any way prevent realization of the full benefits of any FHA
Insurance Contract, VA Guaranty Agreement or Rural Housing Service Guaranty. 
 Any security agreement, chattel mortgage or equivalent document related to
and delivered in connection with the Mortgage Loan establishes and creates a valid, subsisting and enforceable first lien and first priority security interest on the property described therein and the Seller has full right to pledge and assign the
same to the 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.

 (k) Validity of Mortgage Documents. The Mortgage Note and the Mortgage and any other agreement executed and delivered by a
Mortgagor or guarantor, if applicable, 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 such related parties. 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 involved in the origination of the Mortgage Loan. The 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. 
 (l) Full Disbursement of Proceeds. The Mortgage Loan
(unless it is an FHA §203(k) Loan) has been closed and the proceeds of the Mortgage Loan have been fully disbursed and there is no further 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. 

  
 Schedule 1-4 

 (m) Ownership. The Seller is the sole owner and holder of the Mortgage Loan. The Mortgage
Loan is not assigned or pledged, and the Seller has good, indefeasible and marketable title thereto, and has full right to transfer, pledge and assign the Mortgage Loan to the 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 assign, transfer and pledge each Mortgage Loan pursuant to this Repurchase
Agreement and following the pledge of each Mortgage Loan, the Buyer will hold such Mortgage Loan free and clear of any encumbrance, equity, participation interest, lien, pledge, charge, claim or security interest except any such security interest
created pursuant to the terms of this Repurchase Agreement. 
 (n) 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) (i) in compliance with any and all applicable licensing requirements of the laws of the
state wherein the Mortgaged Property is located and all applicable Agency Guides, and (ii) either (A) organized under the laws of such state, (B) qualified to do business in such state, (C) a federal savings and loan association,
a savings bank or a national bank having a principal office in such state, or (D) not doing business in such state. 
 (o) LTV.
No Mortgage Loan has an LTV greater than the percentage permitted by Fannie Mae, Freddie Mac, Ginnie Mae, FHA or VA, as applicable. Each Mortgage Loan which is required to be subject to a Primary Insurance Policy pursuant to the Agency Guide of the
applicable Agency is and will be subject to such a Primary Insurance Policy, issued by a Qualified Insurer, which insures that portion of the Mortgage Loan in excess of the portion of the Appraised Value of the Mortgaged Property as required by such
Agency. All provisions of such Primary Insurance Policy have been and are being complied with, such policy is in full force and effect, and all premiums due thereunder have been paid. Any Mortgage subject to any such Primary Insurance Policy
obligates the Mortgagor thereunder to maintain such insurance and to pay all premiums and charges in connection therewith. The Mortgage Interest Rate for the Mortgage Loan does not include any such insurance premium. No Mortgage Loan is subject to a
lender-paid primary mortgage insurance policy. 
 (p) Title Insurance. Other than each Cooperative Mortgage Loan, the Mortgage Loan is
covered by either (i) an attorney’s opinion of title and abstract of title, the form and substance of which is acceptable to prudent mortgage lending institutions making mortgage loans in the area wherein the Mortgaged Property is located
or (ii) an ALTA lender’s title insurance policy or other generally acceptable form of policy or insurance acceptable to Fannie Mae, Freddie Mac or Ginnie Mae, as applicable, and with respect to FHA Loans, RHS Loans and VA Loans, the FHA,
RHS or VA, as the case may be, and each such title insurance policy is issued by a title insurer acceptable to Fannie Mae or Freddie Mac, as applicable, and with respect to FHA Loans, RHS Loans and VA Loans, the FHA, RHS or the VA, as the case may
be, and qualified to do business in the jurisdiction where the Mortgaged Property is located, insuring the Seller, its successors and assigns, as to the first priority lien of the Mortgage in the original principal amount of the Mortgage Loan (or to
the extent a Mortgage Note provides for negative amortization, the maximum amount of negative amortization in accordance with the Mortgage), subject only to the exceptions contained in clauses (1), (2) and (3) of paragraph (j) of this
Part I of 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

  
 Schedule 1-5 

 
providing for adjustment to the Mortgage Note 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. The 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 Repurchase Agreement. No claims have been made under such lender’s title insurance policy, and no prior holder or servicer of the related Mortgage, including the 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, and no such unlawful items have been received, retained or realized by the Seller. 
 (q) No
Defaults. Other than Mortgage Loans which are no more than thirty (30) days past due, there is no default, breach, violation or event of acceleration existing under the Mortgage or the Mortgage Note and no event has occurred 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 of acceleration, and neither the Seller nor its predecessors have waived any default, breach, violation or event of
acceleration. 
 (r) 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 the law could give rise to such liens) affecting the Mortgaged Property which are or may be liens prior to, or equal or coordinate with, the lien of the Mortgage. 

(s) Location of Improvements; No Encroachments. All improvements which were considered in determining the Appraised Value of the
Mortgaged Property lie 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 and building law, ordinance or regulation. 
 (t) Origination; Payment Terms. The
Mortgage Loan was originated by or in conjunction with 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 similar banking institution which is supervised and examined by a federal or state authority. Monthly Payments on the Mortgage Loan commenced no more than sixty (60) days after funds were disbursed in
connection with the Mortgage Loan. The Mortgage Note Interest Rate is adjusted, with respect to adjustable rate Mortgage Loans, on each Interest Rate Adjustment Date to equal the Index plus the Gross Margin (rounded up or down to the nearest .125%),
subject to the Mortgage Note Interest Rate Cap. The Mortgage Note is payable on the first day of each month. Other than with respect to a Mortgage Loan identified on the related Mortgage Loan Schedule as an
interest-

  
 Schedule 1-6 

 
only Mortgage Loan, the Mortgage Loan 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 Note 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 (30) years from commencement of amortization. With respect to each Mortgage Loan identified on the Mortgage Loan Schedule as an interest-only Mortgage Loan, the interest-only period shall not exceed ten
(10) years (or such other period specified on the Mortgage Loan Schedule) and following the expiration of such interest-only period, the remaining Monthly Payments shall be sufficient to fully amortize the original principal balance over the
remaining term of the Mortgage Loan and to pay interest at the related Mortgage Interest Rate. The term of any Mortgage Loan shall not exceed thirty (30) years. 

(u) Customary Provisions. The Mortgage Note has a stated maturity. 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 available to a Mortgagor which would interfere with the right to sell the Mortgaged Property at a trustee’s sale or the
right to foreclose the Mortgage. 
 (v) Conformance with Underwriting Guidelines and Agency Standards. The Mortgage Loan was
underwritten in accordance with the Underwriting Guidelines and all provisions of the applicable Agency Guide. The Mortgage Note and Mortgage are on forms acceptable to Freddie Mac, Fannie Mae or Ginnie Mae, as applicable, and the Seller has not
made any representations to a Mortgagor that are inconsistent with the mortgage instruments used. 
 (w) Occupancy of the Mortgaged
Property or Cooperative Unit. As of the Purchase Date the Mortgaged Property or Cooperative Unit 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. The Seller has not received written notification from any Governmental Authority that the Mortgaged Property or Cooperative Unit is in material non-compliance with such laws or regulations, is being used, operated or occupied unlawfully
or has failed to have or obtain such inspection, licenses or certificates, as the case may be. The Seller has not received notice of any violation or failure to conform with any such law, ordinance, regulation, standard, license or certificate. 

(x) 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. 

  
 Schedule 1-7 

 (y) 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 the Custodian or the Buyer to the trustee
under the deed of trust, except in connection with a trustee’s sale after default by the Mortgagor. 
 (z) 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 (other than Wet-Ink Mortgage Loans) have been delivered to the
Custodian. The Seller or its agent is in possession of a complete, true and accurate Mortgage File in compliance with the Custodial Agreement, except for such documents the originals of which have been delivered to the Custodian. 

(aa) Transfer of Mortgage Loans. With respect to each Mortgage Loan other than a Cooperative Mortgage Loan, the Assignment of Mortgage
is in recordable form and is acceptable for recording under the laws of the jurisdiction in which the Mortgaged Property is located with respect to each Cooperative Mortgage Loan, the UCC-3 assignment is in a form suitable for filing in the
jurisdiction in which the Mortgaged Property is located. 
 (bb) 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 or Cooperative Unit, as applicable, is sold or transferred without the prior written consent of the Mortgagee thereunder. 

(cc) 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 the 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. 

(dd) 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. With respect to each Mortgage Loan other than a Cooperative Mortgage Loan, 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. The consolidated principal amount does not exceed the original principal amount of the Mortgage Loan. 

(ee) Mortgaged Property Undamaged. 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 or Cooperative Unit as security for the Mortgage Loan or the use for which the premises were intended and each Mortgaged Property is in good repair. There have
not been any condemnation proceedings with respect to the Mortgaged Property and the Seller has no knowledge of any such proceedings. 

  
 Schedule 1-8 

 (ff) Collection Practices; Escrow Deposits; Interest Rate Adjustments. The origination and
collection practices used by the originator, each servicer of the Mortgage Loan and the 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 each FHA Loan, RHS Loan and VA Loan has been serviced in accordance with all FHA, RHS and VA policies and regulations, as applicable. With respect to escrow deposits and Escrow Payments, all such payments
are in the possession of, or under the control of, the 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. An escrow of funds is not prohibited by applicable law and, where required under the applicable Underwriting Guidelines or requested by the related Mortgagor, (for Mortgage Loans other than Cooperative Mortgage
Loans) 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 the Seller have been
capitalized under the Mortgage or the Mortgage Note. All Mortgage Note Interest Rate adjustments have been made in strict compliance with state and federal law and the terms of the related Mortgage Note. Any interest required to be paid pursuant to
state, federal and local law has been properly paid and credited. The Mortgage Loan was originated and has been serviced in a manner such that the Mortgage Loan will be eligible for the maximum amount of insurance made available by the FHA, RHS or
VA, as the case may be, without any right of offset, counterclaim or defense by the FHA, the RHS or VA, as the case may be. 
 (gg)
Conversion to Fixed Interest Rate. With respect to adjustable rate Mortgage Loans, the Mortgage Loan is not convertible to a fixed interest rate Mortgage Loan. 

(hh) Other Insurance Policies. No action, inaction or event has occurred and no state of facts exists or has existed that has resulted
or will result in the exclusion from, denial of, or defense to coverage under any applicable special hazard insurance policy, PMI Policy or bankruptcy bond, irrespective of the cause of such failure of coverage. In connection with the placement of
any such insurance, no commission, fee, or other compensation has been or will be received by the Seller or by any officer, director, or employee of the Seller or any designee of the Seller or any corporation in which the Seller or any officer,
director, or employee had a financial interest at the time of placement of such insurance. 
 (ii) Servicemembers Civil Relief Act.
The Mortgagor has not notified the Seller, and the Seller has no knowledge, of any relief requested or allowed to the Mortgagor under the Servicemembers Civil Relief Act of 2003 (formerly known as the Soldiers’ and Sailors’ Civil Relief
Act of 1940). 
 (jj) Appraisal. With respect to each Mortgage Loan for which the related Agency has not granted a property inspection
waiver, the Mortgage File contains an appraisal of the related Mortgaged Property or Cooperative Unit signed prior to the approval of the Mortgage Loan application by a qualified appraiser, duly appointed by the Seller, who had no interest, direct
or indirect in the Mortgaged Property or Cooperative Unit or in any loan made on the 

  
 Schedule 1-9 

 
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, Ginnie Mae, FHA, RHS or VA, as applicable, and Title XI of the Federal Institutions Reform, Recovery, and Enforcement Act of 1989 as amended and the regulations promulgated thereunder, all as in effect on the date the Mortgage Loan was
originated. 
 (kk) Disclosure Materials. The Mortgagor has executed a statement to the effect that the Mortgagor has received all
disclosure materials required by applicable law with respect to the making of adjustable rate mortgage loans, and the Seller maintains such statement in the Mortgage File. 

(ll) Construction or Rehabilitation of Mortgaged Property. No Mortgage Loan (other than an FHA §203(k) 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. 
 (mm)
No Defense to Insurance Coverage. 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 the 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 PMI Policy (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 the 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. 
 (nn)
Capitalization of Interest. The Mortgage Note does not by its terms provide for the capitalization or forbearance of interest. 
 (oo)
No Equity Participation. No document relating to the Mortgage Loan provides for any contingent or additional interest in the form of participation in the cash flow of the Mortgaged Property or a sharing in the appreciation of the value of the
Mortgaged Property. The indebtedness evidenced by the Mortgage Note is not convertible to an ownership interest in the Mortgaged Property or the Mortgagor and the Seller has not financed nor does it own directly or indirectly, any equity of any form
in the Mortgaged Property or the Mortgagor. 
 (pp) Proceeds of Mortgage Loan. The proceeds of the Mortgage Loan have not been and
shall not be used to satisfy, in whole or in part, any debt owed or owing by the Mortgagor to the Seller or any Affiliate or correspondent of the Seller. 

(qq) Withdrawn Mortgage Loans. If the Mortgage Loan has been released to the Seller pursuant to a Request for Release as permitted under
Section 5 of the Custodial Agreement, then the promissory note relating to the Mortgage Loan was returned to the Custodian within 10 days (or if such tenth day was not a Business Day, the next succeeding Business Day). 

  
 Schedule 1-10 

 (rr) Origination Date. The Origination Date is no earlier than 30 days prior to the date
the Mortgage Loan is first included as a Purchased Loan under the Repurchase Agreement. 
 (ss) No Exception. The Custodian has not
noted any material exceptions on an Exception Report (as defined in the Custodial Agreement) with respect to the Mortgage Loan which would materially adversely affect the Mortgage Loan or the security interest granted by the Seller in the Mortgage
Loan to the Buyer under the Repurchase Agreement. 
 (tt) Qualified Originator. The Mortgage Loan has been originated by, and, if
applicable, purchased by the Seller from, a Qualified Originator. 
 (uu) Mortgage Submitted for Recordation. The Mortgage either has
been or will promptly be submitted for recordation in the appropriate governmental recording office of the jurisdiction where the Mortgaged Property is located. 

(vv) Value of Mortgaged Property. Seller has no knowledge of any circumstances existing that should reasonably be expected to adversely
affect the value or the marketability of the Mortgaged Property or the Mortgage Loan or to cause the Mortgage Loan to prepay during any period materially faster or slower than the mortgage loans originated by Seller generally. 

(ww) HOEPA. No Mortgage Loan is (a) subject to the provisions of the Homeownership and Equity Protection Act of 1994 as amended
(“HOEPA”), (b) a “high cost” mortgage loan, “covered” mortgage loan, “high risk home” mortgage loan, or “predatory” mortgage loan or any other comparable term, no matter how defined under any
federal, state or local law, (c) subject to any comparable federal, state or local statutes or regulations, or any other statute or regulation providing for heightened regulatory scrutiny or assignee liability to holders of such mortgage loans,
or (d) a High Cost Loan or Covered Loan, as applicable (as such terms are defined in the current Standard & Poor’s LEVELS® Glossary Revised, Appendix E). 

(xx) No Predatory Lending. No predatory, abusive or deceptive lending practices, including but not limited to, the extension of credit
to a mortgagor without regard for the mortgagor’s ability to repay the Mortgage Loan and the extension of credit to a mortgagor which has no tangible net benefit to the mortgagor, were employed in connection with the origination of the Mortgage
Loan. 
 (yy) Compliance with Interagency Guidance. Each Purchased Loan that is a “nontraditional mortgage loan” within the
meaning of the Interagency Guidance on Nontraditional Mortgage Product Risks, 71 FR 58609 (October 4, 2006), and that has a residential loan application date on or after September 13, 2007 (or, if such date cannot be determined, an origination
date on or after October 1, 2007), complies in all respects with such guidance, including any interpretations, applications or implementation plans with respect thereto that have been communicated and/or agreed to by an institution’s
regulator, regardless of whether the Purchased Loan’s originator or seller is subject to such guidance; 

  
 Schedule 1-11 

 (zz) Compliance with Subprime Statement. No Purchased Loan that is an adjustable rate
Mortgage Loan and that has a residential loan application date on or after September 13, 2007, is subject to the Interagency Statement on Subprime Mortgage Lending, 72 FR 37569 (July 10, 2007) as defined by Fannie Mae in the Lender Letter 03-07
(August 15, 2007) or by Freddie Mac in Freddie Mac Single Family Advisory (September 7, 2007) and Freddie Mac Bulletin 2007-4); 
 (aaa)
MERS Loans. With respect to each MERS Designated Mortgage Loan, a Mortgage Identification Number has been assigned by MERS and such Mortgage Identification Number is accurately provided on the Mortgage Loan Schedule. The related Assignment of
Mortgage to MERS has been duly and properly recorded. With respect to each MERS Designated Mortgage Loan, the Seller has not received any notice of liens or legal actions with respect to such Mortgage Loan and no such notices have been
electronically posted by MERS; 
 (bbb) Cooperative Mortgage Loans. With respect to each Cooperative Mortgage Loan, the Seller
represents and warrants: 
 (1) the Cooperative Mortgage Loan is secured by a valid, subsisting, enforceable and
perfected first lien on the Cooperative Shares issued to the related Mortgagor with respect to such Cooperative Mortgage Loan. The lien of the Security Agreement is subject only to the Cooperative Corporation’s lien against such corporation
stock, shares or membership certificate for unpaid assessments of the Cooperative Corporation to the extent required by applicable law. Any Security Agreement, chattel mortgage or equivalent document related to and delivered in connection with the
Cooperative Mortgage Loan establishes and creates a valid, subsisting and enforceable first lien and first priority security interest on the property described therein and the Seller has full right to sell and assign the same to the Buyer. The
Cooperative Unit was not, as of the date of origination of the Cooperative 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 Security Agreement. 

(2) (i) the term of the related Proprietary Lease is longer than the term of the Cooperative Mortgage Loan,
(ii) there is no provision in any Proprietary Lease which requires the Mortgagor to offer for sale the Cooperative Shares owned by such Mortgagor first to the Cooperative, (iii) there is no prohibition in any Proprietary Lease against
pledging the Cooperative Shares or assigning the Proprietary Lease and (iv) the Recognition Agreement is on a form of agreement published by the Aztech Document Systems, Inc. or includes provisions which are no less favorable to the lender than
those contained in such agreement. 
 (3) There is no proceeding pending or threatened for the total or partial condemnation
of the building owned by the applicable Cooperative Corporation (the “Underlying Mortgaged Property”). The Underlying 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 Underlying Mortgaged Property as security for the mortgage loan on such Underlying Mortgaged Property (the “Cooperative Mortgage”) or the use for which the premises were intended.

  
 Schedule 1-12 

 (4) There is no default, breach, violation or event of acceleration existing
under the Cooperative Mortgage or the mortgage note related thereto 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 of acceleration.

 (5) The Cooperative Corporation has been duly organized and is validly existing and in good standing under the laws of the
jurisdiction of its formation. The Cooperative Corporation has requisite power and authority to (i) own its properties, and (ii) transact the business in which it is now engaged. The Cooperative Corporation possesses all rights, licenses,
permits and authorizations, governmental or otherwise, necessary to entitle it to own its properties and to transact the businesses in which is now engaged. 

(6) The Cooperative Corporation complies in all material respects with all applicable legal requirements. The Cooperative
Corporation is not in default or violation of any order, writ, injunction, decree or demand of any governmental authority, the violation of which might materially adversely affect the condition (financial or otherwise) or business of the Cooperative
Corporation. 
 (7) The Seller has delivered to the Buyer or its designee each of the following documents (collectively, the
“Cooperative Loan Documents”): (i) the Cooperative Mortgage Note, duly endorsed in accordance with the endorsement requirements for Mortgage Notes set forth in this Repurchase Agreement, (ii) the Security Agreement,
(iii) the Cooperative Shares accompanied by a stock power which authorizes the Buyer to transfer the Cooperative Shares in the event of a default under the Cooperative Loan Documents, (iv) the Proprietary Lease or occupancy agreement,
accompanied by an assignment in blank of such Proprietary Lease, (v) a recognition agreement executed by the Cooperative Corporation, which requires the Cooperative Corporation to recognize the rights of the lender and its successors in
interest and assigns, under the Cooperative Mortgage Loan, accompanied by an assignment of such recognition agreement in blank, (vi) UCC-1 financing statements with recording information thereon from the appropriate state and county recording
offices if necessary to perfect the security interest of the Cooperative Mortgage Loan under the Uniform Commercial Code in the state in which the Cooperative Project is located, accompanied by UCC-3 financing statements executed in blank for
recordation of the change in the secured party thereunder, and (vii) any guarantees, if applicable. The Cooperative Loan Documents are assignable to the Buyer and its successors and assigns and have been duly assigned to the Buyer in accordance
with this sub-section (7). 
 (8) The Security Agreement contains customary and enforceable provisions such as to render the
rights and remedies of the holder thereof adequate for the realization against the Cooperative Shares of the benefits of the security provided thereby. 

  
 Schedule 1-13 

 (9) As of the date of origination the related Cooperative Project is insured by a
generally acceptable insurer against loss by fire, hazards of extended coverage and such other hazards as are customary in the area where the Cooperative Project is located. 

(ccc) FHA/VA/ RHS Loans. With respect to each FHA Loan, VA Loan, and RHS Loan the Seller represents and warrants: 

(1) All parties which have had any interest in an FHA Loan, RHS Loan or a VA Loan, whether as mortgagee or assignee, are
(or, during the period in which they held and disposed of such interest, were) an FHA Approved Mortgagee, Rural Housing Service Approved Lender or VA Approved Lender; 

(2) The Mortgage is either guaranteed by the VA or the RHS to the maximum extent permitted by law or is fully insured by
the FHA and all necessary steps have been taken to make and keep such guaranty or insurance valid, binding and enforceable and the applicable insurance or guaranty agreement is the binding, valid and enforceable obligation of the FHA, RHS or VA, as
the case may be, to the full extent thereof, without surcharge, set-off or defense; 
 (3) In the case of an FHA Loan, no
claim for insurance benefits, full or partial, has been filed with respect to such Mortgage Loan and, in the case of a VA Loan or RHS Loan, no claim for guarantee has been filed; 

(4) No Mortgage Loan is (a) an active subsidy loan originated under the 203K program (24 C.F.R. 203.50), a
Section 235 subsidy loan (24 C.F.R. 235), or a graduated loan under Section 245 (24 C.F.R. 203.45 and 24 C.F.R. 203.436), (b) an advance claim loan, or (c) a VA vendee loan; 

(5) Neither the Seller, its servicer, nor any prior holder or servicer of the Mortgage Loan has engaged in any action or
inaction which would result in the curtailment of a payment (or nonpayment thereof) by the FHA, RHS or the VA; and 

(6) All actions required to be taken by the Seller or the related Qualified Originator (if different from the Seller) to
cause the Buyer, as owner of the FHA Loan, VA Loan or RHS Loan, to be eligible for the full benefits available under the applicable insurance or guaranty agreement have been taken by such entity. 

  
 Schedule 1-14 

 (ddd) Closing Protection Letter. With respect to each Mortgage Loan that is a Wet-Ink
Mortgage Loan, Seller has obtained an ALTA closing protection letter which provides indemnification for the Buyer for losses arising from the related Closing Agent’s fraud, theft, dishonesty, negligence or failure to follow written closing
instructions, in form and substance acceptable to the Buyer. If such closing protection letter is not addressed to Buyer, such closing protection letter shall provide that the Buyer and any assignee of Buyer are protected by such letter as if it
were addressed directly to them. 

  
 Schedule 1-15 

 Part II. Defined Terms 

In addition to terms defined elsewhere in the Repurchase Agreement, the following terms shall have the following meanings when used in this
Schedule 1: 
 “Acceptable State” shall mean any state other than those listed on Schedule 7, as such
Schedule may be amended, revised or otherwise modified from time to time in writing by the Buyer, any such revised Schedule shall be provided to Seller no later than ten (10) Business Days prior to its intended effective date. 

“ALTA” means the American Land Title Association. 

“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. 
 “Best’s” means Best’s Key
Rating Guide, as the same shall be amended from time to time. 
 “Cut-Off Date” means the first day of the
month in which the related Purchase Date occurs. 
 “Due Date” means the day of the month on which the
Monthly Payment is due on a Mortgage Loan, exclusive of any days of grace. 
 “Escrow Payments” means 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. 

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

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

“Gross Margin” means with respect to each adjustable rate Mortgage Loan, the fixed percentage amount set forth
in the related Mortgage Note. 
 “Ground Lease” means a lease for all or any portion of the real property
comprising the Mortgaged Property, the lessee’s interest in which is held by the Mortgagor of the related Mortgage Loan. 

“Index” means with respect to each adjustable rate Mortgage Loan, the index set forth in the related Mortgage
Note for the purpose of calculating the interest rate thereon. 

  
 Schedule 1-16 

 “Insurance Proceeds” means with respect to each Mortgage Loan,
proceeds of insurance policies insuring the Mortgage Loan or the related Mortgaged Property. 
 “Interest Rate
Adjustment Date” means with respect to each adjustable rate Mortgage Loan, the date, specified in the related Mortgage Note and the Mortgage Loan Schedule, on which the Mortgage Note Interest Rate is adjusted. 

“Loan-to-Value Ratio” or “LTV” means with respect to any Mortgage Loan, the loan to value ratio of
such Mortgage Loan as determined in accordance with the Agency Guides of the Agency which is insuring or guaranteeing such Mortgage Loan or to which such Mortgage Loan is eligible to be sold. 

“Monthly Payment” means the scheduled monthly payment of principal and interest on a Mortgage Loan as adjusted
in accordance with changes in the Mortgage Note Interest Rate pursuant to the provisions of the Mortgage Note for an adjustable rate Mortgage Loan. 

“Mortgage Note Interest Rate” means the annual rate of interest borne on a Mortgage Note, which shall be
adjusted from time to time with respect to adjustable rate Mortgage Loans. 
 “Mortgage Note Interest Rate
Cap” means with respect to an adjustable rate Mortgage Loan, the limit on each Mortgage Note Interest Rate adjustment as set forth in the related Mortgage Note. 

“Mortgagee” means the Seller or any subsequent holder of a Mortgage Loan.  

“Origination Date” means, with respect to each Mortgage Loan, the date of the Mortgage Note relating to
such Mortgage Loan, unless such information is not provided by the Seller with respect to such Mortgage Loan, in which case the Origination Date shall be deemed to be the date that is 40 days prior to the date of the first payment under the Mortgage
Note relating to such Mortgage Loan. 
 “PMI Policy” or “Primary Insurance Policy” means a
policy of primary mortgage guaranty insurance issued by a Qualified Insurer. 
 “Qualified Insurer” means an
insurance company duly qualified as such under the laws of the states in which the Mortgaged Property is located, duly authorized and licensed in such states to transact the applicable insurance business and to write the insurance provided, and
approved as an insurer by Fannie Mae and Freddie Mac and whose claims paying ability is rated in the two highest rating categories by any of the rating agencies with respect to primary mortgage insurance and in the two highest rating categories by
Best’s with respect to hazard and flood insurance. 
 “Qualified Originator” means an originator of
Mortgage Loans reasonably acceptable to the Buyer. 

  
 Schedule 1-17 

 “Servicing File” means with respect to each Mortgage Loan, the
file retained by the Seller consisting of originals of all documents in the Mortgage File which are not delivered to a Custodian and copies of the Mortgage Loan Documents set forth in Section 2 of the Custodial Agreement and all Servicing
Records. 

  
 Schedule 1-18 

 Schedule 2 

FILING JURISDICTIONS AND OFFICES 

Delaware Secretary of State 

  
 2-1 

 Schedule 3 

SUBSIDIARIES 
 None. 

  
 3-1 

 Schedule 4 

PREVIOUS NAMES, ASSUMED NAMES OR 

TRADE NAMES USED BY THE SELLER 
 iMortgage

 Mortgage Master 

  
 4-1 

 Schedule 5 

COOPERATIVE MORTGAGE LOAN DOCUMENTS 

(i) Cooperative Mortgage Note; 

(ii) Security Agreement and the original Assignment of the Security Agreement; 

(iii) Cooperative Shares and related Stock Power, in blank, executed by the Mortgagor with such signature guaranteed and original Stock Power,
in blank executed by the Seller; 
 (iv) Proprietary Lease or occupancy agreement and the Assignment of the Proprietary Lease executed by the
Mortgagor in blank or if the Proprietary Lease has been assigned by the Mortgagor to the Seller, then the Seller must execute an assignment of the Assignment of the Proprietary Lease in blank; 

(v) Recognition Agreement and the original Assignment of the Recognition Agreement; 

(vi) UCC-1 financing statements with recording information thereon from the appropriate state and county recording offices if necessary to
perfect the security interest of the Cooperative Mortgage Loan under the Uniform Commercial Code in the state in which the Cooperative Project is located (or a copy thereof, together with an officer’s certificate of the Seller certifying that
such represents a true and correct copy of the original and that such original has been submitted for filing in the appropriate UCC filing office of the jurisdiction where the Cooperative Project is located), accompanied by UCC-3 financing
statements executed in blank for recordation of the change in the secured party thereunder; 
 (vii) an Estoppel Letter and/or Consent; 

(viii) the Cooperative Lien Search; and 

(ix) any guarantees, if applicable. 

  
 5-1 

 Schedule 6 

INFORMATION FOR SERVICER REPORTS 
  

									
	Field Name	  	Field Description	  	Sample data	  	 	 
	 Servicer
	  	Name of current servicer	  	Saxon Mortgage
Services, Inc.	  			
	 Date Tape
	  	Remittance Cut Off Date	  		  	 	9/1/2010	  
	 LoanId
	  	loan identification	  		  	 	102210258	  
	 LoanId Servicer
	  	Servicer’s loan identification	  	200102210258	  			
	 Borrower Last
	  	Borrower’s last name	  	xxxx	  			
	 Name
	  		  		  			
	 Balance Original
	  	Original Mortgage Loan	  		  	 	608000	  
	 Balance Curr-
	  	Previous Unpaid Principal Balance	  		  	 	0	  
	 Prev Mnth
	  		  		  			
	 Balance Current
	  	Current Mortgage Loan	  		  	 	608000	  
	 Term Amort
	  	Original total amortized number of months for the loan	  		  	 	360	  
	 Original
	  		  		  			
	 Term Original
	  	Original total number of months for the loan	  		  	 	360	  
	 Term Seasoning
	  	number of payments made	  		  	 	0	  
	 Term Remaining
	  	number of remaining payments	  		  	 	360	  
	 Term IO Original
	  	If interest only, original number of months of interest	  		  	 	0	  
		  	only term	  		  			
	 Lien Position
	  	1st, 2nd lien	  		  	 	1	  
	 P&I Original
	  	Original monthly Principal & Interest	  		  	 	3293.33	  
	 P&I Current
	  	Current monthly Principal & Interest	  		  	 	3293.33	  
	 Date Origination
	  	Loan Origination Date	  		  	 	8/1/2010	  
	 Date First
	  	First Payment date of mortgage	  		  	 	10/1/2010	  
	 Payment
	  		  		  			
	 Previous Date
	  	Previous Paid Thru Date	  		  	 	1/1/1950	  
	 Paid Thru
	  		  		  			
	 Date Paid Thru
	  	Paid thru date of mortgage	  		  	 	10/1/2010	  
	 Date Next Due
	  	Next due date of mortgage	  		  	 	11/1/2010	  
	 Date Maturity
	  	Maturity date of mortgage	  		  	 	9/1/2040	  
	 Loan Property
	  	Code used to identify the type of property secured by	  	SFR	  			
		  	the loan. For eg. SFR, PUD, 2F etc	  		  			
	 Loan Purpose
	  	A code used to identify the purpose of the loan at	  	Cashout	  			
		  	origination. For eg. Purchase, Cashout etc	  		  			
	 Loan
	  	Documentation type. For eg: Full, Alt, Stated etc	  	Full	  			
	 Documentation
	  		  		  			
	 Current
	  	Occupancy Status of the property eg:	  	Primary	  			
	 Occupancy
	  	Vacant, Investment, Secondary, Primary	  		  			
	 Coupon Original
	  	Original Coupon of mortgaged property	  		  	 	6.5	  
	 Coupon Current
	  	Current Coupon of mortgage property	  		  	 	6.5	  
	 Coupon Serv
	  	Coupon servicing fee	  		  	 	0.52	  
	 Fee
	  		  		  			
	 Amort Type
	  	Current Amortization Type - Fixed or Arm	  	Arm	  			
	 Index
	  	(1 month libor, 3 month libor, 6 month libor, Fixed)	  	LIBOR_6MO	  			
	 Margin
	  	Margin	  		  	 	2.25	  
	 Coupon Max
	  	If Adjustable Rate Mortgage, maximum coupon rate	  		  	 	11.5	  
	 Coupon Min
	  	If Adjustable Rate Mortgage, minimum coupon rate	  		  	 	2.25	  
	 Date First Cpn
	  	Date first coupon rate changes	  		  	 	9/1/2015	  
	 Change
	  		  		  			

  
 6-1 

									
	 Date Next Pay
	  	If Adjustable Rate Mortgage, Next date monthly	  		  	 	10/1/2015	  
	 Change
	  	payment change of mortgage	  		  			
	 Date Next Cpn
	  	If Adjustable Rate Mortgage, Next date rate change of	  		  	 	9/1/2015	  
	 Change
	  	mortgage	  		  			
	 Coupon Init Per
	  	Initial interest rate cap	  		  	 	5	  
	 Cap
	  		  		  			
	 Coupon Periodic
	  	If Adjustable Rate Mortgage, what is the periodic cap	  		  	 	1	  
	 Cap
	  	during each rate change?	  		  			
	 Freq Cpn Adj
	  	number of months to next coupon adjustment	  		  	 	6	  
	 Original FICO
	  	Primary Borrower original Credit Score	  		  	 	705	  
	 Current FICO
	  	Primary Borrower current Credit Score	  		  	 	655	  
	 Property State
	  	State that property is located in	  	NY	  			
	 Property
	  	Zip code of property location	  		  	 	42254	  
	 Zipcode
	  		  		  			
	 Property City
	  	Subject Property City	  	NY	  			
	 Property
	  	Actual property address. Usually takes the form of a	  	255, Horton Road	  			
	 Address
	  	number and street name	  		  			
	 Original
	  	Appraisal value obtained at time of loan origination.	  		  	 	750000	  
	 Appraisal Value
	  		  		  			
	 Updated
	  	Current Appraisal value of the Property	  		  	 	650000	  
	 Property Value
	  		  		  			
	 Updated
	  	Current Appraisal Date of the Property	  		  	 	4/22/2011	  
	 Property Value
	  		  		  			
	 Date
	  		  		  			
	 Loan
	  	If loan was modified, modification date	  		  	 	0	  
	 Modification
	  		  		  			
	 Date
	  		  		  			
	 Status
	  	Foreclosure, REO, Bankruptcy, None	  	BK	  			
	 Days Delinq Status
	  	Delinquency Status (Current, 30 day, 60 day, 90 day, 120 day)	  	120 Day	  			
	 Delinq History
	  	Has the loan ever been delinquent in the past 12	  	???????0????	  			
		  	months? If so, payment date delinquent and level of	  		  			
		  	delinquency (30 day, 60 day, 90 day, 120 day)	  		  			
	 Arrears
	  	Amount on a loan that is overdue	  		  	 	2545	  
	 Balance Senior
	  	If mortgage is not 1st lien mortgage, provide 1st lien	  		  	 	0	  
		  	mortgage unpaid principal balance amount	  		  			
	 Escrow Flag
	  	(Yes/No) if mortgage loan retains escrow account	  	No	  			
	 Escrow Bal
	  	If Escrow Flag = Yes, provide escrow balance in escrow	  		  	 	0	  
		  	account	  		  			
	 Bankruptcy
	  	Latest Bankruptcy Filing Date	  		  	 	5/6/2009	  
	 Filing date
	  		  		  			
	 Ever in BK
	  	If the loan is/ever was in Bankruptcy	  	Y	  			
	 Current
	  	eg : Referred to attorney,File received etc if loan is in	  	Referred to Attorney	  			
	 Foreclosure
	  	FC	  		  			
	 Status
	  		  		  			
	 Foreclosure Sale
	  	Date of the foreclosure sale	  		  	 	10/1/2010	  
	 date
	  		  		  			
	 REO Sale first
	  	Date of the First listing of the REO property	  		  	 	4/5/2009	  
	 listing date
	  		  		  			
	 Servicing Advance
	  	Amount *	  		  	 	20000	  
	 FHA Section
	  		  		  			
	 Number
	  		  		  			

  
 Schedule 6-2 

							
				
	 FHA Loan or VA
	  		  		  	
	 Loan Case
	  		  		  	
	 Number
	  		  		  	

 RHS Loan 
 identification 

number 
  

	*	Not for all sellers 

  
 Schedule 6-3 

 Schedule 7 

EXCLUDED STATES 

  
 7-1 

 EXHIBIT A 

FORM OF CUSTODIAL AGREEMENT 

[STORED AS A SEPARATE DOCUMENT] 

  
 A-1 

 EXHIBIT B 

FORM OF OPINION OF COUNSEL TO THE SELLER 

(date) 
 Morgan Stanley Bank, N.A. 

1585 Broadway 
 New York, New York 10036 

Dear Sirs and Mesdames: 
 You have requested
[our] [my] opinion, as counsel to [            ], a [            ] corporation (the “Seller”), with respect to
certain matters in connection with that certain Master Repurchase Agreement, dated September 2, 2015 (the “Repurchase Agreement”), by and among the Seller, Morgan Stanley Capital Holdings LLC (the “Agent”) and
Morgan Stanley Bank, N.A. (the “Buyer”), a Custodial Agreement, dated as of September 2, 2015, (the “Custodial Agreement”), by and among the Seller, Deutsche Bank National Trust Company (the
“Custodian”), the Agent and the Buyer. 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.
Custodial Agreement; 
 3. the Electronic Tracking Agreement, dated as of September 2, 2015, by and among the Seller, the Buyer,
Merscorp Holdings, Inc. and Mortgage Electronic Registration Systems Inc. (the “Electronic Tracking Agreement”); 
 4. an unfiled
copy of the financing statement listed on Schedule 1 (the “Financing Statement”) naming the Seller as Debtor and the Buyer as Secured Party and describing the Purchased Items (as defined in the Repurchase Agreement) as to
which security interests may be perfected by filing under the Uniform Commercial Code of the State of [                ] (the “Filing
Collateral”), which [we][I] understand will be filed in the office of [                ] (the “Filing Office”);  

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

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

  
 B-1 

 To the extent [we] [I] have deemed necessary and proper, [we] [I] have relied upon the
representations and warranties of the Seller contained in the Repurchase Agreement. [We] [I] have assumed the authenticity of all documents submitted to [us][me] as originals, the genuineness of all signatures, the legal capacity of natural persons
and the conformity to the originals of all documents submitted to [us][me] as originals. 
 Based upon the foregoing, it is [our] [my]
opinion that: 
 1. The Seller is a [[                ]
corporation] duly organized, validly existing and in good standing under the laws of [state] and is qualified to transact business in, and is in good standing under, the laws of the [state]. 

2. The Seller has the [corporate] power to engage in the transactions contemplated by the Repurchase Agreement, the Custodial Agreement [and
the Electronic Tracking Agreement] and all requisite [corporate] power, authority and legal right to execute and deliver the Repurchase Agreement, the Custodial Agreement [and the Electronic Tracking Agreement] and observe the terms and conditions
of such instruments. The Seller has all requisite [corporate] power to borrow under the Repurchase Agreement and to grant a security interest in the Purchased Items under the Repurchase Agreement. 

3. The execution, delivery and performance by the Seller of the Repurchase Agreement, the Custodial Agreement [and the Electronic Tracking
Agreement] and the Transactions by the Seller and the selling of the Purchased Items under the Repurchase Agreement have been duly authorized by all necessary [corporate] action on the part of the Seller. Each of the Repurchase Agreement, the
Custodial Agreement [and the Electronic Tracking Agreement] have been executed and delivered by the Seller and are legal, valid and binding agreements enforceable in accordance with their respective terms against the 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 the Buyer’s security interest in the Purchased Items. 
 4. 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 the Seller for the execution, delivery or performance by the Seller of the Repurchase Agreement,
the Custodial Agreement [and the Electronic Tracking Agreement] or for the Transactions entered into by the Seller under the Repurchase Agreement or the granting of a security interest to the Buyer in the Purchased Items, under the Repurchase
Agreement. 
 5. The execution, delivery and performance by the Seller of, and the consummation of the transactions contemplated by, the
Repurchase Agreement, the Custodial Agreement [and the Electronic Tracking Agreement] do not and will not (a) violate any provision of the Seller’s charter or by-laws, (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 the Seller of which I 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 

  
 B-2 

 
or instrument of which [we][I] have knowledge (after due inquiry) to which the 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 the Seller pursuant to the terms of any such agreement or instrument. 

6. There is no action, suit, proceeding or investigation pending or, to the best of [our] [my] knowledge (after due inquiry), threatened
against the 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 the Seller or
in any material impairment of the right or ability of the Seller to carry on its business substantially as now conducted or in any material liability on the part of the Seller or which would draw into question the validity of the Repurchase
Agreement, the Custodial Agreement[, the Electronic Tracking Agreement] 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 the Seller to perform under the terms of the Repurchase Agreement, the Custodial Agreement[, the Electronic Tracking Agreement] or the Mortgage Loans. 

7. The Repurchase Agreement is effective to create, in favor of the Buyer, a valid security interest under the Uniform Commercial Code in all
of the right, title and interest of the Seller in, to and under the Purchased Items (and in any security interest, mortgage, or other lien that secures the Purchased Items) as collateral security for the payment of the Repurchase Obligations (as
defined in the Repurchase Agreement), except that (a) such security interests will continue in Purchased Items after its sale, exchange or other disposition only to the extent provided in Section 9-315 of the Uniform Commercial Code, and
(b) the security interests in Purchased Items in which the Seller acquires rights after the commencement of a case under the Bankruptcy Code in respect of the Seller may be limited by Section 552 of the Bankruptcy Code. 

8. When (i) the Mortgage Notes are delivered to the Custodian, endorsed in blank by a duly authorized officer of the Seller, and
(ii) the Custodian has issued a Master Trust Receipt and Mortgage Loan Schedule therefor, the security interest referred to in paragraph 7 above in the Mortgage Notes (and in any security interest, mortgage, or other lien that secures the
Mortgage Notes) will constitute a fully perfected first priority security interest in all right, title and interest of the Seller therein, in the Mortgage Loan evidenced thereby and in the Seller’s interest in the related Mortgaged Property.

 9. (a) Upon the filing of financing statement on Form UCC-1 naming the Buyer as “Secured Party” and the Seller as
“Debtor”, and describing the Purchased Items, in the office of [                ], the security interest referred to in paragraph 7 above will
constitute a fully perfected security interest under the Uniform Commercial Code in all right, title and interest of the Seller in, to and under such Purchased Items, which can be perfected by filing under the Uniform Commercial Code. 

(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 Filing Collateral 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 Filing Collateral prior to the effective dates of the UCC Search Report. 

  
 B-3 

 10. The Assignments of Mortgage are in recordable form, except for the insertion of the name of
the assignee, and upon the name of the assignee being inserted, are acceptable for recording under the laws of the state where each related Mortgaged Property is located. 

11. The Seller is not an “investment company”, or a company “controlled” by an “investment company,” within the
meaning of the Investment Company Act of 1940, as amended. 
 12. The Repurchase Agreement is a “repurchase agreement”, a
“master netting agreement”, and a “securities contract” within the meaning of Bankruptcy Code Sections 101(47), 101 (38A) and 741(7), and the rights of Buyer contained in Section 13.25 thereof to setoff mutual debts and
claims, and in Section 9 thereof to liquidate, terminate and accelerate the Repurchase Agreement, in the event of the bankruptcy of Seller will not be stayed, avoided, or otherwise limited by operation of any provision of the Bankruptcy Code or
by order of a court or administrative agency in any proceeding thereunder, including without limitation the automatic stay provisions of the Bankruptcy Code Section 362(a) pursuant to Sections 362(b)(6), (7) and (27) thereof. 

                        
                                    Very truly yours, 

  
 B-4 

 EXHIBIT C 

FORM OF TRANSACTION REQUEST 

Master Repurchase Agreement, dated as of September 2, 2015 (the “Repurchase Agreement”), by and among loanDepot.com, LLC
(the “Seller”), Morgan Stanley Mortgage Capital Holdings LLC (the “Agent”) and Morgan Stanley Bank, N.A. (the “Buyer”) 
  

			
	The Buyer:	  	Morgan Stanley Bank, N.A.
		
	The Seller:	  	loanDepot.com, LLC
		
	Requested Purchase Date:	  	                                      
                      
		
	Transmission Date:	  	                                      
                      
		
	Transmission Time:	  	
		
	[Type of Transaction:	  	
	(Wet or Dry)	  	                                      
                      ]
		
	[If Wet Transaction]	  	
	Estimated Wet Transaction	  	
	Requirement	  	                                      
                      
		
	Mortgage Loans to be Sold	  	See Attached
		
	Mortgage	  	
	Loans to be Purchased:	  	See Attached
		
	UPB:	  	$                                      
                  
		
	Requested Wire Amount:	  	[Either:]       Calculated Recognized Value of Mortgage
		  	Loans to be Sold OR $                        

  

	
	Wire Instructions:
	
	Requested by:
	
	[                    ]

 

			
	By:	 	  

		 	Name:
		 	Title:

  
 C-1 

 Attachment 1 

SCHEDULE OF ELIGIBLE MORTGAGE LOANS PROPOSED FOR TRANSACTION 

  
 C-2 

 EXHIBIT D-1 

FORM OF WAREHOUSE LENDER’S RELEASE LETTER 

(Date) 
 Morgan Stanley Bank, N.A. 

1585 Broadway 
 New York, New York 10036 

Attention:
                                 

Facsimile:
                                ] 

 

	 	Re:	Certain Mortgage Loans Identified on Schedule A hereto and owned by loanDepot.com, LLC 

The undersigned hereby releases all right, interest, lien or claim of any kind with respect to the mortgage loan(s) described in the attached
Schedule A, such release to be effective automatically without any further action by any party upon payment in one or more installments, in immediately available funds of
$                        , in accordance with the following wire instructions: 

 

			
	
	  

	
	  

	
	Very truly yours,
	
	[WAREHOUSE LENDER]
		
	By:	 	  

		 	Name:
		 	Title:

  
 D-1-1 

 EXHIBIT D-2 

FORM OF QUALIFIED ORIGINATOR’S RELEASE LETTER 

(Date) 
 Morgan Stanley Bank, N.A. 

1585 Broadway 
 New York, New York 10036 

Attention:
                                 

Facsimile:
                                ] 

 

	 	Re:	Certain Mortgage Loans Identified on Schedule A hereto and owned by loanDepot.com, LLC 

The undersigned hereby releases all right, interest, lien or claim of any kind with respect to the mortgage loan(s) described in the attached
Schedule A, such release to be effective automatically without any further action by any party upon payment in one or more installments, in immediately available funds of
$                        , in accordance with the following wire instructions: 

 

			
	
	  

	
	  

	
	Very truly yours,
	
	[QUALIFIED ORIGINATOR]
		
	By:	 	  

		 	Name:
		 	Title:

  
 D-2-1 

 EXHIBIT E 

UNDERWRITING GUIDELINES 

[TO BE PROVIDED BY THE SELLER] 

  
 E-1 

 EXHIBIT F 

FORM OF BLOCKED ACCOUNT AGREEMENT 

                   ,
20     
  

                          
                   

                          
                   

                          
                   

Attn:                         
            
  

	 	Re:	Collection Account Established by
                                 (“Servicer”) Pursuant to that Certain
Servicing Agreement (as amended, supplemented or otherwise modified from time to time, the “Servicing Agreement”), dated
                    , 20    , between Servicer and loanDepot.com, LLC (“Seller”) 

Ladies and Gentlemen: 
 We refer to the
collection account established by the Servicer pursuant to the Servicing Agreement, at
                                ,
                                ,
            , Account
No.                                    , ABA#
                             (the “Blocked Account”), which the Servicer maintains in
the Servicer’s name in trust for the Seller. 
 The Servicer will, from time to time, deposit funds received in accordance with the
Servicing Agreement into the Blocked Account. Morgan Stanley Bank, N.A. (the “Buyer”) has established a master repurchase arrangement with the Seller. By its execution of this letter, the Servicer acknowledges that the Seller has
granted a security interest in all of the Seller’s right, title and interest in and to the Blocked Account and any funds from time to time on deposit therein, that such funds are received by the Servicer in trust for the benefit of the Buyer
and, except as provided below, are for application against the Seller’s liabilities to the Buyer. 
 By the Servicer’s execution
of this letter, it agrees: (a) that all funds from time to time hereafter in the Blocked Account are the property of the Seller held in trust for the benefit of the Buyer and that unless and until the Servicer receives notice from the Buyer (or
Morgan Stanley Mortgage Capital Holdings LLC (the “Agent”) on behalf of the Buyer) that an event of default has occurred and is continuing under the Buyer’s secured lending arrangement with the Seller (a “Notice of Event of
Default”), the Servicer shall transfer funds from the Blocked Account in accordance with the Seller’s instructions; (b) that Servicer will not exercise any right of set-off, banker’s lien or any similar right in connection
with such funds provided, that in the event any check is returned to the Servicer because of insufficient funds (or is otherwise unpaid) the Servicer shall be entitled to set off the amount of any such returned check; (c) that until the
Servicer receives written notification from the Buyer (or the Agent on behalf of the Buyer) to the contrary, the Servicer will not withdraw (other than as expressly set forth in the Servicing Agreement or herein) or permit any person or entity to
withdraw or transfer funds from the Blocked Account; and (d) that if the Servicer receives a Notice of Event of Default from the Buyer, the Servicer shall comply with the Buyer’s instructions regarding funds in the Blocked Account without
further consent of the Seller. 

  
 F-1 

 The Servicer hereby confirms and agrees that: (i) there are no other agreements entered into
between the Servicer and the Seller with respect to the Blocked Account; (ii) it has not entered into, and until the termination of this agreement will not enter into, any agreement with any other person relating to the Blocked Account pursuant
to which it has agreed, or will agree, to comply with instructions of such other person; and (iii) it has not entered into, and until the termination of this agreement will not enter into, any agreement with the Seller purporting to limit or
condition the obligation of the Servicer to comply with the Buyer’s instructions set forth above. 
 All bank statements in respect to
the Blocked Account shall be sent to the Seller with copies to: 
 Morgan Stanley Bank, N.A. 

1585 Broadway 

New York, New York 10036 

Attention: SPG Mortgage Finance 

and 

Morgan Stanley Mortgage Capital Holdings LLC 

1585 Broadway 

New York, New York 10036 

Attention: SPG Mortgage Finance 

[REMAINDER OF PAGE INTENTIONALLY LEFT BLANK] 

  
 F-2 

 Kindly acknowledge your agreement with the terms of this agreement by signing the enclosed copy
of this letter and returning it to each of the undersigned. 
  

			
	Very truly yours,
	
	MORGAN STANLEY BANK, N.A.
		
	By:	 	  

		 	Title:
	
	LOANDEPOT.COM, LLC
		
	By:	 	  

		 	Title:

  

			
	Agreed and acknowledged:
	
	  

		
	By:	 	  

		 	Title:

  
 F-3 

 EXHIBIT G 

FORM OF SERVICER NOTICE 

                    ,
20     
 [SERVICER], as Servicer 

[ADDRESS] 
 Attention:
                         
  

	 	Re:	Master Repurchase Agreement, dated as of September 2, 2015 (the “Repurchase Agreement”), by and among loanDepot.com, LLC (the “Seller”), Morgan Stanley Mortgage Capital Holdings
LLC (the “Agent”) and Morgan Stanley Bank, N.A. (the “Buyer”) 

 Ladies and Gentlemen: 

[SERVICER] (the “Servicer”) is servicing certain mortgage loans for the Seller pursuant to certain Servicing Agreements
between the Servicer and the Seller. Pursuant to the Repurchase Agreement among the Buyer, the Agent and the Seller, the Servicer is hereby notified that the Seller has granted a security interest to the Buyer in certain mortgage loans which are
serviced by Servicer. 
 Upon receipt of a Notice of Event of Default from the Buyer in which the Buyer shall identify the mortgage loans
which are then sold to the Buyer under the Repurchase Agreement (the “Purchased Loans”), the Servicer shall segregate all amounts collected on account of such Purchased Loans, hold them in trust for the sole and exclusive benefit of
the Buyer, and remit such collections in accordance with the Buyer’s written instructions. Following such Notice of Event of Default, the Servicer shall follow the instructions of the Buyer with respect to the Purchased Loans, and shall deliver
to the Buyer any information with respect to the Pledged Mortgage Loans reasonably requested by the Buyer. 
 If the Servicer is the Seller
or the Servicer is an Affiliate of the Seller, the Seller shall provide to the Buyer a letter from the Seller or the Servicer, as the case may be, to the effect that upon the occurrence of an Event of Default, the Buyer (or the Agent, on behalf of
the Buyer), may terminate any Servicing Agreement and in any event transfer servicing to the Buyer’s designee, at no cost or expense to the Buyer, it being agreed that the Seller will pay any and all fees required to terminate the Servicing
Agreement and to effectuate the transfer of servicing to the designee of the Buyer. 
 Notwithstanding any contrary information or direction
which may be delivered to the Servicer by the Seller, the Servicer may conclusively rely on any information, direction or notice of an Event of Default delivered by the Buyer (or the Agent, on behalf of the Buyer), and the Seller shall indemnify and
hold the Servicer harmless for any and all claims asserted against the Servicer for any actions taken in good faith by the Servicer in connection with the delivery of such information or Notice of Event of Default. 

  
 G-1 

 No provision of this letter may be amended, countermanded or otherwise modified without the prior
written consent of the Buyer. The Buyer is an intended third party beneficiary of this letter. 

  
 G-2 

 Please acknowledge receipt and your agreement to the terms of this instruction letter by signing
in the signature block below and forwarding an executed copy to the Buyer promptly upon receipt. Any notices to the Buyer should be delivered to the following address: 1585 Broadway, New York, New York 10036; Attention:
                                    ; Telephone:
                            ; Facsimile:
                            ]. 

 

			
	Very truly yours,
	
	LOANDEPOT.COM, LLC
		
	By:	 	  

		 	Name:
		 	Title:

  

			
	ACKNOWLEDGED AND AGREED TO:
	
	  

	        as Servicer
		
	By:	 	  

		 	Title:
		 	Telephone:
		 	Facsimile:

  
 G-3 

 EXHIBIT H 

(FORM OF BLANKET TAKEOUT ASSIGNMENT (THE SELLER’S LETTERHEAD) 

(Date)  
 [TAKE-OUT THE BUYER] 

[ADDRESS] 
  

                          
               
 Attention 

Dear :                      

With respect to each whole loan trade made by us with your firm from time to time, the undersigned hereby assigns each such trade to Morgan
Stanley Bank, N.A. (the “Buyer”) unless and until such time as such assignment is revoked by a written notice from us and the Buyer to you. For each transaction, you hereby agree to accept delivery from, and pay the purchase price directly
to the Buyer, whose acceptance of each trade assignment is indicated below. Accordingly, the Buyer is obligated to make delivery of such mortgage loans to you, and you will establish each trade as a buy transaction from the Buyer or its designee.

 All confirmations pertaining to each trade should be sent to the Buyer, at 1585 Broadway, New York, New York 10036,
Attention:                    .] 

Please execute this letter in the space provided below and send it by facsimile to the Buyer. 

 

			
	Very truly yours,
	
	[                    ]
		
	By:	 	  

		
	Date:	 	  

  

			
	Agreed:
	
	[TAKE-OUT THE BUYER]
		
	By:	 	  

		
	Date:	 	  

  
 H-1 

			
	Acceptance of Takeout Assignment:
	
	MORGAN STANLEY BANK, N.A.
		
	By:	 	  

		
	Date:	 	  

  
 H-2 

 EXHIBIT I 

FORM OF CONFIRMATION 

  
 I-1 

 EXHIBIT J 

FORM OF ASSIGNMENT AND ACCEPTANCE 

Reference is made to the Master Repurchase Agreement dated as of September 2, 2015 (as amended, supplemented or otherwise modified from
time to time, the “Repurchase Agreement”) by and between loanDepot.com, LLC, a Delaware limited liability company (the “Seller”), Morgan Stanley Mortgage Capital Holdings LLC (the “Agent”) and Morgan
Stanley Bank, N.A. (the “Buyer”). Capitalized terms not otherwise defined herein shall have the same meanings as specified therefor in the Repurchase Agreement. 

Each “Assignor” referred to on Schedule I hereto (each, an “Assignor”) and each
“Assignee” referred to on Schedule I hereto (each an “Assignee”) hereby agrees severally with respect to all information relating to it and its assignment hereunder and on Schedule I hereto as follows:

 Subject to the provisions of Section 14.05 of the Repurchase Agreement, such Assignor hereby sells and assigns, without
recourse except as to the representations and warranties made by it herein, to such Assignee, and such Assignee hereby purchases and assumes from such Assignor, an interest in and to such Assignor’s rights and obligations under the Repurchase
Agreement as of the Effective Date (as hereinafter defined) equal to the percentage interest specified on Schedule I hereto of all outstanding rights and obligations under the Repurchase Agreement (collectively, the “Assigned
Interests”). 
 Such Assignor: 

(a) hereby represents and warrants that its name set forth on Schedule I hereto is its legal name, that it is the legal and beneficial
owner of the Assigned Interest and that such Assigned Interest is free and clear of any adverse claim; 
 (b) other than as provided
herein, makes no representation or warranty and assumes no responsibility with respect to any statements, warranties or representations made in or in connection with the Repurchase Agreement or any of the other Repurchase Documents, or the
execution, legality, validity, enforceability, genuineness, sufficiency or value of, or the perfection or priority of any lien or security interest created or purported to be created under or in connection with, the Repurchase Agreement or any of
the other Repurchase Documents, or any other instrument or document furnished pursuant thereto; and 
 (c) makes no representation or
warranty and assumes no responsibility with respect to the financial condition of the Seller or any of the other parties or the performance or observance by the Seller or any of the other parties of any of its Obligations under or in respect of any
of the Repurchase Documents, or any other instrument or document furnished pursuant thereto. 

  
 J-1 

 Such Assignee: 

(a) confirms that it has received a copy of the Repurchase Agreement, together with copies of the financial statements referred to in
Section 9.01 thereof and such other documents and information as it has deemed appropriate to make its own credit analysis and decision to enter into this Assignment and Acceptance; 

(b) agrees that it will, independently and without reliance upon the Buyer and based on such documents and information as it shall deem
appropriate at the time, continue to make its own credit decisions in taking or not taking action under the Repurchase Agreement; 

(c) represents and warrants that its name set forth on Schedule I hereto is its legal name; 

(d) agrees that, from and after the Effective Date, it will be bound by the provisions of the Repurchase Agreement and the other
Repurchase Documents and, to the extent of the Assigned Interest, it will perform in accordance with their terms all of the obligations that by the terms of the Repurchase Agreement are required to be performed by it as a Buyer; and 

(e) The effective date for this Assignment and Acceptance (the “Effective Date”) shall be the date specified on Schedule
I hereto. 
 As of the Effective Date, (a) such Assignee shall be a party to the Repurchase Agreement and, to the extent that
rights and obligations under the Repurchase Agreement have been assigned to it pursuant to this Assignment and Acceptance, have the rights and obligations of a Buyer thereunder and (b) such Assignor shall, to the extent that any rights and
obligations under the Repurchase Agreement have been assigned by it pursuant to this Assignment and Acceptance, relinquish its rights (other than provisions of the Repurchase Documents that are specified under the terms of such Repurchase Documents
to survive the payment in full of the Obligations of the Seller under or in respect of the Repurchase Documents) and be released from its obligations under the Repurchase Agreement (and, if this Assignment and Acceptance covers all or the remaining
rights and obligations of such Assignor under the Repurchase Agreement, such Assignor shall cease to be a party thereto). 
 From and after
the Effective Date, the Seller shall make all payments under the Repurchase Agreement in respect of the Assigned Interest to such Assignee. Such Assignor and such Assignee shall make all appropriate adjustments in payments under the Repurchase
Agreement for periods prior to the Effective Date directly between themselves. 
 This Assignment and Acceptance shall be governed by, and
construed in accordance with, the laws of the State of New York. 
 This Assignment and Acceptance shall be binding upon, and inure to the
benefit of, the parties hereto and their respective successors and assigns. This Assignment and Acceptance may be executed in any number of counterparts and by different parties hereto in separate counterparts, each of which when so executed shall
be deemed to be an original and all of which taken together shall constitute one and the same agreement. Delivery of an executed counterpart of Schedule I hereto by facsimile shall be effective as delivery of an originally executed
counterpart of this Assignment and Acceptance. 

  
 J-2 

 IN WITNESS WHEREOF, each Assignor and each Assignee have caused Schedule I hereto
to be executed by their respective officers thereunto duly authorized, as of the date specified thereon. 

  
 J-3 

 Schedule I 

to 
 ASSIGNMENT AND ACCEPTANCE 

 

																					
	 Percentage interest assigned
	  	 	    	% 	 	 	    	% 	 	 	    	% 	 	 	    	% 	 	 	    	% 
	 Amount of Maximum Amount assigned
	  	$	 	  	 	$	 	  	 	$	 	  	 	$	 	  	 	$	 	  
	 Aggregate outstanding principal amount of Purchased Loans assigned
	  	$	 	  	 	$	 	  	 	$	 	  	 	$	 	  	 	$	 	  

  

			
	Effective Date:	  	                   ,             

  

							
		  	Assignor
			
		  		  	                                    
                                        ,
as
		  		  		  	Assignor
		  		  		  	[Type or print legal name of Assignor]
				
		  		  	By	  	  

		  		  		  	Name:
		  		  		  	Title:
	Dated:                    ,             	  		  		  	
		
		  	Assignee
			
		  		  	                                    
                                        ,
as
		  		  		  	Assignee
		  		  		  	[Type or print legal name of Assignee]
				
		  		  	By	  	  

		  		  		  	Name:
		  		  		  	Title:

  
 J-4 

 
	
	Dated:                    ,         
	
	Domestic Lending Office:
	
	LIBOR Lending Office:

  
 J-5 

 EXHIBIT K 

TAKEOUT PROCEEDS IDENTIFICATION LETTER 

[Date] 
 Morgan Stanley Bank, N.A. 

1585 Broadway 
 New York, New York 10036 

Attention:
                             

Facsimile: (            )
        -         
 Ladies and Gentlemen: 

Reference is made to that certain Master Repurchase Agreement, dated as of September 2, 2015 (the “Repurchase
Agreement”), by and between loanDepot.com, LLC (the “Seller”), Morgan Stanley Mortgage Capital Holdings LLC (the “Agent”) and Morgan Stanley Bank, N.A. (the “Buyer”).
Capitalized terms used but not otherwise defined in this letter agreement (“Letter Agreement”) shall have the meanings given to them in the Repurchase Agreement. 

On [date] the Takeout Investor previously identified to you with respect to the Mortgage Loan(s) referenced on Exhibit A attached
hereto wired to your account at                     , [total amount of wire]. Contained within the total amount of the wire was a disbursement amount
of                     . This amount represents proceeds for one or more mortgage loans which were not financed under the Repurchase Agreement, the
details of which are: 
  

					
	Mortgage loan #:	  	  
	  	
			
	Obligor’s name:	  	  
	  	
			
	Mortgage loan #:	  	  
	  	
			
	Obligor’s name:	  	  
	  	

 [list additional mortgage loans, if necessary] 

Please wire these funds to: 

[insert wire instructions here] 

All costs and expenses incurred in carrying out, or as a consequence of having carried out, these instructions shall be borne by the
undersigned, including, without limitation, all wire transfer fees and any related Costs. 

  
 K-1 

 
			
	Very truly yours,
		
	By:	 	  

	Name:	 	  

	Title:	 	  

  
 K-2 

 EXHIBIT L 

FORM OF OFFICER’S CERTIFICATE 

[                    ] 

I,                     , hereby certify
that I am the duly elected Secretary of [                    ], a [            ]
Corporation (the “Company”), and further certify, on behalf of the Company as follows: 
 1. Attached hereto as Attachment I
is a true and correct copy of the articles of incorporation of the Company as are in full force and effect on the date hereof. Attached hereto as Attachment II is a true and correct copy of the limited partnership agreement of the Company as is in
full force and effect on the date hereof. Attached hereto as Attachment III is a Certificate of Good Standing of the Company, issued by the Secretary of the State of
                     dated [Date]. No event has occurred since the date of such good standing certificate which has affected the good standing of the
Company under the laws of the state of [            ]. 
 2. Each person who, as
an officer or attorney-in-fact of the Company, signed (a) the Master Repurchase Agreement (as amended, the “Repurchase Agreement”), dated as of September 2, 2015, by and among the Company, Morgan Stanley Mortgage Capital Holdings LLC
(the “Agent”) and Morgan Stanley Bank, N.A. (the “Buyer”); (b) the Custodial Agreement (the “Custodial Agreement”), dated as of 21, 2015, by and among the Company, the Agent, the Buyer and
                    ; (c) the Pricing Side Letter (the “Pricing Side Letter”) dated September 2, 2015 executed by the Company,
the Agent and the Buyer; and (d) any other document delivered prior hereto or on the date hereof in connection with the transactions contemplated in the Repurchase Agreement was, at the respective times of such signing and delivery, and is as
of the date hereof, duly elected or appointed, qualified and acting as such officer or attorney-in-fact, and the signatures of such persons appearing on such documents are their genuine signatures. 

3. Attached hereto as Attachment IV is a true and correct copy of the resolutions duly adopted by the partners of the Company as of
                    , 2015 (the “Resolutions”) with respect to the authorization and approval of the transactions contemplated in the
Repurchase Agreement; said Resolutions have not been amended, modified, annulled or revoked and are in full force and effect on the date hereof. 

4. All of the representations and warranties of the Company contained in the Repurchase Agreement were true and correct in all material
respects as of the date of the Repurchase Agreement and are true and correct in all material respects as of the date hereof. 
 5. The
Company has performed all of its duties and has satisfied all of the material conditions on its part to be performed or satisfied pursuant to Section 5 of the Repurchase Agreement. 

6. There are no actions, suits or proceedings pending or, to my knowledge threatened, against or affecting the Company which, if adversely
determined either individually or in the aggregate, would adversely affect the Company’s obligations under the Agreements. No proceedings that could result in the liquidation or dissolution of the Company are pending or contemplated. 

  
 L-1 

 Incumbency of Officers. The below named persons have been duly elected or appointed, and have
been duly qualified as officers of the Company holding the respective office below set forth opposite his or her name, and the signature below set forth opposite his or her name is his or her genuine signature. 

 

					
	 Name
	  	 Office
	  	 Signature

			
	  
	  	  
	  	  

			
	  
	  	  
	  	  

			
	  
	  	  
	  	  

 All capitalized terms used herein and not otherwise defined shall have the meaning assigned to them in the
Repurchase Agreement. 
 IN WITNESS WHEREOF, I have hereunto signed my name and affixed the seal of the Company. 

 

							
	Dated:                     	  		  	
				
	            [Seal]	  		  		  	
			
		  		  	[                    ]
				
		  		  	By:	  	  

		  		  	Name:	  	
		  		  	Title:	  	

 I
                            ,             
               of [            ], hereby certify that
                     is the duly elected, qualified and
action                     of [            ] and that the signature appearing above is
the genuine signature of such person. 
 IN WITNESS WHEREOF, I have hereunto signed my name. 

 

							
	Dated:                     	 		  	
				
	            [Seal]	  		 		  	
			
		  		 	[                    ]
				
		  		 	By:	  	  

		  		 		  	Name:
		  		 		  	Title:

  
 L-2 

 EXHIBIT M 

FORM OF COMPLIANCE CERTIFICATE 

[                    ] 

Reference is made to the Master Repurchase Agreement, dated as of September 2, 2015 (the “Repurchase Agreement”), by and
among loanDepot.com, LLC (the “Seller”), Morgan Stanley Mortgage Capital Holdings LLC (the “Agent”) and Morgan Stanley Bank, N.A. (the “Buyer”), 

The undersigned hereby certifies to the Buyer on behalf of the Seller, as of
[            ], 20[    ], that: 
 (a) both immediately prior
to the entering into of each Transaction that has been entered into during the period since the delivery to Buyer of the immediately preceding Compliance Certificate (or, with respect to the first such certificate, since the Effective Date) and also
after giving effect to each such Transaction and to the intended use of the Purchase Price paid to the Seller in respect thereof, the representations and warranties made by the Seller in Section 6 and Schedule 1 of the Repurchase
Agreement, and elsewhere in each of the Repurchase Documents, were true, correct and complete in all material respects on and as of the date of the making of each such Transaction (in the case of the representations and warranties in
Section 6.11 and Schedule 1 of the Repurchase Agreement, solely with respect to Purchased Loans subject to such outstanding Transactions) 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); 
 (b) Seller is, and as
of the date of each Transaction that was entered into during the period since the delivery to Buyer of the immediately preceding Compliance Certificate (or, with respect to the first such certificate, since the Effective Date) was in compliance with
all governmental licenses and authorizations, statutory and regulatory requirements, and qualified to do business and in good standing in all required jurisdictions; 

(c) Seller has observed or performed all of its covenants and other agreements, and satisfied every condition, contained in the Repurchase
Agreement and the other Repurchase Documents to be observed, performed or satisfied by it, and that such Responsible Officer has obtained no knowledge of any Default or Event of Default [except as specified below:][ if any Default or Event of
Default has occurred and is continuing, Seller shall describe the same in reasonable detail and describing the action the Seller has taken or proposes to take with respect thereto]; 

(d) the below calculations support the undersigned’s certification of the Seller’s compliance with the requirements of
Sections 7.14, 7.15, 7.16 and 7.18 of the Repurchase Agreement and the amount of Loan Loss Reserves maintained by the Seller; and 

  
 M-1 

 (e) neither Seller nor any of its Affiliates has entered into a new, or amended any existing,
repurchase agreement or other credit facility with any Person that is a More Favorable Agreement, as defined in Section 7.35 of the Repurchase Agreement][Seller or one of its Affiliates has entered into a new, or amended an existing,
repurchase agreement or other credit facility with any Person that is a More Favorable Agreement, as defined in Section 7.35 of the Repurchase Agreement, and the new terms are set forth on a schedule attached hereto. 

 

					
	Responsible Officer Certification:
			
	By:	 	  
	 	
		 	Name:	 	
		 	Title:	 	

  
 M-2EX-10.41

 [***] - Confidential portions of this document have been redacted and filed separately with the
Commission. 
 Exhibit 10.41 

Version: 4.1 
  

 
 MASTER REPURCHASE AGREEMENT 

BETWEEN 
 Wells Fargo Bank, N.A.,
as buyer (“Buyer”) 
 The Sellers identified on the Addendum, as seller (“Seller”) 

The Guarantors, if identified on the Addendum, as guarantor (“Guarantor”) 

Dated as of the date set forth in the Addendum 
  

 

 TABLE OF CONTENTS 
  

							
	 	 	 	  	Page	 
	 1.
	 	Applicability	  	 	1	  
	 2.
	 	Definitions	  	 	1	  
	 3.
	 	Program; Initiation of Transactions	  	 	22	  
	 4.
	 	Repurchase	  	 	23	  
	 5.
	 	Price Differential	  	 	24	  
	 6.
	 	Margin Maintenance	  	 	24	  
	 7.
	 	Income Payments	  	 	25	  
	 8.
	 	Payment and Transfer	  	 	26	  
	 9.
	 	Conditions Precedent	  	 	26	  
	 10.
	 	Program; Costs	  	 	29	  
	 11.
	 	Servicing	  	 	30	  
	 12.
	 	Representations and Warranties	  	 	32	  
	 13.
	 	Covenants	  	 	36	  
	 14.
	 	Events of Default	  	 	41	  
	 15.
	 	Remedies Upon Default	  	 	43	  
	 16.
	 	Reports	  	 	46	  
	 17.
	 	Buyer’s Policies and Procedures Manual	  	 	48	  
	 18.
	 	Repurchase Transactions	  	 	48	  
	 19.
	 	Custodial Responsibilities	  	 	49	  
	 20.
	 	Single Agreement	  	 	49	  
	 21.
	 	Notices and Other Communications	  	 	50	  
	 22.
	 	Entire Agreement; Severability	  	 	50	  
	 23.
	 	Non assignability	  	 	50	  
	 24.
	 	Set-off	  	 	51	  
	 25.
	 	Binding Effect; Governing Law; Jurisdiction	  	 	51	  
	 26.
	 	No Waivers, Etc.	  	 	51	  
	 27.
	 	Intent	  	 	52	  
	 28.
	 	Power of Attorney	  	 	52	  
	 29.
	 	Buyer May Act Through Affiliates	  	 	52	  
	 30.
	 	Indemnification; Obligations	  	 	52	  
	 31.
	 	Counterparts	  	 	53	  
	 32.
	 	Confidentiality	  	 	53	  
	 33.
	 	Recording of Communications	  	 	54	  
	 34.
	 	Periodic Due Diligence Review	  	 	54	  
	 35.
	 	Authorizations	  	 	55	  
	 36.
	 	Documents Mutually Drafted	  	 	55	  
	 37.
	 	Joint and Several	  	 	55	  
	 38.
	 	Security Interest	  	 	55	  

  
 -i- 

 SCHEDULES 

Schedule 1-A - Representations and Warranties with Respect to Purchased Mortgage Loans (Residential) 

Schedule 1-B - Representations and Warranties with Respect to Purchased Mortgage Loans (Commercial) 

Schedule 2 - Authorized Representatives 
 EXHIBITS 

Exhibit A – Officer’s Compliance Certificate 
 Exhibit B
– Certificate of an Officer of the Seller, including a Form of Resolutions 
 Exhibit C – Form of Power of Attorney 

Exhibit D – Form of Guaranty 

  
 -ii- 

 1. Applicability 

From time to time the parties hereto may enter into transactions in which Seller agrees to sell all right, title and interest (including,
without limitation, the Servicing Rights (as hereinafter defined)) in and to the Mortgage Loans (as hereinafter defined) to Buyer in exchange for the transfer of funds by Buyer to Seller, with a simultaneous agreement by Buyer to transfer to Seller
such Mortgage Loans at a date certain or on demand, in exchange for the transfer of funds by Seller to Buyer. Each such transaction shall be referred to herein as a “Transaction” and, unless otherwise agreed in writing, shall be
governed by this Agreement. All sales of Mortgage Loans from Seller to Buyer will be on a servicing-released basis. In addition, the Guarantor agrees to provide the Guaranty (as hereinafter defined) guarantying certain obligations of the Seller.

 2. Definitions 

Whenever used in this Agreement, the following words and phrases, unless the context otherwise requires, shall have the following meanings:

 “Acceptable State” means any state acceptable pursuant to the Underwriting Guidelines in which the Seller is licensed to
originate Mortgage Loans. 
 “Accepted Servicing Practices” means, 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 Mo1igage Loan in the jurisdiction where the related Mortgaged Property is located, and which are in accordance with Fannie Mae
servicing practices and procedures, as defined in the Fannie Mae servicing guidelines (including future updates) and as set forth in this Agreement and the Manual. 

“Act of Insolvency” means, with respect to any Person or its Affiliates, (i) the filing of a petition, commencing, or
authorizing the commencement of any case or proceeding, or the voluntary joining of any case or proceeding under any bankruptcy, insolvency, reorganization, liquidation, dissolution or similar law relating to the protection of creditors, or
suffering any such petition or proceeding to be commenced by another which is consented to, not timely contested or results in entry of an order for relief; (ii) the seeking of the appointment of a receiver, trustee, custodian or similar
official for such party or an Affiliate or any substantial part of the property of either; (iii) the appointment of a receiver, conservator, or manager for such party or an Affiliate by any governmental agency or authority having the
jurisdiction to do so; (iv) the making or offering by such party or an Affiliate of a composition with its creditors or a general assignment for the benefit of creditors; (v) the admission by such party or an Affiliate of such party of its
inability to pay its debts or discharge its obligations as they become due or mature; or (vi) that any governmental authority or agency or any person, agency or entity acting or purporting to act under governmental authority shall have taken
any action to condemn, seize or appropriate, or to assume custody or control of, all or any substantial part of the property of such party or of any of its Affiliates, or shall have taken any action to displace the management of such party or of any
of its Affiliates or to curtail its authority in the conduct of the business of such party or of any of its Affiliates. 

 “Addendum” means that certain Addendum hereto, dated as of the date set forth
thereon, between the Buyer and the Seller. 
 “Additional Covenants and Conditions” means the “Other Covenants and
Conditions” and the “Financial Covenants of Seller” (to the extent that such covenants are not already specifically set forth in Agreement) set forth in the Addendum. 

“Adjusted Tangible Net Worth” means, for any Person, Net Worth of such Person plus Subordinated Debt (if approved for
purposes of this calculation by Buyer in its sole discretion), minus all intangible assets, including capitalized servicing rights, goodwill, patents, tradenames, trademarks, copyrights, franchises, any organizational expenses, deferred expenses,
prepaid expenses, prepaid assets, receivables from shareholders, Affiliates or employees, and any other asset as shown as an intangible asset on the balance sheet of such Person on a consolidated basis as determined at a particular date in
accordance with GAAP. 
 “Adjusted Tangible Net Worth Threshold” means the amount set forth on the Addendum for such term.

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

“Aggregate Claim Threshold” means the amount set forth on the Addendum for such term. 

“Agreement” means, collectively, this Master Repurchase Agreement, the Addendum, and each Schedule and Exhibit hereto and
thereto, as such agreement may be amended, supplemented or otherwise modified from time to time. 
 “Appraised Value” means
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. 

“Asset Tape” means a remittance report on a monthly basis or requested by Buyer pursuant to Section 16(d) hereof
containing servicing information, including, without limitation, those fields reasonably requested by Buyer from time to time, on a loan-by-loan basis and in the aggregate, with respect to the Purchased Mortgage Loans serviced by Seller or any
Servicer for the month (or any portion thereof) prior to the Reporting Date. 
 “Assignment of Mortgage” means 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 to Buyer. 

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

“Business Day” means any day other than (A) a Saturday or Sunday and (B) a public or bank holiday in New York City.

  
 2 

 “Buyer” has the meaning set forth on the first page of this Agreement. 

“Buyer’s Margin Amount” means with respect to Transactions in the aggregate as of any date of determination, the amount
obtained by application of the Buyer’s Margin Percentage to the Repurchase Price for the Transactions. 
 “Buyer’s Margin
Percentage” means, with respect to Transactions in the aggregate as of any date of determination, the percentage obtained by dividing the Market Value of the Purchased Mortgage Loans on the Purchase Date by the Purchase Price on the
Purchase Date for the Transactions. 
 “Capital Lease Obligations” means, for any Person, all obligations of such Person to
pay rent or other amounts under a lease of (or other agreement conveying the right to use) Property to the extent such obligations are required to be classified and accounted for as a capital lease on a balance sheet of such Person under GAAP, and,
for purposes of this Agreement, the amount of such obligations shall be the capitalized amount thereof, determined in accordance with GAAP. 

“Change in Control” means: 

(A) the sale, transfer, or other disposition of all or an amount equivalent to 25% or more of any Seller’s or any Guarantor’s assets
(excluding any such action taken in connection with any securitization or whole loan transaction); or 
 (B) the consummation of a merger or
consolidation of Seller or Guarantor with or into another entity or any other corporate reorganization, if more than 25% of the combined voting power of the continuing or surviving entity’s stock outstanding immediately after such merger,
consolidation or such other reorganization is owned by Persons who were not stockholders of Seller or Guarantor immediately prior to such merger, consolidation or other reorganization. 

“Code” means the Internal Revenue Code of 1986, as amended. 

“Collateral Documents” means the documents in the Mortgage File delivered to the Custodian. 

“Collection Account” means one or more accounts established by the Servicer or Seller for the benefit of Buyer or assigned to
the Buyer, into which all collections and proceeds on or in respect of the Mortgage Loans shall be deposited by Servicer or Seller and subject to a Collection Account Control Agreement. 

“Collection Account Control Agreement” means a blocked account agreement providing the Buyer with control at all times over
the Collection Account. 

  
 3 

 “Combined Loan-to-Value Ratio” or “CLTV” means with respect to
any Purchased Mortgage Loan, the ratio of (i)(a) the original outstanding principal amount of the Mortgage Loan, with respect to a Mortgage Loan other than a HELOC, or the original Credit Limit, with respect to a HELOC, and, with respect to any
Second Lien Mortgage Loan, the outstanding principal amount of any related first lien as of the date of origination of such mortgage loan, plus (b) the unpaid principal balance of any related subordinate mortgage loan or loans secured by the
Mortgaged Property, to (ii) the lesser of (a) the Appraised Value of the related Mortgaged Property at origination or (b) if the Mortgaged Property was purchased within 12 months of the origination of such Mortgage Loan, the purchase
price of the related Mortgaged Property. 
 “Commercial Loan” means a small-balance commercial real estate loan which is
deemed to be acceptable to Buyer in its sole discretion. 
 “Commercial Loan Limit” means the amount set forth on the
Addendum for such term. 
 “Commercial Loan Margin” means the margin set forth on the Addendum for such term. 

“Commercial Loan Purchase Price Percentage” means the percentage set forth on the Addendum for such term. 

“Conforming Mortgage Loan” means a first lien Mortgage Loan originated in accordance with the most recently published
underwriting and eligibility criteria of Fannie Mae or Freddie Mac for purchase of Mortgage Loans, as determined by Buyer in its sole discretion. 

“Conforming Mortgage Loan Margin” means the margin set forth on the Addendum for such term. 

“Conforming Mortgage Loan Purchase Price Percentage” means the percentage set forth on the Addendum for such term. 

“Cooperative Corporation” means with respect to any Cooperative Loan, the cooperative apartment corporation that holds legal
title to the related Cooperative Project and grants occupancy rights to units therein to stockholders through Proprietary Leases or similar arrangements. 

“Cooperative Loan” means a loan that is secured by a first lien on and perfected security interest in Cooperative Shares and
the related Proprietary Lease granting exclusive rights to occupy the related Cooperative Unit in the building owned by the related Cooperative Corporation. 

“Cooperative Loan Limit” means the amount set forth on the Addendum for such term. 

“Cooperative Loan Margin” means the margin set forth on the Addendum for such term. 

“Cooperative Loan Purchase Price Percentage” means the percentage set forth on the Addendum for such term. 

  
 4 

 “Cooperative Project” means, with respect to any Cooperative Loan, all real
property and improvements thereto and rights therein and thereto owned by a Cooperative Corporation including without limitation the land, separate dwelling units and all common elements. 

“Cooperative Shares” means, with respect to any Cooperative Loan, the shares of stock issued by a Cooperative Corporation and
allocated to a Cooperative Unit and represented by a stock certificate. 
 “Cooperative Unit” means, with respect to a
Cooperative Loan, a specific unit or apartment in a Cooperative Project. 
 “Credit Limit” means, with respect to each
HELOC, the maximum amount permitted under the terms of the related Credit Line Agreement. 
 “Credit Line Agreement” means,
with respect to each HELOC, the related home equity line of credit agreement, account agreement and promissory note (if any) executed by the related Mortgagor and any amendment or modification thereof. 

“Custodial Agreement” means the custodial agreement dated as of the date hereof, between Buyer and Custodian, as the same may
be amended from time to time. 
 “Custodian” means U.S. Bank, National Association or such other party specified by Buyer
and agreed to by Seller. 
 “Default” means an Event of Default or an event that with notice or lapse of time or both would
become an Event of Default. 
 “Delivery Date” means any day on which the Buyer, Seller or an agent of the Seller delivers
a Mortgage File to the Custodian. 
 “Dollars” and “$” means dollars m lawful currency of the United
States of America. 
 “Draw” means, with respect to each HELOC, an additional borrowing by the Mortgagor in accordance with
the related Credit Line Agreement. 
 “Due Date” means the day of the month on which the Monthly Payment is due on a
Mortgage Loan, exclusive of any days of grace. 
 “Effective Date” means the date set forth on the Addendum. 

“Electronic Tracking Agreement” means an Electronic Tracking Agreement among Buyer, Seller, Servicer (if applicable), MERS
and MERSCORP, Inc., to the extent applicable as the same may be amended from time to time. 

  
 5 

 “Escrow Instruction Letter” means the Escrow Instruction Letter from Seller to
the Settlement Agent, in the form attached to the Manual, as the same may be modified, supplemented and in effect from time to time. 

“Escrow Payments” means, 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. 
 “Errors and Omissions Insurance Policy”: An errors and omissions insurance policy to be maintained by the
Seller pursuant to Section 13(e). 
 “Event of Default” has the meaning specified in Section 14 hereof. 

“Fannie Mae” means Fannie Mae, the government sponsored enterprise formerly known as the Federal National Mortgage
Association or any successor thereto. 
 “FHA” means 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 Approved Mortgagee” means a corporation or institution approved as a mortgagee by the FHA under the National Housing
Act, as amended from time to time, and applicable FHA Regulations, and eligible to own and service mortgage loans such as the FHA Loans. 

“FHA Loan” means a Mortgage Loan which is the subject of an FHA Mortgage Insurance Contract. 

“FHA Mortgage Insurance” means, mortgage insurance authorized under the National Housing Act, as amended from time to time,
and provided by the FHA. 
 “FHA Mortgage Insurance Contract” means the contractual obligation of the FHA respecting the
insurance of a Mortgage Loan. 
 “FHA Regulations” means 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” means Fair Isaac & Co., or any successor thereto. 

“Fidelity Bond”: A fidelity bond to be maintained by the Seller pursuant to Section 13(e). 

  
 6 

 “Fitch” means Fitch, Inc. 

“Foreclosed Loan” means a Mortgage Loan, the property securing which has been foreclosed upon by Seller. 

“Freddie Mac” means Freddie Mac, the government sponsored enterprise formerly known as the Federal Home Loan Mortgage
Corporation or any successor thereto. 
 “GAAP” means generally accepted accounting principles in effect from time to time
in the United States of America and applied on a consistent basis. 
 “GNMA” means the Government National Mortgage
Association and any successor thereto. 
 “Government Mortgage Loan” means a first lien Mortgage Loan originated in
accordance with the criteria of FHA, VA or other Government Authority for purchase of Mortgage Loans, including, without limitation, FHA Loans and VA Loans, as determined by Buyer in its sole discretion. 

“Government Mortgage Loan Margin” means the margin set forth on the Addendum for such term. 

“Government Mortgage Loan Purchase Price Percentage” means the percentage set forth on the Addendum for such term. 

“Governmental Authority” means any nation or government, any state or other political subdivision thereof, or any entity
exercising executive, legislative, judicial, regulatory or administrative functions over any Seller, any Guarantor or Buyer, as applicable. 

“Gross Margin” means, with respect to each adjustable rate Mortgage Loan, the fixed percentage amount set forth in the
related Mortgage Note. 
 “Guarantee” means, 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 (i) endorsements for collection or deposit in the ordinary
course of business, or (ii) obligations to make servicing advances for delinquent taxes and insurance or other obligations in respect of a Mortgaged Property, to the extent required by Buyer. 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. 

“Guarantor” has the meaning set forth in the Guaranty. 

  
 7 

 “Guaranty” means the guaranty, in the form of Exhibit D hereto, as
supplemented by the Guaranty Addendum, of each Guarantor dated as of the date hereof as the same may be amended from time to time, pursuant to which each Guarantor fully and unconditionally guarantees the obligations of the Seller hereunder. 

“Guaranty Addendum” means that certain addendum to the Guaranty, dated as of the date set forth thereon, between the Buyer
and the Seller 
 “HELOC” means a home equity revolving line of credit secured by a mortgage, deed of trust or other
instrument creating a second lien on the related Mortgaged Property, which lien secures the related line of credit and (i) that is underwritten in accordance with the Underwriting Guidelines and (ii) that will be sold or securitized by the
Seller. 
 “High Cost Mortgage Loan” means a Mortgage Loan classified as (a) a “high cost” loan under the
Home Ownership and Equity Protection Act of 1994, as amended, or (b) a “high cost,” “threshold,” “covered,” “abusive,” “high risk” 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). 
 “Income” means with respect to any Purchased Mortgage Loan at any time until repurchased by the
Seller, any principal received thereon or in respect thereof and all interest, dividends or other distributions thereon, including, without limitation, any insurance proceeds. 

“Indebtedness” means, for any Person: (a) obligations created, issued or incurred by such Person for borrowed money
(whether by loan, the issuance and sale of debt securities or the sale of Property to another Person subject to an understanding or agreement, contingent or otherwise, to repurchase such Property from such Person); (b) obligations of such
Person to pay the deferred purchase or acquisition price of Property or services, other than trade accounts payable (other than for borrowed money) arising, and accrued expenses incurred, in the ordinary course of business, so long as such trade
accounts payable are payable within 90 days of the date the respective goods are delivered or the respective services are rendered; (c) Indebtedness of others secured by a Lien on the Property of such Person, whether or not the respective
Indebtedness so secured has been assumed by such Person; (d) obligations (contingent or otherwise) of such Person in respect of letters of credit or similar instruments issued or accepted by banks and other financial institutions for the
account of such Person; (e) Capital Lease Obligations of such Person; (f) obligations of such Person under repurchase agreements, sale/buy-back agreements or like arrangements; (g) Indebtedness of others Guaranteed by such Person;
(h) all obligations of such Person incurred in connection with the acquisition or carrying of fixed assets by such Person; (i) Indebtedness of general partnerships of which such Person is a general partner; and (j) the amount set
forth on the Addendum for such term. 
 “Indebtedness to Adjusted Tangible Net Worth Ratio” means the ratio set forth on
the Addendum for such term. 

  
 8 

 “Index” means, with respect to any adjustable rate Mortgage Loan, the index
identified on the Mortgage Loan Schedule and set forth in the related Mortgage Note for the purpose of calculating the applicable Mortgage Interest Rate. 

“Individual Claim Threshold” means the amount set forth on the Addendum for such term. 

“Interest Only Adjustment Date” means, with respect to each Interest Only Loan, the date, specified in the related Mortgage
Note on which the Monthly Payment will be adjusted to include principal as well as interest. 
 “Interest Only Loan” means
a Mortgage Loan which only requires payments of interest for a period of time specified in the related Mortgage Note. 
 “Interest
Rate Adjustment Date” means the date on which an adjustment to the Mortgage Interest Rate with respect to each Mortgage Loan becomes effective. 

“Interest Rate Protection Agreement” means, with respect to any or all of the Purchased Mortgage Loans, 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, interest rate lock agreement 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 and an Affiliate of Buyer or such other party acceptable to Buyer in its sole
discretion, which agreement is acceptable to Buyer in its sole discretion. 
 “Judgment Threshold” means the amount set
forth on the Addendum for such term. 
 “Jumbo Mortgage Loan” means an “A” quality first lien Mortgage Loan which
is not eligible for sale to an Agency. 
 “Jumbo Mortgage Loan Limit” means the amount set forth on the Addendum for such
term. 
 “Jumbo Mortgage Loan Margin” means the margin set forth on the Addendum for such term. 

“Jumbo Mortgage Loan Purchase Price Percentage” means the percentage set forth on the Addendum for such term. 

“LIBOR” means the rate determined on the first day of each week by Buyer on the basis of the offered rate for one-month or
three-month (as selected on the Addendum) U.S. dollar deposits, as such rate appears on Reuters Screen LIBOR01 Page as of 11 :00 a.m. (London time) on such date (rounded up to the nearest whole multiple of 1/8%); provided that if such rate does not
appear on Reuters Screen LIBOR01 Page, the rate for such date will be the rate determined by reference to such other comparable publicly available service publishing such rates as may be selected by Buyer in its sole discretion and communicated to
Seller. 

  
 9 

 Notwithstanding anything to the contrary herein, Buyer shall have the option m its sole discretion, to re-set
LIBOR on a daily basis. 
 “Lien” means any mortgage, lien, pledge, charge, security interest or similar encumbrance. 

“Loan to Value Ratio” or “LTV” means with respect to any Mortgage Loan, the ratio of the original
outstanding principal amount of the Mortgage Loan, with respect to a Mortgage Loan other than a HELOC, or the original Credit Limit, with respect to a HELOC, and, with respect to any Second Lien Mortgage Loan, the outstanding principal amount of any
related first lien as of the date of origination of such mortgage loan, to the lesser of (a) the Appraised Value of the related Mortgaged Property at origination or (b) if the Mortgaged Property was purchased within 12 months of the
origination of such Mortgage Loan, the purchase price of the related Mortgaged Property. 
 “Manual” has the meaning set
forth in Section 17 herein. 
 “Manufactured Home” means any dwelling unit built on a permanent chassis and attached
to a permanent foundation system. 
 “Margin Call” has the meaning specified in Section 6(a) hereof. 

“Margin Deadline” has the meaning specified in Section 6(b) hereof. 

“Margin Deficit” has the meaning specified in Section 6(a) hereof. 

“Margin Stock” has the meaning assigned to that term in Regulation U of the Board of Governors of the Federal Reserve System
as in effect from time to time. 
 “Market Value” means, with respect to any Purchased Mortgage Loan as of any date of
determination, the whole loan servicing released fair market value of such Purchased Mortgage Loan on such date as determined by Buyer (or an Affiliate thereof) in its sole reasonable discretion; provided, however, that the methodology for such
determination is consistent with Buyer’s determination with respect to its own portfolio of mortgage loans to which such a determination would be applicable. Without limiting the generality of the foregoing, Seller acknowledges that the Market
Value of a Purchased Mortgage Loan may be reduced to zero by Buyer if: 
 (i) a breach of a representation, warranty or covenant made by
Seller in this Agreement (including, without limitation, any representation, warranty or covenant made on a Schedule or Exhibit including, without limitation, Schedule 1-A and Schedule 1-B) with respect to such Purchased Mortgage Loan
has occurred and is continuing; 
 (ii) such Purchased Mortgage Loan is or becomes a Sub-Performing Mortgage Loan; 

  
 10 

 (iii) such Purchased Mortgage Loan has been released from the possession of the Custodian under
the Custodial Agreement for a period in excess of ten (10) calendar days for a servicing-related issue or twenty (20) calendar days if provided under a bailee letter; 

(iv) such Purchased Mortgage Loan has been subject to a Transaction hereunder for a period of greater than the Maximum Transaction Duration
identified on the Addendum for the relevant loan type, provided however, in no event shall a Mortgage Loan be subject to a transaction for greater than 364 days; 

(v) such Purchased Mortgage Loan is a Wet-Ink Mortgage Loan for which the Mortgage File has not been delivered to the Custodian on or prior to
the Wet-Ink Mortgage Loan Document Receipt Date after the related Purchase Date; 
 (vi) such Purchased Mortgage Loan is no longer acceptable
for purchase by the Takeout Investor under any of the flow purchase or conduit programs for which Seller has been approved, or a Takeout Investor conditions the purchase of such Purchased Mortgage Loan and, in Buyer’s sole determination, such
conditions demonstrate an impairment of the marketability of such Purchased Mortgage Loan, or, if such Purchased Mortgage Loan has not been offered to a Takeout Investor, Buyer determines that there is a flaw in such Purchased Mortgage Loan which
materially impacts the marketability of such Purchased Mortgage Loan; provided that, in the case of a Purchased Mortgage Loan that has not been offered to a Takeout Investor, if Buyer determines that there is a flaw that materially impacts the
marketability of such Purchased Mortgage Loan, Buyer shall notify Seller of such flaw and allow the Seller two Business Days to cure such flaw if, in Buyer’s sole determination, allowing Seller time to cure such flaw does not materially impact
Buyer’s interests in, or marketability of, such Purchase Mortgage Loan; 
 (vii) when the Purchase Price for such Purchased Mortgage
Loan is added to other Purchased Mortgage Loans, the aggregate Purchase Price of all Jumbo Mortgage Loans that are Purchased Mortgage Loans exceeds the Jumbo Mortgage Loan Limit; 

(viii) when the Purchase Price for such Purchased Mortgage Loan is added to other Purchased Mortgage Loans, the aggregate Purchase Price of all
Second Lien Mortgage Loans (including HELOCs, if any) that are Purchased Mortgage loans exceeds the Second Lien Mortgage Loan Limit; 
 (ix)
when the Purchase Price for such Purchased Mortgage Loan is added to other Purchased Mortgage Loans, the aggregate Purchase Price of all Sub-Prime Mortgage Loans that are Purchased Mortgage loans exceeds the Sub-Prime Mortgage Loan Limit; 

(x) when the Purchase Price for such Purchased Mortgage Loan is added to other Purchased Mortgage Loans, the aggregate Purchase Price of all
Wet-Ink Mortgage Loans that are Purchased Mortgage Loans exceeds the Wet-Ink Mortgage Loan Limit; 
 (xi) when the Purchase Price for such
Purchased Mortgage Loan is added to other Purchased Mortgage Loans, the aggregate Purchase Price of all Cooperative Loans that are Purchased Mortgage Loans exceeds the Cooperative Loan Limit; 

  
 11 

 (xii) when the Purchase Price for such Purchased Mortgage Loan is added to other Purchased
Mortgage Loans, the aggregate Purchase Price of all Commercial Loans that are Purchased Mortgage Loans exceeds the Commercial Loan Limit; or 

(xiii) when the Purchase Price for such Purchased Mortgage Loan is added to other Purchased Mortgage Loans, the aggregate Purchase Price of all
Purchased Mortgage Loans exceeds the Maximum Aggregate Purchase Price. 
 “Material Adverse Effect” means (a) a
material adverse change in, or a material adverse effect upon, the operations, business, properties, condition (financial or otherwise) or prospects of any Seller, any Guarantor or any Affiliate that is a party to any Program Agreement taken as a
whole; (b) a material impairment of the ability of any Seller, any Guarantor or any Affiliate that is a party to any Program Agreement to perform under any Program Agreement and to avoid any Event of Default; or (c) a material adverse
effect upon the legality, validity, binding effect or enforceability of any Program Agreement against Seller, any Guarantor or any Affiliate that is a party to any Program Agreement. 

“Maximum Aggregate Purchase Price” means the price set forth on the Addendum for such term. 

“Maximum Transaction Duration” means the number of days that a Mortgage Loan can be subject to a Transaction as set forth on
the Addendum for such term. 
 “MERS” means Mortgage Electronic Registration Systems, Inc., a corporation organized and
existing under the laws of the State of Delaware, or any successor thereto. 
 “MERS Designated Mortgage Loan” means a
Mortgage Loan for which (a) the Seller has designated or will designate MERS as, and has taken or will take such action as is necessary to cause MERS to be, the mortgagee of record, as nominee for the Seller, in accordance with MERS Procedures
Manual and (b) the Seller has designated or shall promptly designate the Seller as the servicer or subservicer in the MERS System. 

“MERS System” means the system of recording transfers of mortgages electronically maintained by MERS. 

“MOM Mortgage Loan” means any Mortgage Loan as to which MERS is acting as mortgagee, solely as nominee for the originator of
such Mortgage Loan and its successors and assigns. 
 “Monthly Payment” means the scheduled monthly payment of principal
and/or interest on a Mortgage Loan. 
 “Moody’s” means Moody’s Investors Service, Inc. or any successors thereto.

 “Mortgage” means 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 lien on real property and other property and rights incidental thereto.

  
 12 

 “Mortgage File” means, with respect to a Mortgage Loan, the documents and
instruments relating to such Mortgage Loan and in the form set forth in the Manual. 
 “Mortgage Interest Rate” means the
rate of interest borne on a Mortgage Loan from time to time in accordance with the terms of the related Mortgage Note. 
 “Mortgage
Interest Rate Cap” means, with respect to an adjustable rate Mortgage Loan, the limit on each Mortgage Interest Rate adjustment as set forth in the related Mortgage Note. 

“Mortgage Loan” means, to the extent listed on the Addendum under the heading “Description of Purchased Mortgage Loans
and Maximum Transaction Duration”, any Sub-Prime Mortgage Loan, Jumbo Mortgage Loan, Second Lien Mortgage Loan, HELOC, Conforming Mortgage Loan, Government Mortgage Loan, Cooperative Loan or Commercial Loan which is a fixed or floating-rate,
one-to-four-family residential or commercial mortgage or home equity loan evidenced by a promissory note and secured by a mortgage. If a type of Mortgage Loan is not listed, such types of Mortgage Loans shall not be purchased by the Buyer hereunder
and the sub-limit, pricing and purchase price categories shall be inapplicable. 
 “Mortgage Loan Documents” means the
documents in the related Mortgage File to be delivered to the Custodian. 
 “Mortgage Loan Schedule” means with respect to
any Transaction as of any date, a mortgage loan schedule in the form of either (a) the schedule attached to the Manual or (b) a computer tape or other electronic medium generated by Seller and delivered to Buyer and Custodian, which
provides information (including, without limitation, the information in the schedule attached to the Manual) relating to the Purchased Mortgage Loans in a format acceptable to Buyer. 

“Mortgage Note” means the promissory note or other evidence of the indebtedness of a Mortgagor secured by a Mortgage. 

“Mortgaged Property” means the real property (and with respect to any Cooperative Loan, the Cooperative Unit) securing
repayment of the debt evidenced by a Mortgage Note. 
 “Mortgagor” means the obligor or obligors on a Mortgage Note,
including any person who has assumed or guaranteed the obligations of the obligor thereunder. 
 “Negative Amortization”
means the portion of interest accrued at the Mortgage Interest Rate in any month which exceeds the Monthly Payment on the related Mortgage Loan for such month and which, pursuant to the terms of the Mortgage Note, is added to the principal balance
of the Mortgage Loan. 
 “Net Income” means, for any period and any Person, as determined by Buyer in its sole discretion
in accordance with GAAP, the net income of such Person for such period, but excluding extraordinary gains. 

  
 13 

 [***] – Confidential portions of this document have been redacted and filed separately with
the Commission. 
 “Net Worth” means, with respect to any Person, an amount equal to, on a consolidated basis, such
Person’s stockholder equity (determined in accordance with GAAP). 
 “1934 Act” means the Securities Exchange Act of
1934, as amended from time to time. 
 “Obligations” means (a) all of Seller’s indebtedness, obligations to pay
the Repurchase Price on the Repurchase Date, the Price Differential on each Repurchase Date, and other obligations and liabilities, to Buyer, its Affiliates or Custodian arising under, or in connection with, the Program Agreements, whether now
existing or hereafter arising; (b) any and all sums paid by Buyer or on behalf of Buyer in order to preserve any Purchased Mortgage Loan or its interest therein; ( c) in the event of any proceeding for the collection or enforcement of any of
Seller’s indebtedness, obligations or liabilities referred to in clause (a), the reasonable expenses of retaking, holding, collecting, preparing for sale, selling or otherwise disposing of or realizing on any Purchased Mortgage Loan, or of any
exercise by Buyer of its rights under the Program Agreements, including, without limitation, attorneys’ fees and disbursements and court costs; and (d) all of Seller’s indemnity obligations to Buyer or Custodian or both pursuant to
the Program Agreements. 
 “Officer’s Compliance Certificate” means a certificate of a corporate officer of Seller in
the form of Exhibit A hereto. 
 “Person” means an individual, partnership, corporation (including a business
trust), limited liability company, joint stock company, trust, unincorporated association, joint venture or other entity, or a government or any political subdivision or agency thereof. 

“Post Default Rate” means an annual rate of interest equal to the Pricing Rate plus the Post Default Rate Margin. 

“Post Default Rate Margin” means the margin set forth on the Addendum for such term. 

“Price Differential” means with respect to any Transaction as of any date of determination, an amount equal to the product of
(A) the Pricing Rate for such Transaction and (B) the Purchase Price for such Transaction, calculated daily on the basis of a 360-day year 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. 
 “Pricing Rate” means a rate per annum equal to the
[***] 
 [***] 
 [***] 

  
 14 

 [***] – Confidential portions of this document have been redacted and filed separately with
the Commission. 
 [***] 

[***] 
 [***] 

[***] 
 [***] 

[***] 
 [***] 

“Processing Agent” shall mean each such Person so designated pursuant to Section 13(jj) hereof. 

“Program Agreements” means, collectively, the Servicing Agreement, if any, the servicer notice as described in
Section 11 ( d), if any, the Custodial Agreement, this Agreement, the Collection Account Control Agreement, the Seller’s Clearing Account Control Agreement, the Electronic Tracking Agreement, if any, and the Guaranty, if any, and any other
agreements entered into in connection herewith between the Buyer and the Seller. 
 “Property” means any right or interest
in or to property of any kind whatsoever, whether real, personal or mixed and whether tangible or intangible. 
 “Proprietary
Lease” means the lease on a Cooperative Unit evidencing the possessory interest of the owner of the Cooperative Shares in such Cooperative Unit. 

“Purchase Commitment” means a written commitment, in form and substance satisfactory to Buyer, issued in favor of Seller by a
Takeout Investor pursuant to which that Takeout Investor commits to purchase one or more Mortgage Loans, along with the related correspondent or whole loan purchase agreement by and between Seller and the Takeout Investor, in form and substance
satisfactory to Buyer, governing the terms and conditions of any such purchases. 
 “Purchase Confirmation” means a
confirmation of a Transaction, in the form attached to the Manual. 
 “Purchase Date” means, with respect to each
Transaction, the date on which Purchased Mortgage Loans are sold by Seller to the Buyer hereunder. 

  
 15 

 [***] – Confidential portions of this document have been redacted and filed separately with
the Commission. 
 “Purchase Price” means [***] 

[***] 
 [***] 

[***] 
 [***] 

[***] 
 [***] 

  
 16 

 [***] – Confidential portions of this document have been redacted and filed separately with
the Commission. 
 [***] 

[***] 
 [***] 

“Purchased Assets” means the Purchased Mortgage Loans, the Records, and all related Servicing Rights, the Program Agreements
(to the extent such Program Agreements and Seller’s right thereunder relate to the Purchased Mortgage Loans), any Property relating to the Purchased Mortgage Loans, all insurance policies and insurance proceeds relating to any Purchased
Mortgage Loan or the related Mortgaged Property, including, but not limited to, any payments or proceeds under any related primary insurance, hazard insurance and FHA Mortgage Insurance Contracts and VA Loan Guaranty Agreements (if any), Income, all
amounts in the Collection Account, all amounts in the Seller’s Clearing Account and the Reserve Account, and any account to which such amount is deposited, Interest Rate Protection Agreements, accounts (including any interest of Seller in
escrow accounts) and any other contract rights, instruments, accounts, payments, rights to payment (including payments of interest or finance charges) general intangibles and other assets relating to the Purchased Mortgage Loans (including, without
limitation, any other accounts) or any interest in the Purchased Mortgage Loans, and any proceeds (including the related securitization proceeds) and distributions with respect to any of the foregoing and any other property, rights, title or
interests as are specified on a Transaction Request and/or Trust Receipt, in all instances, whether now owned or hereafter acquired, now existing or hereafter created. 

“Purchased Mortgage Loans” means the collective reference to Mortgage Loans sold by Seller to Buyer in a Transaction
hereunder, listed on the related Mortgage Loan Schedule attached to the related Transaction Request, which such Mortgage Loans the Custodian has been instructed to hold pursuant to the Custodial Agreement. 

“Qualified Insurer” means a mortgage guaranty insurance company duly authorized and licensed where required by law to
transact mortgage guaranty insurance business and approved as an insurer by Fannie Mae or Freddie Mac. 

  
 17 

 “Qualified Originator” means an originator of Mortgage Loans which 1s acceptable
under the Underwriting Guidelines. 
 “Records” means all instruments, agreements and other books, records, and reports and
data generated by other media for the storage of information maintained by Seller, Servicer or any other person or entity with respect to a Purchased Mortgage Loan. Records shall include the Mortgage Notes, any Mortgages, the Mortgage Files, the
credit files related to the Purchased Mortgage Loan and any other instruments necessary to document or service a Mortgage Loan. 

“Reporting Date” means the 5th day of each month or, if such day is not
a Business Day, the next succeeding Business Day. 
 “Repurchase Date” means the date occurring on the earliest of
(i) the Termination Date, (ii) the date determined by application of Section 15, (iii) any date determined by application of the respective Maximum Transaction Duration or (iv) any other date communicated by Buyer to Seller
in connection with the funding of a Transaction. 
 “Repurchase Price” means the price at which Purchased Mortgage Loans
are to be transferred from Buyer to Seller upon termination of a Transaction, on the Repurchase Date or at any other time specified in this Agreement, which will be determined in each case (including Transactions terminable upon demand) as the sum
of the Purchase Price for such Purchased Mortgage Loans and the accrued but unpaid Price Differential as of the date of such determination and any fees and expenses charged by the Buyer and payable by the Seller as set forth on Schedule 1 to the
Addendum and any custodial fees as set forth on Schedule 2 to the Addendum with respect to such Purchased Mortgage Loans and all other fees and expenses incurred by the Buyer. 

“Required Insurance Amount” means the amount set forth on the Addendum for such term. 

“Requirement of Law” means, with respect to any Person, any law, treaty, rule or regulation or determination of an
arbitrator, a court or other governmental authority, applicable to or binding upon such Person or any of its property or to which such Person or any of its property is subject. 

“Reserve Account” means an account established at Wells Fargo Bank, N.A. or one of its Affiliates, in the name of the Person
set forth on the Addendum and subject to a Reserve Account Control agreement with Buyer which shall at all times contain a balance at least equal to the Reserve Account Threshold, as such amount may be adjusted from time to time by Buyer in its sole
discretion, and subject to set off by Buyer with respect to any Obligations. 
 “Reserve Account Control Agreement” means a
blocked account agreement providing the Buyer with control at all times over the Reserve Account. 
 “Reserve Account
Threshold” means the amount set forth on the Addendum for such term. 

  
 18 

 “Responsible Officer” means as to any Person, the chief executive officer or,
with respect to financial matters, the chief financial officer of such Person. 
 “S&P” means Standard &
Poor’s Ratings Services, or any successor thereto. 
 “SEC” means the Securities and Exchange Commission, or any
successor thereto. 
 “Second Lien Mortgage Loan” means a Mortgage Loan that is subject to a senior lien on the related
Mortgaged Property. 
 “Second Lien Mortgage Loan Limit” means the amount set forth on the Addendum for such term. 

“Second Lien Mortgage Loan Margin” means the margin set forth on the Addendum for such term. 

“Second Lien Mortgage Loan Purchase Price Percentage” means the percentage set forth on the Addendum for such term. 

“Seller” has the meaning set forth on the Addendum. 

“Seller’s Account for Remittance” means an account identified on the Addendum and established in the name of Seller into
which Buyer will remit funds in accordance with Section 8 herein. 
 “Seller’s Acquisition Price” means the price
that the Seller paid a third party for a Mortgage Loan in the event that the Seller did not originate such Mortgage Loan. 

“Seller’s Clearing Account” means an account established at Wells Fargo Bank, N.A. or one of its Affiliates, in the name
of Seller and subject to a Seller’s Clearing Account Control Agreement with Buyer or another insured financial institution, into which certain amounts shall be deposited or withdrawn, which shall at all times contain a balance at least equal to
the Seller’s Clearing Account Threshold, as such amount may be adjusted from time to time by Buyer in its sole discretion, and subject to set off by Buyer with respect to any Obligations. 

“Seller’s Clearing Account Control Agreement” means a blocked account agreement providing the Buyer with control at all
times over the Seller’s Clearing Account. 
 “Seller’s Clearing Account Threshold” means the amount set forth on
the Addendum for such term. 
 “Servicer” means any servicer approved by Buyer in its sole discretion, which may be Seller
or such other third party that has executed a Servicing Agreement and set forth on the Addendum. 
 “Servicing Agreement”
means a separate written agreement with a third party servicer to service the Mortgage Loans. 

  
 19 

 “Servicing Rights” means contractual possessory or other rights of the Seller or
any third party servicer to administer or service the Purchased Mortgage Loans, including, without limitation, the right to collect Monthly Payments. 

“Settlement Account” means one or more accounts established at Wells Fargo Bank, N.A. or one of its Affiliates, by and in the
name of the Buyer, into which (i) all Income shall be deposited or transferred from the Collection Account and (ii) the Takeout Investor remits funds pursuant to the Purchase Commitment. 

“Settlement Agent” means, with respect to any Transaction the subject of which is a Wet-Ink Mortgage Loan, the entity
approved by Buyer, in its sole good-faith discretion, which may be a title company, escrow company or attorney in accordance with local law and practice in the jurisdiction where the related Wet-Ink Mortgage Loan is being originated. 

“Shipment Order” means an electronically transmitted request for shipment of Collateral Documents, substantially in the form
attached to the Custodial Agreement. 
 “Subordinated Debt” means, Indebtedness of Seller which (i) is unsecured,
(ii) no part of the principal of such Indebtedness is required to be paid (whether by way of mandatory sinking fund, mandatory redemption, mandatory prepayment or otherwise) prior to the date which is one year following the Termination Date,
(iii) the payment of the principal of and interest on such Indebtedness and other obligations of Seller in respect of such Indebtedness are subordinated to the prior payment in full of the principal of and interest (including post-petition
obligations) on the Transactions and all other obligations and liabilities of Seller to Buyer hereunder, (iv) is not encumbered in any manner, (v) does not impose any duties on the Buyer and (vi) all other terms or conditions are
acceptable to Buyer. Buyer must specifically approve any Subordinated Debt for purposes of the calculation of Adjusted Tangible Net Worth. 

“Sub-Performing Mortgage Loan” means a Mortgage Loan that has been more than thirty (30) days contractually past due.

 “Subsidiary” means, 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. 

“Sub-Prime Mortgage Loan” means a Mortgage Loan originated in accordance with the criteria established by Buyer for sub-prime
mortgage loans, as determined by Buyer in its sole discretion. 
 “Sub-Prime Mortgage Loan Limit” means the amount set
forth on the Addendum for such term. 

  
 20 

 “Sub-Prime Mortgage Loan Margin” means the margin set forth on the Addendum for
such term. 
 “Sub-Prime Mortgage Loan Purchase Price Percentage” means the percentage set forth on the Addendum for such
term. 
 “Takeout Investor” means any investor pre-approved in writing by Buyer, in its sole discretion, to purchase
Mortgage Loans from Seller and who issues a Purchase Commitment relating to a Mortgage Loan. Takeout Investors approved by Buyer are listed in an electronic form by the Buyer or electronically submitted by the Seller to the Buyer. 

“Termination Date” has the meaning set forth on the Addendum or such earlier date in the case of an Event of Default
hereunder or any other earlier date determined by the Buyer in its sole discretion. 
 “Test Period” means any calendar
quarter. 
 “Transmittal Letter” means a letter describing a Mortgage Loan delivered or to be delivered to the Custodian
hereunder, in the form attached to the Custodial Agreement 
 “Transaction” has the meaning set forth in Section 1
hereof 
 “Transaction Request” means a request from Seller to Buyer, in the form attached to the Manual, to enter into a
Transaction. 
 “Trust Receipt” means, with respect to any Transaction as of any date, a receipt and certification in the
form attached as an exhibit to the Custodial Agreement 
 “Underwriting Guidelines” means the standards, procedures and
guidelines of the Seller for underwriting and acquiring Mortgage Loans, which are set forth in the written policies and procedures of the Seller, which have previously been provided and such other guidelines as are identified and approved in writing
by Buyer. 
 “Uniform Commercial Code” means the Uniform Commercial Code as in effect on the date hereof in the State of
New York or the Uniform Commercial Code as in effect in the applicable jurisdiction. 
 “US Treasury Security” means a
negotiable debt obligation issued by the US. government for a specific amount and maturity, with any related income being exempt from state and local tax income tax. 

“VA” means 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. 
 “VA Approved Lender” means a lender which is approved by the VA to act as a
lender in connection with the origination of VA Loans. 

  
 21 

 “VA Loan” means a Mortgage Loan which is subject of a VA Loan Guaranty Agreement
as evidenced by a loan guaranty certificate, or a Mortgage Loan which is a vender loan sold by the VA. 
 “VA Loan Guaranty
Agreement” means the obligation of the United States to pay a specific percentage of a Mortgage Loan (subject to a maximum amount) upon default of the Mortgagor pursuant to the Servicemen’s Readjustment Act, as amended. 

“Wet-Ink Documents” means, with respect to any Wet-Ink Mortgage Loan, the (a) Transaction Request, (b) the Mortgage
Loan Schedule and (c) any other documents required by the Manual. 
 “Wet-Ink Mortgage Loan” means a Mortgage Loan
which Seller is selling to Buyer simultaneously with the origination thereof. 
 “Wet-Ink Mortgage Loan Limit” means the
amount set forth on the Addendum for such term. 
 “Wet-Ink Mortgage Loan Margin” means the margin set forth on the
Addendum for such term. 
 “Wet-Ink Mortgage Loan Purchase Price Percentage” means the percentage set forth on the Addendum
for such term. 
 “Wet-Ink Mortgage Loan Document Receipt Date” means the date that the Custodian receives the Mortgage
Loan Documents for a Wet-Ink Mortgage Loan which shall in no event be later than the date set forth on the Addendum 
 3. Program;
Initiation of Transactions 
 a. From time to time, in the sole discretion of Buyer, Buyer may purchase from Seller all right, title and
interest in and to certain Mortgage Loans (including, without limitation, the Servicing Rights) that have been either originated by Seller or purchased by Seller from other originators. The Mortgage Loans shall be sold on a servicing-released basis.
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. All Purchased Mortgage Loans shall exceed or meet the Underwriting Guidelines, and
shall be serviced by Servicer. The aggregate Purchase Price of Purchased Mortgage Loans subject to outstanding Transactions shall not exceed the Maximum Aggregate Purchase Price. 

b. With respect to each Transaction, Seller shall provide notice of a proposed sale and comply with the procedures set forth in the Manual.
Following receipt of such request, Buyer may enter into such requested Transaction or may notify Seller of its intention not to enter into such Transaction for any reason. In the event the Mortgage Loan Schedule provided by Seller
contains erroneous computer data, is not formatted properly or the computer fields are otherwise improperly aligned, Buyer shall provide written or electronic notice to Seller 

  
 22 

 
describing such error and Seller may either (a) give Buyer written or electronic authority to correct the computer data, reformat the Mortgage Loans or properly align the computer fields or
(b) correct the computer data, reformat or properly align the computer fields itself and resubmit the Mortgage Loan Schedule as required herein. 

In the event that the Seller gives Buyer authority to correct the computer data, reformat the Mortgage Loan Schedule or properly align the
computer fields, the Seller shall pay an amount set forth in the fee schedule attached to the Manual and any other direct expenses incurred by Buyer; provided, that upon 30 days’ notice to the Sellers, Buyer may change such computer correction
fee. The Seller shall hold Buyer harmless for such correction, reformatting or realigning, as applicable, except as otherwise expressly provided herein. 

In the event that Seller requires the return of any Collateral Documents, upon its execution of a release pursuant to the terms of the
Custodial Agreement, the Buyer may authorize the Custodian to deliver any Collateral Documents to the Seller for correction. The Seller shall be fully liable for any failure or delay in the return or handling of any documents delivered to the Seller
in accordance with the terms of such release. 
 c. Upon the satisfaction of the applicable conditions precedent set forth in Section 9
hereof, all of Seller’s right, title and interest in the Purchased Assets shall pass to Buyer on the Purchase Date, against the transfer of the Purchase Price to Seller. The Purchased Assets shall be sold by the Seller to the Buyer on a
servicing-released basis. In the event that Seller requests that the Buyer remit by wire transfer an amount in excess of the Purchase Price in connection with the purchase of any Mortgage Loans, such excess amount shall be remitted from the
Seller’s Clearing Account to the Buyer, provided that such remittance does not leave the Seller’s Clearing Account with less than the Seller’s Clearing Account Threshold. Upon transfer of the Mortgage Loans to Buyer as set forth in
this Section and until termination of any related Transactions as set forth in Sections 4 or 15 of this Agreement, ownership of each Mortgage Loan, including each document in the related Mortgage File and Records, is vested in Buyer; provided that,
prior to the recordation by the Custodian as provided for in the Custodial Agreement record title in the name of Seller to each Mortgage shall be retained by Seller in trust, for the benefit of Buyer, for the sole purpose of facilitating the
servicing and the supervision of the servicing of the Mortgage Loans. 
 d. With respect to each Wet-Ink Mortgage Loan, by no later than
12:00 noon, (New York City time) on the Wet-Ink Mortgage Loan Document Receipt Date following the applicable Purchase Date, Seller shall cause the related Settlement Agent to deliver to the Custodian the remaining documents in the Mortgage File.

 4. Repurchase 
 a.
Seller shall repurchase the related Purchased Mortgage Loans from Buyer on each related Repurchase Date at the Repurchase Price. Such obligation to repurchase exists without regard to any prior or intervening liquidation or foreclosure with respect
to any Purchased Mortgage Loan (but liquidation or foreclosure proceeds received by Buyer shall be applied to reduce the Repurchase Price for such Purchased Mortgage Loan on each Repurchase Date except as otherwise provided herein). Seller is
obligated to repurchase and take physical possession of the Purchased Mortgage Loans from Buyer or its designee (including the Custodian) at Seller’s expense on the related Repurchase Date. 

  
 23 

 b. Provided that no Default shall have occurred and is continuing, and Buyer has received the
related Repurchase Price upon repurchase of the Purchased Mortgage Loans, Buyer agrees to release its ownership interest hereunder in the Purchased Mortgage Loans (including the Purchased Assets relating thereto) at the request of Seller. With
respect to payments in full by the related Mortgagor of a Purchased Mortgage Loan, Seller agrees to (i) immediately provide Buyer with a copy of a report from the related Servicer indicating that such Purchased Mortgage Loan has been paid in
full, (ii) remit to Buyer, within one (1) Business Day, the Repurchase Price with respect to such Purchased Mortgage Loans and (iii) provide Buyer a notice specifying each Purchased Mortgage Loan that has been prepaid in full.
Buyer agrees to release its ownership interest in Purchased Mortgage Loans which have been prepaid in full after receipt of evidence of compliance with clauses (i) through (iii) of the immediately preceding sentence. 

5. Price Differential. 

The Pricing Rate shall be reset on the first Business Day of each week that a Mortgage Loan is subject to a Transaction. 

6. Margin Maintenance 
 a.
If at any time the aggregate Market Value of all Purchased Mortgage Loans subject to all Transactions is less than the aggregate Buyer’s Margin Amount for all such Transactions (such event, a “Margin Deficit”), then Buyer may,
by notice to Seller, require Seller to transfer to Buyer, cash within one (1) Business Day of such notice by Buyer, so that the cash and aggregate Market Value of the Purchased Mortgage Loans will thereupon equal or exceed the aggregate
Buyer’s Margin Amount (such requirement upon such notice, a “Margin Call”), provided that, notwithstanding the foregoing, Buyer may determine the Market Value and any related Margin Deficit on an individual Mortgage Loan basis.

 b. Notice delivered pursuant to Section 6(a) may be given by any written or electronic means. Any notice given 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 (the foregoing time requirements for satisfaction of a Margin Call are referred to as the “Margin Deadlines”). 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. Any late payments shall accrue interest at
the Post Default Rate. 

  
 24 

 c. In the event that a Margin Deficit exists or any other funds are due and payable to Buyer,
Buyer may retain any funds received by it to which the Seller would otherwise be entitled hereunder or exercise control over any funds in the Seller’s Clearing Account and remit such funds to the Settlement Account, which funds shall be held
and applied by Buyer against such Margin Deficit, may be applied by Buyer against amounts due and owing, or any shortfall, with respect to any Purchased Mortgage Loan. Notwithstanding the foregoing, the Buyer retains the right, in its sole
discretion, to make a Margin Call in accordance with the provisions of this Section 6. 
 7. Income Payments 

a. If Income is paid in respect of any Purchased Mortgage Loan during the term of a Transaction, such Income shall be the property of Buyer and
shall be deposited in the Collection Account by either the Seller or the applicable Servicer. All deposits contained in the Collection Account (other than any Income relating to prepayments of principal in full which will be paid in accordance with
Section 7(d) below) will be transferred to the Settlement Account on a bimonthly basis in accordance with Section 11 ( c) or by the Buyer at any other time. 

b. Prior to an Event of Default, upon the termination of any Transaction, Buyer shall apply payments received by a Takeout Investor or
otherwise, including those payments contemplated in Sections 6(a) and 7(a) above, as follows (provided that Buyer shall have no obligation to apply payments in the event that it is unable to identify the Mortgage Loans to which such payments
correspond or there are insufficient funds in the Settlement Account or the Seller’s Clearing Account, and the related Repurchase Price will continue to accrue interest as if no payment had been made): 

First, to the payment of the outstanding Repurchase Price owed by the Seller under this Agreement; 

Second, to the payment of related costs and expenses owed under this Agreement, including reasonable compensation to
Buyer’s agents and counsel, and all expenses, liabilities and advances made or incurred by or on behalf of Buyer in connection therewith; 

Third, to the payment of all other amounts owed by the Seller under this Agreement; 

Fourth, to the payment of any other amounts owed by the Seller or any Affiliate to the Buyer under any other instrument
or agreement, in accordance with Section 24; 
 Fifth, to the Servicer, if and only if such party is a third
party, costs and fees it is entitled to under the related Servicing Agreement; and 
 Sixth, to the Seller, any
remainder, by remittance to the Seller’s Clearing Account. 
 c. In the event that an Event of Default has occurred and is continuing,
notwithstanding any provision set forth herein, Buyer may, in its sole discretion, distribute to Seller its share of Income received with respect to each Purchased Mortgage Loan after all obligations under this Agreement have been paid in full. 

  
 25 

 d. Seller shall, or cause Servicer to, deposit within two (2) Business Days of the receipt
of any prepayment of principal in full into the Collection Account, with respect to a Purchased Mortgage Loan. Buyer shall apply any such amount to reduce the amount of the Repurchase Price due upon termination of the related Transaction. 

e. Notwithstanding anything to the contrary set forth herein, to the extent that any Income (excluding principal prepayments in full) is not
deposited in the Collection Account, upon notice by Buyer to Seller, Seller shall immediately remit to the Settlement Account all such Income received by Servicer or Seller on the Purchased Mortgage Loans. 

8. Payment and Transfer 

Unless otherwise mutually agreed in writing, all transfers of funds to be made by the Seller or the Takeout Investor hereunder shall be made in
Dollars, in immediately available funds, without deduction, set-off or counterclaim, to Buyer at the Settlement Account or such other account as Buyer shall specify to Seller or Takeout Investor in writing. Seller acknowledges that it has no rights
of withdrawal from the Settlement Account. All Purchased Mortgage Loans shall be evidenced by a Trust Receipt. Any Repurchase Price received by Buyer in the Settlement Account after 2:00 p.m. (New York City time) shall be deemed received on the next
succeeding Business Day. From time to time, the Seller may request in writing that a wire transfer be made from the Seller’s Clea1ing Account and Buyer may approve such request (based on the Seller’s Clearing Account Threshold and any
other amounts that are currently due and payable under this Agreement). Upon approval of such a request, the Buyer will remit funds to Seller’s Account for Remittance. 

9. Conditions Precedent 

a. Initial Transaction. As conditions precedent to the initial Transaction, Buyer shall have received on or before the day of such
initial Transaction the following, in form and substance satisfactory to Buyer and duly executed by each Seller, each Guarantor and each other party thereto: 

(1) Program Agreements. The Program Agreements (including without limitation the Guaranty, and a Custodial Agreement in
a form acceptable to Buyer) duly executed and delivered by the parties thereto and being in full force and effect, free of any modification, breach or waiver. 

(2) 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 Mortgage Loans and other Purchased Assets have been taken, including, without limitation, duly authorized and filed Uniform Commercial Code financing statements on Form UCC-1. 

(3) Organizational Documents. A certificate of an officer of Seller substantially in the form of Exhibit B
hereto, attaching ce1iified copies of Seller’s charter, bylaws and corporate resolutions approving the Program Agreements and transactions thereunder (either specifically or by general resolution) and all documents evidencing other necessary
corporate action or governmental approvals as may be required in connection with the Program Agreements. 

  
 26 

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

(5) Incumbency Certificate. An incumbency certificate, in the form provided in the Manual, of the corporate secretary of
each Seller, certifying the names, true signatures and titles of the representatives duly authorized to request transactions hereunder and to execute the Program Agreements. 

(6) Underwriting Guidelines. A true and correct copy of the Underwriting Guidelines certified by an officer of the
Seller. 
 (7) Legal Opinion. If requested by Buyer, Seller shall provide a legal opinion in form and substance
acceptable to Buyer. 
 (8) Fees. Payment of any fees due to Buyer hereunder. 

(9) Manual. Seller shall have received, reviewed and agreed to comply with the Manual. 

(10) Collection Account. Evidence that the Collection Account has been established by the Seller or the Servicer, and
the fully executed Collection Account Control Agreement. 
 (11) Settlement Account. After the Settlement Account has
been established. 
 (12) Seller’s Clearing Account. Evidence that the Seller’s Clearing Account has been
established by the Seller and contains at least the Seller’s Clearing Account Threshold, and the fully executed Seller’s Clearing Account Control Agreement. 

(13) Reserve Account. Evidence that the Reserve Account has been established by the Person set forth on the Addendum and
contains at least the Reserve Account Threshold, and the fully executed Reserve Account Control Agreement. 
 b. All Transactions. The
obligation of Buyer to enter into each Transaction pursuant to this Agreement is subject to the following conditions precedent: 

(1) Due Diligence Review. Without limiting the generality of Section 34 hereof, Buyer shall have completed, to its
satisfaction, its due diligence review of the related Mortgage Loans and each Seller, each Guarantor and the Servicer. 

  
 27 

 (2) Required Documents. 

(a) With respect to each Purchased Mortgage Loan which is not a Wet-Ink Mortgage Loan, the Mortgage File has been delivered to
the Custodian (i) with respect to any purchase of 25 or fewer Mortgage Loans on a single Purchase Date, on or prior to 10:30 a.m. (New York City time) on the Purchase Date, and (ii) with respect to any purchase of 26 or more Mortgage Loans
on a single Purchase Date, at least 24 hours prior to the Purchase Date; 
 (b) With respect to each Wet-Ink Mortgage Loan,
the Wet-Ink Documents have been delivered to Buyer or Custodian, as the case may be, by 2:00 p.m. (New York City time) on the Purchase Date. 

(3) Transaction Documents. Buyer or its designee shall have received, within the timeframe specified in the Manual, the
following, in form and substance satisfactory to Buyer and (if applicable) duly executed: 
 (a) A Transaction Request and a
Purchase Confirmation. 
 (b) The related Mortgage Loan Schedule, and the Trust Receipt. 

(c) Any other documents required to be delivered by the Manual. 

(d) Such certificates, opinions of counsel or other documents as Buyer may reasonably request. 

(4) No Default. No Default shall have occurred and be continuing; 

(5) Requirements of Law. Buyer shall not have determined that the introduction of or a change in any Requirement of Law
or in the interpretation or administration of any Requirement of Law applicable to Buyer has made it unlawful, and no Governmental Authority shall have asserted that it is unlawful, for Buyer to enter into the Transactions contemplated by this
Agreement. 
 (6) Representations and Warranties. Both immediately prior to the related Transaction and also after
giving effect thereto and to the intended use thereof, the representations and warranties (including, without limitation, the representations and warranties set forth on Schedule 1-A and Schedule 1-B) made by Seller in each Program
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). 

  
 28 

 (7) Electronic Tracking Agreement. To the extent Seller is selling
Mortgage Loans which are registered on the MERS® System, an Electronic Tracking Agreement entered into, duly executed and delivered by the parties thereto and being in full force and effect,
free of any modification, breach or waiver. 
 (8) Material Adverse Change. None of the following shall have occurred
and/or be continuing: 
 (a) Buyer’s corporate bond rating, if applicable, as calculated by S&P, Moody’s or
Fitch has been lowered or downgraded to a rating below investment grade by S&P, Moody’s or Fitch; or there shall have occurred a material adverse change in the financial condition of Buyer which causes, or would be likely to cause, a
material adverse effect on the ability of the Buyer to fund its obligations under this Agreement. 
 (b) an event or events
shall have occurred in the good faith determination of Buyer resulting in: (i) the effective absence of a “repo market” or comparable “lending market” for financing debt obligations secured by mortgage loans or securities or
an event or events shall have occurred resulting in Buyer not being able to finance Purchased 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 event; or (ii) the effective absence of a “whole loan market”, “securities market” for securities backed by mortgage loans or an event or events shall have occurred, resulting in
Buyer not being able to sell whole loans or securities backed by mortgage loans at prices which would have been reasonable prior to such event or event. 

(9) Manual. Seller shall have received, reviewed and agreed to comply with any changes to the Manual since the initial
closing hereunder. 
 (10) Seller’s Clearing Account. Evidence that the Seller’s Clearing Account contains
at least the Seller’s Clearing Account Threshold. 
 (11) Reserve Account. Evidence that the Reserve Account
contains at least the Reserve Account Threshold. 
 10. Program; Costs 

a. Seller shall reimburse Buyer for any of Buyer’s reasonable out-of-pocket costs, including due diligence review costs and reasonable
attorney’s fees, incurred by Buyer in determining the acceptability to Buyer of any Mortgage Loans. Seller shall also pay, or reimburse Buyer if Buyer shall pay, any termination fee, which may be due any Servicer. Seller shall pay the fees and
expenses of Buyer’s counsel in connection with the Program Agreements. Further, Seller shall pay, or reimburse Custodian for, any shipping costs incurred by Custodian upon delivery of an invoice following the delivery by Custodian of certain
Mortgage Files relating to the Purchased Mortgage Loans. Legal fees for any subsequent amendments to this 

  
 29 

 
Agreement or related documents shall be borne by Seller. Seller shall pay ongoing custodial and bank fees and expenses as set forth on Schedule 1 to the Addendum, and any other ongoing fees and
expenses under any other Program Agreements. Seller shall indemnify, hold harmless and defend the Custodian with respect to any damages or costs and expenses incurred by the Custodian. The Custodian shall be considered a third party beneficiary of
the rights set forth in the prior sentence. 
 b. If Buyer determines that, due to the introduction of, any change in, or the compliance by
Buyer with the interpretation of any law, regulation or any guideline or request from any central bank or other Governmental Authority (whether or not having the force of law), there shall be an increase in the cost to Buyer in engaging in the
present or any future Transactions, then Seller agrees to pay to Buyer, from time to time, upon demand by Buyer (with a copy to Custodian) the actual cost of additional amounts as specified by Buyer to compensate Buyer for such increased costs. 

c. With respect to any Transaction, Buyer may conclusively rely upon, and shall incur no liability to Seller in acting upon, any request or
other communication that Buyer reasonably believes to have been given or made by a person authorized to enter into a Transaction on Seller’s behalf, whether or not such person is listed on the certificate delivered pursuant to
Section 9(a)(5) hereof. In each such case, Seller hereby waives the right to dispute Buyer’s record of the terms of the Purchase Confirmation, request or other communication. 

d. Notwithstanding the assignment of the Program Agreements with respect to each Purchased Mortgage Loan to Buyer, Seller agrees and covenants
with Buyer to enforce diligently Seller’s rights and remedies set forth in the Program Agreements. 
 e. Any payments made by Seller or
Guarantor to Buyer shall be free and clear of, and without deduction or withholding for, any taxes; provided, however, that if such payer shall be required by law to deduct or withhold any taxes from any sums payable to Buyer, then such payer shall
(A) make such deductions or withholdings and pay such amounts to the relevant authority in accordance with applicable law, (B) pay to Buyer the sum that would have been payable had such deduction or withholding not been made, and
(C) at the time Price Differential is paid, pay to Buyer all additional amounts as specified by Buyer to preserve the after-tax yield Buyer would have received if such tax had not been imposed, and otherwise indemnify Buyer for any such taxes
imposed. 
 11. Servicing 

a. Seller, on Buyer’s behalf, shall contract with Servicer to, or if Seller is the Servicer, Seller shall, interim service the Mortgage
Loans consistent with the degree of skill and care that Seller customarily requires with respect to similar Mortgage Loans owned or managed by it and in accordance with Accepted Servicing Practices. The Servicer shall (i) comply with all
applicable Federal, State and local laws and regulations, (ii) maintain all state and federal licenses necessary for it to perform its servicing responsibilities hereunder and (iii) not impair the rights of Buyer in any Mortgage Loans or
any payment thereunder. 

  
 30 

 b. Seller shall cause the Servicer to hold or cause to be held all escrow funds collected by
Servicer with respect to any Purchased Mortgage Loans in trust accounts and shall apply the same for the purposes for which such funds were collected. 

c. Seller shall, or shall cause the Servicer to, deposit all Income, excluding any prepayments in full as set forth in Section 7(d),
received by Servicer on the Purchased Mortgage Loans in the Collection Account no later than the 5th Business Day following receipt; provided,
however, that any amounts required to be remitted to Buyer shall be deposited in the Collection Account on or prior to the day on which such remittance is to occur. Any such amounts deposited in the Collection Account shall then be remitted to the
Settlement Account on a bimonthly basis, on the fifth and twentieth calendar day (or next succeeding Business Day in the event that any such calendar day is not a Business Day), and on any other day Buyer directs such a transfer in its sole
discretion. 
 d. Upon Buyer’s request, Seller shall provide promptly to Buyer a servicer notice addressed to and agreed to by the
Servicer of the related Purchased Mortgage Loans, advising such Servicer of such matters as Buyer may reasonably request, including, without limitation, recognition by the Servicer of Buyer’s interest in such Purchased Mortgage Loans and the
Servicer’s agreement that upon receipt of notice of an Event of Default from Buyer, it will follow the instructions of Buyer with respect to the Purchased Mortgage Loans and any related Income with respect thereto. 

e. The Buyer shall have the right to immediately terminate the Servicer’ s right to service the Purchased Mortgage Loans under the
Servicing Agreement without payment of any penalty or termination fee. Seller and the Servicer shall cooperate in transferring the servicing and all Records of the Purchased Mortgage Loans to a successor servicer appointed by Buyer in its sole
discretion. 
 f. If Seller should discover that, for any reason whatsoever, Seller or any entity responsible to Seller for managing or
servicing any such Purchased Mortgage Loan has failed to perform fully Seller’s obligations under the Program Agreements or any of the obligations of such entities with respect to the Purchased Mortgage Loans, Seller shall promptly notify Buyer
and promptly remedy any non-compliance. 
 g. The Servicer’s rights and obligations to interim service the Mortgage Loans shall
terminate on the 20th day of each calendar month (and if such day is not a Business Day, the next succeeding Business Day), unless otherwise directed in writing by the Buyer prior to such date.
Upon termination, the Servicer shall transfer servicing, including, without limitation, delivery of all servicing files to the designee of the Buyer. The Servicer’s delivery of servicing files shall be in accordance with Accepted Servicing
Practices. The Seller and Servicer shall have no right to select a subservicer or successor servicer. After the servicing terminates and until the servicing transfer date, the Servicer shall service the Mortgage Loans in accordance with the terms of
this Agreement and for the benefit of the Buyer. 

  
 31 

 12. Representations and Warranties 

a. Each Seller represents and warrants to Buyer as of the date hereof and as of each Purchase Date for any Transaction that: 

(1) Due Organization and Qualification. Seller is duly organized, validly existing and in good standing under the laws
of the jurisdiction under whose laws it is organized. Seller has no trade name unless set forth on the Addendum. Seller is duly qualified to do business, is in good standing and has obtained all necessary licenses, permits, charters, registrations
and approvals necessary for the conduct of its business as currently conducted and the performance of its obligations under the Program Agreements except where any failure to obtain such a license, permit, charter, registration or approval would not
cause or be likely to cause a Material Adverse Effect or impair the enforceability of any Mortgage Loan. 
 (2) Power and
Authority. Seller has all necessary power and authority to conduct its business as currently conducted, to execute, deliver and perform its obligations under the Program Agreements, any electronic transmissions contemplated hereunder, and to
consummate the Transactions. 
 (3) Due Authorization. The execution, delivery and performance of the Program
Agreements, any electronic transmissions contemplated hereunder, by Seller have been duly authorized by all necessary action and do not require any additional approvals or consents or other action by or any notice to or filing with any Person other
than any that have heretofore been obtained, given or made. 
 (4) Non-contravention. None of the execution and
delivery of the Program Agreements, any electronic transmissions contemplated hereunder, by Seller or the consummation of the Transactions and transactions thereunder: 

        conflicts with, breaches or violates any provision of the organizational
documents or material agreements of Seller or any law, rule, regulation, order, writ, judgment, injunction, decree, determination or award currently in effect having applicability to Seller or its properties; 

        constitutes a material default by Seller under any loan or repurchase
agreement, mortgage, indenture or other agreement or instrument to which Seller is a party or by which it or any of its properties is or may be bound or affected; or 

        results in or requires the creation of any lien upon or in respect of any of
the assets of Seller except the lien relating to the Program Agreements. 
 (5) Legal Proceeding. There is no action,
proceeding or investigation by or before any court, governmental or administrative agency or arbitrator affecting any of the Purchased Mortgage Loans, Seller or any of its Affiliates, pending or threatened, which, if decided adversely, would have a
Material Adverse Effect. 

  
 32 

 (6) Valid and Binding Obligations. Each of the Program Agreements, any
electronic transmissions contemplated hereunder, to which Seller is a party, when executed and delivered by Seller, will constitute the legal, valid and binding obligations of Seller, enforceable against Seller, in accordance with their respective
terms, except as such enforceability may be limited by bankruptcy, insolvency, reorganization, moratorium or other similar laws affecting creditors’ rights generally and general equitable principles (regardless of whether enforcement is sought
in a proceeding in equity or at law). 
 (7) Financial Statements. The financial statements of Seller, copies of which
have been furnished to Buyer, (i) are, as of the dates and for the periods referred to therein, complete and correct in all material respects, (ii) present fairly the financial condition and results of operations of Seller as of the dates
and for the periods indicated and (iii) have been prepared in accordance with GAAP consistently applied, except as noted therein (subject as to interim statements to normal year-end adjustments). Since the date of the most recent
financial statements, there has been no event or circumstance that would be likely to cause a Material Adverse Effect with respect to Seller. Except as disclosed in such financial statements, Seller is not subject to any contingent liabilities or
commitments that, individually or in the aggregate, have a possibility of causing a Material Adverse Effect with respect to Seller. 

(8) Accuracy of Information. Neither this Agreement nor any of the documents or information prepared by or on behalf of
Seller and provided by Seller to Buyer contain any statement of a material fact with respect to Seller or the Transactions that was untrue or misleading in any material respect when made. Since Seller’s initial discussions with Buyer regarding
the terms of this Agreement and the furnishing of such documents or information, there has been no change, nor any development or event involving a prospective change known to Seller, that would (i) render any of the Agreement, such documents
or information untrue or misleading in any material respect or (ii) adversely affect the property, business, operations or conditions (financial or otherwise) of Seller. 

(9) No Consents. No consent, license, approval or authorization from, or registration, filing or declaration with, any
regulatory body, administrative agency, or other governmental, instrumentality, nor any consent, approval, waiver or notification of any creditor, lessor or other non-governmental person, is required in connection with the execution, delivery and
performance or consummation by Seller of this Agreement or any other Program Agreements, other than any that have heretofore been obtained, given or made. 

(10) Compliance With Law, Etc. No practice, procedure or policy employed or proposed to be employed by Seller in the
conduct of its business violates any law, regulation, judgment, agreement, regulatory consent, order or decree applicable to it which, if enforced, would be likely to result in a Material Adverse Effect with respect to Seller. 

  
 33 

 (11) Solvency; Fraudulent Conveyance. Seller is solvent and will not be
rendered insolvent by the Transaction and, after giving effect to such Transaction, each Seller will not be left with an unreasonably small amount of capital with which to engage in its business. Seller does not intend to incur, or believe that it
has incurred, debts beyond its ability to pay such debts as they mature. Seller is not contemplating the commencement of insolvency, bankruptcy, liquidation or consolidation proceedings or the appointment of a receiver, liquidator, conservator,
trustee or similar official in respect of Seller or any of its assets. The amount of consideration being received by Seller upon the sale of the Purchased Mortgage Loans to Buyer constitutes reasonably equivalent value and fair consideration for
such Purchased Mortgage Loans. Seller is not transferring any Purchased Mortgage Loans with any intent to hinder, delay or defraud any of its creditors. 

(12) Investment Company Act Compliance. Seller is not required to be registered as an “investment company” as
defined under the Investment Company Act nor as an entity under the control of an “investment company” as defined under the Investment Company Act. 

(13) Taxes. Seller has filed all federal and state tax returns which are required to be filed and paid all taxes,
including any assessments received by it, to the extent that such taxes have become due (other than for taxes that are being contested in good faith or for which it has established adequate reserves). Any taxes, fees and other governmental charges
payable by Seller in connection with a Transaction and the execution and delivery of the Program Agreements have been paid. 

(14) Additional Representations. With respect to each Mortgage Loan, Seller hereby makes all of the applicable
representations and warranties set forth in Schedule 1-A and Schedule 1-B hereto as of the related Purchase Date and continuously while such Mortgage Loan is subject to a Transaction. Further, as of each Purchase Date, Seller shall be
deemed to have represented and warranted in like manner that Seller has no knowledge that any such representation or warranty may have ceased to be true in a material respect as of such date, except as otherwise stated in a transaction notice (as
referenced in the Manual), any such exception to identify the applicable representation or warranty and specify in reasonable detail the related knowledge of Seller. In addition, the Seller agrees to make the representations and warranties set forth
in Schedule 1-A and Schedule 1-B hereto as of the “cut-off date” of the securitization or whole loan sale of the related Mortgage Loans by Seller or Buyer, as applicable; provided, however, that to the extent that the Seller
has at the time of such securitization or whole loan sale actual knowledge of any facts or circumstances that would render any of such representations and warranties materially false, the Seller shall have no obligation to make such materially false
representation and warranty. 

  
 34 

 (15) 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 Mortgage Loans pursuant to this Agreement; provided, that if Seller has 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 Mortgage Loans pursuant to this Agreement, such commission or compensation shall have been paid in full
by Seller. 
 (16) Hedging. Seller has entered into hedge or swap agreements pursuant to its customary hedging
procedures. 
 (17) Purchase Commitments. Seller has entered into the required Purchase Commitment with a Takeout
Investor for each Purchased Mortgage Loan. Such Purchase Commitment shall be irrevocable, in full force and effect and fully enforceable against such Takeout Investor. 

(18) Regulation U. Seller is not engaged principally, or as one of its major activities, in the business of extending
credit for the purpose of purchasing or carrying Margin Stock, and no part of the proceeds of any Transactions hereunder will be used to purchase or carry any Margin Stock or to extend credit to others for the purpose of purchasing or carrying any
Margin Stock. 
 (19) ERISA. All plans (“Plans”) of a type described in Section 3(3) of BRISA in
respect of which Seller is an “Employer”, as defined in Section 3(8) of ERISA, are in substantial compliance with ERISA, and none of such Plans is insolvent or in reorganization, has an accumulated or waived funding deficiency within
the meaning of Section 412 of the Internal Revenue Code, and Seller has not incurred any material liability (including any material contingent liability) to or on account of any such Plan pursuant to Sections 4062, 4063, 4064, 4201 or 4204 of
ERISA; and no proceedings have been instituted to terminate any such plan, and no condition exists which presents a material risk to Seller of incurring a liability to or on account of any such Plan pursuant to any of the foregoing Sections of
ERISA. No Plan or trust forming a part thereof has been terminated since September 1, 1974. 
 (20) Other
Approvals. Seller is licensed as a mortgage lender in the state in which the related Mortgaged Property is located, with the facilities, procedures and experienced personnel necessary for the sound servicing of mortgage loans of the same type as
the Mortgage Loans, and no event has occurred, including a change in insurance coverage, which would make Seller unable to comply with applicable Agency and HUD eligibility requirements or relevant state licensing requirements which would require
notification to any Agency and HUD or the related state regulatory authority. 
 (21) Subsidiaries. Seller has no
Subsidiaries or Affiliates other than those listed on the Addendum. 

  
 35 

 (22) Other Credit Facilities and Debts. Seller is not an obligor under any
other Indebtedness (including without limitation, other credit facilities) that is not listed on the Addendum. Seller has obtained the approval of its other lenders with respect to this Agreement. 

(23) Title to Properties. Seller has good, valid insurable (in the case of real property) and marketable title to all of
its properties and assets. 
 (24) Additional Covenants and Conditions. All of the Additional Covenants and Conditions
are true and correct at all times, and continue to be maintained as set forth in the Addendum. 

        The representations and warranties set forth in this Agreement shall survive
transfer of the Purchased Mortgage Loans to Buyer and shall continue for so long as the Purchased Mortgage Loans are subject to this Agreement. 

13. Covenants 
 Each
Seller covenants with Buyer that, during the term of this facility: 
 a. Litigation. Seller will promptly, and in any event within
ten (10) days after service of process on any of the following, give to Buyer notice of all litigation, actions, suits, arbitrations, investigations (including, without limitation, any of the foregoing which are threatened or pending) or other
legal or arbitrable proceedings affecting Seller or any of its Subsidiaries or affecting any of the Property of any of them before any Governmental Authority that (i) questions or challenges the validity or enforceability of any of the Program
Agreements or any action to be taken in connection with the transactions contemplated hereby, (ii) makes a claim individually in an amount greater than the Individual Claim Threshold or in an aggregate amount greater than the Aggregate Claim
Threshold, or (iii) which, individually or in the aggregate, if adversely determined, could be reasonably likely to have a Material Adverse Effect. Seller will promptly provide notice of any judgment, which with the passage of time, could cause
an Event of Default hereunder. Seller will notify Buyer of any repurchase requests or demands from its secondary market investors. 
 b.
Prohibition of Fundamental Changes. Seller shall not enter into any transaction of merger or consolidation or amalgamation, or liquidate, wind up or dissolve itself (or suffer any liquidation, winding up or dissolution) or sell all or
substantially all of its assets. 
 c. Maintenance of Profitability. Seller shall not permit, for any Test Period, Net Income for such
Test Period, before income taxes for such Test Period and distributions made during such Test Period, to be less than $1.00. 
 d.
Servicer; Asset Tape. Upon the occurrence of any of the following (a) the occurrence and continuation of an Event of Default, (b) upon any Purchased Mortgage Loan exceeding its Maximum Transaction Duration, ( c) the fifth Business
Day of each month, or ( d) upon the request of Buyer, Seller shall cause Servicer to provide to Buyer, electronically, in a format mutually acceptable to Buyer and Seller, an Asset Tape by no later than the Reporting Date. 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. 

  
 36 

 e. Maintenance of Fidelity Bond and Errors and Omissions Insurance. The Seller shall
continue to maintain, for Seller and its Subsidiaries, with responsible companies, at its own expense, a blanket Fidelity Bond and an Errors and Omissions Insurance Policy, with broad coverage on all officers, employees or other persons
(“Seller Employees”) acting in any capacity requiring such persons to handle funds, money, documents or papers relating to the Mortgage Loans, with respect to any claims made in connection with all or any portion of the Purchased
Assets. Any such Fidelity Bond and Errors and Omissions Insurance Policy shall be in the standard form of mortgage banker’s blanket bond and shall protect and insure the Seller against losses, including forgery, theft, embezzlement, fraud,
errors and omissions and negligent acts of such Seller Employees. Such Fidelity Bond and Errors and Omissions Insurance Policy also shall protect and insure the Seller against losses in connection with the release or satisfaction of a Mortgage Loan
without having obtained payment in full of the indebtedness secured thereby. No provision of this section requiring such Fidelity Bond and Errors and Omissions Insurance Policy shall diminish or relieve the Seller from its duties and obligations as
set forth in this Agreement. The minimum coverage under any such Fidelity Bond and Errors and Omissions Insurance Policy shall be at least equal to the Required Insurance Amount. Upon the request of the Buyer, the Seller shall cause to be delivered
to the Buyer a certificate of insurance for such Fidelity Bond and Errors and Omissions Insurance Policy and a statement from the surety and the insurer that such Fidelity Bond and Errors and Omissions Insurance Policy shall in no event be
terminated or materially modified without thirty (30) days’ prior written notice to the Buyer. If requested by Buyer, the Seller shall ensure that Buyer is granted the ability to make direct claims under each of the Fidelity Bond and
Errors and Omissions Insurance Policy. 
 f. No Adverse Claims. Seller warrants and will defend, and shall cause any Servicer to
defend, the right, title and interest of Buyer in and to all Purchased Mortgage Loans and the related Purchased Assets against all adverse claims and demands. 

g. Assignment. Except as permitted herein, neither Seller nor any Servicer shall sell, assign, transfer or otherwise dispose of, or
grant any option with respect to, or pledge, hypothecate or grant a security interest in or lien on or otherwise encumber (except pursuant to the Program Agreements), any of the Purchased Mortgage Loans or any interest therein, provided that this
Section shall not prevent any transfer of Purchased Mortgage Loans in accordance with the Program Agreements. 
 h. Security Interest.
Seller shall do all things necessary to preserve the Purchased Mortgage Loans and the related Purchased Assets so that they remain subject to a first priority perfected security interest hereunder. Without limiting the foregoing, Seller will comply
with all rules, regulations and other laws of any Governmental Authority and cause the Purchased Mortgage Loans or the related Purchased Assets to comply with all applicable rules, regulations and other laws. Seller will not allow any default for
which Seller is responsible to occur under any Purchased Mortgage Loans or the related Purchased Assets or any Program Agreement and Seller shall fully perform or cause to be performed when due all of its obligations under any Purchased Mortgage
Loans or the related Purchased Assets and any Program Agreement. 

  
 37 

 i. Records. 

(1) Seller shall collect and maintain or cause to be collected and maintained all Records relating to the Purchased Mortgage
Loans in accordance with industry custom and practice for assets similar to the Purchased Mortgage Loans, including those maintained pursuant to the preceding subparagraph, and all such Records shall be in Custodian’s possession unless Buyer
otherwise approves. Seller will not allow any such papers, records or files that are an original or an only copy to leave Custodian’s possession, except for individual items removed in connection with servicing a specific Mortgage Loan, in
which event Seller will obtain or cause to be obtained a receipt from a financially responsible person for any such paper, record or file. Seller or the Servicer of the Purchased Mortgage Loans will maintain all such Records not in the possession of
Custodian in good and complete condition in accordance with industry practices for assets similar to the Purchased Mortgage Loans and preserve them against loss. 

(2) For so long as Buyer has an interest in or lien on any Purchased Mortgage Loan, Seller will hold or cause to be held all
related Records in trust for Buyer. Seller shall notify, or cause to be notified, every other party holding any such Records of the interests and liens in favor of Buyer granted hereby. 

(3) Upon reasonable advance notice from Custodian or Buyer, Seller shall (x) make any and all such Records available to
Custodian or Buyer to examine any such Records, either by its own officers or employees, or by agents or contractors, or both, and make copies of all or any portion thereof, and (y) permit Buyer or its authorized agents to discuss the affairs,
finances and accounts of Seller with its chief operating officer and chief financial officer and to discuss the affairs, finances and accounts of Seller with its independent certified public accountants. 

j. Books. Seller shall keep or cause to be kept in reasonable detail books and records of account of its assets and business and shall
clearly reflect therein the transfer of Purchased Mortgage Loans to Buyer. 
 k. Approvals. Seller shall maintain all licenses,
permits or other approvals necessary for Seller to conduct its business and to perform its obligations under the Program Agreements, and Seller shall conduct its business strictly in accordance with applicable law. 

1. Material Change in Business. Seller shall not make any material change in the nature of its business as carried on at the date
hereof. There shall be no material change in the senior management of Seller. 
 m. Underwriting Guidelines. Without the prior written
consent of Buyer, Seller shall not amend or otherwise modify the Underwriting Guidelines. Without limiting the foregoing, in the event that Seller makes any amendment or modification to the Underwriting Guidelines, Seller shall promptly deliver to
Buyer a complete copy of the amended or modified Underwriting Guidelines. 

  
 38 

 n. Distributions. If an Event of Default has occurred and is continuing or the payment of
a distribution would cause the violation of a financial covenant herein, Seller shall not pay any dividends with respect to any capital stock or other equity interests in such entity, whether now or hereafter outstanding, or make any other
distribution in respect thereof, either directly or indirectly, whether in cash or property or in obligations of Seller. 
 o. Applicable
Law. Seller shall comply with the requirements of all applicable laws, rules, regulations and orders of any Governmental Authority. 
 p.
Existence. Seller shall preserve and maintain its legal existence and all of their material rights, privileges, licenses and franchises. 

q. Chief Executive Office; Jurisdiction of Organization. Seller shall not move its chief executive office from the address referred to
on the Addendum or change its jurisdiction of organization from the jurisdiction referred to in Section 12(a)(l) unless it shall have provided Buyer 30 days’ prior written notice of such change. 

r. Taxes. Seller shall timely file all tax returns that are required to be filed by them and shall timely pay and discharge all taxes,
assessments and governmental charges or levies imposed on it or on its income or profits or on any of its property prior to the date on which penalties attach thereto, except for any such tax, assessment, charge or levy the payment of which is being
contested in good faith and by proper proceedings and against which adequate reserves are being maintained. 
 s. Transactions with
Affiliates. Seller will not enter into any transaction, including, without limitation, any purchase, sale, lease or exchange of property or the rendering of any service, with any Affiliate unless such transaction is (a) otherwise permitted
under the Program Agreements, (b) in the ordinary course of Seller’s business and (c) upon fair and reasonable terms no less favorable to Seller than it would obtain in a comparable arm’s length transaction with a Person which is
not an Affiliate, or make a payment that is not otherwise permitted by this Section to any Affiliate. 
 t. True and Correct
Information. All information, reports, exhibits, schedules, financial statements or certificates of Seller, any Affiliate or any of its officers furnished to Buyer hereunder and during Buyer’s diligence of Seller is and will be true and
complete and do 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 U.S. GAAP, or, if applicable, to SEC filings, the appropriate SEC accounting regulations. 

u. Agency Approvals; Servicing. Seller shall maintain, if applicable, its status with Fannie Mae as an approved lender and Freddie Mac
as an approved seller/servicer, in each case in good standing. Should Seller, for any reason, cease to possess all such applicable Agency Approvals, or should notification to the relevant Agency or to the Department of Housing and Urban Development,
FHA or VA be required, such Seller shall so notify Buyer immediately in writing. Notwithstanding the preceding sentence, Seller shall take all necessary action to 

  
 39 

 
maintain all of their applicable Agency Approvals at all times during the term of this Agreement and each outstanding Transaction. 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. 

v. No Pledge. Seller shall not pledge, transfer or convey any security interest in the Collection Account or the Seller’s Clearing
Account to any Person without the express written consent of Buyer. 
 w. HELOC Provisions. With respect to each HELOC, if a Mortgagor
requests an increase in the related Credit Limit, the Seller, shall, in its sole discretion, either accept or reject the Mortgagor’s request in accordance with the Underwriting Guidelines and notify the Buyer in writing of Seller’s
decision. If the request for a Credit Limit increase is accepted by the Seller, the increase will be effected by the Seller through modification of the Mortgage Loan with the Mortgagor. Seller shall deliver to the Buyer an updated Mortgage Loan
Schedule reflecting the modification to the Mortgage Loan and shall deliver any modified Mortgage Loan Documents to the Custodian. Notwithstanding anything to the contrary herein, in no event shall Buyer have any obligation to fund any Draws with
respect to any HELOC, which obligations shall be retained by the Seller. 
 x. Adjusted Tangible Net Worth. Seller will maintain at
all times the Adjusted Tangible Net Worth Threshold. 
 y. Indebtedness to Adjusted Tangible Net Worth Ratio. Seller will maintain at
all times the Indebtedness to Adjusted Tangible Net Worth Ratio. 
 z. Seller’s Clearing Account and Reserve Account. The
Seller’s Clearing Account Threshold and the Reserve Account Threshold shall be maintained at all times. 
 aa. Financial
Statements. The financial statements provided by Seller to Buyer are accurate and complete, accurately reflect the financial condition of Seller, and do not omit any material fact as of the date(s) thereof. 

bb. Documentation. Seller has performed the documentation procedures required by its operational guidelines with respect to endorsements
and assignments, including the recordation of assignments, or has verified that such documentation procedures have been performed by a prior holder of such Mortgage Loan. 

cc. Compliance. Seller has observed or performed in all material respects all of its covenants and other agreements, and satisfied every
condition, contained in this Agreement and the other Program Agreements to be observed, performed and satisfied by it. 
 dd. Regulatory
Action. Seller is not currently under investigation and no investigation by any federal, state or local government agency is threatened. Seller has not been the subject of any government investigation which has resulted in the voluntary or
involuntary suspension of a license, a cease and desist order, or such other action as could adversely impact Seller’s business. 

  
 40 

 ee. No Default. No Default or Event of Default has occurred or is continuing. 

ff. Indebtedness. No Indebtedness (other than Indebtedness evidenced by this Agreement) of Seller exists that has not been set forth on
Schedule 2 of the most recent Officer’s Compliance Certificate. 
 gg. Hedging. An accurate and true summary of all Interest Rate
Protection Agreements entered into or maintained by Seller during the most recent calendar month end and all preceding months shall be provided to Buyer (unless Buyer gives notice to Seller that such summary is not required); and any documentation
related to such Interest Rate Protection Agreements as required by the Manual and such other documents requested by Buyer shall be provided to Buyer. 

hh. Distributions. Seller has not paid any dividends or make other distribution to any members, owners, shareholders or partners that
would cause the Adjusted Tangible Net Worth to fall below the Adjusted Tangible Net Worth Threshold. 
 ii. Mortgage Loan Schedule.
Each Mortgage Loan Schedule is true and correct in all respects; each of Custodian and Buyer must be provided with notice of any changes thereto. 

jj. Processing Agent. If so required by Buyer, Seller shall retain and use the services of Persons experienced in the processing of
transactions in the secondary mortgage market to facilitate the Transactions contemplated hereunder. Each Processing Agent shall be acceptable to Buyer in its sole discretion. 

kk. Interim Funder. Seller shall ensure that Buyer will be named as the “interim funder” with MERS. 

11. Additional Covenants and Conditions. Seller shall ensure compliance with the Additional Covenants and Conditions. 

14. Events of Default 

Each of the following shall constitute an “Event of Default” hereunder: 

a. Payment Failure. Failure of any Seller to (i) make any payment of Price Differential or Repurchase Price or any other sum
which has become due, on a Repurchase Date or otherwise, whether by acceleration or otherwise, under the terms of this Agreement, any other warehouse and security agreement or any other document evidencing or securing Indebtedness of Seller to Buyer
or to any Affiliate of Buyer, or (ii) cure any Margin Deficit when due pursuant to Section 6 hereof. 
 b. Cross Default.
(i) Seller or any of Seller’s Affiliates shall be in default under (A) any Indebtedness of any Seller or of such Affiliate which default (1) involves the failure to pay a matured obligation, or (2) permits the acceleration of the
maturity of obligations by any other party to or beneficiary with respect to such Indebtedness, or (B) any other contract to which any Seller or such Affiliate is a party which default (1) involves the failure to pay a matured obligation,
or (2) permits the acceleration of the maturity of obligations by any other party to or beneficiary of such contract; provided that it shall not be an Event of Default under this subsection 

  
 41 

 
(B) if such disputed amount or obligation is less than $10,000. (ii) A breach by any Guarantor of the terms of its Guaranty or its related addendum, including but not limited to, a guarantor
event of default or term of similar import or a breach of a financial covenant or the failure to timely provide any financial or other reporting. 

c. Assignment. Assignment or attempted assignment by any Seller of this Agreement or any rights hereunder without first obtaining the
specific written consent of Buyer, or the granting by any Seller of any security interest, lien or other encumbrances on any Purchased Mortgage Loans to any person other than Buyer. 

d. Insolvency. An Act of Insolvency shall have occurred with respect to any Seller or any Affiliate. 

e. Material Adverse Effect. Any Material Adverse Effect as determined by Buyer in its sole good faith discretion, or any other condition
shall exist which, in Buyer’s sole good faith discretion, constitutes a material impairment of any Seller’s ability to perform its obligations under this Agreement or any other Program Agreement or would be likely to cause a Material
Adverse Effect. 
 f. Breach of Financial Representation, Covenant or Obligation. A breach by any Seller of any of the
representations, warranties, covenants or obligations set forth in Sections 12(a)(l), 12(a)(7), 12(a)(8), 12(a)(l 1), 12(a)(13), 12(a)(15), 12(a)(16), 12(a)(l 7), 12(a)(24), 13(b), 13(c), 13(n), 13(r), 13(t), 13(x), 13(y), 13(z), 13(aa), 13(ff),
13(gg), 13(hh) or 13(ll) of this Agreement. 
 g. Breach of Non-Financial Representation, Covenant or Obligation. A breach by any
Seller of any other representation, warranty, covenant or any other obligation set forth in this Agreement (and not otherwise specified in Section 14(f) above) or any other failure to perform under this Agreement, if such breach is not cured
within five (5) Business Days (other than the representations and warranties set forth in Schedule 1-A and Schedule 1-B, which shall be considered solely for the purpose of determining the Market Value, the existence of a Margin
Deficit and the obligation to repurchase such Mortgage Loan) unless (i) such party shall have made any such representations and warranties with knowledge that they were materially false or misleading at the time made, (ii) any such
representations and warranties have been determined by Buyer in its sole discretion to be materially false or misleading on a regular basis, or (iii) Buyer, in its sole discretion, determines that such breach of a material representation,
warranty or covenant materially and adversely affects (A) the condition (financial or otherwise) of such party, its Subsidiaries or Affiliates; or (B) Buyer’s determination to enter into this Agreement or Transactions with such party,
then such breach shall constitute an immediate Event of Default and Seller shall have no cure right hereunder). 
 h. [reserved] 

i. Change of Control. The occurrence of a Change in Control or any individuals determined to be critical executives of any Seller in the
sole discretion of the Buyer cease to the employees of the Seller. 

  
 42 

 j. Failure to Transfer. Any Seller fails to transfer the Purchased Mortgage Loans to Buyer
on the applicable Purchase Date (provided Buyer has tendered the related Purchase Price). 
 k. Judgment. A final judgment or
judgments for the payment of money in excess of the Judgment Threshold shall be rendered against any 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. 

1. Government Action. Any Governmental Authority or any person, agency or entity acting or purporting to act under governmental
authority shall have taken any action to condemn, seize or appropriate, or to assume custody or control of, all or any substantial part of the Property of any Seller, Guarantor or Affiliate thereof, or shall have taken any action to displace the
management of any Seller, Guarantor or Affiliate thereof or to curtail its authority in the conduct of the business of any Seller, Guarantor or Affiliate thereof, or takes any action in the nature of enforcement to remove, limit or restrict the
approval of any Seller, Guarantor or Affiliate thereof as an issuer, buyer or a seller/servicer of Mortgage Loans or securities backed thereby, and such action provided for in this subparagraph (1) shall not have been discontinued or stayed
within 30 days. 
 m. Inability to Perform. An officer of any Seller or Guarantor shall admit its inability to, or its intention not
to, perform any of any Seller’s Obligations or Guarantor’s obligations hereunder or the Guaranty. 
 n. Security Interest.
In the event that this Agreement is recharacterized by a court of competent jurisdiction as a secured loan or similar financing, the Agreement shall for any reason cease to create a valid, first priority security interest in any material portion of
the Purchased Mortgage Loans or other Purchased Assets purported to be covered hereby. 
 o. Financial Statements. Any Seller’s
or Guarantor’s audited annual financial statements or the notes thereto or other opinions or conclusions stated therein shall be qualified or limited by reference to the status of Seller or Guarantor as a “going concern” or a
reference of similar import. 
 p. Violation of Manual. Failure by any Seller to comply with the Manual pursuant to Section 17
after written notice by Buyer. 
 q. Material Adverse Effect Upon the Servicer. A material adverse change in, or a material adverse
effect upon, the operations, business, properties, condition (financial or otherwise) or prospects of the Servicer. 
 An Event of Default
shall be deemed to be continuing unless expressly waived by Buyer in writing. 
 15. Remedies Upon Default 

In the event that an Event of Default shall have occurred: 

  
 43 

 a. Buyer may, at its option, declare an Event of Default to have occurred hereunder and, upon the
exercise or deemed exercise of such option, the Repurchase Date for each Transaction hereunder shall, if it has not already occurred, be deemed immediately to occur (except that, in the event that the Purchase Date for any Transaction has not yet
occurred as of the date of such exercise or deemed exercise, such Transaction shall be deemed immediately canceled). Buyer shall (except upon the occurrence of an Act of Insolvency) give written notice to each Seller and Guarantor of the exercise of
such option as promptly as practicable. (For purposes of this provision, notice provided by electronic mail shall constitute written notice.) 

b. If Buyer exercises or is deemed to have exercised the option referred to in paragraph (a) of this Section, (i) Seller’s
obligations in such Transactions to repurchase all Purchased Mortgage Loans, at the Repurchase Price therefor on the Repurchase Date determined in accordance with paragraph (a) of this Section, shall thereupon become immediately due and
payable, (ii) all Income paid after such exercise or deemed exercise shall be retained by Buyer, or, to the extent not yet transferred to the Collection Account, the Seller’s Clearing Account or the Reserve Account, remitted to Buyer, and
in any case applied, in Buyer’s sole discretion, to the aggregate unpaid Repurchase Prices for all outstanding Transactions and any other amounts owing by any Seller hereunder, and (iii) Seller shall immediately comply with the further
instructions of Buyer with respect to holding or delivering any of the Mortgage Files relating to any Purchased Mortgage Loans subject to such Transactions then in Seller’s possession or control. In addition, Buyer shall have the right to
satisfy any Obligations with funds remaining in the Seller’s Clearing Account or the Reserve Account. 
 c. Buyer also shall have the
right to obtain physical possession, and to commence an action to obtain physical possession, of all Records and files of Seller relating to the Purchased Mortgage Loans, Purchased Assets and all documents relating to the Purchased Mortgage Loans
(including, without limitation, any legal, credit or servicing files with respect to the Purchased Mortgage Loans) which are then or may thereafter come in to the possession of Seller or any third party acting for Seller. Buyer shall be entitled to
specific performance of all agreements of Seller contained in this Agreement. 
 d. Buyer shall have the right to direct all Servicers then
servicing any Purchased Mortgage Loans to remit all collections thereon to Buyer to the extent that any such Servicer is not currently remitting to the Buyer, and if any such payments are received by Seller, Seller shall not commingle the amounts
received with other funds of Seller and shall promptly pay them over to Buyer. Buyer shall also have the right to terminate any one or all of the Servicers then servicing any Purchased Mortgage Loans with or without cause. 

e. In addition, Buyer shall have the right to immediately sell the Purchased Mortgage Loans (including, without limitation, the Servicing
Rights) and liquidate all Purchased Assets. Such disposition of Purchased Mortgage Loans may be, at Buyer’s option, on either a servicing-released or a servicing-retained basis. Buyer shall not be required to give any warranties as to the
Purchased Mortgage Loans with respect to any such disposition thereof. Buyer may specifically disclaim or modify any warranties of title or the like relating to the Purchased Mortgage Loans. The foregoing procedure for disposition of the Purchased
Mortgage Loans and liquidation of the Purchased Assets shall not be considered to adversely affect the commercial reasonableness of any sale thereof. Seller agrees that it would not be commercially 

  
 44 

 
unreasonable for Buyer to dispose of the Purchased Mortgage Loans or the Purchased Assets or any portion thereof by using Internet sites that provide for the auction of assets similar to the
Purchased Mortgage Loans or the Purchased Assets, or that have the reasonable capability of doing so, or that match buyers and sellers of assets. Buyer shall be entitled to place the Purchased Mortgage Loans in a pool for issuance of mortgage-backed
securities at the then-prevailing price for such securities and to sell such securities for such prevailing price in the open market. Buyer shall also be entitled to sell any or all of such Mortgage Loans individually for the prevailing price. Buyer
shall also be entitled, in its sole discretion to elect, in lieu of selling all or a portion of such Purchased Mortgage Loans, to give the Seller credit for such Purchased Mortgage Loans and the Purchased Assets in an amount equal to the Market
Value of the Purchased Mortgage Loans against the aggregate unpaid Repurchase Price and any other amounts owing by the Seller hereunder. 

f. Upon the happening of one or more Events of Default, Buyer may apply any proceeds from the liquidation of the Purchased Mortgage Loans and
related Purchased Assets to the Repurchase Prices hereunder and all other Obligations in the manner Buyer deems appropriate in its sole discretion. 

g. Seller shall be liable to Buyer for (i) 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 and external counsel of Buyer) incurred in connection with or as a result of an Event of Default, (ii) damages in an
amount equal to the cost (including all fees, expenses and commissions) of 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. 
 h. To
the extent permitted by applicable 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 under this paragraph shall be at a rate equal to the Post Default Rate. 

i. Buyer shall have, in addition to its rights hereunder, any rights otherwise available to it under any other agreement or applicable law,
including, without limitation, any equitable remedies. 
 j. Buyer may exercise one or more of the remedies available to Buyer immediately
upon the occurrence of an Event of Default and, except to the extent provided in paragraph (a) of this Section, 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. 

  
 45 

 k. 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 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 Purchased Mortgage Loans and related Purchased 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. 
 16. Reports

 a. Notices. Each Seller and Guarantor shall furnish to Buyer (w) promptly, copies of any material and adverse notices
(including, without limitation, notices of defaults, breaches, potential defaults or potential breaches) and any material financial information that is not otherwise required to be provided by Seller hereunder which is given to Seller’s
lenders, (x) immediately, notice of the occurrence of any Event of Default hereunder or default or breach by any Seller, Servicer or Guarantor of any obligation under any Program Agreement or any material contract or agreement of any Seller,
Servicer or Guarantor or the occurrence of any event or circumstance that such party reasonably expects has resulted in, or will, with the passage of time, result in, a Material Adverse Effect or an Event of Default, (y) immediately, notice of
a Takeout Investor’s cancellation of a Purchase Commitment and (z) the following: 
 (1) as soon as available and
in any event within thirty-five (35) calendar days after the end of each calendar month, the unaudited balance sheets of Seller and Guarantor (if elected in the Guaranty Addendum with respect to the Guarantor) as at the end of such period and
the related unaudited consolidated statements of income and retained earnings and of cash flows for the Seller and Guarantor, if applicable, for such period and the portion of the fiscal year through the end of such period, accompanied by a
certificate of a Responsible Officer of Seller and Guarantor, if applicable, which certificate shall state that said financial statements fairly present in all material respects the financial condition and results of operations of Seller and
Guarantor, if applicable, in accordance with GAAP, consistently applied, as at the end of, and for, such period (subject to normal year-end adjustments); 

(2) as soon as available and in any event within 120 days after the end of the calendar year, the balance sheets and the
related statements of income for the Seller and Guarantor (if elected in the Guaranty Addendum with respect to the Guarantor) as at the end of such fiscal year, with such balance sheets and statements of income being audited if required by Buyer but
in any event prepared by a certified public accountant in accordance with GAAP, setting forth in each case in comparative form the figures for the previous year, accompanied by an opinion thereon of independent certified public accountants of
recognized national standing, which opinion shall have no “going concern” qualification and shall state that said financial statements fairly present the financial condition and results of operations of Seller and Guarantor, if applicable,
as at the end of, and for, such fiscal year in accordance with GAAP; 

  
 46 

 (3) as soon as available, and in any event within thirty (30) days of
receipt, copies of relevant portions of all final written Agency, FHA, VA, Governmental Authority and investor audits, examinations, evaluations, monitoring reviews and reports of its operations (including those prepared on a contract basis) which
provide for or relate to (i) material corrective action required, (ii) material sanctions proposed, imposed or required, including without limitation notices of defaults, notices of termination of approved status, notices of imposition of
supervisory agreements or interim servicing agreements, and notices of probation, suspension, or non-renewal, or (iii) “report cards,” “grades” or other classifications of the quality of Seller’s operations; 

(4) from time to time such other information regarding the financial condition, operations, or business of the Seller or the
Guarantor as Buyer may reasonably request; 
 (5) as soon as reasonably possible, notice of any of the following events: 

(a) change in the insurance coverage required of Seller, Servicer or any other Person pursuant to any Program Agreement, with
a copy of evidence of same attached; 
 (b) any material claim, dispute, litigation, investigation, proceeding or suspension
between Seller, Guarantor or Servicer, on the one hand, and any Governmental Authority, Takeout Investor, third party loan purchaser or any other Person; 

(c) any material change in accounting policies or financial reporting practices of Seller, Guarantor or Servicer; 

(d) with respect to any Purchased Mortgage Loan, immediately upon receipt of notice or knowledge thereof, that the value of
the underlying Mortgaged Property or such Mortgage Loan has been adversely affected for any reason, including without limitation damage by waste, fire, earthquake or earth movement, windstorm, flood, tornado or other casualty; 

(e) any material issues raised upon examination of Seller, Guarantor or Seller’s facilities by any Governmental
Authority; 
 (f) any material change in the Indebtedness of the Seller or Guarantor, including, without limitation, any
default, renewal, non-renewal, termination, increase in available amount or decrease in available amount related thereto; 

(g) any breach of a representation or warranty set forth m Schedule 1-A and Schedule 1-B hereto; 

  
 47 

 (h) any other event, circumstance or condition that has resulted, or has a
possibility of resulting, in a Material Adverse Effect with respect to Seller or Servicer, including without limitation, any claims of predatory lending or any early payment default, buy-back, repurchase or similar requests, notices or claims by
third party purchasers that would likely or actually require the Seller to repurchase mortgage loans or pay any amounts to such third party purchaser with respect to any sold mortgage loan. 

b. Officer’s Certificates. Seller will furnish to Buyer, at the time the Seller furnishes each set of financial statements pursuant
to Section 16(a)(l) or (2) above, a certificate of a Responsible Officer of Seller in the form of Exhibit A hereto. If elected in the Guaranty Addendum with respect to the Guarantor, Guarantor will furnish to Buyer, at the time the
Guarantor furnishes each set of financial statements pursuant to Section 16(a)(l) or (2) above, a certificate of a Responsible Officer of Guarantor in the form attached to the Guaranty. 

c. Mortgage Loan Reports. Seller will furnish to Buyer monthly electronic Mortgage Loan performance data, including, without limitation,
delinquency reports (i.e., delinquency, foreclosure and net charge-off reports). 
 d. Asset Tape. Seller shall provide to Buyer,
electronically, in a format mutually acceptable to Buyer and Seller, an Asset Tape by no later than the Reporting Date. 
 e. Other.
Sellers and Guarantor shall deliver to Buyer any other reports or information reasonably requested by Buyer or as otherwise required pursuant to this Agreement. 

17. Buyer’s Policies and Procedures Manual 

Seller shall comply with Buyer’s manual of procedures and policies (the “Manual”), as such Manual may be updated from
time to time by Buyer in its sole discretion. 
 18. Repurchase Transactions 

Buyer may, in its sole election, engage in repurchase transactions with the Purchased Mortgage Loans or otherwise pledge, hypothecate, assign,
transfer or otherwise convey the Purchased Mortgage Loans with a counterparty of Buyer’s choice. Upon receipt of the Repurchase Price and all fees and expenses related to any Mortgage Loan, Buyer is obliged to transfer Purchased Mortgage Loans
to Seller pursuant to Section 4 hereof and credit or pay Income to, or apply Income to the obligations of, Seller pursuant to Section 7 hereof; provided that in each instance an Event of Default shall not have occurred. In the event Buyer
engages in a repurchase transaction with any of the Purchased Mortgage Loans or otherwise pledges or hypothecates any of the Purchased Mortgage Loans, Buyer shall have the right to assign to Buyer’s counterparty any of the applicable
representations or warranties herein and the remedies for breach thereof, as they relate to the Purchased Mortgage Loans that are subject to such repurchase transaction. 

  
 48 

 19. Custodial Responsibilities 

a. On the Purchase Date, or Delivery Date if different from the Purchase Date, the Seller shall deliver to the Custodian the Mortgage File,
together with a Transmittal Letter upon which the Custodian shall be entitled to rely conclusively until expressly notified to the contrary in writing by the Buyer. The Mortgage Loan Schedule, relating to all of the Mortgage Loans delivered to the
Custodian on the related Purchase Date (or the related Delivery Date), shall be delivered electronically to the Custodian by Seller on such Closing Date or Delivery Date, as applicable, in accordance with the terms of the Manual. 

b. From time to time Seller may request Shipment Orders from the Buyer. Once Buyer has indicated that the Custodian has received all the
Mortgage Loan Documents from the Seller, Buyer shall electronically transmit any Shipment Orders to the Custodian and the Custodian shall deliver the specified Collateral Documents or reports in its possession, minus any Assignment of Mortgage, if
applicable, to the Takeout Investor (or its custodian) in the manner directed in the Custodial Agreement and such Shipment Order. The Seller is responsible for determining whether all documents listed on the Shipment Order are on the current forms
required by the Takeout Investor, in compliance with any related Purchase Commitment, or otherwise sufficient for the Takeout Investor. Neither the Buyer nor the Custodian shall have any obligation to prepare, assemble, correct or sign any documents
included in the Shipment Order (except that the Custodian shall, upon request, sign any Collateral Documents or reports which call for its signature as custodian for the Takeout Investor, if the Custodian is serving in that capacity and if such
Collateral Documents are in form and content acceptable to it). 
 c. In the event that the Custodian delivers any Collateral Documents to
the Seller upon the written authorization of the Buyer and pursuant to the Seller’s delivery to the Custodian of an executed request for the release of such Collateral Documents pursuant to the terms of the Custodial Agreement, the Seller shall
be solely responsible for the safe, prompt return of such Collateral Documents in the timeframe required upon making any correction deemed necessary by Buyer or the Seller. 

d. In the event that the Custodian pays for the shipment of the package of Collateral Documents, Seller will reimburse Custodian for all actual
shipment costs related to such Seller upon receipt of an invoice; provided, that in any event Buyer shall not be held responsible or liable for recovery of shipment costs incurred pursuant to this Section. 

20. Single Agreement 

Buyer and Seller acknowledge that, and have entered hereunto, 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 have been made in consideration of each other. 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 each of them shall be entitled to set-off
claims and apply property held by them in respect of any Transaction against obligations owing to them in respect of any other 

  
 49 

 
Transactions hereunder and (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. 

21. Notices and Other Communications 

Any and all notices (with the exception of Transaction Requests or Purchase Confirmations, which shall be delivered in the manner set forth in
the Manual), statements, demands or other communications hereunder may be given by a party to the other by electronic mail, facsimile, messenger or otherwise to the Seller’s address specified on the Addendum and to the Buyer at Wells Fargo
Bank, N.A., c/o Wells Fargo Securities Mo1igage Banker Finance Group, 11625 Rainwater Drive, Bldg. 500, Suite 650, Alpharetta, Georgia 30009, Attention: Ken Logan, with a copy to Buyer’s internal counsel at Wells Fargo Bank, N.A., 375 Park
Avenue, New York, New York 10152, Attention: Mary H. Curtis, or so sent to such party at any other place specified in a notice of change of address hereafter received by the other. Notice provided by electronic mail or facsimile shall be deemed to
be given upon transmission provided that an electronic notice of non-transmission is not received. All notices, demands and requests hereunder may be made orally, to be confirmed promptly in writing, or by other communication as specified in the
preceding sentence. 
 22. Entire Agreement; Severability 

This Agreement shall supersede any ex1stmg agreements between the parties containing general terms and conditions for repurchase transactions.
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. 

23. Non assignability 

The Program Agreements are not assignable by any Seller or Guarantor, as applicable. Buyer may from time to time assign all or a portion of its
rights and obligations under this Agreement and the Program Agreements; provided, however that Buyer shall maintain as agent of Seller, for review by Seller upon written request, a register of assignees and a copy of 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
Agreement 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 be released from its obligations hereunder and
under the Program Agreements to the extent of the percentage or portion set forth in the Assignment and Acceptance. 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. 

  
 50 

 24. Set-off 

In addition to any rights and remedies of Buyer provided by law, Buyer shall have the right, without prior notice to Seller or Guarantor, any
such notice being expressly waived by Seller or Guarantor to the extent permitted by applicable law, upon any amount becoming due and payable by any Seller or Guarantor hereunder (whether at the stated maturity, by acceleration or otherwise) to
set-off and appropriate and apply against such amount any and all deposits (general or special, time or demand, provisional or final), in any currency, and any other credits, indebtedness or claims, in any currency, in each case whether direct or
indirect, absolute or contingent, matured or unmatured, at any time held or owing by Buyer, Buyer’s Affiliates (including, without limitation Wells Fargo & Company and its Affiliates) or any branch or agency thereof to or for the
credit or the account of Seller or Guarantor under any other agreement. Buyer agrees promptly to notify each Seller and Guarantor 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. For avoidance of doubt and not as a limitation, Buyer may set-off any amounts in the Seller’s Clearing Account and the Reserve Account. 

25. Binding Effect; Governing Law; Jurisdiction 

a. This Agreement shall be binding and inure to the benefit of the parties hereto and their respective successors and permitted assigns. Seller
acknowledges that the obligations of Buyer hereunder or otherwise are not the subject of any guaranty by, or recourse to, any direct or indirect parent or other Affiliate of Buyer. THIS AGREEMENT 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. 
 b. EACH SELLER AND GUARANTOR
HEREBY WAIVE TRIAL BY JURY. SELLER AND GUARANTOR HEREBY IRREVOCABLY CONSENT TO THE EXCLUSIVE JURISDICTION OF ANY COURT OF THE STATE OF NEW YORK, OR IN THE UNITED STATES DISTRICT COURT FOR THE SOUTHERN DISTRICT OF NEW YORK, ARISING OUT OF OR RELATING
TO THE PROGRAM AGREEMENTS IN ANY ACTION OR PROCEEDING. EACH SELLER AND GUARANTOR HEREBY SUBMITS TO, AND WAIVES ANY OBJECTION THEY MAY HA VE TO, EXCLUSIVE PERSONAL JURISDICTION AND VENUE IN THE COURTS OF THE STATE OF NEW YORK AND THE UNITED STATES
DISTRICT COURT FOR THE SOUTHERN DISTRICT OF NEW YORK, WITH RESPECT TO ANY DISPUTES ARISING OUT OF OR RELATING TO THE PROGRAM AGREEMENTS. 

26. No Waivers, Etc. 
 No
express or implied waiver of any Event of Default by any party shall constitute a waiver of any other Event of Default and no exercise of any remedy hereunder by any party shall constitute a waiver of its right to exercise any other remedy
hereunder. No modification or waiver of any provision of this Agreement and no consent by any party to a departure herefrom shall be effective unless and until such shall be in writing and duly executed by both of the parties hereto. Without
limitation on any of the foregoing, the failure to give a notice pursuant to Section 6(a), Section 15(a) or otherwise, will not constitute a waiver of any right to do so at a later date. 

  
 51 

 27. 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 United States Code, as amended, and a “securities contract” as that term is defined in Section 741 of Title 11 of the United States Code, as amended. 

b. It is understood that any party’s right to liquidate Purchased Mortgage Loans delivered to it in connection with Transactions hereunder
or to exercise any other remedies pursuant to Section 15 hereof is a contractual right to liquidate such Transaction as described in Sections 555 and 559 of Title 11 of the United States Code, as amended. 

28. Power of Attorney 

Seller hereby authorizes Buyer to file such financing statement or statements relating to the Purchased Mortgage Loans and the related
Purchased Assets without Seller’s signature thereon as Buyer, at its option, may deem appropriate. Seller hereby appoints Buyer as Seller’s agent and attorney-in-fact to execute any such financing statement or statements in Seller’s
name and to perform all other acts which Buyer deems appropriate to perfect and continue its ownership interest in and/or the security interest granted hereby, if applicable, and to protect, preserve and realize upon the Purchased Mortgage Loans and
the related Purchased Assets, including, but not limited to, the right to endorse notes, complete blanks in documents, transfer servicing, providing “good-bye” letters to the Mortgagor in the form set forth in the Manual, and sign
assignments on behalf of Seller as its agent and attorney-in-fact. This agency and power of attorney is coupled with an interest and is irrevocable without Buyer’s consent, and the Seller shall at Buyer’s request immediately execute all
powers of attorney in favor of Buyer in the form attached hereto as Exhibit C. In addition, the Seller shall direct by board resolution attached as part of Exhibit B hereto that, pursuant to its execution and delivery of such a power
of attorney, certain personnel of Buyer may take certain actions on behalf of Seller, with such resolution to survive until all obligations of Seller hereunder are satisfied. Seller shall pay the filing costs for any financing statement or
statements prepared pursuant to this Section. 
 29. Buyer May Act Through Affiliates 

Buyer may, from time to time, designate one or more Affiliates for the purpose of performing any action hereunder. 

30. Indemnification; Obligations 

a. Each Seller agrees to hold Buyer and each of its respective Affiliates and their officers, directors, employees, agents and advisors (each,
an “Indemnified Party”) harmless from and indemnify each Indemnified Party (and will reimburse each Indemnified Party as the same is incurred) against all liabilities, losses, damages, judgments, costs and expenses (including,
without limitation, reasonable fees and expenses of counsel) of any kind which may be imposed on, incurred by, or asserted against any Indemnified Party relating to or arising out of this 

  
 52 

 
Agreement, any Transaction Request, Purchase Confirmation, any Program Agreement or any transaction contemplated hereby or thereby resulting from anything other than the Indemnified Party’s
gross negligence or willful misconduct. Seller also agrees to reimburse each Indemnified Party for all reasonable expenses in connection with the enforcement of this Agreement and the exercise of any right or remedy provided for herein, any
Transaction Request, Purchase Confirmation and any Program Agreement, including, without limitation, the reasonable fees and disbursements of counsel. Seller’s agreements in this Section shall survive the payment in full of the Repurchase Price
and the expiration or termination of this Agreement. Each Seller hereby acknowledges that its obligations hereunder are recourse obligations of Seller and are not limited to recoveries each Indemnified Party may have with respect to the Purchased
Mortgage Loans. Each Seller also agrees not to assert any claim against Buyer or any of its Affiliates, or any of their respective officers, directors, employees, attorneys and agents, on any theory of liability, for special, indirect, consequential
or punitive damages arising out of or otherwise relating to the facility established hereunder, the actual or proposed use of the proceeds of the Transactions, this Agreement or any of the transactions contemplated thereby. THE INDEMNITY IN THE
IMMEDIATELY PRECEEDING SENTENCE EXPRESSLY APPLIES, WITHOUT LIMITATION, TO THE NEGLIGENCE (BUT NOT GROSS NEGLIGENCE OR WILLFUL MISCONDUCT) OF THE INDEMNIFIED PARTIES. 

b. Without limiting the provisions of paragraph (a) of this Section hereof, if any Seller fails to pay when due any costs, expenses or
other amounts payable by it under this Agreement, including, without limitation, fees and expenses of counsel and indemnities, such amount may be paid on behalf of Seller by Buyer, in its sole discretion. Seller shall reimburse Buyer for any such
costs, including without limitation, per diem interest at the Post Default Rate. 
 31. Counterparts 

This Agreement may be executed in one or more counterparts, each of which shall be deemed to be an original, and all such counterparts shall
together constitute one and the same instrument. Each counterpart delivered by email or facsimile transmission shall be effective as an original. 

32. Confidentiality 
 This
Agreement and its terms, prov1s10ns, supplements and amendments, and notices hereunder, are proprietary to Buyer and its Affiliates and shall be held by each Seller and Guarantor in strict confidence and shall not be disclosed to any third party
without the written consent of Buyer except for (i) disclosure to Seller’s or Guarantor’s direct and indirect Affiliates and Subsidiaries, attorneys or accountants, but only to the extent such disclosure is necessary and such parties
agree to hold all information in strict confidence, (ii) disclosure required by law, rule, regulation or order of a court or other regulatory body or (iii) disclosure to any potential Takeout Investor but only with respect to the
following: (1) the current Repurchase Price, (2) whether or not there are any defaults or terminations of the facility known to Seller, or (3) the Repurchase Date. Notwithstanding the foregoing or anything to the contrary contained
herein or in any other Program Agreement, 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 

  
 53 

 
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 Seller may not disclose the name of or identifying information with respect to Buyer or an Affiliate or any pricing terms (including, without limitation, the Pricing Rate, and Purchase Price) or other nonpublic business or financial information
(including any sub limits 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 the Buyer. 
 33. Recording of Communications 

Buyer, Seller and Guarantor shall have the right (but not the obligation) from time to time to make or cause to be made tape recordings of
communications between its employees and those of the other party with respect to Transactions. Buyer, Seller and Guarantor consent to the admissibility of such tape recordings in any court, arbitration, or other proceedings. The parties agree that
a duly authenticated transcript of such a tape recording shall be deemed to be a writing conclusively evidencing the parties’ agreement. 

34. Periodic Due Diligence Review 

Each Seller acknowledges that Buyer has the right to perform continuing due diligence reviews with respect to the Seller and the Mortgage
Loans, for purposes of verifying compliance with the representations, warranties and specifications made hereunder, or otherwise, and Seller agrees that upon reasonable (but no less than three (3) Business Day’s) prior notice unless an
Event of Default shall have occurred, in which case no notice is required, to Seller, 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 and/or the Custodian. Seller also shall 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, which such information may be used by Buyer to calculate Market Value. 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 Seller shall pay all out-of-pocket costs and expenses incurred by Buyer in
connection with Buyer’s activities pursuant to this Section (“Due Diligence Costs”). 

  
 54 

 35. Authorizations 

Any of the persons whose signatures and titles appear on Schedule 2 hereto are authorized, acting singly, to act for Guarantor, Seller
or Buyer, as the case may be, under this Agreement. 
 36. Documents Mutually Drafted 

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

37. Joint and Several 
 If
there are multiple Guarantors or Sellers, such Guarantors, such Sellers and Buyer hereby acknowledge and agree that Sellers and Guarantors, as applicable, are each jointly and severally liable to Buyer for all of their respective obligations
hereunder. 
 38. Security Interest 

Although the parties intend that all Transactions hereunder be sales and purchases and not loans, in the event any such Transactions are deemed
loans, Seller hereby pledges to Buyer as security for 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. Seller agrees to execute,
deliver and/or file such documents and perform such acts as may be reasonably necessary to fully perfect Buyer’s security interest created hereby. Furthermore, the Seller hereby authorizes the Buyer to file financing statements relating to the
Purchased Assets, as the Buyer may deem appropriate. The Seller shall pay the filing costs for any financing statement or statements prepared pursuant to this Section. 

[Signature page to follow] 

  
 55 

 IN WITNESS WHEREOF, the Seller, the Buyer and the Guarantor (as applicable) have caused their names to be signed
hereto by their respective officers, general partners, or similar persons (as applicable) thereunto duly authorized as of the date first above written. 
  

	
	WELLS FARGO BANK, N.A., as Buyer
	
	 /s/ Kenneth D. Logan

	 Name: Kenneth D. Logan
 Title: Managing
Director
 Date: September 15, 2011

	
	LOANDEPOT.COM, LLC, as Seller
	
	 /s/ Anthony L. Hsieh

	 Name: Anthony L. Hsieh
 Title: Chief Executive
Officer
 Date: September 15, 2011

 SCHEDULE 1-A 

REPRESENTATIONS AND WARRANTIES WITH RESPECT TO PURCHASED 

MORTGAGE LOANS (RESIDENTIAL) 

(a) Payments Current. All payments required to be made up to the Purchase Date for the Mortgage Loan under the terms of the Mortgage
Note have been made and credited. No payment required under the Mortgage Loan is delinquent nor has any payment under the Mortgage Loan been delinquent at any time since the origination of the Mortgage Loan. The first Monthly Payment shall be made,
or shall have been made, with respect to the Mortgage Loan on its Due Date or within 30 days thereof, all in accordance with the terms of the related Mortgage Note. 

(b) No Outstanding Charges. 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. Neither Seller nor the Qualified Originator from which Seller acquired the Mortgage Loan has 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 proceeds of the Mortgage Loan, whichever is earlier, to the day which precedes by one month
the Due Date of the first installment of principal and/or interest thereunder. 
 (c) 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 and the terms of which are reflected in the Mortgage Loan Schedule. The substance of any such waiver, alteration or modification has been approved by the title insurer, to the extent required, and its terms are reflected
on the Mortgage Loan Schedule. No Mortgagor in respect of the Mortgage Loan has been released, in whole or in part, except in connection with an assumption agreement approved by the title insurer, to the extent required by such policy, and which
assumption agreement is part of the Mortgage File delivered to the Custodian and the terms of which are reflected in the Mortgage Loan Schedule. The related Mortgage and Mortgage Note contain the entire agreement of the parties and all of the
obligations of the Seller under the Purchased Mortgage Loan. 
 (d) 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 and no such right of rescission, set-off, counterclaim or defense has been asserted with respect thereto, and no Mortgagor in respect of the Mortgage Loan was a debtor in any state or Federal
bankruptcy or insolvency proceeding at the time the Mortgage Loan was originated. Seller has no knowledge nor has it received any notice that any Mortgagor in respect of the Mortgage Loan is a debtor in any state or federal bankruptcy or insolvency
proceeding. 

  
 Schedule 1-1 

 (e) Hazard Insurance. The Mortgaged Property is insured by a fire and extended perils
insurance policy, issued by a Qualified Insurer, and such other hazards as are customary in the area where the Mortgaged Property is located, and to the extent required by Seller as of the date of origination consistent with the Underwriting
Guidelines, against earthquake and other risks insured against by Persons operating like properties in the locality of the Mortgaged Property, in an amount not less than the greatest of (i) 100% of the replacement cost of all improvements to
the Mortgaged Property, (ii) the outstanding principal balance of the Mortgage Loan, or (iii) the amount necessary to avoid the operation of any co-insurance provisions with respect to the Mortgaged Property, and consistent with the amount
that would have been required as of the date of origination in accordance with the Underwriting Guidelines. If any portion of the Mortgaged Property is in an area identified by any federal Governmental Authority as having special flood hazards, and
flood insurance is available, a flood insurance policy meeting the current guidelines of the Federal Emergency Management Agency is in effect with a generally acceptable insurance carrier, in an amount representing coverage not less than the least
of (1) the outstanding principal balance of the Mortgage Loan and, with respect to any Second Lien Mortgage Loan, the outstanding principal balance of the prior mortgage loan, (2) the full insurable value of the Mortgaged Property, and
(3) the maximum amount of insurance available under the National Flood Insurance Act of 1968, as amended by the Flood Disaster Protection Act of 1974. All such insurance policies (collectively, the “hazard insurance policy”) contain a
standard mortgagee clause naming Seller, its successors and assigns (including, without limitation, subsequent owners of the Mortgage Loan), as mortgagee, and may not be reduced, terminated or canceled without 30 days’ prior written notice to
the mortgagee. No such notice has been received by Seller. All premiums on such insurance policy have been paid. The related Mortgage obligates the Mortgagor to maintain all such insurance and, at such Mortgagor’s failure to do so, authorizes
the mortgagee to maintain such insurance at the Mortgagor’s cost and expense and to seek reimbursement therefor from such 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 and is in full force and effect. Seller has not engaged in, and has no knowledge of the Mortgagor’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 either 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, and no such unlawful items have been received, retained or realized by Seller. 

(f) 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, equal credit opportunity or disclosure laws applicable to the Mortgage Loan have been complied with, the consummation of the transactions contemplated hereby will not
involve the violation of any such laws or regulations, and Seller shall maintain or shall cause its agent to maintain in its possession, available for the inspection of Buyer, and shall deliver to Buyer, upon demand, evidence of compliance with all
such requirements. 

  
 Schedule 1-2 

 (g) 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. 
 (h) Location and Type of Mortgaged Property. The Mortgaged Property is located in an Acceptable State
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 condominium unit in a low-rise condominium project, or an individual unit in a planned unit
development or a de minimis planned unit development; provided, however, that any condominium unit or planned unit development shall conform with the applicable Fannie Mae and Freddie Mac requirements regarding such dwellings or shall conform to
underwriting guidelines acceptable to Buyer in its sole discretion, that a de minimus percentage of the Mortgage Loans may be Cooperative Loans and that no residence or dwelling is a (i) a mobile home or manufactured housing unit (other than a
Manufactured Horne) not secured by real property, (ii) a log home, (iii) an earthen home, (iv) an underground home, (v) any dwelling situated on more than ten acres of property and (vi) any dwelling situated on a leasehold
estate. No portion of the Mortgaged Property is used for commercial purposes; provided, that, the Mortgaged Property may be a mixed use property if such Mortgaged Property conforms to underwriting guidelines acceptable to Buyer in its sole
discretion With respect to each Loan that is a Manufactured Horne, such unit is a “single family residence” within the meaning of Section 25(e)(1) of the Code, and has a minimum of 400 square feet of living space, a minimum width of
102 inches and is of a kind customarily used at a fixed location. The fair market value of the Manufactured Horne securing each contract was at least equal to 80% of the adjusted issue price of the contract at either (i) the time the contract
was originated (determined pursuant to the REMIC Provisions) or (ii) the time the contract is transferred to the purchaser. 
 (i)
Valid First or Second Lien. The Mortgage is a valid, subsisting, enforceable and perfected (a) with respect to each first lien Mortgage Loan, first priority lien and first priority security interest, or (b) with respect to each
Second Lien Mortgage Loan, second priority lien and second priority security interest, in each case, on the real property included in the Mortgaged Property, including all buildings 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 with respect to the foregoing and with respect to Cooperative Loans, including the
Proprietary Lease and the Cooperative Shares. The lien of the Mortgage is subject only to: 
 a. the lien of current real property taxes and
assessments not yet due and payable; 

  
 Schedule 1-3 

 b. 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 Buyer’s title insurance policy delivered to the originator of the Mortgage Loan and (a) 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; 

c. 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; and 
 d. with respect to each
Mortgage Loan which is a Second Lien Mortgage Loan, a first lien on the Mortgaged Property. 
 Any security agreement, chattel mortgage or equivalent
document related to and delivered in connection with the Mortgage Loan establishes and creates (a) with respect to each first lien mortgage loan, a valid, subsisting and enforceable first lien and first p1iority security interest or
(b) with respect to each Second Lien Mortgage Loan, second priority lien and second priority security interest on the property described therein and Seller has full right to pledge 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. 

(j) Validity of Mortgage Documents. The Mortgage Note and the Mortgage and any other agreement executed and delivered by a Mortgagor or
guarantor, if applicable, 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 such related parties. 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 involved in the origination of the Mortgage Loan. Seller has reviewed all of the documents constituting the Mortgage File and has made such inquiries as it deems necessary to make and confirm
the accuracy of the representations set forth herein. To the best of Seller’s knowledge, except as disclosed to Buyer in writing, all tax identifications and property descriptions are legally sufficient; and tax segregation, where required, has
been completed. 
 (k) Full Disbursement of Proceeds. Except with respect to HELOCs, there is no further requirement for future
advances under the Mortgage Loan, 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. 

  
 Schedule 1-4 

 (1) Ownership. Seller has full right to 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 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 except any such security interest
created pursuant to the terms of this Agreement. 
 (m) 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) (i) in compliance with any and all applicable licensing requirements of the laws of the state wherein the
Mortgaged Property is located, and (ii) either (A) organized under the laws of such state, (B) qualified to do business in such state, (C) a federal savings and loan association, a savings bank or a national bank having a
principal office in such state, or (D) not doing business in such state. 
 (n) Title Insurance. Other than HELOCs where the
Underwriting Guidelines provide for origination without title insurance, the Mortgage Loan is covered by either (i) an irrevocable title commitment, or an attorney’s opinion of title and abstract of title, each of which must be in form and
substance acceptable to prudent mortgage lending institutions making mortgage loans in the area wherein the Mortgaged Property is located or (ii) an ALTA 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 or second priority lien of the Mortgage, as applicable, in the original principal amount of the Mortgage Loan, with respect to a Mortgage Loan other than a HELOC, or the original Credit
Limit, with respect to a HELOC, subject only to the exceptions contained in clauses (a), (b) and (c) and, with respect to Second Lien Mortgage Loans, clause (d) of paragraph (i) of this Schedule 1-A, 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 or servicer 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, and no such unlawful items have been received, retained or realized by Seller. 

  
 Schedule 1-5 

 (o) No Defaults. There is no default, breach, violation or event of acceleration existing
under the Mortgage or the Mortgage Note and no event has occurred 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 of acceleration, and neither
Seller nor its predecessors have waived any default, breach, violation or event of acceleration. 
 (p) 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 the law could give rise to such liens) affecting the Mortgaged Property which are or may be liens
prior to, or equal or coordinate with, the lien of the Mortgage. 
 (q) Location of Improvements; No Encroachments. All improvements
which were considered in determining the Appraised Value of the Mortgaged Property lie 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 and building law, ordinance or regulation. 

(r) Payment Terms. Other than respect to HELOCs, principal and/or interest payments on the Mortgage Loan commenced no more than 60 days
after funds were disbursed in connection with the Mortgage Loan. With respect to adjustable rate Mortgage Loans, the Mortgage Interest Rate is adjusted on each Interest Rate Adjustment Date to equal the Index plus the Gross Margin (rounded up or
down to the nearest .125%), subject to the Mortgage Interest Rate Cap. Other than with respect to a HELOC, or the Credit Limit, with respect to a HELOC, the Mortgage Note is payable on the first day of each month in equal monthly installments of
principal and/or interest (subject to an “interest only” period in the case of Interest Only Loans), which installments of interest (a) with respect to adjustable rate Mortgage Loans are subject to change on the Interest Rate
Adjustment Date due to adjustments to the Mortgage Interest Rate on each Interest Rate Adjustment Date and (b) with respect to Interest Only Loans are subject to change on the Interest Only Adjustment Date due to adjustments to the Mortgage
Interest Rate on each Interest Only Adjustment Date, in both cases 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 30 years from
commencement of amortization. The Due Date of the first payment under the Mortgage Note is no more than 60 days from the date of the Mortgage Note. With respect to HELOCs, the related Mortgagor may request advances up to the Credit Limit within the
first ten years following the date of origination. Each HELOC will amortize within 30 years from the date of origination. The Mortgage Note does not permit Negative Amortization. 

(s) Customary Provisions. The Mortgage Note has a stated maturity. 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 available to a Mortgagor which would interfere with the right to sell the Mortgaged Property at a trustee’s sale or the
right to foreclose the Mortgage. The Mortgage Note and Mortgage are on forms acceptable to Freddie Mac or Fannie Mae. 

  
 Schedule 1-6 

 (t) Occupancy of the Mortgaged Property. As of the Purchase Date 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. Seller has not received notification from any Governmental Authority that the Mortgaged Property is in material
non-compliance with such laws or regulations, is being used, operated or occupied unlawfully or has failed to have or obtain such inspection, licenses or certificates, as the case may be. Seller has not received notice of any violation or failure to
conform with any such law, ordinance, regulation, standard, license or certificate. With respect to any Mortgage Loan originated with an “owner-occupied” Mortgaged Property, the Mortgagor represented at the time of origination of the
Mortgage Loan that the Mortgagor would occupy the Mortgaged Property as the Mortgagor’s primary residence. 
 (u) 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
(i) above. 
 (v) 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 the Custodian or Buyer to the trustee under the deed of trust, except in
connection with a trustee’s sale after default by the Mortgagor. 
 (w) Transfer of Mortgage Loans. Except with respect to
Mortgage Loans registered with MERS, the Assignment of Mortgage is in recordable form and is acceptable for recording under the laws of the jurisdiction in which the Mortgaged Property is located. With respect to each MOM Mortgage Loan, the related
Assignment of Mortgage to MERS has been duly and properly recorded, or has been delivered for recording to the applicable recording office. 

(x) 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. 

(y) 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. 

  
 Schedule 1-7 

 (z) 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 or, in the case of Second Lien Mortgage Loans, a second 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. The consolidated principal amount does not exceed the original principal amount of the Mortgage Loan. 

(aa) Mortgaged Property Undamaged. The related Mortgaged Property is free of damage and waste; and there is no proceeding pending for
the total or partial condemnation of such Mortgaged Property. 
 (bb) Collection Practices; Escrow Deposits; Interest Rate
Adjustments. The origination and collection practices used by the originator, each servicer of the Mortgage Loan and 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. With respect to escrow deposits and Escrow Payments, (other than with respect to each Second Lien Mortgage Loan and for which the mortgagee under the first lien is collecting
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. 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 Note. Any interest required to be paid pursuant to state, federal and local law has been properly paid and credited. 

(cc) Conversion to Fixed Interest Rate. Except as allowed by Fannie Mae or Freddie Mac or otherwise as expressly approved in writing by
Buyer, with respect to adjustable rate Mortgage Loans, the Mortgage Loan is not convertible to a fixed interest rate Mortgage Loan. 
 (dd)
Other Insurance Policies. No action, inaction or event has occurred and no state of facts exists or has existed that has resulted or will result in the exclusion from, denial of, or defense to coverage under any applicable special hazard
insurance policy, PMI Policy or bankruptcy bond, irrespective of the cause of such failure of coverage. In connection with the placement of any such insurance, no commission, fee, or other compensation has been or will be received by Seller or by
any officer, director, or employee of Seller or any designee of Seller or any corporation in which Seller or any officer, director, or employee had a financial interest at the time of placement of such insurance. 

  
 Schedule 1-8 

 (ee) Servicemembers Civil Relief Act. 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. 
 (ff)
Appraisal. The Mortgage File with respect to such Mortgage Loan contains an appraisal of the related Mortgaged Property made and signed, prior to the approval of the application for such Mortgage Loan, by a qualified appraiser (a) who,
at the time of such appraisal, met the minimum qualifications of Fannie Mae or Freddie Mac and the requirements of the Seller’s appraisal policy and (b) who satisfied (and which appraisal was conducted in accordance with) all of the
applicable requirements of the Uniform Standards of Professional Appraisal Practice and all applicable federal and state laws and regulations in effect at the time of such appraisal and procedures. Such appraiser was licensed in the state where the
Mortgaged Property is located, had no interest, direct or indirect, in such Mortgaged Property or in any loan made on the security thereof, and such appraiser’s compensation was not affected by the approval or disapproval of such Mortgage Loan.
The appraisal shall have been made within one hundred and eighty (180) days of the origination of the Mortgage Loan. If the appraisal was made more than one hundred and twenty (120) days before the origination of the Mortgage Loan, Seller
shall have received and included in the servicing file a recertification of the appraisal. 
 (gg) Disclosure Materials. The Mortgagor
has executed a statement to the effect that the Mortgagor has received all disclosure materials required by applicable law with respect to the making of adjustable rate mortgage loans, and Seller maintains such statement in the Mortgage File. 

(hh) 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. 
 (ii) No Defense to Insurance
Coverage. 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 private mortgage insurance (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. 
 (jj) Capitalization of
Interest. The Mortgage Note does not by its terms provide for the capitalization or forbearance of interest. 
 (kk) No Equity
Participation. No document relating to the Mortgage Loan provides for any contingent or additional interest in the form of participation in the cash flow of the Mortgaged Property or a sharing in the appreciation of the value of the Mortgaged
Property. 

  
 Schedule 1-9 

 The indebtedness evidenced by the Mortgage Note is not convertible to an ownership interest in the Mortgaged
Property or the Mortgagor and Seller has not financed nor does it own directly or indirectly, any equity of any form in the Mortgaged Property or the Mortgagor. 

(ll) Proceeds of Mortgage Loan. The proceeds of the Mortgage Loan have not been and shall not be used to satisfy, in whole or in part,
any debt owed or owing by the Mortgagor to Seller or any Affiliate or correspondent of Seller, except in connection with a refinanced Mortgage Loan. 

(mm) Origination Date. The origination date of a Mortgage Loan is no earlier than thirty (30) days prior to the related Purchase
Date. 
 (nn) No Exception. The Custodian has not noted any material exceptions on a Mortgage Loan Schedule with respect to the
Mortgage Loan which would materially adversely affect the Mortgage Loan or Buyer’s interest in the Mortgage Loan. 
 (oo) Mortgage
Submitted for Recordation. The Mortgage either has been or will promptly be submitted for recordation in the appropriate governmental recording office of the jurisdiction where the Mortgaged Property is located. 

(pp) Documents Genuine. Such Purchased Mortgage Loan and all accompanying Collateral Documents are complete and authentic and all
signatures thereon are genuine. 
 (qq) Bona Fide Loan. Such Purchased Mortgage Loan arose from a bona fide loan, complying with all
applicable State and Federal laws and regulations, to persons having legal capacity to contract and is not subject to any defense, set-off or counterclaim. 

(rr) Other Encumbrances. Any property subject to any security interest given in connection with such Purchased Mortgage Loan is not
subject to any other encumbrances other than a stated first mortgage, if applicable, and encumbrances which may be allowed under the Underwriting Guidelines. 

(ss) Description. Each Purchased Mortgage Loan conforms to the description thereof as set forth on the related Mortgage Loan Schedule
delivered to the Custodian and Buyer. 
 (tt) Located in U.S. No collateral (including, without limitation, the related real property
and the dwellings thereon and otherwise) relating to a Purchased Mortgage Loan is located in any jurisdiction other than in one of the fifty (50) states of the United States of America or the District of Columbia. 

(uu) Underwriting Guidelines. Each Purchased Mortgage Loan has been originated in accordance with the Underwriting Guidelines (including
all supplements or amendments thereto) previously provided to Buyer. 
 (vv) Primary Mortgage Guaranty Insurance. After the funding of
the Purchased Mortgage Loan and payment of any premium thereafter, each Mortgage Loan is insured as to payment defaults by a policy of primary mortgage guaranty insurance in the amount 

  
 Schedule 1-10 

 
required where applicable, and by an insurer approved, by the applicable Takeout Investor, if applicable, and all provisions of such primary mortgage guaranty insurance have been and are being
complied with, such policy is in full force and effect, and all premiums due thereunder have been paid. Each Mortgage Loan which is represented to Buyer to have, or to be eligible for, FHA insurance is insured, or eligible to be insured, pursuant to
the National Housing Act. Each Mortgage Loan which is represented by Seller to be guaranteed, or to be eligible for guaranty, by the VA is guaranteed, or eligible to be guaranteed, under the provisions of Chapter 37 of Title 38 of the United States
Code. As to each FHA insurance certificate or each VA guaranty certificate, Seller has complied with applicable provisions of the insurance for guaranty contract and federal statutes and regulations, all premiums or other charges due in connection
with such insurance or guarantee have been paid, there has been no act or omission which would or may invalidate any such insurance or guaranty, and the insurance or guaranty is, or when issued, will be, in full force and effect with respect to each
Mortgage Loan. There are no defenses, counterclaims, or rights of setoff affecting the Mortgage Loans or affecting the validity or enforceability of any private mortgage insurance or FHA insurance applicable to the Mortgage Loans or any VA guaranty
with respect to the Mortgage Loans. 
 (ww) Predatory Lending Regulations; High Cost Loans. None of the Mortgage Loans are classified
as High Cost Mortgage Loans. 
 (xx) Wet-Ink Mortgage Loans. With respect to each Mortgage Loan that is a Wet-Ink Mortgage Loan, the
Settlement Agent has been instructed in writing by Seller to (a) hold the related Mortgage Loan Documents as agent and bailee for Buyer and to promptly forward such Mortgage Loan Documents in accordance with the provisions of the Custodial
Agreement and the Escrow Instruction Letter and (b) return Buyer’s payment in the event that the Mortgage Loan does not close within twenty-four (24) hours of receipt of Buyer’s funds. 

(yy) FHA Mortgage Insurance; VA Loan Guaranty. With respect to the FHA Loans, the FHA Mortgage Insurance Contract is in full force and
effect or all required documentation has been successfully submitted to the appropriate insuring agency within fifteen (15) calendar days of the date of a Transaction. There has been no notice, indication of ineligibility or rejection of the
loan and there exists no impairment to full recovery without indemnity to the Department of Housing and Urban Development or the FHA under FHA Mortgage Insurance. With respect to the VA Loans, after the funding of the Purchased Mortgage Loan and
payment of any premium thereafter, the VA Loan Guaranty Agreement is in full force and effect to the maximum extent stated therein or all required documentation has been successfully submitted to the appropriate agency within fifteen
(15) calendar days of the date of a Transaction. All necessary steps have been taken to keep such guaranty or insurance valid, binding and enforceable and each of such is the binding, valid and enforceable obligation of the FHA and the VA,
respectively, to the full extent thereof, without surcharge, set-off or defense. Each FHA Loan and VA Loan was originated in accordance with the criteria of an acceptable Takeout Investor approved by Buyer. 

(zz) Revolving Period. Each HELOC provides for an initial period (the “Revolving Period”) during which the Mortgagor is
required to make monthly payments of interest payable in arrears and requires repayment of the unpaid principal balance thereof over a period following the Revolving Period (the “Repayment Period”) which is not in excess of 120

  
 Schedule 1-11 

 
months. As of the Purchase Date no HELOC was in its Repayment Period. The Mortgage Interest Rate on each Mortgage Loan adjusts periodically in accordance with the Credit Line Agreement to equal
the sum of the Index and the related Gross Margin. On each Adjustment Date the Seller has made interest rate adjustments on the Mortgage Loan which are in compliance with the related Mortgage and Mortgage Note and applicable law. 

(aaa) Cooperative Loans. With respect to each Cooperative Loan, (i) the term of the related Proprietary Lease is longer than the
term of the Cooperative Loan, (ii) there is no provision in any Proprietary Lease which requires the Mortgagor to offer for sale the Cooperative Shares owned by such Mortgagor first to the Cooperative Corporation, (iii) there is no
prohibition in any Proprietary Lease against pledging the Cooperative Shares or assigning the Proprietary Lease and (iv) the recognition agreement is on a form of agreement published by the Aztech Document Systems, Inc. or includes provisions
which are no less favorable to the lender than those contained in such agreement. 
 (bbb) Cooperative Filings. With respect to each
Cooperative Loan, each 01iginal UCC financing statement, continuation statement or other governmental filing or recordation necessary to create or preserve the perfection and priority of the first priority lien and security interest in the
Cooperative Shares and Proprietary Lease has been timely and properly made. Any security agreement, chattel mortgage or equivalent document related to the Cooperative Loan and delivered to Seller or its designee establishes in Seller a valid and
subsisting perfected first lien on and security interest in the Mortgaged Property described therein, and Seller has full right to sell and assign the same. 

(ccc) Cooperative Assignment. With respect to each Cooperative Loan, each acceptance of assignment and assumption of lease agreement
contains enforceable provisions such as to render the rights and remedies of the holder thereof adequate for the realization of the benefits of the security provided thereby. The acceptance of assignment and assumption of lease agreement contains an
enforceable provision for the acceleration of the payment of the unpaid principal balance of the Note in the event the Cooperative Unit is transferred or sold without the consent of the holder thereof. 

(ddd) LTV; CLTV. The LTV and CLTV, as applicable, of any Purchased Mortgage Loan at origination was not more than 100%. 

(eee) Second Lien Mortgage Loans. With respect to each Second Lien Mortgage Loan, the related first lien does not provide for Negative
Amortization. Notwithstanding the foregoing, with respect to any Second Lien Mortgage Loan, the CLTV of such first lien and Second Lien Mortgage Loan does not exceed 100%. 

(fff) No Adverse Selection. Such Mortgage Loan was not intentionally selected by the Seller in a manner intended to adversely affect the
interest of the Buyer. The Seller used no selection procedures that identified such Mortgage Loan as being less desirable or valuable than other comparable Mortgage Loans originated by the Seller. Such Mortgage Loans, collectively with the other
Mortgage Loans included on such Mortgage Loan Schedule, is representative of the Seller’s portfolio of Mortgage Loans. 

  
 Schedule 1-12 

 (ggg) Single Original Mortgage Note. There is only one originally executed Mortgage Note
not stamped as a duplicate with respect to such Mortgage Loan. 
 (hhh) Acceptable Investment. The Mortgagor is not in bankruptcy or
insolvent and Seller has no knowledge of any circumstances or conditions with respect to the Mortgage, the Mortgaged Property, the Mortgagor 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 a Sub-Performing Mortgage Loan, or adversely affect the value or marketability of the Mortgage Loan. 

(iii) Environmental Matters. 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 any Mortgaged Property in which compliance with any environmental law, rule or regulation is an issue; and nothing
further remains to be done to satisfy in full all requirements of each such law, rule or regulation existing as a prerequisite to use and enjoyment of said property. 

(jjj) 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. 
 (kkk)
Insurance. 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 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. 

(lll) Simple Interest Mortgage Loans. None of the Mortgage Loans are simple interest Mortgage Loans. 

(mmm) Prepayment Fee. With respect to each Mortgage Loan that has a prepayment fee feature, each such prepayment fee is enforceable and
was originated in compliance with all applicable federal, state and local laws and will be enforced by Seller for the benefit of Buyer, and is only payable during the first 3 years of the term of the Mortgage Loan. The Mortgagor received a benefit
in exchange for accepting such prepayment fee. 
 (nnn) Flood Certification Contract. Seller shall have obtained a life of loan,
transferable flood certification contract for each Mortgage Loan and shall assign all such contracts to Buyer. 
 (ooo) Endorsements.
Each Mortgage Note has been endorsed by a duly authorized officer of Seller for its own account and not as a fiduciary, trustee, trustor or beneficiary under a trust agreement. 

(ppp) Accuracy of Information. All information provided to Buyer by Seller with respect to the Mortgage Loans is accurate in all
material respects. 

  
 Schedule 1-13 

 (qqq) Single Premium Credit Insurance. No Mortgagor is offered or required to purchase
single premium credit insurance in connection with the origination of the related Mortgage Loan. 
 (rrr) MIP Insurance. With respect
to each Mortgage Loan to be insured by HUD or the VA, after the funding of the Purchased Mortgage Loan and payment of any premium thereafter, all insurance premiums (“MIP”) payable to HUD or the VA, as applicable, in connection with
such Mortgage Loan were paid within the timeframe required by such agency to avoid the imposition of any late fees or penalty fees. 
 (sss)
MIP Insurance Certificate. With respect to each Mortgage Loan to be insured by HUD or the VA, after the funding of the Purchased Mortgage Loan and payment of any premium thereafter, Seller has received the related insurance certificate from
the applicable agency evidencing such insurance within sixty (60) days of the origination date of such Mortgage Loan. 
 (ttt) MIP
Documents. With respect to each Mortgage Loan to be insured by HUD or the VA, after the funding of the Purchased Mortgage Loan and payment of any premium thereafter, Seller has submitted all documents required by the applicable agency to insure
such Mortgage Loan (regardless of whether such documents are required to be contained in the related servicing file) within thirty (30) days of the origination date of such Mortgage Loan. 

(uuu) MIP Access. With respect to each Mortgage Loan to be insured by HUD or the VA, after the funding of the Purchased Mortgage Loan
and payment of any premium thereafter, Seller has provided access to Buyer to the lender number, password or any other information that may be required by the applicable agency or otherwise for Buyer to verify that the related MIP payments have been
made. 
 (vvv) USA Patriot Act of 2001. The Seller has complied with all applicable anti-money laundering laws and regulations,
including without limitation the USA Patriot Act of 2001. No Mortgage Loan is subject to nullification pursuant to Executive Order 13224 (the “Executive Order”) or the regulations promulgated by the Office of Foreign Assets
Control of the United States Department of the Treasury (the “OFAC Regulations”) or in violation of the Executive Order or the OF AC Regulations, and no Mortgagor is subject to the provisions of such Executive Order or the OF AC
Regulations nor listed as a “blocked person” for purposes of the OF AC Regulations. 
 (www) MERS Designated Mortgage Loans.
With respect to each MERS Designated Mortgage Loans, a mortgage identification number has been assigned by MERS and such mortgage identification number is accurately provided on the Mortgage Loan Schedule. The related Assignment of Mortgage to MERS
has been duly and properly recorded. With respect to each MERS Mortgage Loan, no Mortgagor has received any notice of liens or legal actions with respect to such Mortgage Loan and no such notices have been electronically posted by MERS. 

  
 Schedule 1-14 

 (xxx) MOM Mortgage Loans. With respect to each MOM Loan, the Seller has not received any
notice of liens or legal actions with respect to such Mortgage Loan and no such notices have been electronically posted by MERS. 
 (yyy)
Fully Funded. Except with respect to HELOCs, such Purchased Mortgage Loan is a “closed” loan. Each Purchased Mortgage Loan is fully funded. 

(zzz) Closing Agent. Any related closing agent has fully disbursed all proceeds received from the Buyer in accordance with the related
HUD-1 form. 

  
 Schedule 1-15 

 SCHEDULE 1-B 

REPRESENTATIONS AND WARRANTIES WITH RESPECT TO PURCHASED 

MORTGAGE LOANS (COMMERCIAL) 

[To be provided, if applicable.] 

  
 Schedule 1-1 

 SCHEDULE 2 

AUTHORIZED REPRESENTATIVES 
 SELLER
NOTICES 
  

			
	Name: loanDepot.com, LLC	  	26642 Towne Centre Drive
		  	Foothill Ranch, CA 92610
	Telephone: (888)377-6888	  	Attention: Anthony L. Hsieh
	Facsimile: (949)470-6214	  	

  
 Schedule 2-1 

 SELLER AUTHORIZATIONS: 

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

  

			
	By:	 	 /s/ Anthony L. Hsieh

		
	Name:	 	Anthony L. Hsieh
		
	Title:	 	Chief Executive Officer

  
 Schedule 2-2 

			
	BUYER NOTICES	  	
		
	Name: WELLS FARGO BANK, N.A.	  	c/o Wells Fargo Securities
		  	    Mortgage Banker Finance Group
	Telephone: (678) 867-1080	  	2500 Northwinds Parkway
	Facsimile: (704) 715-0344	  	Suite 200
		  	Alpharetta, Georgia 30009
		  	Attention: Kenneth D. Logan
	And:	  	
		
	Name: WELLS FARGO BANK, N.A.	  	375 Park Avenue
		  	New York, New York 10152
	Telephone: (212) 214-6064	  	Attention: Mary H. Curtis
	Facsimile: (212) 214-5951	  	

 BUYER AUTHORIZATIONS 

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

  

			
	By:	 	 /s/ Kenneth D. Logan

	Name:	 	Kenneth D. Logan
	Title:	 	Managing Director

  
 Schedule 2-3 

 OFFICER’S COMPLIANCE CERTIFICATE 

I,             , do hereby certify that I am the duly elected
             of loanDepot.com, LLC (“Seller”). This Certificate is delivered to you in connection with Section 16(b) of the Master Repurchase Agreement and Addendum, dated as
of September 15, 2011, each such document being among Seller and Wells Fargo Bank, N.A. (“Buyer”) (together, as amended from time to time, the “Agreement”). I hereby certify that, as of the date of the financial statements
attached hereto and as of the date hereof, Seller is and has been in compliance with all the terms of the Agreement and, without limiting the generality of the foregoing, I certify that: 

Litigation. Seller has promptly, and in any event within ten (10) days after service of process on any of the following, given to
Buyer notice of all litigation, actions, suits, arbitrations, investigations (including, without limitation, any of the foregoing which are threatened or pending) or other legal or arbitrable proceedings affecting Seller or any of its Subsidiaries
or affecting any of the Property of any of them before any Governmental Authority that (i) questions or challenges the validity or enforceability of any of the Program Agreements or any action to be taken in connection with the transactions
contemplated hereby, (ii) makes a claim individually in an amount greater than the Individual Claim Threshold or in an aggregate amount greater than the Aggregate Claim Threshold, or (iii) which, individually or in the aggregate, if
adversely determined, could be reasonably likely to have a Material Adverse Effect. Seller has promptly provided notice of any judgment, which with the passage of time, could cause an Event of Default hereunder. 

Adjusted Tangible Net Worth. Seller has maintained the Adjusted Tangible Net Worth Threshold at all times. A detailed summary of the
calculation of Seller’s actual Adjusted Tangible Net Worth is provided in Schedule 1 hereto. 
 Indebtedness to Adjusted Tangible
Net Worth Ratio. Seller has maintained the Indebtedness to Adjusted Tangible Net Worth Ratio at all times. A calculation of Seller’s actual Indebtedness to Adjusted Tangible Net Worth is provided in Schedule 1 hereto. 

Maintenance of Profitability. Seller has not permitted, for any Test Period, Net Income for such Test Period, before income taxes for
such Test Period and distributions made during such Test Period, to be less than $1.00. 

  
 A-1 

 Insurance. Seller or its Affiliates has maintained, for Seller and its Subsidiaries,
insurance coverage with respect to employee dishonesty, forgery or alteration, theft, disappearance and destruction, robbery and safe burglary, property (other than money and securities) and computer fraud in at least the aggregate and actual
amounts set forth on the Addendum. 
 Financial Statements. The financial statements attached hereto are accurate and complete,
accurately reflect the financial condition of Seller, and do not omit any material fact as of the date(s) thereof. 
 Documentation.
Seller has performed the documentation procedures required by its operational guidelines with respect to endorsements and assignments, including the recordation of assignments, or has verified that such documentation procedures have been performed
by a prior holder of such Mortgage Loan. 
 Compliance. Seller has observed or performed in all material respects all of its
covenants and other agreements, and satisfied every condition, contained in the Agreement and the other Program Agreements to be observed, performed and satisfied by it. If a covenant or other agreement or condition has not been complied with,
Seller shall describe such lack of compliance and provide the date of any related waiver thereof. 
 Regulatory Action. Seller is not
currently under investigation and, to best of Seller’s knowledge, no investigation by any federal, state or local government agency is threatened. Seller has not been the subject of any government investigation which has resulted in the
voluntary or involuntary suspension of a license, a cease and desist order, or such other action as could adversely impact Seller’s business. If so, Seller shall describe the situation in reasonable detail and describe the action that Seller
has taken or proposes to take in connection therewith. 
 No Default. No Default or Event of Default has occurred or is continuing.
[If any Default or Event of Default has occurred and is continuing, Seller shall describe the same in reasonable detail and describe the action Seller has taken or proposes to take with respect thereto, and if such Default or Event of Default has
been expressly waived by Buyer in writing, Seller shall describe the Default or Event of Default and provide the date of the related waiver.] 

Indebtedness. All Indebtedness (other than Indebtedness evidenced by the Agreement) of Seller existing on the date hereof is listed on
Schedule 2 hereto. 
 Hedging. An accurate and true summary of all Interest Rate Protection Agreements entered into or maintained by
Seller during the most recent calendar month end and all preceding months has been provided to Buyer (unless Buyer gives notice to Seller that such summary is not required); and any documentation related to such Interest Rate Protection Agreements
as required by the Manual and such other documents requested by Buyer has been provided to Buyer 

  
 A-2 

 Distributions. Seller has not paid any dividends greater than Net Income during the
calendar year ending on                     . 

Other Notices. Seller has notified Buyer of any other event, circumstance or condition that has resulted, or has a possibility of
resulting, in a Material Adverse Effect with respect to Seller or Servicer, including without limitation, any claims of predatory lending or any early payment default, buy-back, repurchase or similar requests, notices or claims by third party
purchasers that would likely or actually require the Seller to repurchase mortgage loans or pay any amounts to such third party purchaser with respect to any sold mortgage loan. 

  
 A-3 

 IN WITNESS WHEREOF, I have set my hand this          day
of             , 20    . 
  

	
	By:                                     
                                         
                  
	Name:
	Title:

  
 A-4 

 EXHIBIT B 

CERTIFICATE OF AN OFFICER OF LOANDEPOT.COM, LLC 

The undersigned, Secretary of loanDepot.com, LLC, a Delaware limited liability company (the “Seller”), hereby certifies as
follows: 
 1. Attached here as Exhibit A is a copy of the Certificate of Formation of the Seller, as certified by the Secretary of
State of the State of Delaware. 
 2. Neither any amendment to the Certificate of Formation of the Seller nor any other charter document with
respect to the Seller has been filed, recorded or executed since December 4, 2009, and no authorization for the filing, recording or execution of any such amendment or other charter document is outstanding. 

3. Attached hereto as Exhibit B is a true, correct and complete copy of the Amended and Restated Limited Liability Company Agreement of
the Seller as in effect as of the date hereof and at all times since December 30, 2009. 
 4. Attached hereto as Exhibit C is a
true, correct and complete copy of resolutions adopted by the Board of Directors of the Seller by unanimous written consent on September 15, 2011 (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 Board of Directors of the Seller relating to the execution and delivery of, and performance of the transactions contemplated by the
Master Repurchase Agreement and Addendum (the “Repurchase Agreement”), each dated as of September 15, 2011 and between the Seller and Wells Fargo Bank, N.A. (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 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 documents is the genuine signature of each such person. 

 

					
	 Name
	  	 Title
	  	 Signature

	Anthony L. Hsieh	  	Chief Executive Officer	  	/s/ Anthony L. Hsieh
			
	John H. Lee	  	Chief Financial Officer	  	/s/ John H. Lee

  
 B-1 

 IN WITNESS WHEREOF, the undersigned has hereunto executed this Certificate as of the 15th day of September, 2011. 
 LOANDEPOT.COM, LLC, as Seller 

 

	
	By:  /s/ Peter
Macdonald                                
	Name: Peter Macdonald
	Title: Secretary

  
 B-2

Source: [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00250-of-00352.parquet"}, [{"source": "alea-institute/alea-institute/kl3m-data-edgar-agreements/train-00250-of-00352.parquet"}]]