Exhibit 10.4

   

  FIRST AMENDMENT TO

  REVOLVING CREDIT AND SECURITY AGREEMENT

  

  

  This First Amendment to Revolving Credit and Security Agreement (this “Amendment”) is made as of this 21st day of May, 2014, by and among TRG CUSTOMER SOLUTIONS, INC. d/b/a IBEX Global Solutions (together with any Person joined to the Loan
    Agreement as a borrower, collectively the “Borrowers”), the financial institutions which are now or which hereafter become party to the Loan Agreement as lenders (collectively, the “Lenders”), and PNC BANK,
      NATIONAL ASSOCIATION (“PNC”), as agent for Lenders (PNC, in such capacity, the “Agent”) and as a Lender.

  

  

  BACKGROUND

  

  

  A.            On November 8, 2013, Borrowers, Lenders and PNC as a
      Lender and as Agent entered into that certain Revolving Credit and Security Agreement (as same has been or may be amended, restated, modified, renewed, extended, replaced or substituted from time to time, the “Loan Agreement”) to reflect certain financing arrangements between the parties thereto. All capitalized terms not otherwise defined herein
      shall have the meaning ascribed thereto in the Loan Agreement.

  

  

  B.             Events of Default have occurred under the Loan
      Agreement by reason of (i) Borrowers’ failure to comply with Section 7.21 of the Credit Agreement for the months of February 2014 and March 2014 (such Events of Default, the “Existing Defaults”).

  

  

  C.             Borrowers have requested that Agent and Lenders (i)
      waive the Existing Defaults, and (ii) modify certain definitions, terms and conditions in the Loan Agreement, and Agent and Lenders are willing to do so on the terms and conditions hereafter set forth.

  

  

  NOW THEREFORE, with the foregoing background hereinafter deemed incorporated by reference herein and made part hereof, the parties hereto, intending to
    be legally bound, promise and agree as follows:

  

  

  Section 1               Waiver

  

  

  Upon the Effective Date (as defined below), Agent and Lenders hereby waive the Existing Defaults; provided, however that
    such waiver shall in no way constitute a waiver of any other Default or Event of Default which may have occurred but which is not specifically referenced as an Existing Default, nor shall this waiver obligate Agent or Lenders to provide any further
    waiver of any other Default or Event of Default (whether similar or dissimilar, including any further Default or Event of Default resulting from a failure to comply with the terms of the Loan Agreement). Other than in respect of the Existing Defaults,
    this waiver shall not preclude the future exercise of any right, power, or privilege available to Agent or Lenders whether under the Loan Agreement, the Other Documents or otherwise.

   

  
    
      

    

  

  Section 2               Amendment to Loan Agreement

  

  

  (a)           Affiliate
        Payables. On the Effective Date, the Section 7.21 of the Loan Agreement shall be amended and restated to read as follows:

  

  

  7.21. Affiliate Payables. Permit (a) the terms of any accounts payable due to any Affiliate or Subsidiary of any Borrower to be modified in any manner that is adverse to any Borrower, or (b) the amount of outstanding
    Receivables owing to the Borrowers from their Affiliates and Subsidiaries to exceed (x) $3,000,000 in the aggregate at any time during the period beginning on June 30, 2014 and ending on August 30, 2014, or (y) $2,500,000 in the aggregate at any time
    on or after August 31, 2014.

  

  

  Section 3               Representations, Warranties and Covenants of Borrowers

  

  

  Each Borrower hereby represents and warrants to and covenants with the Agent and the Lenders that:

  

  

  (a)           such Borrower reaffirms all representations and
      warranties made to Agent and Lenders under the Loan Agreement and all of the Other Documents (as described and defined in the Loan Agreement) and confirms that after giving effect to this Amendment all are true and correct in all material respects as
      of the date hereof (except to the extent any such representations and warranties specifically relate to a specific date, in which case such representations and warranties were true and correct in all material respects on and as of such other specific
      date);

  

  

  (b)           from and after the Effective Date, such Borrower
      reaffirms all of the covenants contained in the Loan Agreement (as amended hereby) (including without limitation, all covenants to pay fees, costs and expenses contained therein), covenants to abide thereby until all Advances, Obligations and other
      liabilities of Borrowers to Agent and Lenders under the Loan Agreement of whatever nature and whenever incurred, are satisfied and/or released by Agent and Lenders (other than contingent indemnification obligations which survive termination of the
      Loan Agreement);

  

  

  (c)           after giving effect to this Amendment, no Default or
      Event of Default has occurred and is continuing under the Loan Agreement or the Other Documents (as described and defined in the Loan Agreement);

  

  

  (d)           such Borrower has the authority and legal right to
      execute, deliver and carry out the terms of this Amendment, that such actions were duly authorized by all necessary limited liability company or corporate action, as applicable, and that the officer executing this Amendment on its behalf was
      similarly authorized and empowered, and that this Amendment does not contravene any provisions of its certificate of incorporation or formation, operating agreement, bylaws, or other formation documents, as applicable, or of any material contract or
      agreement to which it is a party or by which any of its properties are bound; and

  

  

  (e)           this Amendment and all assignments, instruments,
      documents, and agreements executed and delivered in connection herewith, are valid, binding and enforceable in accordance with their respective terms, except as such enforceability may be limited by any applicable bankruptcy, insolvency,
    moratorium or similar laws affecting creditors’ rights generally.

   

  
    -2-

    
      

    

  

  Section 4               Conditions Precedent/Effectiveness Conditions

  

  

  This Amendment shall be effective upon the date of satisfaction of all of the following conditions precedent (the “Effective Date”):

  

  

  (a)           Agent shall have received this Amendment fully executed by the Borrowers;

  

  

  (b)           Agent shall have received such other documents as Agent
      or counsel to Agent may reasonably request; and

  

  

  (c)           No Default or Event of Default shall have occurred and be
      continuing under either Loan Agreement after giving effect to the terms of this Amendment.

  

  

  Section 5               Further Assurances

  

  

  Each Borrower hereby agrees to take all such actions and to execute and/or deliver to Agent and Lenders all such documents, assignments, financing
    statements and other documents, as Agent and Lenders may reasonably require from time to time, to effectuate and implement the purposes of this Amendment.

  

  

  Section 6               Payment of Expenses

  

  

  Borrowers shall pay or reimburse Agent and Lenders for their reasonable fees of external counsel and other expenses in connection with the preparation,
    negotiation and execution of this Amendment and the documents provided for herein or related hereto.

  

  

  Section 7               Reaffirmation of Loan Agreement

  

  

  Except as modified by the terms hereof, all of the terms and conditions of the Loan Agreement, as amended, are hereby reaffirmed and shall continue in
    full force and effect as therein written.

  

  

  Section 8               Confirmation of Indebtedness

  

  

  Borrowers confirm and acknowledge that as of the close of business on May 20, 2014, Borrowers were indebted to Lenders for the (a) Advances under the
    Loan Agreement without any deduction, defense, setoff, claim or counterclaim, of any nature, in the aggregate principal amount of $19,509,998.04 due on account of Revolving Advances and $ 0.00 on account of undrawn Letters of Credit, plus in each case all fees, costs and expenses incurred to date in connection with the Loan Agreement.

  

  

  Section 9               Miscellaneous

  

  

  (a)           Third
        Party Rights. No rights are intended to be created hereunder for the benefit of any third party donee, creditor, or incidental beneficiary.

   

  
    -3-

    
      

    

  

  (b)           Headings.
    The headings of any paragraph of this Amendment are for convenience only and shall not be used to interpret any provision hereof.

  

  

  (c)           Modifications. No modification hereof or any agreement referred to herein shall be binding or enforceable unless in writing and signed on behalf of the party
      against whom enforcement is sought.

  

  

  (d)           Governing Law. The terms and conditions of this Amendment shall, in accordance with Section 5-1401 of the General Obligations Law of the State of New York, be
      governed by the laws of the State of New York without regard to any conflicts of laws principles.

  

  

  (e)           Counterparts. This Amendment may be executed in any number of and by different parties hereto on separate counterparts, all of which, when so executed, shall be
      deemed an original, but all such counterparts shall constitute one and the same agreement. Any signature delivered by a party by facsimile or pdf transmission shall be deemed to be an original signature hereto.

  

  

  [signature page follows]

   

  
    -4-

    
      

    

  

  IN WITNESS WHEREOF, the parties have caused this Amendment to be executed and delivered by their duly authorized officers as of the date first above written.

   

  	
          BORROWERS:

        	 
	 	 	 
	
          TRG CUSTOMER SOLUTIONS, INC.

        	 
	 	 	 
	
          By:

        	
          /s/ Stephen M. Kezirian

        	 
	 	
          Name: Stephen M. Kezirian

        	 
	 	
          Title: Chief Executive Officer

        	 


   

  	
          PNC BANK, NATIONAL ASSOCIATION

        	 
	
          as Lender and as Agent

        	 
	 	 	 
	
          By:

        	
          /s/ Jacqueline MacKenzie

        	 
	 	
          Jacqueline MacKenzie, Vice President

        	 


   

  [SIGNATURE PAGE TO FIRST AMENDMENT TO REVOLVING CREDIT AND SECURITY AGREEMENT]

   

  
    
      

    

  

  
    IN WITNESS WHEREOF, the parties have caused this Amendment to be executed and delivered by their duly authorized officers as of the date first above written.

     

    	
            BORROWERS:

          	 
	 	 	 
	
            TRG CUSTOMER SOLUTIONS, INC.

          	 
	 	 	 
	
            By:

          	
            /s/ Stephen M. Kezirian

          	 
	 	
            Name: Stephen M. Kezirian

          	 
	 	
            Title: Chief Executive Officer

          	 


     

    	
            PNC BANK, NATIONAL ASSOCIATION

          	 
	
            as Lender and as Agent

          	 
	 	 	 
	
            By:

          	
            /s/ Jacqueline MacKenzie

          	 
	 	
            Jacqueline MacKenzie, Vice President

          	 


     

    [SIGNATURE PAGE TO FIRST AMENDMENT TO REVOLVING CREDIT AND SECURITY AGREEMENT]