crypt32: Split querying PKCS messages into helper functions.