Harry Potter and the Philosopher's Stone
Chapter 17 [01:12:47] "Be that as it may, it was an extremely foolish things to do. I would have expected more rational behavior on your part and am very disappointed in you, Miss Granger. " (Professor McGonagall)
Be that as it may, it was an extremely foolish thing to do.
be that as it may は「それはともかく、仮にそうだとしても」というという成句です。
I would have expected more rational behavior on your part and am very disappointed in you.
would have exˈpected は内容語の expected だけに強勢があり、「ウラヴェクスぺテド」のようなリズムになります。
「would have + 過去分詞」はここでは仮定法というよりは「過去の時点での推量」を表しています。I would have expected more rational behavior on your part は「あなたにはもっと物事をわきまえた行動を期待していた (けれどもそうではなかった)。」です。
be disappointed in は「性格や中身にがっかりしている」です。