Birational geometry and regulous functions