This app extracts the source tables used by stored procedures in a particular database. You probably don't have access to the network or database in question, but you might pull some ideas from the appoach.
The app parses the stored procedure syntax, assumed to be written in T-SQL