Can't say for certain anything has even been maintained for CPU mining, odds are if you find something that looks maintained and easy it's going to be malware.
I recall mining on a video card with this 1000 years ago when it was the standard, probably the best place to start if you're just doing it for the research:
btcd
might also still have the CPU miner in it, or there's like 2012 archive versions of bitcoin core