本帖最后由 jixun66 于 2022-3-23 04:15 编辑
使用 FASM 编译,运行后移除美式键盘。原理一样,单文件。
[Asm] 纯文本查看 复制代码 format PE GUI 4.0
entry start
include 'win32a.inc'
section '.text' code readable executable
start:
invoke LoadKeyboardLayout, str_us_keyboard, 1
invoke UnloadKeyboardLayout, eax
exit:
invoke ExitProcess, 0
str_us_keyboard:
db "00000409", 0
section '.idata' import data readable writeable
library kernel,'KERNEL32.DLL',\
user32,'USER32.DLL'
import kernel,\
ExitProcess,'ExitProcess'
import user32,\
LoadKeyboardLayout,'LoadKeyboardLayoutA',\
UnloadKeyboardLayout,'UnloadKeyboardLayout'
RemoveUSKeyboardLayout-v1.0.zip
(515 Bytes, 下载次数: 45)
|