My friend has some problems'92 civic ex

All right im almost a hundred perecent positive his car is an ex ive only spoke to him over the phone but from what he described to me i.e. sunroof factory power everything....and seeing how from what ive researched lx's didnt get sunroofs till 94-95 im concludeing this is a 1992 honda civic ex 4dr.....auto
But anyhow has some problems and i have some ideas but im wondering if you guys may know of anything else it might possibly be.....
So he explains sometimes it will run fine but then (im thinking when she heats up)during the drive or when he gives it some gas it bogs down and sometimes starts running rough stalls out and wont start......
So my first thought fuel issue?....
His father recently replaced the fuel filter so yea and since its running im thinking no need for fuel pump issues as it wouldnt start perod if that was the case or be drivable....
So now my thought is the Dizzy (cant remember the peice its called that tends to go in our cars but yea im thinking its that....) or plug wires arching out possibly not a 100% sure im giving him a link to this site but yea he might give me the job of working on it and i wish to check everything i possibly can or at least inform him to the best of my abilities. so if anyone else has any suggestions please let me know....
Thanks
P.s. yes he has a check engine light im going to see if he can get me the code etc...
But anyhow has some problems and i have some ideas but im wondering if you guys may know of anything else it might possibly be.....
So he explains sometimes it will run fine but then (im thinking when she heats up)during the drive or when he gives it some gas it bogs down and sometimes starts running rough stalls out and wont start......
So my first thought fuel issue?....
His father recently replaced the fuel filter so yea and since its running im thinking no need for fuel pump issues as it wouldnt start perod if that was the case or be drivable....
So now my thought is the Dizzy (cant remember the peice its called that tends to go in our cars but yea im thinking its that....) or plug wires arching out possibly not a 100% sure im giving him a link to this site but yea he might give me the job of working on it and i wish to check everything i possibly can or at least inform him to the best of my abilities. so if anyone else has any suggestions please let me know....
Thanks
P.s. yes he has a check engine light im going to see if he can get me the code etc...