You can always choose BLAST to assign function to your unknown sequence. (also can try programs reciprocal blast for better conviction, inparanoid, RSD if query is proteins)
Sometimes, based on domains also, the functions can be assigned. (can try interproscan)
A tool called BLAST2GO has some easy to use features.
+1 for interproscan
Many thanks for your suggestions Prakki