Massive scalar particle in a modified Schwarzschild geometry