When I was a wee boy I remember my grandpa would joke as we drove past this place that we would send him here one day. I always guessed it was some sort of hospital, and when I recently asked my dad about it he called it The Puir's Hoose — the poorhouse.
It seems that is exactly what it was originally — http://www.workhouses.org.uk/Cunninghame/
I don't think the facade is there anymore as the last time I drove past there was a new housing development on the site.