A Function-Centric Risk Assessment Approach for Android Applications