-
-
[求助]请教这是什么计算公式
-
发表于: 2017-7-6 22:27 2694
-
哪位能看出来,这个算法公式
004DFBBD /$ 55 PUSH EBP
004DFBBE |. 8BEC MOV EBP, ESP
004DFBC0 |. 83EC 14 SUB ESP, 0x14
004DFBC3 |. 837D 10 00 CMP [ARG.3], 0x0
004DFBC7 |. 7D 05 JGE SHORT ML.004DFBCE
004DFBC9 |. E9 1C010000 JMP ML.004DFCEA
004DFBCE |> 8B45 0C MOV EAX, [ARG.2]
004DFBD1 |. 8B08 MOV ECX, DWORD PTR DS:[EAX]
004DFBD3 |. 81E1 07000080 AND ECX, 0x80000007
004DFBD9 |. 79 05 JNS SHORT ML.004DFBE0
004DFBDB |. 49 DEC ECX
004DFBDC |. 83C9 F8 OR ECX, 0xFFFFFFF8
004DFBDF |. 41 INC ECX
004DFBE0 |> BA 08000000 MOV EDX, 0x8
004DFBE5 |. 2BD1 SUB EDX, ECX
004DFBE7 |. 8955 F0 MOV [LOCAL.4], EDX
004DFBEA |. 837D F0 05 CMP [LOCAL.4], 0x5
004DFBEE |. 7E 07 JLE SHORT ML.004DFBF7
004DFBF0 |. C745 F0 05000>MOV [LOCAL.4], 0x5
004DFBF7 |> B8 08000000 MOV EAX, 0x8
004DFBFC |. 2B45 F0 SUB EAX, [LOCAL.4]
004DFBFF |. 8B4D 0C MOV ECX, [ARG.2]
004DFC02 |. 8B11 MOV EDX, DWORD PTR DS:[ECX]
004DFC04 |. 81E2 07000080 AND EDX, 0x80000007
004DFC0A |. 79 05 JNS SHORT ML.004DFC11
004DFC0C |. 4A DEC EDX
004DFC0D |. 83CA F8 OR EDX, 0xFFFFFFF8
004DFC10 |. 42 INC EDX
004DFC11 |> 2BC2 SUB EAX, EDX
004DFC13 |. 8945 F8 MOV [LOCAL.2], EAX
004DFC16 |. 8B45 0C MOV EAX, [ARG.2]
004DFC19 |. 8B00 MOV EAX, DWORD PTR DS:[EAX]
004DFC1B |. 99 CDQ
004DFC1C |. 83E2 07 AND EDX, 0x7
004DFC1F |. 03C2 ADD EAX, EDX
004DFC21 |. C1F8 03 SAR EAX, 0x3
004DFC24 |. 8945 FC MOV [LOCAL.1], EAX
004DFC27 |. 8B4D F0 MOV ECX, [LOCAL.4]
004DFC2A |. 51 PUSH ECX
004DFC2B |. E8 BE000000 CALL ML.004DFCEE ; EAX=2^ECX-1
004DFC30 |. 83C4 04 ADD ESP, 0x4
004DFC33 |. B9 05000000 MOV ECX, 0x5
004DFC38 |. 2B4D F0 SUB ECX, [LOCAL.4]
004DFC3B |. D3E0 SHL EAX, CL
004DFC3D |. 8B55 10 MOV EDX, [ARG.3]
004DFC40 |. 23D0 AND EDX, EAX
004DFC42 |. B9 05000000 MOV ECX, 0x5
004DFC47 |. 2B4D F0 SUB ECX, [LOCAL.4]
004DFC4A |. D3FA SAR EDX, CL
004DFC4C |. 8955 F4 MOV [LOCAL.3], EDX
004DFC4F |. 8B45 F4 MOV EAX, [LOCAL.3]
004DFC52 |. 8B4D F8 MOV ECX, [LOCAL.2]
004DFC55 |. D3E0 SHL EAX, CL
004DFC57 |. 8B4D 08 MOV ECX, [ARG.1]
004DFC5A |. 034D FC ADD ECX, [LOCAL.1]
004DFC5D |. 8A11 MOV DL, BYTE PTR DS:[ECX]
004DFC5F |. 0AD0 OR DL, AL
004DFC61 |. 8B45 08 MOV EAX, [ARG.1]
004DFC64 |. 0345 FC ADD EAX, [LOCAL.1]
004DFC67 |. 8810 MOV BYTE PTR DS:[EAX], DL
004DFC69 |. 8B4D 0C MOV ECX, [ARG.2]
004DFC6C |. 8B11 MOV EDX, DWORD PTR DS:[ECX]
004DFC6E |. 0355 F0 ADD EDX, [LOCAL.4]
004DFC71 |. 8B45 0C MOV EAX, [ARG.2]
004DFC74 |. 8910 MOV DWORD PTR DS:[EAX], EDX
004DFC76 |. 837D F0 05 CMP [LOCAL.4], 0x5
004DFC7A |. 7D 6E JGE SHORT ML.004DFCEA
004DFC7C |. B9 05000000 MOV ECX, 0x5
004DFC81 |. 2B4D F0 SUB ECX, [LOCAL.4]
004DFC84 |. 894D EC MOV [LOCAL.5], ECX
004DFC87 |. BA 08000000 MOV EDX, 0x8
004DFC8C |. 2B55 EC SUB EDX, [LOCAL.5]
004DFC8F |. 8955 F8 MOV [LOCAL.2], EDX
004DFC92 |. 8B45 FC MOV EAX, [LOCAL.1]
004DFC95 |. 83C0 01 ADD EAX, 0x1
004DFC98 |. 8945 FC MOV [LOCAL.1], EAX
004DFC9B |. 8B4D EC MOV ECX, [LOCAL.5]
004DFC9E |. 51 PUSH ECX
004DFC9F |. E8 4A000000 CALL ML.004DFCEE ; EAX=2^ECX-1
004DFCA4 |. 83C4 04 ADD ESP, 0x4
004DFCA7 |. B9 05000000 MOV ECX, 0x5
004DFCAC |. 2B4D EC SUB ECX, [LOCAL.5]
004DFCAF |. D3E0 SHL EAX, CL
004DFCB1 |. B9 05000000 MOV ECX, 0x5
004DFCB6 |. 2B4D EC SUB ECX, [LOCAL.5]
004DFCB9 |. D3F8 SAR EAX, CL
004DFCBB |. 8B55 10 MOV EDX, [ARG.3]
004DFCBE |. 23D0 AND EDX, EAX
004DFCC0 |. 8955 F4 MOV [LOCAL.3], EDX
004DFCC3 |. 8B45 F4 MOV EAX, [LOCAL.3]
004DFCC6 |. 8B4D F8 MOV ECX, [LOCAL.2]
004DFCC9 |. D3E0 SHL EAX, CL
004DFCCB |. 8B4D 08 MOV ECX, [ARG.1]
004DFCCE |. 034D FC ADD ECX, [LOCAL.1]
004DFCD1 |. 8A11 MOV DL, BYTE PTR DS:[ECX]
004DFCD3 |. 0AD0 OR DL, AL
004DFCD5 |. 8B45 08 MOV EAX, [ARG.1]
004DFCD8 |. 0345 FC ADD EAX, [LOCAL.1]
004DFCDB |. 8810 MOV BYTE PTR DS:[EAX], DL
004DFCDD |. 8B4D 0C MOV ECX, [ARG.2]
004DFCE0 |. 8B11 MOV EDX, DWORD PTR DS:[ECX]
004DFCE2 |. 0355 EC ADD EDX, [LOCAL.5]
004DFCE5 |. 8B45 0C MOV EAX, [ARG.2]
004DFCE8 |. 8910 MOV DWORD PTR DS:[EAX], EDX
004DFCEA |> 8BE5 MOV ESP, EBP
004DFCEC |. 5D POP EBP
004DFCED \. C3 RETN
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课
赞赏
- [求助]请教大神,这是什么算法 3786
- [求助]请教这是什么计算公式 2695
- [求助]明显的SHA加密,手工算出的结果怎么对不上 3775
- [求助]Flexlm难题 4760
- RSA加密密文的长度不是固定的吗? 19759