Simulation of electromagnetic pulses generated by escaped electrons in a high-power laser chamber