Seize the day, enjoy my life!;

源代码免杀数字四引擎之自定义strlwr函数

2011-12-11

在过数字四引擎的时候 定位到了一个strlwr函数
原型:extern char *strlwr(char *s);
用法:#include
<string.h>
功能:将字符串s转换为小写形式

说明:只转换s中出现的大写字母,不改变其它字符。返回指向s的指针。
那么于是乎自定义去实现这个函数的用法

#include <stdio.h>

char* Mystrlwr(char
*s)
{

unsigned char AL;
register char *DX,*SI;
DX=SI=s;
while((AL=*SI++)!=’\0′)
{
AL-=’A';
if(AL>’Z'-’A')continue;
SI[-1]+=’a'-’A';

}
return DX;
}

经过测试 载入c32asm之后 搜索这个函数
没有了

同样可以达到目的 并且修改之后免杀了!

作者:admin | 分类目录:技术文章 | 标签:

2 条评论

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注

*

您可以使用这些 HTML 标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>