Creating/registering a user (of a custom profile type) when a certain webform is submitted?
First you can add your code and add inside sites\all\modules\webform\includes\webform.submissions.inc in functions named "webform_submission_insert" , and check if it works or not , also as per below image in $submission variable you will get all webform submitted values .



Also , if you want to Get Webfrom submitted data by userid wise use below code anywhere.

module_load_include('inc', 'webform', 'includes/webform.submissions');
$values = webform_get_submissions($nid, null, $user-&gt;uid, 1);


if you want to Get Webfrom submitted data by node id , as below code 105 is node id.

module_load_include('inc', 'webform', 'includes/webform.submissions');  
$submissions = webform_get_submissions(105);