Skip to content

eersoy93/winexe32emu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

winexe32emu.py

32-bit Windows EXE emulator in Python. Written with GitHub Copilot.

winexe32emu 0.0.1 Fake Desktop Image

Installation

pip install -r requirements.txt

Usage

# Put EXE files in the c_drive/ folder
python winexe32emu.py hello_messagebox.exe

# With maximum instruction count
python winexe32emu.py hello_messagebox.exe -n 10000

# Set memory amount (MiB)
python winexe32emu.py hello_console.exe -m 256

# Run without GUI
python winexe32emu.py hello_console.exe --no-gui

# Also works with full path
python winexe32emu.py /path/to/file.exe

Folder Structure

  • c_drive/ - Put your EXE files here (default search path)
  • examples/ - Example C source codes
  • compile-examples.sh - Script to compile examples

Features

  • PE file loading and analysis
  • x86 CPU emulation (Unicorn)
  • Fake Windows desktop with Pygame
  • Basic Win32 API support (user32, kernel32, gdi32)
  • Console and GUI application support

Copyright and License

Copyright 2025 Erdem Ersoy (eersoy93)

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

A 32-bit Windows EXE emulator

Resources

License

Stars

Watchers

Forks

Packages

No packages published