A 55-year-old man is evaluated for a 3-month history of cough and unexplained weight loss and a 2-week history of shortness of breath. He has never smoked cigarettes.
On physical examination, vital signs are normal. Breath sounds are decreased, and there is dullness to percussion over the right lung field. Examination findings are otherwise unremarkable.
Chest radiograph shows a right pleural effusion and right hilar mass. CT scan of the chest reveals a large right pleural effusion, a right upper lobe mass with associated consolidation, hilar and mediastinal lymphadenopathy, and an irregular right adrenal mass. A CT-guided transthoracic biopsy of the right upper lobe mass shows adenocarcinoma.
Which of the following is the most appropriate management?