AMENDMENT NO. 4 TO ASSET-BASED REVOLVING CREDIT AGREEMENT AND AMENDMENT NO. 2 TO PLEDGE AND SECURITY AGREEMENT