My vague understanding of the sentence is akin to "Ill prepared defenses. If they are attempting to catch me with that, they are looking down on me."
However grammar wise, I'm not really sure how ようとは is interacting with he passive here? "Attempting to look down on me by attempting to catch me with that?" Why とは?
Is this an if form or an "attempt to do x"?