The Subjunctive mood can be used in adverbial clauses of comparison introduced by the conjunctions as if or as though.

He behaves as if he were my worst enemy.
Он ведет себя так, как будто он мой злейший враг.

She behaves as if she had some rights for my money.
Она ведет себя так, как будто у нее есть права на мои деньги.

I feel as if something terrible had happened to him.
У меня такое чувство как будто с ним что-то случилось.

The use of the Subjunctive mood here coincides with that in object clauses after the verb to wish (see here).