libmwemu 0.24.5

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

pub fn GetThreadLocale(emu: &mut emu::Emu) {
    log_red!(emu, "kernel32!GetThreadLocale");
    //emu.regs_mut().rax = constants::LOCALE_USER_DEFAULT; // TODO: 0x400 LOCALE_USER_DEFAULT or 0x409?
    emu.regs_mut().rax = 0x409; // English (United States)
}