The Approximate Ruin Function for A Risk Process with Compounding Assets