{"name": "hostapd_wps_reenable_ap_pin", "code": "__int64 __fastcall hostapd_wps_reenable_ap_pin ( __int64 @@a1@@ ) { __int64 @@result@@ ; @@result@@ = * ( unsigned int * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ; if ( ! ( _DWORD ) @@result@@ ) { @@result@@ = * ( unsigned int * ) ( @@a1@@ + Number ) ; if ( ( unsigned int ) @@result@@ <= Number ) { wpa_printf ( Number L , String ) ; wpa_msg ( * ( _QWORD * ) ( @@a1@@ + Number ) , Number L , String ) ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) = Number ; @@result@@ = wps_registrar_update_ie ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) ; } } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]}
{"name": "wps_pwd_auth_fail", "code": "__int64 __fastcall wps_pwd_auth_fail ( __int64 @@a1@@ , _DWORD * @@a2@@ ) { if ( ! * @@a2@@ || ! * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) || ! * ( _QWORD * ) ( @@a1@@ + Number ) ) return Number L ; wpa_printf ( Number L , String , ( unsigned int ) ++ * ( _DWORD * ) ( @@a1@@ + Number ) , ( unsigned int ) ++ * ( _DWORD * ) ( @@a1@@ + Number ) ) ; if ( * ( _DWORD * ) ( @@a1@@ + Number ) <= Number ) return Number L ; wpa_msg ( * ( _QWORD * ) ( @@a1@@ + Number ) , Number L , String ) ; * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) = Number ; wps_registrar_update_ie ( * ( _QWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) ; if ( * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) || * ( _DWORD * ) ( @@a1@@ + Number ) <= Number ) { if ( ! * ( _DWORD * ) ( * ( _QWORD * ) ( @@a1@@ + Number ) + Number L ) ) { if ( * ( _DWORD * ) ( @@a1@@ + Number ) ) { if ( * ( _DWORD * ) ( @@a1@@ + Number ) <= Number && ! ( * ( _DWORD * ) ( @@a1@@ + Number ) % Number ) ) * ( _DWORD * ) ( @@a1@@ + Number ) *= Number ; } else { * ( _DWORD * ) ( @@a1@@ + Number ) = Number ; } wpa_printf ( Number L , String , * ( unsigned int * ) ( @@a1@@ + Number ) ) ; eloop_cancel_timeout ( hostapd_wps_reenable_ap_pin , @@a1@@ , Number L ) ; eloop_register_timeout ( * ( unsigned int * ) ( @@a1@@ + Number ) , Number L , hostapd_wps_reenable_ap_pin , @@a1@@ , Number L ) ; } } else { eloop_cancel_timeout ( hostapd_wps_reenable_ap_pin , @@a1@@ , Number L ) ; wpa_printf ( Number L , String ) ; } return Number L ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "_DWORD"}, "location": "r64"}]} {"name": "hostapd_deinit_wps", "code": "__int64 __fastcall hostapd_deinit_wps ( _QWORD * @@a1@@ ) { eloop_cancel_timeout ( hostapd_wps_reenable_ap_pin , @@a1@@ , Number L ) ; eloop_cancel_timeout ( hostapd_wps_ap_pin_timeout , @@a1@@ , Number L ) ; eloop_cancel_timeout ( wps_reload_config , * @@a1@@ , Number L ) ; if ( @@a1@@ [ Number ] ) { wps_registrar_deinit ( * ( _QWORD * ) ( @@a1@@ [ Number ] + Number L ) ) ; wps_free_pending_msgs ( * ( _QWORD * ) ( @@a1@@ [ Number ] + Number L ) ) ; hostapd_free_wps ( @@a1@@ [ Number ] ) ; @@a1@@ [ Number ] = Number L ; } return hostapd_wps_clear_ies ( @@a1@@ , Number ) ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}]}