Given triangle $ABC$ inscribed $(O)$. Let $I$ be the incenter and $D$ be the contact point of $(I)$ with $BC$. $AD$ intersect $(O)$ at the second point $E$. Let $M$ be the midpoint of $BC$ and $N$ the midpoint of arc $BAC$. Let $EN$ intersect $(BIC)$ at $P$ ($P$ lies inside $ABC$). Prove $\angle IPM=90^o$

I think it's just angle chasing, but it's hard to approach. I don't know what properties the construction of $E$ made ?

Proof
The following statements will use some well-known facts, for example, the center of the circle $(BIC)$ is the midpoint of the arc $\widehat{BEC}$ and so on. For convenience, we omit the proofs for them.
Let $NE$ intersect $ID$ at the point $K$. It's easy to find $\angle AIK=\angle AEK$. Thus $A,I,E,K$ are concyclic. Hence $$BD \cdot DC=AD \cdot DE=ID \cdot DK,$$which shows that $B,I,C,K$ are also concyclic, namely, $K$ lies on the circle $(BIC)$.
Moreover, we may notice that $NC,NB$ are the tangents to the circle $(BIC)$. Therefore, $BPCK$ is a harmonic quadrilateral. Since $M$ is the midpoint of the diagonal $BC$, we may claim that $$\triangle BPM \sim \triangle KPC.$$ Therefore, $$\angle IPM=\angle IPB+\angle BPM=\angle IPB+\angle KPC=\angle IKB+\angle KBC=90^o.$$