This stored proc will decrypt Dynamics GP passwords. Use this code to test.
DECLARE
@p
binary
(100)
SELECT
@p =
password
from
dynamics..sy02400
exec
dd_Dynamics_Decrypt @p