A 62-year-old man is admitted to the hospital for a 6-week history of progressive cough, hemoptysis, and shortness of breath. Prior to the onset of symptoms, he reports feeling well except for some difficulty rising out of a chair and walking up a flight of stairs because of lower extremity weakness. He has a 50-pack-year history of cigarette smoking. He has no other medical problems and takes no medications.

On physical examination, temperature is 37.6 °C (99.7 °F), blood pressure is 140/84 mm Hg, pulse rate is 102/min, respiration rate is 14/min, and oxygen saturation is 90% breathing ambient air; BMI is 30. Cardiovascular and pulmonary examination findings are unremarkable. On neurologic examination, he has symmetric proximal muscle weakness in both his upper and lower extremities. There is no palpable peripheral lymphadenopathy.

Chest radiograph shows a right hilar mass. Chest CT confirms an 8-cm right hilar mass adjacent to the mediastinum with bulky bilateral mediastinal lymphadenopathy.

Which of the following is the most likely diagnosis?