it is masculine. The accusative case of 'crooked' (ʿiwajan) is in the state of being a circumstantial qualifier (ḥāl).
Surah Ibrahim from verse (4) to verse (6).