Analyze Real Cases Like a Judge: Uncover the Logic Behind Legal Decisions