Capabilities of LLM for Code Analysis: An Empirical Study