εἰς ἀσεβείαν γράφειν. This is Mai’s reading. Cf. ἀσεβείας γραφή. The active (instead of middle) in this sense is found in Aristoph. Av. 1052: the passive is not infrequent in Demosthenes and Æschines.