├── .gitignore ├── .idea ├── .gitignore ├── inspectionProfiles │ ├── Project_Default.xml │ └── profiles_settings.xml ├── misc.xml ├── modules.xml ├── revenge.iml └── vcs.xml ├── LICENSE ├── README.md └── passes ├── __init__.py ├── all_pass.py ├── base_pass.py ├── combine_pass.py ├── constant_propagation.py ├── dead_store_elimination_pass.py ├── double_xchg_pass.py ├── fuse_lea_pass.py ├── indirect_mov_pass.py ├── indirect_pop_pass.py ├── indirect_push_pass.py ├── indirect_sp_add_pass.py ├── indirect_sp_sub_pass.py ├── indirect_stack_move_pass.py ├── indirect_xchg_pass_1.py ├── indirect_xchg_pass_2.py ├── indirect_xchg_pass_3.py ├── lea_create_pass.py ├── pop_esp_pass.py ├── push_esp_pass.py ├── sandwich_arithmetic_pass.py ├── sandwich_arithmetic_pass_2.py ├── sandwich_arithmetic_pass_3.py ├── sandwich_arithmetic_pass_stack.py ├── stack_neg_pass.py ├── stack_neg_pass_2.py ├── validation.py └── zero_pass.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/.gitignore -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- 1 | # Default ignored files 2 | /shelf/ 3 | /workspace.xml 4 | -------------------------------------------------------------------------------- /.idea/inspectionProfiles/Project_Default.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/.idea/inspectionProfiles/Project_Default.xml -------------------------------------------------------------------------------- /.idea/inspectionProfiles/profiles_settings.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/.idea/inspectionProfiles/profiles_settings.xml -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/.idea/misc.xml -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/.idea/modules.xml -------------------------------------------------------------------------------- /.idea/revenge.iml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/.idea/revenge.iml -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/.idea/vcs.xml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # themdem 2 | 3 | Themida Demutator 4 | -------------------------------------------------------------------------------- /passes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/__init__.py -------------------------------------------------------------------------------- /passes/all_pass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/all_pass.py -------------------------------------------------------------------------------- /passes/base_pass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/base_pass.py -------------------------------------------------------------------------------- /passes/combine_pass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/combine_pass.py -------------------------------------------------------------------------------- /passes/constant_propagation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/constant_propagation.py -------------------------------------------------------------------------------- /passes/dead_store_elimination_pass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/dead_store_elimination_pass.py -------------------------------------------------------------------------------- /passes/double_xchg_pass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/double_xchg_pass.py -------------------------------------------------------------------------------- /passes/fuse_lea_pass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/fuse_lea_pass.py -------------------------------------------------------------------------------- /passes/indirect_mov_pass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/indirect_mov_pass.py -------------------------------------------------------------------------------- /passes/indirect_pop_pass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/indirect_pop_pass.py -------------------------------------------------------------------------------- /passes/indirect_push_pass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/indirect_push_pass.py -------------------------------------------------------------------------------- /passes/indirect_sp_add_pass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/indirect_sp_add_pass.py -------------------------------------------------------------------------------- /passes/indirect_sp_sub_pass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/indirect_sp_sub_pass.py -------------------------------------------------------------------------------- /passes/indirect_stack_move_pass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/indirect_stack_move_pass.py -------------------------------------------------------------------------------- /passes/indirect_xchg_pass_1.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/indirect_xchg_pass_1.py -------------------------------------------------------------------------------- /passes/indirect_xchg_pass_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/indirect_xchg_pass_2.py -------------------------------------------------------------------------------- /passes/indirect_xchg_pass_3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/indirect_xchg_pass_3.py -------------------------------------------------------------------------------- /passes/lea_create_pass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/lea_create_pass.py -------------------------------------------------------------------------------- /passes/pop_esp_pass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/pop_esp_pass.py -------------------------------------------------------------------------------- /passes/push_esp_pass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/push_esp_pass.py -------------------------------------------------------------------------------- /passes/sandwich_arithmetic_pass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/sandwich_arithmetic_pass.py -------------------------------------------------------------------------------- /passes/sandwich_arithmetic_pass_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/sandwich_arithmetic_pass_2.py -------------------------------------------------------------------------------- /passes/sandwich_arithmetic_pass_3.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/sandwich_arithmetic_pass_3.py -------------------------------------------------------------------------------- /passes/sandwich_arithmetic_pass_stack.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/sandwich_arithmetic_pass_stack.py -------------------------------------------------------------------------------- /passes/stack_neg_pass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/stack_neg_pass.py -------------------------------------------------------------------------------- /passes/stack_neg_pass_2.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/stack_neg_pass_2.py -------------------------------------------------------------------------------- /passes/validation.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/validation.py -------------------------------------------------------------------------------- /passes/zero_pass.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/generic-trash/themdem/HEAD/passes/zero_pass.py --------------------------------------------------------------------------------