Document:

EX-10.27.3

 Exhibit 10.27.3 
  

 
 

 
 AMENDMENT NO. 3 TO 

MASTER REPURCHASE AGREEMENT 
 This
AMENDMENT NO. 3 TO MASTER REPURCHASE AGREEMENT (this “Amendment”) is made and entered into as of June 19, 2013 by and between Bank of America, N.A. (“Buyer”) and loanDepot.com, LLC (“Seller”).
This Amendment amends that certain Master Repurchase Agreement by and between Buyer and Seller, dated as of December 23, 2009 (as amended, restated, supplemented or otherwise modified from time to time, the “Agreement”). 

R E C I T A L S 
 Buyer and
Seller have previously entered into the Agreement pursuant to which Buyer may, from time to time, purchase certain mortgage loans from Seller and Seller agrees to sell certain mortgage loans to Buyer under a master repurchase facility. Buyer and
Seller hereby agree that the Agreement shall be amended as more fully provided herein. 
 In consideration of the mutual promises contained herein, and for
other good and valuable consideration, the receipt and sufficiency of which are hereby acknowledged, Buyer and Seller hereby agree as follows: 
  

	1.	Amendments. Effective as of June 19, 2013, the Agreement is hereby amended as follows: 

  

	 	(a)	Section 4.7 is hereby amended by deleting such section and replacing it with the following (with the added language underlined for ease of review): 

“4.7 Application of Payments from Seller or Approved Investors. Unless Buyer determines otherwise, payments made directly
by Seller or an Approved Investor to Buyer shall be applied in the following order of priority: 
  

	 	(a)	first, to any amounts due and owing to Buyer pursuant to Section 6.3. 

  

	 	(b)	second, to all costs, expenses and fees incurred or charged by Buyer under this Agreement that are due and owing and related to the Transaction in connection with which the payment is made;

  

	 	(c)	third, to all costs, expenses and fees incurred or charged by Buyer under this Agreement that are due and owing and not related to a specific Transaction; 

 

	 	(d)	fourth, to the price differential then due and owing and the outstanding Purchase Price, in each case, on the Purchased Asset in connection with which the payment is made; 

 

	 	(e)	fifth, to the price differential due and owing and the outstanding Purchase Prices, in each case, on any other Purchased Assets; and 

 

	 	(f)	sixth, to the amount of all other obligations then due and owing by Seller to Buyer under this Agreement and the other Principal Agreements. 

Buyer and Seller intend and agree that all such payments shall be “settlement payments” as such term is defined in Bankruptcy Code
Section 741(8). After the settlement payments have been applied as set forth above, Buyer shall deposit in the Over/Under Account any amounts that remain.” 

	 	(b)	Section 6.2 is hereby amended by deleting 6.2(c) and replacing it with the following (with the added language underlined for ease of review): 

“(c) Interim Servicing Period; No Servicing Fee or Income. Seller’s or the Servicer’s, as applicable, right to
interim service a Purchased Mortgage Loan shall commence on the related Purchase Date and shall automatically terminate without notice on the earlier of (i) thirty (30) days after the related Purchase Date or (ii) the actual
date Seller repurchases the Purchased Mortgage Loan. If the interim servicing period expires with respect to any Purchased Mortgage Loan for any reason other than Seller repurchasing such Purchased Mortgage Loan, then such interim servicing
period shall automatically terminate if not renewed by Buyer; provided, that Buyer shall be deemed to have renewed such interim servicing term if Buyer enters into a new Transaction in respect of such Purchased Mortgage Loan. In connection with any
such renewal, Seller or the Servicer, as applicable, shall continue to interim service the Purchased Mortgage Loan for a thirty (30) day extension period. Absent any such extension of the interim servicing period, Seller or the
Servicer, as applicable, shall transfer servicing of the Mortgage Loan to Buyer or its designee in accordance with the instructions of Buyer and any other applicable requirements of this Agreement. For the avoidance of doubt, upon expiration of the
interim servicing period (including the expiration of any extension period) with respect to any Purchased Mortgage Loan, Seller shall have no right to service the related Purchased Mortgage Loan nor shall Buyer have any obligation to extend the
interim servicing period (or continue to extend the interim servicing period), it being understood that upon such expiration, Seller shall promptly transfer the servicing of the related Purchased Mortgage Loan to Buyer or its designee in accordance
with the instructions of Buyer and any other applicable requirements of this Agreement. Buyer shall have no obligation to pay Seller or the Servicer, as applicable, nor shall Seller or the Servicer, as applicable, has any right to deduct or retain,
any servicing fee or similar compensation in connection with the interim servicing of a Purchased Mortgage Loan.” 
  

	 	(c)	Section 9.9 is hereby amended by deleting such section and replacing it with the following (with the added language underlined for ease of review): 

“9.9 Fidelity Bonds and Insurance. Seller shall maintain an insurance policy, in a form and substance satisfactory to
Buyer, covering against loss or damage relating to or resulting from any breach of fidelity by Seller, or any officer, director, employee or agent of Seller, any loss or destruction of documents (whether written or electronic), fraud, theft,
misappropriation and errors and omissions, such that Buyer shall have the right to pursue any claim for coverage available to any named insured to the full extent allowed by law. This policy shall name Buyer as a loss payee with an
unlimited right of action and shall provide coverage in an amount as required by Fannie Mae’s Selling Guide. Following approval by Buyer of a specific insurance policy, Seller shall not amend, cancel, suspend or otherwise change such
policy without the prior written consent of Buyer.” 

	 	(d)	Section 11.1 is hereby amended by deleting 11.1(b) and replacing it with the following (with the added language underlined for ease of review): 

 

	 	“(b)	(i) Seller or any Subsidiary or Affiliate of Seller shall default under, or fail to perform as required under, or shall otherwise breach the terms of any loan agreement, note, mortgage, security agreement,
indenture, guaranty, instrument, contract or other agreement between Seller or such other entity, on the one hand, and Buyer or any of Buyer’s Affiliates on the other; or (ii) Seller or any Subsidiary or Affiliate
of Seller shall default under, or fail to perform as required under, the terms of any repurchase agreement, loan and security agreement or similar credit facility or agreement for borrowed funds or any other material agreement entered into by Seller
or such other entity and any third party, which default or failure entitles any party to require acceleration or prepayment of any indebtedness thereunder or shall otherwise fail to pay a matured Debt obligation in excess of $500,000;”

  

	 	(e)	Section 11.1 is hereby amended by deleting 11.1(h) and replacing it with the following (with the added language underlined for ease of review): 

 

	 	“(h)	an Insolvency Event shall have occurred with respect to Seller or any Guarantor or any of their respective Affiliates or Subsidiaries; or Seller shall admit in writing its inability to, or intention not to, perform
any of its obligations under this Agreement or any of the other Principal Agreements; or Buyer shall have determined in good faith that Seller is unable to meet its financial commitments as they come due;” 

 

	 	(f)	Section 11.1 is hereby amended by adding at the end of section (s) “;” and adding the following new sections immediately thereafter: 

 

	 	“(t)	any Governmental Authority or any person, agency or entity acting or purporting to act under governmental authority shall have taken any action to (i) condemn, seize or appropriate, or to assume custody or control
of, all or any substantial part of the property or assets of Seller or any its Affiliates or Subsidiaries; (ii) displace the management of Seller or any of its Affiliates or Subsidiaries or to curtail its authority in the conduct of their
respective business; or (iii) to remove, limit or restrict the approval of Seller or any of its Affiliates or Subsidiaries as an issuer, buyer or a seller/servicer of Mortgage Loans or securities backed thereby, and any such action provided for
in this subsection (t) shall not have been discontinued or stayed within thirty (30) days; or 

  

	 	(u)	a Change of Control shall occur with respect to Seller.” 

  

	 	(g)	Section 14.11(a) is hereby amended by revising the address for notices to Buyer as follows (with the added language underlined for ease of review): 

 

			
	“If to Buyer:	 	Bank of America, N.A.
		 	4500 Park Granada
		 	Mail Code: CA7-910-02-38
		 	Calabasas, California 91302
		 	Attention: Adam Gadsby
		 	Telephone: (818) 225-6541
		 	Fax: (213) 457-8707
		 	E-mail: Adam.Gadsby@baml.com

			
		 	and
		
		 	Bank of America, N.A.
		 	225 West Hillcrest Drive
		 	Mail Code: CA6-918-01-03
		 	Thousand Oaks, California 91360
		 	Attention: Rayanthi De Mel, Assistant Vice President
		 	Telephone: (805) 917-0716
		 	Fax: (805) 917-0741
		 	E-mail: Rayanthi.De.Mel@baml.com
		
		 	With copies to:
		
		 	Bank of America, N.A.
		 	One Bryant Park, 11th Floor
		 	Mail Code: NY1-100-11-01
		 	New York, New York 10036
		 	Attention: Eileen Albus, Vice President, Mortgage Finance
		 	Telephone: (646) 855-0946
		 	Fax: (646) 855-5050
		 	E-mail: Eileen.Albus@baml.com
		
		 	and
		
		 	Bank of America, N.A.
		 	50 Rockefeller Plaza
		 	Mail Code: NY1-050-12-03
		 	New York, NY 10020
		 	Attention: Mr. Michael McGovern Esq.
		 	Telephone: (646) 855-0183
		 	E-mail: Michael.McGovern@bankofamerica.com”

  

	 	(h)	Section 14.11(b) is hereby amended by revising the address for emails to Buyer as follows (with the added language underlined for ease of review): 

 

			
	“If to Buyer:	 	Eileen.Albus@baml.com
		 	Michael.McGovern@bankofamerica.com
		 	Adam.Gadsby@baml.com and
		 	Rayanthi.De.Mel@baml.com”

  

	 	(i)	Section 14.23 of the Agreement is hereby amended by deleting each of “Office of Thrift Supervision (“OTS”)” and “OTS” in its entirety, and replacing them with “Office of
the Comptroller of the Currency (“OCC”)” and “OCC”, respectively. 

  

	 	(j)	Exhibit A to the Agreement is hereby amended by deleting the definitions of “Applicable Rate”, “Business Day”, “Tangible Net Worth” and “Total Liabilities” in their
respective entireties and replacing them with the following (with the added language underlined for ease of review): 

“Applicable Pricing Rate: With respect to any date of determination, the greater of (i) One-Month LIBOR, and
(ii) the LIBOR Floor. It is understood that the Applicable Pricing Rate shall be adjusted on a daily basis. 

Business Day: Any day, excluding Saturday, Sunday and any day that is a legal holiday under the laws of the State of New York
and the State of California or as may otherwise be published on Buyer’s website(s). 

 Tangible Net Worth: As of any date of determination, (i) the net worth of
Seller and its consolidated Subsidiaries, on a combined basis, determined in accordance with GAAP, minus (ii) all intangibles determined in accordance with GAAP (including, without limitation, goodwill, capitalized financing costs and
capitalized administration costs but excluding originated and purchased mortgage servicing rights) and any and all advances to, investments in and receivables held from Affiliates, and minus (iii) loans held for investment and real estate
owned net of acceptable financing (financing must be deemed acceptable by Buyer). 
 Total Liabilities: As of any date of
determination, the sum of (i) the total liabilities of Seller on any given date of determination, to be determined in accordance with GAAP consistent with those applied in the preparation of Seller’s financial statements, plus
(ii) to the extent not already included under GAAP, the total aggregate outstanding amount owed by Seller under any purchase, repurchase, refinance or other similar credit arrangements, plus (iii) to the extent not already included under
GAAP, any “off balance sheet” purchase, repurchase, refinance or other similar credit arrangements, minus (iv) non-recourse debt.” 
  

	 	(k)	Exhibit A to the Agreement is hereby amended by inserting the following new definitions in the appropriate alphabetical order: 

“Correspondent Mortgage Loan: A Mortgage Loan originated by a third party originator and acquired by Seller in accordance
with Seller’s correspondent Mortgage Loan program. 
 FICO Score: The credit score of the Mortgagor provided by Fair,
Isaac & Company, Inc. or such other organization providing credit scores on the origination date of a Mortgage Loan; provided, that if (a) two separate credit scores are obtained on such origination date, the FICO Score shall be the
lower credit score; and (b) three separate credit scores are obtained on such origination date, the FICO Score shall be middle credit score. 

Governmental Authority: With respect to any Person, 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 having jurisdiction over such Person, any of its Subsidiaries or
any of its properties. 
 One-Month LIBOR: The daily rate per annum (rounded to three (3) decimal places) for one-month
U.S. dollar denominated deposits as offered to prime banks in the London interbank market, as published on the Official BBA LIBOR Fixings page by Bloomberg or in the Wall Street Journal as of the date of determination; provided, that if Buyer
determines that any law, regulation, treaty or directive or any change therein or in the interpretation or application thereof, or any circumstance materially and adversely affecting the London interbank market, shall make it unlawful, impractical
or commercially unreasonable for Buyer to enter into or maintain Transactions as contemplated by this Agreement using One-Month LIBOR, then Buyer may, in addition to its rights under Section 4.5 herein, select an alternative rate of interest or
index in its discretion. 

 Subsidiary: 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.” 

 

	 	(l)	Exhibit L: Representations and Warranties Concerning Purchased Assets is hereby amended by deleting clause “(a)” thereof in its entirety and replacing it with the following (with the modified text
underlined for review purposes): 

  

	 	“(a)	Eligible Loan. The Mortgage Loan is a Conventional Conforming Mortgage Loan, Government Mortgage Loan, Jumbo Mortgage Loan, Super Jumbo Mortgage Loan, Bond Loan-
1st Lien, or HARP Mortgage Loan, as applicable. The Mortgage Loan is a legal, valid and binding obligation of the Mortgagor thereunder, enforceable in accordance with its terms and subject to
no offset, defense or counterclaim, obligating Mortgagor to make the payments specified therein.” 

  

	2.	No Other Amendments; Conflicts with Previous Amendments. Other than as expressly modified and amended herein, the Agreement shall remain in full force and effect and nothing herein shall affect the rights
and remedies of Buyer as provided under the Agreement. To the extent any amendments to the Agreement contained herein conflict with any previous amendments to the Agreement, the amendments contained herein shall control. 

 

	3.	Capitalized Terms. Any capitalized term used herein and not otherwise defined herein shall have the meaning ascribed to such term in the Agreement. 

 

	4.	Representations. In order to induce Buyer to execute and deliver this Amendment, Seller hereby represents to Buyer that as of the date hereof, (i) Seller is in full compliance with all of the terms
and conditions of the Principal Agreements and remains bound by the terms thereof, and (ii) no Potential Default or Event of Default has occurred and is continuing under the Principal Agreements. 

 

	5.	Governing Law. This Amendment shall be construed in accordance with the laws of the State of New York without regard to any conflicts of law provisions (except for Section 5-1401 of the New York
General Obligations Law which shall govern). All legal actions between or among the parties regarding the Agreement, including, without limitation, legal actions to enforce the Agreement or because of a dispute, breach or default of the Agreement,
shall be brought in the federal or state courts located in New York County, New York, which courts shall have sole and exclusive in personam, subject matter and other jurisdiction in connection with such legal actions and the parties acknowledge and
agree that venue in such courts shall be convenient and appropriate for all purposes. 

  

	6.	Counterparts. For the purpose of facilitating the execution of this Amendment, and for other purposes, this Amendment may be executed simultaneously in any number of counterparts. Each counterpart shall be
deemed to be an original, and all such counterparts shall constitute one and the same instrument. Facsimile signatures shall be deemed valid and binding to the same extent as the original. 

 [signature page follows] 

 IN WITNESS WHEREOF, Buyer and Seller have caused their names to be signed hereto by their respective officers
thereunto duly authorized as of the date first written above. Buyer shall have no obligation to honor the terms and conditions of this Amendment if Seller fails to fully execute and return this document to Buyer within three (3) days after the
date hereof. 
  

									
	BANK OF AMERICA, N.A.	 		 	LOANDEPOT.COM, LLC
					
	By:	 	

	 		 	By:	 	  

		 	  
	 		 		 	
					
	Name:	 	Rayanthi De Mel	 		 	Name:	 	
					
	Title:	 	Assistant Vice President	 		 	Title:	 	
		 	Bank of America, N.A.	 		 		 	

 IN WITNESS WHEREOF, Buyer and Seller have caused their names to be signed hereto by their respective officers
thereunto duly authorized as of the date first written above. Buyer shall have no obligation to honor the terms and conditions of this Amendment if Seller fails to fully execute and return this document to Buyer within three (3) days after the
date hereof. 
  

									
	BANK OF AMERICA, N.A.	 		 	LOANDEPOT.COM, LLC
					
	By:	 	  
	 		 	By:	 	

		 		 		 		 	  

					
	Name:	 		 		 	Name:	 	
					
	Title:	 		 		 	Title:EX-10.27.4

 Exhibit 10.27.4 

EXECUTION VERSION 
  

 
 

 
 AMENDMENT NO. 4 TO 

MASTER REPURCHASE AGREEMENT 
 This
AMENDMENT NO. 4 TO MASTER REPURCHASE AGREEMENT (this “Amendment”) is made and entered into as of May 13, 2014 by and between Bank of America, N.A. (“Buyer”) and loanDepot.com, LLC (“Seller”).
This Amendment amends that certain Master Repurchase Agreement by and between Buyer and Seller, dated as of December 23, 2009 (as amended, restated, supplemented or otherwise modified from time to time, the “Agreement”). 

R E C I T A L S 
 Buyer and
Seller have previously entered into the Agreement pursuant to which Buyer may, from time to time, purchase certain mortgage loans from Seller and Seller agrees to sell certain mortgage loans to Buyer under a master repurchase facility. Buyer and
Seller hereby agree that the Agreement shall be amended as more fully provided herein. 
 In consideration of the mutual promises contained herein, and for
other good and valuable consideration, the receipt and sufficiency of which are hereby acknowledged, Buyer and Seller hereby agree as follows: 
  

	1.	Amendments. Effective as of May 13, 2014, the Agreement is hereby amended as follows: 

  

	 	(a)	Section 6.2(n) of the Agreement is hereby amended by deleting such section and replacing it with the following (modified text underlined for review purposes): 

 

	 	(n)	Termination. Buyer shall have the right at any time and for any reason to immediately terminate the Seller’s or the Servicer’s right, as applicable, to subservice the Purchased Mortgage Loans without
payment of any penalty or termination fee. Seller shall cooperate, or cause the Servicer to cooperate, in transferring the servicing of the Purchased Mortgage Loans to a successor subservicer appointed by Buyer in its sole and good faith discretion.
For the avoidance of doubt any termination of the Servicer’s rights to service by the Buyer pursuant to an Event of Default shall be deemed part of an exercise of the Buyer’s rights to cause the liquidation, termination or acceleration
of this Agreement. 

  

	 	(b)	Section 7.2(a) of the Agreement is hereby amended by deleting the “and” at the end of subclause “(iv)” thereof, deleting subclause “(v)” in its entirety, and adding the
following new subclauses “(v)” and “(vi)” immediately after subclause “(iv)” thereof (modified text underlined for review purposes): 

 

	 	(v)	a schedule identifying each Mortgage Loan subject to the proposed Transaction as either a Safe Harbor Qualified Mortgage, a Rebuttable Presumption Qualified Mortgage, a Permitted Non-Qualified Mortgage Loan or a Bond
Loan – 1st Lien, as applicable; and 

  

	 	(vi)	such other documents pertaining to the Transaction as Buyer may reasonably request, from time to time. 

  

	 	(c)	Section 9.1(f) of the Agreement is hereby amended by deleting it in its entirety and replacing it with the following (modified text underlined for review purposes): 

 

	 	(f)	 Reports and Information Regarding Purchased Mortgage Loans. Seller shall deliver to Buyer, with reasonable promptness, upon Buyer’s
request: 

	 	
(i) copies of any reports related to the Purchased Mortgage Loans, (ii) copies of all documentation in connection with the underwriting and origination of any Purchased Mortgage
Loan that evidences compliance with, (x) with respect to all Purchased Mortgage Loans other than Bond Loans – 1st Liens, the Ability to Repay Rule and, (y) with respect to all
Purchased Mortgage Loans other than Bond Loans – 1st Liens and Permitted Non-Qualified Mortgage Loans, the QM Rule, as applicable, and (iii) any other information in Seller’s
possession related to the Purchased Mortgage Loans. 

  

	 	(d)	Section 9.3(b) of the Agreement is hereby amended by deleting it in its entirety and replacing it with the following (modified text underlined for review purposes): 

 

	 	(b)	any action, suit or proceeding instituted by or against Seller in any federal or state court or before any commission or other regulatory body (federal, state or local, foreign or domestic), or any such action, suit or
proceeding threatened against Seller, in any case, if such action, suit or proceeding, or any such action, suit or proceeding threatened against Seller, involves a potential liability, on an individual or aggregate basis, equal to or greater than
ten percent (10%) of Seller’s Tangible Net Worth, or questions or challenges the validity or enforceability of any of the Principal Agreements or questions or challenges compliance of any Purchased Mortgage Loan with, (x) with
respect to any Purchased Mortgage Loan other than Bond Loans – 1st Liens, the Ability to Repay Rule or (y) with respect to any Purchased Mortgage Loan other than Bond Loans – 1st Liens and Permitted Non-Qualified Mortgage Loans, the QM Rule; 

  

	 	(e)	Section 14.11(a) of the Agreement is hereby amended by revising the address for notices to Buyer as follows: 

  

			
	If to Buyer:	 	Bank of America, N.A.
		 	4500 Park Granada
		 	Mail Code: CA7-910-02-38
		 	Calabasas, California 91302
		 	Attention: Adam Gadsby, Managing Director
		 	Telephone: (818) 225-6541
		 	Fax: (213) 457-8707
		 	E-mail: Adam.Gadsby@baml.com
		
		 	With copies to:
		
		 	Bank of America, N.A.
		 	One Bryant Park, 11th Floor
		 	Mail Code: NY1-100-11-01
		 	New York, New York 10036
		 	Attention: Eileen Albus, Director, Mortgage Finance
		 	Telephone: (646) 855-0946
		 	Fax: (646) 855-5050
		 	E-mail: Eileen.Albus@baml.com
		
		 	and
		
		 	Bank of America, N.A.
		 	One Bryant Park
		 	Mail Code: NY1-100-17-01
		 	New York, New York 10036
		 	Attention: Michael J. Berg, Assistant General Counsel
		 	Telephone: (646) 855-0706
		 	Fax: (212) 378-3460
		 	E-mail: Michael.J.Berg@bankofamerica.com

  
 2 

	 	(f)	Section 14.11(b) of the Agreement is hereby amended by revising the address for emails to Buyer as follows (modified text underlined for review purposes): 

 

			
	If to Buyer:	 	Eileen.Albus@baml.com
		 	Michael.J.Berg@bankofamerica.com
		 	Adam.Gadsby@baml.com
		 	Adam.Robitshek@baml.com

  

	 	(g)	Exhibit A to the Agreement is hereby amended by deleting the definitions of “Bond Loans – 1st Liens”, “Custodian”, “Mortgage Loan”, “One-Month LIBOR”, “Other
Mortgage Loan Documents”, “Purchased Assets” and “Transaction” in their respective entireties and replacing them with the following (modified text underlined for review purposes): 

Bond Loans – 1st Liens: Unless defined otherwise in the Transactions Terms Letter, a first lien mortgage loan
(i) that was originated and underwritten in accordance with a qualifying local or state governmental homeownership program administered by a Housing Finance Agency (as defined under 24 CFR 266.5) and (ii) with respect to which Seller
has obtained a Purchase Commitment on or prior to the related Purchase Date. 
 Custodian: Deutsche Bank National Trust
Company or such other custodian selected by Buyer in its sole and good faith discretion. 
 Mortgage Loan: An Agency
Eligible Mortgage Loan, Conventional Conforming Mortgage Loan, Government Mortgage Loan, Jumbo Mortgage Loan (including a Jumbo Interest Only Mortgage Loan), Super Jumbo Mortgage Loan, HARP Mortgage Loan, HomePath Mortgage Loan,
HomePath Renovation Mortgage Loan, Texas Cash-Out Refinance Mortgage Loan or Bond Loan – 1st Lien, which Mortgage Loan may be either a Dry Mortgage Loan or a Wet Mortgage Loan. 

One-Month LIBOR: The daily rate per annum (rounded to three (3) decimal places) for one-month U.S. dollar denominated
deposits as offered to prime banks in the London interbank market, as published on the Official ICE LIBOR Fixings page by Bloomberg or in the Wall Street Journal as of the date of determination; provided, that if Buyer determines that any
law, regulation, treaty or directive or any change therein or in the interpretation or application thereof, or any circumstance materially and adversely affecting the London interbank market, shall make it unlawful, impractical or commercially
unreasonable for Buyer to enter into or maintain Transactions as contemplated by this Agreement using One-Month LIBOR, then Buyer may, in addition to its rights under Section 4.5 herein, select an alternative rate of interest or index in its
discretion. 
 Other Mortgage Loan Documents: In addition to the Mortgage Loan Documents, the following: (i) the original
recorded Mortgage, if not included in the Mortgage Loan Documents; (ii) the original policy of mortgagee’s title insurance or unexpired commitment for a policy of mortgagee’s title insurance, if not included in the Mortgage Loan
Documents; (iii) the original Closing Protection Letter; (iv) the original Purchase Commitment; (v) the original FHA certificate of insurance or commitment to insure, the VA certificate of guaranty or commitment to guaranty and the
private mortgage insurer’s certificate or commitment to insure, as applicable; (vi) the survey, flood certificate, hazard insurance policy and flood insurance policy, as applicable; (vii) the original of any assumption,

  
 3 

 
modification, written assurance or substitution of liability agreement, if any; (viii) copy of each instrument necessary to complete identification of any exception set forth in the
exception schedule in the title policy; (ix) the loan application; (x) verification of employment and income, if applicable; (xi) verification of source and amount of downpayment; (xii) credit report on Mortgagor;
(xiii) appraisal of the Mortgaged Property (or in the case of any HARP Mortgage Loan, an appraisal or a waiver thereof, and/or a point value estimate, as permitted by the applicable Agency guides); (xiv) the original executed disclosure
statement; (xv) tax receipts, insurance premium receipts, ledger sheets, payment records, insurance claim files and correspondence, current and historical computerized data files, underwriting standards used for origination and all other
related papers and records; (xvi) copies of all documentation in connection with the underwriting and origination of any Purchased Mortgage Loan that evidences compliance with, (1) with respect to all Purchased Mortgage Loans other than
Bond Loans – 1st Liens, the Ability to Repay Rule, and (2) with respect to all Purchased Mortgage Loans other than Bond Loans –
1st Liens and Permitted Non-Qualified Mortgage Loans, the QM Rule; and (xvii) all other documents relating to the Purchased Mortgage Loan. 

Purchased Assets: All now existing and hereafter arising right, title and interest of Seller in, under and to the following: 

(a) all Mortgage Loans, now owned and hereafter acquired, including all Mortgage Notes and Mortgages evidencing such Mortgage Loans and the
related Mortgage Loan Documents, for which a Transaction has been entered into between Buyer and Seller hereunder and for which the Repurchase Price has not been paid in full and all Mortgage Loans, including all Mortgage Notes and Mortgages
evidencing such Mortgage Loans and the related Mortgage Loan Documents, which, from time to time, are delivered, or caused to be delivered, to Buyer (including delivery to a custodian or other third party on behalf of Buyer) as additional security
for the performance of Seller’s obligations hereunder; 
 (b) all Mortgage-Backed Securities, now owned or hereafter acquired by Seller,
that are supported by any Mortgage Loan constituting Purchased Assets hereunder, all right to the payment of monies in non-cash distributions on account thereof and all new, substituted and additional securities at any time issued with respect
thereto; 
 (c) all rights of Seller under all Purchase Commitments, now existing and hereafter arising, covering any part of the Purchased
Assets, all rights to deliver such Mortgage Loans and Mortgage-Backed Securities to permanent investors and other purchasers pursuant thereto and all Proceeds resulting from the disposition of such Purchased Assets thereto; 

(d) all now existing and hereafter established accounts maintained with broker-dealers by Seller for the purpose of carrying out transactions
under Purchase Commitments relating to any part of the Purchased Assets; 
 (e) all now existing and hereafter arising rights of Seller to
service, administer and/or collect on the Mortgage Loans included as Purchased Assets hereunder and any and all rights to the payment of monies on account thereof; 

(f) all now existing and hereafter arising accounts, contract rights and general intangibles constituting or relating to any of the Purchased
Assets; 

  
 4 

 (g) all mortgage insurance and all commitments issued by Insurers to insure or guaranty any
Mortgage Loans included as Purchased Assets, including, without limitation, the right to receive all insurance proceeds and condemnation awards that may be payable in respect of the premises encumbered by any Mortgage; and all other documents or
instruments delivered to Buyer in respect of the Mortgage Loans included as Purchased Assets; 
 (h) All documents, files, surveys,
certificates, correspondence, appraisals, computer programs, tapes, discs, cards, accounting records and other information and data of Seller relating to Mortgage Loans included as Purchased Assets including, without limitation, the Other
Mortgage Loan Documents; 
 (i) All rights, but not any obligations or liabilities, of Seller with respect to the Approved Investors;

 (j) All property of Seller, in any form or capacity now or at any time hereafter in the possession or control of Buyer, including, without
limitation, all deposit accounts and any funds at any time held therein, into which Proceeds of the foregoing Purchased Assets are at any time deposited; 

(k) All products and Proceeds of the foregoing Purchased Assets; and 

(l) Any funds of Seller at any time deposited or held in the Over/Under Account. 

Transaction: As set forth in the Recitals of this Agreement. 

 

	 	(h)	Exhibit A to the Agreement is hereby amended by inserting the following new definitions in the appropriate alphabetical order: 

Ability to Repay Rule: 12 CFR 1026.43(c), including all applicable official staff commentary. 

Agency Eligible Mortgage Loan: A Mortgage Loan that is originated in Strict Compliance with the Agency guidelines and the
eligibility requirements specified for the applicable Agency program, and is eligible for sale to or securitization by such Agency. 

HomePath Mortgage Loan: Unless otherwise defined in the Transactions Terms Letter, a Mortgage Loan that fully conforms to Fannie
Mae’s HomePath mortgage loan program (as such program is amended, supplemented or otherwise modified, from time to time), and is referred to as a “HomePath Mortgage” by Fannie Mae; provided, that such HomePath mortgage loan is not a
“HomePath Renovation Mortgage” pursuant to the terms of such HomePath mortgage loan program. 
 HomePath Renovation Mortgage
Loan: Unless otherwise defined in the Transactions Terms Letter, a Mortgage Loan that fully conforms to Fannie Mae’s HomePath mortgage loan program (as such program is amended, supplemented or otherwise modified, from time to time), and
is referred to as a “HomePath Renovation Mortgage” by Fannie Mae pursuant to the terms of such HomePath mortgage loan program. 

Interest Only Mortgage Loan: A Mortgage Loan which, by its terms, requires the related Mortgagor to make monthly payments of only
accrued interest for a certain period of time following origination. After such interest-only period, the loan terms provide that the Mortgagor’s monthly payment will be recalculated to cover both interest and principal so that such Mortgage
Loan will amortize fully on or prior to its final payment date. 

  
 5 

 Jumbo Interest Only Mortgage Loan: A Jumbo Mortgage Loan that is an Interest Only
Mortgage Loan. 
 Permitted Non-Qualified Mortgage Loan: A Jumbo Interest Only Mortgage Loan. 

QM Rule: 12 CFR 1026.43(e), including all applicable official staff commentary. 

Qualified Mortgage: A Mortgage Loan that satisfies the criteria for a “qualified mortgage” as set forth in the QM Rule.

 Rebuttable Presumption Qualified Mortgage: A Qualified Mortgage with an annual percentage rate that exceeds the average
prime offer rate for a comparable mortgage loan as of the date the interest rate is set by 1.5 or more percentage points for a first-lien Mortgage Loan or by 3.5 or more percentage points for a subordinate-lien Mortgage Loan. 

Safe Harbor Qualified Mortgage: A Qualified Mortgage with an annual percentage rate that does not exceed the average prime offer
rate for a comparable mortgage loan as of the date the interest rate is set by 1.5 or more percentage points for a first-lien Mortgage Loan or by 3.5 or more percentage points for a subordinate-lien Mortgage Loan. 

Strict Compliance: The compliance of Seller and Mortgage Loans that are intended to be Agency Eligible Mortgage Loans with the
requirements of the applicable Agency guidelines, as applicable and as amended by any agreements between Seller and the applicable Agency, sufficient to enable Seller to issue and Ginnie Mae to guarantee or Fannie Mae or Freddie Mac to issue and
guarantee a Mortgage-Backed Security; provided, that until copies of any such agreements between Seller and Fannie Mae, Freddie Mac or Ginnie Mae, as applicable, have been provided to Buyer by Seller and agreed to by Buyer, such agreements shall be
deemed, as between Seller and Buyer, not to amend the requirements of the applicable Agency guidelines. 
 Texas Cash-Out Refinance
Mortgage Loan: A Mortgage Loan originated in the state of Texas pursuant to Article XVI, Section 50(a)(6) of the Texas Constitution. 
  

	 	(i)	Exhibit L to the Agreement, “Representations and Warranties Concerning Purchased Assets”, is hereby amended by deleting subclause “(a)” thereof in its entirety and replacing it with the
following (modified text underlined for review purposes): 

  

	 	(a)	Eligible Loan. The Mortgage Loan is an Agency Eligible Mortgage Loan, Conventional Conforming Mortgage Loan, Government Mortgage Loan, Jumbo Mortgage Loan (including a Jumbo Interest Only Mortgage
Loan), Super Jumbo Mortgage Loan, Bond Loan – 1st Lien, HomePath Mortgage Loan, HomePath Renovation Mortgage Loan, Texas Cash-Out Refinance Mortgage Loan or HARP Mortgage Loan, as applicable. The Mortgage Loan is a legal, valid and
binding obligation of the Mortgagor thereunder, enforceable in accordance with its terms and subject to no offset, defense or counterclaim, obligating Mortgagor to make the payments specified therein. 

  
 6 

	 	(j)	Exhibit L to the Agreement, “Representations and Warranties Concerning Purchased Assets”, is hereby amended by deleting subclause “(g)” thereof in its entirety and replacing it with the
following (modified text underlined for review purposes): 

  

	 	(g)	No Future Advances. The full original principal amount of each Mortgage Loan, net of any discounts, has been fully advanced or disbursed to the Mortgagor named therein, except with respect to specific mortgage
products agreed upon by Buyer in writing. 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. With respect to any Mortgage Loan, the terms of which require the Seller to make additional advances or disbursements to or on behalf of the Mortgagor named therein after the date of origination, Seller has made all such
advances and disbursements in accordance with the terms of the Mortgage and/or the terms and conditions of the related mortgage loan program, and such additional amounts have been advanced or disbursed from Seller’s own funds and not from the
funds representing any Purchase Price paid by Buyer to Seller hereunder. For all Mortgage Loans other than specific mortgage products agreed upon by Buyer in writing, there is no requirement for future advances and any and all requirements as to
completion of any on-site or off-site improvements and as to disbursements of any escrow funds therefor have been satisfied. 

  

	 	(k)	Exhibit L to the Agreement, “Representations and Warranties Concerning Purchased Assets”, is hereby amended by adding the following new subclauses thereto immediately following the end of subclause
“(s)”: 

  

	 	(t)	Qualified Mortgage. Each Mortgage Loan (other than Bond Loans – 1st Liens and Permitted Non-Qualified Mortgage Loans) satisfies the following criteria:

  

	 	(i)	Such Mortgage Loan is a Qualified Mortgage; 

  

	 	(ii)	Such Mortgage Loan is accurately identified in writing to Buyer as either a Safe Harbor Qualified Mortgage or a Rebuttable Presumption Qualified Mortgage; 

 

	 	(iii)	Prior to the origination of such Mortgage Loan, the related originator made a reasonable and good faith determination that the related Mortgagor would have a reasonable ability to repay such Mortgage Loan according to
its terms, in accordance with, at a minimum, the eight underwriting factors set forth in 12 CFR 1026.43(c)(2); and 

  

	 	(iv)	Such Mortgage Loan is supported by documentation that evidences compliance with the Ability to Repay Rule and the QM Rule. 

  

	 	(u)	Ability to Repay Determination. There is no action, suit or proceeding instituted by or against or threatened against Seller in any federal or state court or before any commission or other regulatory body
(federal, state or local, foreign or domestic) that questions or challenges the compliance of any Mortgage Loan (or the related underwriting) with, (x) except with respect to a Bond Loan –
1st Lien, the Ability to Repay Rule or, (y) except with respect to a Bond Loan – 1st Lien or a Permitted Non-Qualified Mortgage Loan,
the QM Rule. 

  

	 	(v)	 Points and Fees. All points and fees related to the Mortgage Loan were disclosed in writing to the Mortgagor in accordance with applicable
state and federal law and regulation. The points and fees related to such Mortgage Loan (other than a Bond Loan – 1st Lien and a Permitted Non-Qualified 

  
 7 

	 	
Mortgage Loan) did not exceed 3% of the total loan amount (or such other applicable limits for lower balance Mortgages) as specified under 12 CFR 1026.43(e)(3), and the points and fees were
calculated using the calculation required for qualified mortgages under 12 CFR 1026.32(b) to determine compliance with applicable requirements. 

  

	 	(w)	Permitted Non-Qualified Mortgage. Each Mortgage Loan that is a Permitted Non-Qualified Mortgage Loan satisfies the following criteria: 

 

	 	(i)	Prior to the origination of such Mortgage Loan, the related originator made a reasonable and good faith determination that the related Mortgagor would have a reasonable ability to repay such Mortgage Loan according to
its terms, in accordance with, at a minimum, the eight underwriting factors set forth in 12 CFR 1026.43(c)(2); and 

  

	 	(ii)	Such Mortgage Loan is supported by documentation that evidences compliance with the Ability to Repay Rule. 

  

	2.	No Other Amendments; Conflicts with Previous Amendments. Other than as expressly modified and amended herein, the Agreement shall remain in full force and effect and nothing herein shall affect the rights
and remedies of Buyer as provided under the Agreement. To the extent any amendments to the Agreement contained herein conflict with any previous amendments to the Agreement, the amendments contained herein shall control. 

 

	3.	Capitalized Terms. Any capitalized term used herein and not otherwise defined herein shall have the meaning ascribed to such term in the Agreement. 

 

	4.	Representations. In order to induce Buyer to execute and deliver this Amendment, Seller hereby represents to Buyer that as of the date hereof, (i) Seller is in full compliance with all of the terms
and conditions of the Principal Agreements and remains bound by the terms thereof, and (ii) no Potential Default or Event of Default has occurred and is continuing under the Principal Agreements. 

 

	5.	Governing Law. This Amendment shall be construed in accordance with the laws of the State of New York without regard to any conflicts of law provisions (except for Section 5-1401 of the New York
General Obligations Law which shall govern). All legal actions between or among the parties regarding the Agreement, including, without limitation, legal actions to enforce the Agreement or because of a dispute, breach or default of the Agreement,
shall be brought in the federal or state courts located in New York County, New York, which courts shall have sole and exclusive in personam, subject matter and other jurisdiction in connection with such legal actions and the parties acknowledge and
agree that venue in such courts shall be convenient and appropriate for all purposes. 

  

	6.	Severability. 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. 

  

	7.	Counterparts. For the purpose of facilitating the execution of this Amendment, and for other purposes, this Amendment may be executed simultaneously in any number of counterparts. Each counterpart shall be
deemed to be an original, and all such counterparts shall constitute one and the same instrument. Facsimile signatures shall be deemed valid and binding to the same extent as the original. 

  
 8 

 [signature page follows] 

  
 9 

 IN WITNESS WHEREOF, Buyer and Seller have caused their names to be signed hereto by their respective officers
thereunto duly authorized as of the date first written above. Buyer shall have no obligation to honor the terms and conditions of this Amendment if Seller fails to fully execute and return this document to Buyer within three (3) days after the
date hereof. 
  

									
	BANK OF AMERICA, N.A.	 		 	LOANDEPOT.COM, LLC
					
	By:	 	

	 		 	By:	 	

		 	  
	 		 		 	  

					
	Name:	 	Adam Robitshek	 		 	Name:	 	John Lee
					
	Title:	 	Vice President	 		 	Title:	 	CFO

 Signature Page to Amendment No. 4 to Master Repurchase Agreement – Bank of America/loanDepot

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"}]]