The escape velocity of an object is given by,
Where,
The above equation shows that the escape velocity is independent on the mass of the body and direction of its projection.
It depends on gravitational potential at the point from where the body is launched.
The escape velocity also marginally depends on the height of the point from where it is launched as the potential slightly depends on the height.