Replace argparse with my own argument parsing code
Fix segfault in PE module