Since this is tagged complex analysis: Such a function does not exist if you assume it is complex analytic on its domain and the various integrals evaluate to non-zero values. Proof: apply Cauchy's integral theorem to the following contour: starting from the origin, go horizontally to $(1,0)$, go up to $(1,1)$, and travel back down diagonally to $(0,0)$.