4.
原代码:mov esi, eax
变形后的代码:
or esi, BD20817E
push eax //有效指令
rol esi, 9D
xor esi, [esp+8]
pop esi//有效指令
5.
mov esi, eax
变形后的代码:
sub esi, ecx
lea esi, [eax+2B]
lea esi, [esi+ebp-2B]
sub esi, ebp
6.
mov edi, eax
变形后的代码:
lea edi, [edx+edi*2+50]
adc edi, F299E634
lea edi, [eax+56] //edi =eax+56
lea edi, [edi+ecx-56] //edi=eax+56+ecx-56=eax+ecx
sub edi, ecx //edi=edi-ecx=eax+ecx-ecx=eax
7
mov edi, eax
变形后的代码:
lea edi, [ebx+ecx+48612E]
sub edi, ecx
xor edi, 1ABFD486
lea edi, [eax+ecx+39] //edi=eax+ecx+39
sub edi, ecx //edi=edi-ecx=eax+ecx+39-ecx=eax+39
lea edi, [edi-39] //edi=edi-39=eax+39-39=eax
8.
mov edi, eax
变形后的代码:
lea edi, [ebx+ecx+48612E]
sub edi, ecx
xor edi, 1ABFD486
lea edi, [eax+ecx+39]
sub edi, ecx
lea edi, [edi-39]
9.
原代码:
mov eax, 800
变形后的代码:
push ABCAA2A8
pushfw
push ebx
xor ebx, C567C100
and ebx, edi
lea ebx, [esp+69]
sub ebx, 69
prefix repne:
jmp L010
prefix rep:
L010:
add ebx, 6
mov dword ptr [ebx], 800 //有效指令
pop ebx
popfw
add eax, A38396E6
pop eax //有效指令
10
原代码:
mov ecx, edi
变形后的代码:
mov ecx, 42338A
mov ecx, 42A4FA
xor ecx, [esp+8]
mov ecx, 4780E2
rcr ecx, 0ED
lea ecx, [edi+eax+5C] //ecx=edi+eax+5C
sub ecx, eax //ecx=ecx-eax=edi+eax+5C-eax=edi+5C
lea ecx, [ecx-5C] //ecx=ecx-5c=edi+5C-5C=edi
sar eax, 5
and ecx, 1F
11
原代码:
mov edi, 405904
变形后的代码:
and edi, ebx
mov edi, 43FB92
ror edi, 0C5
lea edi, [ebp+esi*2+53]
lea edi, [eax+ecx+405904] //edi=eax+ecx+405904
sub edi, ecx //edi=edi-ecx=eax+ecx+405904-ecx=eax+405904
sub edi, eax //edi=edi-eax=eax+405904-eax=405904
19.
原代码:
mov ebp, esp
变形后的代码:
add ebp, ebx
mov ebp, 45A51E
mov ebp, [esp+10]
mov ebp, 4A54FE
mov ebp, 463636
lea ebp, [esp+esi+E] //ebp=esp+esi+E
push eax
push edx
push ecx
mov edx, 45F39E
mov edx, 447AD6
mov edx, 7DF8A705 //edx=7DF8A705
mov ecx, 4A86CA
mov ecx, 488942
mov ecx, edx //ecx=edx=7DF8A705
sub ecx, B783FC03 //ecx=ecx-B783FC03=7DF8A705-B783FC03=C674AB02
neg ecx //ecx=398B54FE
push ecx //398B54FE入栈
xor edx, [esp+8]
rcl edx, 0EB
pop edx //398B54FE出栈入edx中
add edx, 63BE880B //edx=edx+63BE880B=398B54FE+63BE880B=9D49DD09
xor eax, [esp+28]
rcl eax, 49
push edx //值9D49DD09入栈
sub eax, ebx
pop eax //值9D49DD09出栈进eax
xor eax, 62B622F9 //9D49DD09 XOR 62B622F9=FFFFFFF0
neg eax //eax=10
lea edx, [ebp+esi+6C] //edx=ebp+esi+6C
push eax //10入栈
push edi
mov eax, 93D3D3A9
xchg eax, edi
xor edi, 4B566F99
neg edi
sub edi, 6A63E261
neg edi
xchg edi, eax
sub eax, 42E99E29
dec eax
lea edx, [edx+eax*2+6A]
lea edx, [edx+ecx-6A]
sub edx, ecx
sub edx, eax
pop edi
pop eax
sub edx, esi
push eax
sbb edx, -17
ror edx, 7B
pop edx //10出栈放edx,edx=10
lea ebp, [ebp+edx+6F] //ebp=esp+esi+E+10+6F
lea ebp, [ebp+ecx-6F] //ebp=esp+esi+E+edx+6F+ecx-6F=esp+esi+E+10+ecx
sub ebp, ecx //ebp=ebp-ecx=esp+esi+E+edx+ecx-ecx=esp+esi+E+10
lea ecx, [ecx+edx*2+72]
lea ecx, [ecx+ebx-72]
sub ecx, ebx
pop ecx
xor edx, EF5EAB78
pop edx
add eax, [esp+38]
sbb eax, 2B
pop eax
sub ebp, esi //ebp=ebp-esi=esp+esi+E+edx-esi=esp+E+10=esp+1E
lea ebp, [ebp-1E] //ebp=ebp-1E=esp+1E-1E=esp
20.
原代码:push 004040D0
变形后的代码:
push -6
pushfw
push ebp
sub ebp, 61388612
mov ebp, esp
lea ebp, [ebp+ebx+6]
sub ebp, ebx
push 4040D0
pop dword ptr [ebp]
pop ebp
popfw
21.
原代码: push 00401ED4
变形后的代码:
push dword ptr [esp+14]
pushfw
push ecx
xor ecx, ebp
mov ecx, esp //ecx=esp
lea ecx, [ecx+edi+6] //ecx=ecx+edi+6=esp+edi+6
sub ecx, edi //ecx=ecx-edi=esp+edi+6-edi=esp+6
push edi
sub edi, -59
sub edi, -3D
lea edi, [eax+401ED4] //edi=eax+401ED4
sub edi, eax //edi=edi-eax=401ED4
mov [ecx], edi
pop edi
pop ecx //相当于mov [esp+6],401ED4
popfw
22.
原代码:push 100
变形后的代码:
push dword ptr fs:[0]
pushfw
push ecx
xor ecx, 428F6676
mov ecx, esp
lea ecx, [ecx+edi+6]
sub ecx, edi
push edi
sub edi, -57
mov edi, 46894A
adc edi, 1AA636D6
lea edi, [eax+ecx+100] //edi=eax+ecx+100
sub edi, ecx //edi=edi-ecx=eax+ecx+100-ecx=eax+100
sub edi, eax //edi=edi-eax=eax+100-eax=100
push edi
pop dword ptr [ecx]
pop edi
pop ecx
popfw