Firstly, if the solution to geometric Brownian motion is $S_t = S_0 \exp((r-\sigma^2)t + \sigma W_t$ then if I have a payment that is not necessarily a full call option e.g. if the exercise price $K$ is crossed then a payment of 5000 shares at the time is released if the stock price is greater than its initial value by 20% after 6 months, how does that arrive at $N(d_1)$ or $N(d_2)$? The connection I'm making here is that $d_1 = \dfrac{\ln(S_t/K) + (r - \sigma^2)\sqrt{t}}{\sigma \sqrt{t}}$ and so if I was to solve it as per a method I had been taught it would go as follows $V_0 = \exp(-rt)E[X|\mathscr{F}_t]$ where X is the payment specified.
Then: \begin{align*} V_0 &= \exp(-rt)\cdot E[10,000\cdot\mathbb{I}{(S_{0.5} > 1.2S_0)}|\mathscr{F}_t]\\ &=10,000\cdot\exp(-rt)\cdot P\left((r-\dfrac{1}{2}\sigma^2)\cdot t+ \sigma W_t > \ln(1.2)\right)\\ &= 10,000\cdot\exp(-rt)\cdot P\left(W_t > \dfrac{\ln(1.2) - (r-\dfrac{1}{2}\sigma^2)t}{\sigma}\right). \end{align*} This is not similar to $N(d_1)$.
Is the initial formula $S_t = S_0\cdot\exp((r-\sigma^2)t + \sigma W_{t}\sqrt{t} )$ rather?