Need someone to educate me on 5.7's

Bought as a core, I believe it was probably removed from a wreck because it still has all the wiring on top. Probably would have been reused if it was a swap out. Trying to determine the feasibility of using this thing since all of the parts are so expensive. I have several 408's that make more horsepower but I think to get this thing up to 500 or more horsepower you would be up in the $10,000 + range at which point I can build a 572 Hemi and make a lot more power for a few dollars more. Maybe just do a mild rebuild and keep it in case the one in my daughters Challenger takes a dump or stick it in a truck body. I might just take it to Indy this weekend and try to get rid of it.