You can do,
Every X seconds -> Create enemy at X: random(Self.X - Self.Width/2,shadow.X + Self.Width/2) and Y: X: random(Self.Y - Self.Height/2,Self.X + Shadow.Height/2)
That will only spawn the enemy inside the boundaries of your shadow sprite.
That should be enough to get you started and you can expand from there.