Simulation of CMYK color space based on icc profile
The issue here is understanding what simulate would mean. CMYK nor RGB are colour spaces per se, but rather colour encoding models.

This sort of a question would mean going through all of the nuances that may be in an ICC profile and simulating the resultant output on screen as though it were paper. This would be a dark labyrinth of colour primaries conversions from reference space to destination, illuminants, TACs, BPCs, etc.

Best advice is to learn Argyll and use that.