A person who annoyingly tries too hard to impress with their cleverness; a clever dick.
A person who talks excessively about themself.
A person who believes in his or her own importance or superiority.
An egoist (advocate of egoism).