算法变换下
004500F5 |> \8B45 F4 mov eax, dword ptr [ebp-C]
004500F8 |. 0FB600 movzx eax, byte ptr [eax]
004500FB |. 8B55 F4 mov edx, dword ptr [ebp-C]
004500FE |. 0FB652 05 movzx edx, byte ptr [edx+5]
00450102 |. 03C2 add eax, edx
00450104 |. 83F8 6D cmp eax, 6D ; 两数之和为13
00450107 |. 75 69 jnz short 00450172
00450109 |. 8B45 F4 mov eax, dword ptr [ebp-C]
0045010C |. 0FB640 01 movzx eax, byte ptr [eax+1]
00450110 |. 8B55 F4 mov edx, dword ptr [ebp-C]
00450113 |. 0FB652 06 movzx edx, byte ptr [edx+6]
00450117 |. 03C2 add eax, edx
00450119 |. 83F8 67 cmp eax, 67 ; 两数之和为7
0045011C |. 75 54 jnz short 00450172
0045011E |. 8B45 F4 mov eax, dword ptr [ebp-C]
00450121 |. 0FB640 02 movzx eax, byte ptr [eax+2]
00450125 |. 8B55 F4 mov edx, dword ptr [ebp-C]
00450128 |. 0FB652 07 movzx edx, byte ptr [edx+7]
0045012C |. 03C2 add eax, edx
0045012E |. 83F8 69 cmp eax, 69 ; 两数之和为9
00450131 |. 75 3F jnz short 00450172
00450133 |. 8B45 F4 mov eax, dword ptr [ebp-C]
00450136 |. 0FB640 03 movzx eax, byte ptr [eax+3]
0045013A |. 8B55 F4 mov edx, dword ptr [ebp-C]
0045013D |. 0FB652 08 movzx edx, byte ptr [edx+8]
00450141 |. 03C2 add eax, edx
00450143 |. 83F8 70 cmp eax, 70 ; 两数之和为16
00450146 |. 75 2A jnz short 00450172
00450148 |. 8B45 F4 mov eax, dword ptr [ebp-C]
0045014B |. 0FB640 04 movzx eax, byte ptr [eax+4]
0045014F |. 8B55 F4 mov edx, dword ptr [ebp-C]
00450152 |. 0FB652 09 movzx edx, byte ptr [edx+9]
00450156 |. F7EA imul edx
00450158 |. 3D 8C0A0000 cmp eax, 0A8C ; 两数HEX之积为0xA8C(则只能是2和6了)
0045015D |. 75 13 jnz short 00450172
注册机垃圾代码
procedure TForm1.Button1Click(Sender: TObject);
var
s1,s2,s3,s4,s5,s6,s7,s8,s9,s10:Integer;
begin
randomize();
s1:=random(6)+4;
s6:=13-s1;
randomize();
s2:=random(7)+1;
s7:=7-s2;
randomize();
s3:=random(9)+1;
s8:=9-s3;
s4:=random(2)+7;
s9:=16-s4;
s5:=2;
s10:=6;
edit1.text:=inttostr(s1)+inttostr(s2)+inttostr(s3)+inttostr(s4)+inttostr(s5)+inttostr(s6)+inttostr(s7)+inttostr(s8)+inttostr(s9)+inttostr(s10);
end
上传的附件: