Levels of serum S100B are associated with cognitive dysfunction in patients with type 2 diabetes. The gene discussed is S100B; the disease is type 2 diabetes mellitus.