-
-
[分享]QWORD按位镜像(加密用)
-
发表于:
2024-9-14 22:24
2649
-
QwordMirror proc dqSrc:QWORD
mov rax,dqSrc
bswap rax
mov rdx,0000111100001111000011110000111100001111000011110000111100001111b
and rdx,rax
mov rcx,01111000011110000111100001111000011110000111100001111000011110000b
and rax,rcx
shl rdx,4
shr rax,4
or rax,rdx
mov rdx,0011001100110011001100110011001100110011001100110011001100110011b
and rdx,rax
mov rcx,01100110011001100110011001100110011001100110011001100110011001100b
and rax,rcx
shr rax,2
lea rax,[rdx*4+rax]
mov rdx,0101010101010101010101010101010101010101010101010101010101010101b
and rdx,rax
mov rcx,01010101010101010101010101010101010101010101010101010101010101010b
and rax,rcx
shr rax,1
lea rax,[rdx*2+rax]
ret
QwordMirror endp
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!
最后于 2024-9-14 22:38
被sixL编辑
,原因: a