Great look into the reversing techniques.
Albeit "defeated" is a strong word considering the RSA encryption is still intact - and thus only able to decrypt files larger than, and in range starting from, 1024 bytes.
It recovers potentially large portions, but if your file format can not function without a working header, you're out of luck.