本帖最后由 以南 于 2021-7-5 22:25 编辑
[Asm] 纯文本查看 复制代码 .CODE
dec_gnames1 PROC
PUSH RBX
PUSH RSI
PUSH RDI
PUSH R8
PUSH R9
PUSH R10
PUSH R11
PUSH R12
PUSH R13
PUSH R14
PUSH R15
PUSH RBP
SUB RSP,0200H
MOV RBP,RSP
MOV RDX,RCX
mov eax,edx
not eax
add eax,009D88A8FH
not eax
add eax,06DCD1903H
not eax
sub eax,067277571H
xor eax,09232E6FCH
mov [rsp+50H],eax
shr rdx,20H
not edx
add edx,07A79D578H
not edx
sub edx,013DD131DH
not edx
add edx,00979D578H
xor edx,0EC22ECE2H
mov [rsp+54H],edx
mov rax,[rsp+50H]
ADD RSP,0200H
POP RBP
POP R15
POP R14
POP R13
POP R12
POP R11
POP R10
POP R9
POP R8
POP RDI
POP RSI
POP RBX
RET
dec_gnames1 ENDP
END
x64内联的文件的添加和设置,你百度一下,我忘记了,太久没写了。写法大概就是这样。然后再调用这个函数就好了。 |