{"name": "parsePhyintToken", "code": "_QWORD * __fastcall parsePhyintToken ( __int64 @@a1@@ , double @@a2@@ ) { size_t @@v3@@ ; __int64 v4 ; const char * v5 ; __int16 @@v6@@ ; char * s ; char * sa ; char * sb ; char * sc ; char * sd ; _QWORD * @@v12@@ ; _QWORD * @@ptr@@ ; @@v6@@ = Number ; s = ( char * ) nextConfigToken ( @@a1@@ ) ; if ( ! s ) return Number L ; if ( strlen ( s ) > Number ) return Number L ; if ( ( Log2Stderr & Number ) != Number ) @@a2@@ = log ( @@a2@@ ) ; @@ptr@@ = malloc ( Number ) ; if ( ! @@ptr@@ ) @@a2@@ = log ( @@a2@@ ) ; @@ptr@@ [ Number ] = Number L ; * ( ( _DWORD * ) @@ptr@@ + Number ) = Number ; * ( ( _DWORD * ) @@ptr@@ + Number ) = Number ; * ( ( _WORD * ) @@ptr@@ + Number ) = Number ; @@ptr@@ [ Number ] = Number L ; @@v3@@ = strlen ( s ) ; * @@ptr@@ = malloc ( @@v3@@ ) ; if ( ! * @@ptr@@ ) @@a2@@ = log ( @@a2@@ ) ; v4 = * @@ptr@@ ; strcpy ( ( char * ) * @@ptr@@ , s ) ; @@v12@@ = @@ptr@@ + Number ; for ( sa = ( char * ) nextConfigToken ( v4 ) ; sa ; sa = ( char * ) nextConfigToken ( v5 ) ) { if ( ! strcmp ( String , sa ) ) { sb = ( char * ) nextConfigToken ( String ) ; if ( ( Log2Stderr & Number ) != Number ) @@a2@@ = log ( @@a2@@ ) ; v5 = sb ; * @@v12@@ = parseSubnetAddress ( sb , @@a2@@ ) ; if ( ! * @@v12@@ ) { @@v6@@ = Number ; log ( @@a2@@ ) ; break ; } @@v12@@ = ( _QWORD * ) ( * @@v12@@ + Number L ) ; } else { v5 = String ; if ( ! strcmp ( String , sa ) ) { if ( ( Log2Stderr & Number ) != Number ) { v5 = ( _BYTE * ) ( & loc_4 + Number ) ; @@a2@@ = log ( @@a2@@ ) ; } * ( ( _WORD * ) @@ptr@@ + Number ) = Number ; } else { v5 = String ; if ( ! strcmp ( String , sa ) ) { if ( ( Log2Stderr & Number ) != Number ) { v5 = ( _BYTE * ) ( & loc_4 + Number ) ; @@a2@@ = log ( @@a2@@ ) ; } * ( ( _WORD * ) @@ptr@@ + Number ) = Number ; } else { v5 = String ; if ( ! strcmp ( String , sa ) ) { if ( ( Log2Stderr & Number ) != Number ) { v5 = ( _BYTE * ) ( & loc_4 + Number ) ; @@a2@@ = log ( @@a2@@ ) ; } * ( ( _WORD * ) @@ptr@@ + Number ) = Number ; } else if ( ! strcmp ( String , sa ) ) { sc = ( char * ) nextConfigToken ( String ) ; if ( ( Log2Stderr & Number ) != Number ) @@a2@@ = log ( @@a2@@ ) ; v5 = sc ; * ( ( _DWORD * ) @@ptr@@ + Number ) = atoi ( sc ) ; if ( * ( ( int * ) @@ptr@@ + Number ) < Number ) goto LABEL_34 ; } else { if ( strcmp ( String , sa ) ) break ; sd = ( char * ) nextConfigToken ( String ) ; if ( ( Log2Stderr & Number ) != Number ) @@a2@@ = log ( @@a2@@ ) ; v5 = sd ; * ( ( _DWORD * ) @@ptr@@ + Number ) = atoi ( sd ) ; if ( * ( ( int * ) @@ptr@@ + Number ) <= Number || * ( ( int * ) @@ptr@@ + Number ) > Number ) { LABEL_34 : log ( @@a2@@ ) ; @@v6@@ = Number ; break ; } } } } } } if ( @@v6@@ ) { free ( @@ptr@@ ) ; @@ptr@@ = Number L ; } return @@ptr@@ ; }", "source": [{"n": "a2", "t": {"T": 1, "n": "double", "s": 8}, "location": "r496"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "v3", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "r8"}, {"n": "v12", "t": {"T": 3, "t": "_QWORD"}, "location": "s16"}, {"n": "v6", "t": {"T": 1, "n": "__int16", "s": 2}, "location": "s26"}, {"n": "ptr", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]}
{"name": "loadConfig", "code": "__int64 __fastcall loadConfig ( __int64 @@a1@@ , double @@a2@@ ) { double v2 ; const char * v4 ; __int64 @@v5@@ ; char * @@s2@@ ; __int64 * @@v7@@ ; @@v7@@ = & vifconf ; initCommonConfig ( ) ; if ( ! ( unsigned int ) openConfigFile ( @@a1@@ ) ) { @@a1@@ = Number L ; @@a2@@ = log ( @@a2@@ ) ; } @@s2@@ = ( char * ) nextConfigToken ( @@a1@@ ) ; if ( ! @@s2@@ ) @@a2@@ = log ( @@a2@@ ) ; while ( @@s2@@ ) { if ( ! strcmp ( String , @@s2@@ ) ) { if ( ( Log2Stderr & Number ) != Number ) @@a2@@ = log ( @@a2@@ ) ; @@v5@@ = parsePhyintToken ( @@a2@@ ) ; if ( ! @@v5@@ ) { LABEL_9 : v2 = ( ( double ( * ) ( void ) ) closeConfigFile ) ( ) ; log ( v2 ) ; return Number L ; } if ( ( Log2Stderr & Number ) != Number ) @@a2@@ = log ( @@a2@@ ) ; if ( ( Log2Stderr & Number ) != Number ) @@a2@@ = log ( @@a2@@ ) ; if ( ( Log2Stderr & Number ) != Number ) @@a2@@ = log ( @@a2@@ ) ; if ( ( Log2Stderr & Number ) != Number ) @@a2@@ = log ( @@a2@@ ) ; if ( ( Log2Stderr & Number ) != Number ) @@a2@@ = log ( @@a2@@ ) ; if ( ( Log2Stderr & Number ) != Number ) @@a2@@ = log ( @@a2@@ ) ; * @@v7@@ = @@v5@@ ; @@v7@@ = ( __int64 * ) ( @@v5@@ + Number ) ; @@s2@@ = ( char * ) getCurrentConfigToken ( @@a2@@ ) ; } else { v4 = String ; if ( strcmp ( String , @@s2@@ ) ) goto LABEL_9 ; if ( ( Log2Stderr & Number ) != Number ) { v4 = ( _BYTE * ) ( & loc_4 + Number ) ; @@a2@@ = log ( @@a2@@ ) ; } word_A7C = Number ; @@s2@@ = ( char * ) nextConfigToken ( v4 ) ; } } closeConfigFile ( ) ; return Number L ; }", "source": [{"n": "a2", "t": {"T": 1, "n": "double", "s": 8}, "location": "r496"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "s2", "t": {"T": 3, "t": "char"}, "location": "s16"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v7", "t": {"T": 3, "t": "__int64"}, "location": "s8"}]} {"name": "parseSubnetAddress", "code": "unsigned int * __fastcall parseSubnetAddress ( char * @@a1@@ , double @@a2@@ ) { char * @@v2@@ ; double v4 ; unsigned int * @@v5@@ ; int @@v6@@ ; const char * @@cp@@ ; in_addr_t @@v8@@ ; int @@netlong@@ ; @@netlong@@ = Number ; @@v2@@ = strtok ( @@a1@@ , String ) ; @@v8@@ = inet_addr ( @@v2@@ ) ; @@cp@@ = strtok ( Number L , String ) ; if ( @@cp@@ ) { @@v6@@ = atoi ( @@cp@@ ) ; if ( @@v6@@ < Number || @@v6@@ > Number ) goto LABEL_9 ; if ( @@v6@@ ) @@netlong@@ = Number << ( Number - @@v6@@ ) ; else @@netlong@@ = Number ; } if ( @@v8@@ == Number ) { LABEL_9 : log ( @@a2@@ ) ; return Number L ; } @@v5@@ = ( unsigned int * ) malloc ( Number ) ; * @@v5@@ = @@v8@@ ; @@v5@@ [ Number ] = ntohl ( @@netlong@@ ) ; * ( ( _QWORD * ) @@v5@@ + Number ) = Number L ; if ( ( Log2Stderr & Number ) != Number ) { v4 = inetFmts ( * @@v5@@ , @@v5@@ [ Number ] , & s1 ) ; log ( v4 ) ; } return @@v5@@ ; }", "source": [{"n": "a2", "t": {"T": 1, "n": "double", "s": 8}, "location": "r496"}, {"n": "a1", "t": {"T": 3, "t": "char"}, "location": "r56"}, {"n": "v2", "t": {"T": 3, "t": "char"}, "location": "r8"}, {"n": "cp", "t": {"T": 3, "t": "const char"}, "location": "s16"}, {"n": "v6", "t": {"T": 1, "n": "int", "s": 4}, "location": "s20"}, {"n": "v5", "t": {"T": 3, "t": "unsigned int"}, "location": "s32"}, {"n": "netlong", "t": {"T": 1, "n": "int", "s": 4}, "location": "s4"}, {"n": "v8", "t": {"T": 1, "n": "in_addr_t", "s": 4}, "location": "s8"}]}