libmwemu 0.24.0

x86 32/64bits and system internals emulator, for securely emulating malware and other stuff.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use crate::constants;
use crate::emu;

pub fn GetVersion(emu: &mut emu::Emu) {
    emu.regs_mut().rax = constants::VERSION;
    log_red!(
        emu,
        "kernel32!GetVersion   =0x{:x}",
        emu.regs().get_eax() as u32
    );
}