.data
base64table db 43 dup (255)
db 62,255,255,255,63,52,53,54,55,56,57,58,59,60,61,255
db 255,255,0,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13
db 14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255
db 255,255,26,27,28,29,30,31,32,33,34,35,36,37,38
db 39,40,41,42,43,44,45,46,47,48,49,50,51
db 132 dup (255)
;错误处理
.if (_lpszSrc==NULL)||(_lpszDst==NULL)||(_dwSrcLen==0)
xor eax,eax
dec eax
ret
.endif
mov eax,_dwSrcLen
and eax,11b
.if eax != 0
xor eax,eax
dec eax
ret
.endif