| 子程序名 | 返回值类型 | 公开 | 备 注 | ||||
| MoveMemory | 移动内存 无返回值 | ||||||
| 参数名 | 类 型 | 参考 | 可空 | 数组 | 备 注 | ||
| Destination | 整数型 | 目标指针 | Source | 整数型 | 源指针 | Length | 整数型 | 长度 |
' mov esp,ebp
' pop ebp
' push esi
' push edi
' mov esi,dword [esp 0x10]
' mov edi,dword [esp 0x0C]
' mov ecx,dword [esp 0x14]
' cld
' cmp esi,edi
' jna label1
' label4:
' mov edx,ecx
' and edx,0x03
' shr ecx,0x02
' repe movsd
' or ecx,edx
' jne label2
' pop edi
' pop esi
' retn 0x000C
' label2:
' repe movsb
' label3:
' pop edi
' pop esi
' retn 0x000C
' label1:
' je label3
' mov eax,edi
' sub eax,esi
' cmp ecx,eax
' jna label4
' std
' add esi,ecx
' add edi,ecx
' dec esi
' dec edi
' repe movsb
' cld
' jmp label3
' nop
' }
置入代码 ({ 137, 236, 93, 86, 87, 139, 116, 36, 16, 139, 124, 36, 12, 139, 76, 36, 20, 252, 57, 254, 118, 26, 137, 202, 131, 226, 3, 193, 233, 2, 243, 165, 9, 209, 117, 5, 95, 94, 194, 12, 0, 243, 164, 95, 94, 194, 12, 0, 116, 249, 137, 248, 41, 240, 57, 193, 118, 220, 253, 1, 206, 1, 207, 78, 79, 243, 164, 252, 235, 229, 144 })
词条作者信息 使用例程
