最近在学习逆向,谁能帮忙分析下段代码的具体算法是什么?谢谢了。
004A59FB |. BE 01000000 MOV ESI,1
004A5A00 |> 8B45 FC /MOV EAX,DWORD PTR SS:[EBP-4]
004A5A03 |. 0FB65C30 FF |MOVZX EBX,BYTE PTR DS:[ESI+EAX-1]
004A5A08 |. 80FB 2D |CMP BL,2D
004A5A0B |. 74 39 |JE SHORT 004A5A46
004A5A0D |. 0FB6C3 |MOVZX EAX,BL
004A5A10 |. 8D56 01 |LEA EDX,[ESI+1]
004A5A13 |. 8D1452 |LEA EDX,[EDX*2+EDX]
004A5A16 |. 8BCA |MOV ECX,EDX
004A5A18 |. 03D2 |ADD EDX,EDX
004A5A1A |. 03D2 |ADD EDX,EDX
004A5A1C |. 03D2 |ADD EDX,EDX
004A5A1E |. 2BD1 |SUB EDX,ECX
004A5A20 |. 33C2 |XOR EAX,EDX
004A5A22 |. B9 23000000 |MOV ECX,23
004A5A27 |. 99 |CDQ
004A5A28 |. F7F9 |IDIV ECX
004A5A2A |. 8BDA |MOV EBX,EDX
004A5A2C |. 8D45 F0 |LEA EAX,[EBP-10]
004A5A2F |. 0FB6541F 08 |MOVZX EDX,BYTE PTR DS:[EBX+EDI+8]
[注意]传递专业知识、拓宽行业人脉——看雪讲师团队等你加入!