Whoever intentionally performs the functions of a public officer without having executed and duly filed the required security is guilty of a misdemeanor.