A 40-year-old male with a 2-year history of cirrhosis presents with fever and abdominal pain for 2 weeks. Physical examination reveals a temperature of 38°C and generalized abdominal tenderness. Follow-up shows progressive ascites. Which test should be performed first to confirm the diagnosis?