@feynhat ah cool. Consider a surface $U=(0,1)^2$ in the real plane. Decompose $U$ into an infinite set of real analytic functions which form a family, $F_s=\{f_{s}(x):s\in \Bbb R_{>0}\},$ with real parameter $s$, s.t. $f_{s_n}(x)f_{s_k}(x)=f_{s_n+s_k}(x)$ for some $n,k\in \Bbb N.$ Require $f(0)=1$ and $f(1)=0.$ Decompose $U$ again into $F^*_s=\{f_s(1-x):s \in \Bbb R_{>0}\}$ requiring $f(0)=0$ and $f(1)=1,$ and $f_{s_n}(1-x)f_{s_k}(1-x)=f_{s_n+s_k}(1-x).$
Take $K=F_s \cup F^*_s$ to be topologically equivalent to the surface $U.$