逆向时如果见到这种代码,记住这是 strlen:
0040251B |. 33C0 xor eax,eax ; search NULL
0040251D |. F2:AE repne scas byte ptr es:[edi] ; search...
0040251F |. F7D1 not ecx ; Lab09-01.0040C210
00402521 |. 83C1 FF add ecx,-0x1 ; calc key len