Can't open EA app or the Sims 4 app
A few days ago the EA app icon became grey with a line over it and when I clicked it I got a message saying "You can't open the application because it may be damaged or incomplete". I tried to restart and update my Macbook but it still didn't let me open the app. What's weird is that I could still play the sims through the sims app in my launchpad and when I did that it would also open the EA app. I also repaired my game and it was working normal for around 4 or 5 days till I get this message when I try to launch the sims app "Origin is not installed, and is required to play your game. Please reinstall Origin". I don't know how to fix it and i've looked up solutions here and on youtube and other sites but I can't find a way. I also read that I can try to delete the ea app and redownload it but I'm hesitant to do it because I use an external hard drive and I don't know if it will mess up my game or the settings on it.
I also wanna include that about a week ago I downloaded 2 lots on Mediafire and I got a pop up ad and when I was opening my game I got a notification from my virus protection saying "Harmful file blocked" and the reason was malware, but my game still worked like normal so I don't know if it has anything to do with the problem.