A frail elderly male with a history of sun exposure and rough, scaly, brownish lesions on the face, ears, and hands presents with a firm erythematous, ulcerated nodule on the dorsal surface of the hand. The most likely diagnosis is:
a) Sebaceous hyperplasia
b) Melanoma
c) Seborrheic keratosis
d) Squamous cell carcinoma