EX-10.25.2



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

AMENDMENT NO. 3 TO PRICING LETTER 

AND 
 AMENDMENT NO. 2 TO
MASTER REPURCHASE AGREEMENT 
 Amendment No. 3 to Pricing Letter (the “Pricing Letter Amendment”) and Amendment
No. 2 to Master Repurchase Agreement (the “Repurchase Agreement Amendment” and together with the Pricing Letter Amendment, the “Amendment”) dated as of July 27, 2012, among UBS REAL ESTATE SECURITIES INC.
(the “Buyer”), and LOANDEPOT.COM, LLC (the “Seller”). 
 RECITALS 

The Buyer and Seller are parties to a certain Master Repurchase Agreement, dated as of March 14, 2012 (as amended by Amendment
No. 1, dated as of April 26, 2012 the “Existing Repurchase Agreement”, as subsequently amended by this amendment, and as may be amended from time to time, the “Repurchase Agreement”), and the Buyer and
Seller are parties to that certain Pricing Letter, dated as of March 14, 2012 (as amended by Amendment No. 1, dated as of April 26, 2012, Amendment No. 2, dated as of June 18, 2012, the “Existing Pricing
Letter”; as subsequently amended by this Amendment, as may be amended from time to time, the “Pricing Letter”). Capitalized terms used but not otherwise defined herein shall have the meanings given to them in the Existing
Agreements. 
 The Buyer and Seller have agreed, subject to the terms and conditions of this Amendment, that the Existing Pricing Letter be
amended to reflect certain agreed upon revisions to the terms of the Existing Pricing Letter. 
 Accordingly, the Buyer and the Seller
hereby agree, in consideration of the mutual promises and mutual obligations set forth herein, that the Existing Pricing Letter is hereby amended as follows: 

SECTION 1. Temporary Amendment. During the period beginning on the Amendment Effective Date (as hereinafter defined) through and
including September 25, 2012 (the “Increased Maximum Aggregate Purchase Price Period”), Section 1 of the Existing Pricing Letter is hereby amended by deleting the definitions of “Maximum Aggregate Purchase
Price,” “Maximum Committed Purchase Price,” and “Minimum Balance Requirement” in their entirety and replacing them with the following: 

“Maximum Aggregate Purchase Price” shall mean $187,500,000. 

“Maximum Committed Purchase Price” shall mean $125,000,000. 

“Minimum Balance Requirement” shall mean [***]. 







 [***] – Confidential portions of this document have been redacted and filed separately with
the Commission. 
 SECTION 2. Permanent Amendments. Section 1 of the Existing Pricing Letter is further amended by adding the
following definition in the appropriate alphabetical order: 
 “Capitalized Mortgage Servicing Rights” shall mean the fair value
of mortgage servicing rights capitalized in accordance with GAAP as assets on a balance sheet, which is estimated using a level 3 model-based fair value approach based upon projections of expected future cash flows from retained or acquired mortgage
servicing rights, considering prepayment estimates, portfolio characteristics, prevailing interest rates and volatility and other economic factors. 

(b) Section 2 of the Existing Repurchase Agreement is hereby amended by deleting the definition of “Tangible Net Worth” in its
entirety and replacing it with the following: 
 “Tangible Net Worth” shall mean, as of the date of determination, such
Person’s stockholder equity less any unacceptable assets, as calculated in accordance with HUD’s Lender Assessment Subsystem (LASS) 5.0.0.0, as the same may be amended, modified or otherwise supplemented from time to time, less
(1) Restricted Cash not held by Buyer and (2) the Capitalized Mortgage Servicing Rights, plus the lesser of (a) the product of (i) the weighted average servicing fee due to the Servicer on all Capitalized Mortgage Servicing
Rights, (ii) the unpaid principal balance of the loans serviced as of the date of determination and (iii) 3, and (b) the Capitalized Mortgage Servicing Rights represented on such Person’s most recent balance sheet as of the date
of determination. 
 (c) Section 2 of the Existing Repurchase Agreement is further amended by adding the following definition in the
appropriate alphabetical order: 
 “Capitalized Mortgage Servicing Rights” shall have the meaning set forth in the Pricing
Letter. 
 SECTION 3. Conditions Precedent. This Amendment shall become effective on the date hereof (the “Amendment
Effective Date”), subject to the satisfaction of the following conditions precedent: 
 (a) Delivered Documents. On the
Amendment Effective Date, the Buyer shall have received the following documents, each of which shall be satisfactory to the Buyer in form and substance: 

(i) this Amendment, executed and delivered by duly authorized officers, as applicable, of the Buyer and Seller; and 

(ii) such other documents as the Buyer or counsel to the Buyer may reasonably request. 

(b) Up-front Fee. On the Amendment Effective Date, in consideration of Buyer having executed this Amendment, Seller shall pay to Buyer
in immediately available funds, earned on the Amendment Effective Date, a non-refundable fee equal to [***]. 







 SECTION 4. Ratification of Agreement. As amended by this Amendment, the Existing Pricing
Letter is in all respects ratified and confirmed and the Existing Pricing Letter as so modified by this Amendment shall be read, taken, and construed as one and the same instrument. 

SECTION 5. Representations and Warranties. Seller hereby represents and warrants to the Buyer that they are in compliance with all the
terms and provisions set forth in the Repurchase Agreement on its part to be observed or performed, and that no Default or Event of Default has occurred or is continuing, and hereby confirms and reaffirms the representations and warranties contained
in Section 11 of the Repurchase Agreement. Seller hereby represents and warrants that this Amendment has been duly and validly executed and delivered by it, and constitutes its legal, valid and binding obligation, enforceable against it in
accordance with its terms. 
 SECTION 6. Limited Effect. Except as expressly amended and modified by this Amendment, the Existing
Pricing Letter shall continue to be, and shall remain, in full force and effect in accordance with its terms. 
 SECTION 7.
Counterparts. This Amendment 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 Amendment by signing any such counterpart.
The parties agree that this Amendment, any documents to be delivered pursuant to this Amendment and any notices hereunder may be transmitted between them by email and/or by facsimile. Delivery of an executed counterpart of a signature page of this
Agreement in Portable Document Format (PDF) or by facsimile shall be effective as delivery of a manually executed original counterpart of this Agreement. The original documents shall be promptly delivered, if requested. 

SECTION 8. GOVERNING LAW. THIS AMENDMENT AND ANY CLAIM, CONTROVERSY OR DISPUTE ARISING UNDER OR RELATED TO THIS AMENDMENT, THE
RELATIONSHIP OF THE PARTIES TO THIS AMENDMENT, AND/OR THE INTERPRETATION AND ENFORCEMENT OF THE RIGHTS AND DUTIES OF THE PARTIES TO THIS AMENDMENT SHALL BE GOVERNED BY AND CONSTRUED IN ACCORDANCE WITH THE INTERNAL LAWS AND DECISIONS OF THE STATE OF
NEW YORK, WITHOUT REGARD TO THE CHOICE OF LAW RULES THEREOF. THE PARTIES HERETO INTEND THAT THE PROVISIONS OF SECTION 5-1401 OF THE NEW YORK GENERAL OBLIGATIONS LAW SHALL APPLY TO THIS AMENDMENT. NOTWITHSTANDING ANYTHING TO THE CONTRARY, THE
EFFECTIVENESS, VALIDITY AND ENFORCEABILITY OF ELECTRONIC CONTRACTS, OTHER RECORDS, ELECTRONIC RECORDS AND ELECTRONIC SIGNATURES USED IN CONNECTION WITH ANY ELECTRONIC TRANSACTION BETWEEN BUYER AND SELLER SHALL BE GOVERNED BY E-SIGN. 

SECTION 9. Binding Effect. This Amendment shall be binding upon and inure to the benefit of the parties hereto and their respective
successors and assigns. 
 [SIGNATURE PAGES FOLLOW] 







 IN WITNESS WHEREOF, the Seller and Buyer have caused their names to be signed hereto by their respective officers
thereunto duly authorized as of the date first above written. 
  

			
	UBS REAL ESTATE SECURITIES INC., as Buyer
		
	By:	 	 




  

	Name:	 	GARY TIMMERMAN
	Title:	 	MANAGING DIRECTOR
		
	By:	 	 




  

	Name:	 	Grace Kim
	Title:	 	Director
	
	LOANDEPOT.COM, LLC, as Seller
		
	By:	 	 




  

	Name:	 	John Lee
	Title:	 	CFO