You can use FFmpeg encoder and video converter tool for Mac, Windows and Linux to convert H.264 video data to ASF video format. Install FFmpeg and type to command line:
ffmpeg -i /path/to/your/file.h264 -vcodec copy -acodec copy /path/to/your/newfile.asf