https://github.com/dehoisted/Bat2Exe/blame/1bad39030b41a75716eadae34369acc9d2ba66de/Source/CMethods.cs#L21
Can you explain why you did that except for making the code highly unreadable I don't see how it's doing any good.
and AV blocking your files altogether doesn't give much confidence either.