{"name": "htmlNewParserCtxt", "code": "_QWORD * htmlNewParserCtxt ( ) { _QWORD * @@result@@ ; _QWORD * @@s@@ ; @@s@@ = ( _QWORD * ) xmlMalloc ( Number L ) ; if ( @@s@@ ) { memset ( @@s@@ , Number , Number ) ; if ( ( int ) htmlInitParserCtxt ( @@s@@ ) >= Number ) { @@result@@ = @@s@@ ; } else { htmlFreeParserCtxt ( ( __int64 ) @@s@@ ) ; @@result@@ = Number L ; } } else { htmlErrMemory ( Number L , String ) ; @@result@@ = Number L ; } return @@result@@ ; }", "source": [{"n": "result", "t": {"T": 3, "t": "_QWORD"}, "location": "r8"}, {"n": "s", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]}
{"name": "htmlErrMemory", "code": "__int64 __fastcall htmlErrMemory ( _DWORD * @@a1@@ , const char * @@a2@@ ) { __int64 @@result@@ ; if ( ! @@a1@@ || ! @@a1@@ [ Number ] || ( @@result@@ = ( unsigned int ) @@a1@@ [ Number ] , ( _DWORD ) @@result@@ != Number ) ) { if ( @@a1@@ ) { @@a1@@ [ Number ] = Number ; @@a1@@ [ Number ] = Number ; @@a1@@ [ Number ] = Number ; } if ( @@a2@@ ) @@result@@ = _xmlRaiseError ( Number L , Number L , Number L , @@a1@@ , Number L , Number L , Number L , Number L , Number L , Number L , @@a2@@ , Number L , Number L , Number L , Number L , String , @@a2@@ ) ; else @@result@@ = _xmlRaiseError ( Number L , Number L , Number L , @@a1@@ , Number L , Number L , Number L , Number L , Number L , Number L , Number L , Number L , Number L , Number L , Number L , String ) ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_DWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "const char"}, "location": "r64"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}]} {"name": "htmlInitParserCtxt", "code": "__int64 __fastcall htmlInitParserCtxt ( _QWORD * @@a1@@ ) { __int64 result ; const void * v2 ; void * @@dest@@ ; if ( ! @@a1@@ ) return Number ; memset ( @@a1@@ , Number , Number ) ; @@a1@@ [ Number ] = xmlDictCreate ( ) ; if ( @@a1@@ [ Number ] && ( @@dest@@ = ( void * ) xmlMalloc ( Number L ) ) != Number L ) { memset ( @@dest@@ , Number , Number ) ; @@a1@@ [ Number ] = xmlMalloc ( Number L ) ; if ( @@a1@@ [ Number ] ) { * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; @@a1@@ [ Number ] = Number L ; @@a1@@ [ Number ] = Number L ; @@a1@@ [ Number ] = Number L ; * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; @@a1@@ [ Number ] = xmlMalloc ( Number L ) ; if ( @@a1@@ [ Number ] ) { * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; @@a1@@ [ Number ] = Number L ; @@a1@@ [ Number ] = xmlMalloc ( Number L ) ; if ( @@a1@@ [ Number ] ) { * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; @@a1@@ [ Number ] = Number L ; @@a1@@ [ Number ] = Number L ; * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; * @@a1@@ = @@dest@@ ; v2 = ( const void * ) _htmlDefaultSAXHandler ( ) ; memcpy ( @@dest@@ , v2 , Number ) ; @@a1@@ [ Number ] = @@a1@@ ; @@a1@@ [ Number ] = Number L ; * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; * ( ( _DWORD * ) @@a1@@ + Number ) = * ( _DWORD * ) _xmlLineNumbersDefaultValue ( ) ; * ( ( _DWORD * ) @@a1@@ + Number ) = * ( _DWORD * ) _xmlKeepBlanksDefaultValue ( ) ; * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; @@a1@@ [ Number ] = @@a1@@ ; @@a1@@ [ Number ] = & xmlParserValidityError ; @@a1@@ [ Number ] = & xmlParserValidityWarning ; * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; @@a1@@ [ Number ] = Number L ; @@a1@@ [ Number ] = Number L ; @@a1@@ [ Number ] = Number L ; xmlInitNodeInfoSeq ( @@a1@@ + Number ) ; result = Number L ; } else { htmlErrMemory ( Number L , String ) ; * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; @@a1@@ [ Number ] = Number L ; * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; @@a1@@ [ Number ] = Number L ; * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; @@a1@@ [ Number ] = Number L ; result = Number ; } } else { htmlErrMemory ( Number L , String ) ; * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; @@a1@@ [ Number ] = Number L ; * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; @@a1@@ [ Number ] = Number L ; result = Number ; } } else { htmlErrMemory ( Number L , String ) ; * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; * ( ( _DWORD * ) @@a1@@ + Number ) = Number ; @@a1@@ [ Number ] = Number L ; result = Number ; } } else { htmlErrMemory ( Number L , String ) ; result = Number ; } return result ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "dest", "t": {"T": 3, "t": "void"}, "location": "s8"}]} {"name": "htmlFreeParserCtxt", "code": "__int64 __fastcall htmlFreeParserCtxt ( __int64 @@a1@@ ) { return xmlFreeParserCtxt ( @@a1@@ ) ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}]} {"name": "htmlCreateMemoryParserCtxt", "code": "_QWORD * __fastcall htmlCreateMemoryParserCtxt ( __int64 @@a1@@ , int @@a2@@ ) { _QWORD * @@result@@ ; __int64 * @@v3@@ ; __int64 @@v4@@ ; _QWORD * @@v5@@ ; if ( ! @@a1@@ ) return Number L ; if ( @@a2@@ <= Number ) return Number L ; @@v5@@ = htmlNewParserCtxt ( ) ; if ( ! @@v5@@ ) return Number L ; @@v4@@ = xmlParserInputBufferCreateMem ( @@a1@@ , ( unsigned int ) @@a2@@ , Number L ) ; if ( ! @@v4@@ ) return Number L ; @@v3@@ = ( __int64 * ) xmlNewInputStream ( @@v5@@ ) ; if ( @@v3@@ ) { @@v3@@ [ Number ] = Number L ; * @@v3@@ = @@v4@@ ; xmlBufResetInput ( * ( _QWORD * ) ( @@v4@@ + Number ) , @@v3@@ ) ; inputPush ( @@v5@@ , @@v3@@ ) ; @@result@@ = @@v5@@ ; } else { xmlFreeParserCtxt ( @@v5@@ ) ; @@result@@ = Number L ; } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "int", "s": 4}, "location": "r64"}, {"n": "result", "t": {"T": 3, "t": "_QWORD"}, "location": "r8"}, {"n": "v4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s16"}, {"n": "v3", "t": {"T": 3, "t": "__int64"}, "location": "s24"}, {"n": "v5", "t": {"T": 3, "t": "_QWORD"}, "location": "s8"}]} {"name": "htmlCreatePushParserCtxt", "code": "_QWORD * __fastcall htmlCreatePushParserCtxt ( const void * @@a1@@ , __int64 @@a2@@ , __int64 @@a3@@ , int @@a4@@ , __int64 @@a5@@ , unsigned int @@a6@@ ) { _QWORD * @@result@@ ; __int64 @@v7@@ ; __int64 @@v12@@ ; __int64 @@v13@@ ; _QWORD * @@v14@@ ; _QWORD * @@v15@@ ; __int64 @@v16@@ ; xmlInitParser ( ) ; @@v16@@ = xmlAllocParserInputBuffer ( @@a6@@ ) ; if ( ! @@v16@@ ) return Number L ; @@v15@@ = htmlNewParserCtxt ( ) ; if ( ! @@v15@@ ) { xmlFreeParserInputBuffer ( @@v16@@ ) ; return Number L ; } if ( @@a6@@ == Number || * ( _QWORD * ) ( @@v16@@ + Number ) ) * ( ( _DWORD * ) @@v15@@ + Number ) = Number ; if ( @@a1@@ ) { @@v7@@ = * @@v15@@ ; if ( @@v7@@ != _htmlDefaultSAXHandler ( ) ) xmlFree ( * @@v15@@ ) ; * @@v15@@ = xmlMalloc ( Number L ) ; if ( ! * @@v15@@ ) { xmlFree ( @@v16@@ ) ; xmlFree ( @@v15@@ ) ; return Number L ; } memcpy ( ( void * ) * @@v15@@ , @@a1@@ , Number ) ; if ( @@a2@@ ) @@v15@@ [ Number ] = @@a2@@ ; } if ( @@a5@@ ) @@v15@@ [ Number ] = xmlParserGetDirectory ( @@a5@@ ) ; else @@v15@@ [ Number ] = Number L ; @@v14@@ = htmlNewInputStream ( @@v15@@ ) ; if ( @@v14@@ ) { if ( @@a5@@ ) @@v14@@ [ Number ] = xmlCanonicPath ( @@a5@@ ) ; else @@v14@@ [ Number ] = Number L ; * @@v14@@ = @@v16@@ ; xmlBufResetInput ( * ( _QWORD * ) ( @@v16@@ + Number ) , @@v14@@ ) ; inputPush ( @@v15@@ , @@v14@@ ) ; if ( @@a4@@ > Number && @@a3@@ && @@v15@@ [ Number ] ) { if ( * ( _QWORD * ) @@v15@@ [ Number ] ) { @@v13@@ = xmlBufGetInputBase ( * ( _QWORD * ) ( * ( _QWORD * ) @@v15@@ [ Number ] + Number L ) , @@v15@@ [ Number ] ) ; @@v12@@ = * ( _QWORD * ) ( @@v15@@ [ Number ] + Number L ) - * ( _QWORD * ) ( @@v15@@ [ Number ] + Number L ) ; xmlParserInputBufferPush ( * ( _QWORD * ) @@v15@@ [ Number ] , ( unsigned int ) @@a4@@ , @@a3@@ ) ; xmlBufSetInputBaseCur ( * ( _QWORD * ) ( * ( _QWORD * ) @@v15@@ [ Number ] + Number L ) , @@v15@@ [ Number ] , @@v13@@ , @@v12@@ ) ; } } * ( ( _DWORD * ) @@v15@@ + Number ) = Number ; @@result@@ = @@v15@@ ; } else { xmlFreeParserCtxt ( @@v15@@ ) ; xmlFree ( @@v16@@ ) ; @@result@@ = Number L ; } return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "int", "s": 4}, "location": "r24"}, {"n": "v7", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r32"}, {"n": "a1", "t": {"T": 3, "t": "const void"}, "location": "r56"}, {"n": "a2", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r64"}, {"n": "a5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r72"}, {"n": "result", "t": {"T": 3, "t": "_QWORD"}, "location": "r8"}, {"n": "a6", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r80"}, {"n": "v16", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v15", "t": {"T": 3, "t": "_QWORD"}, "location": "s32"}, {"n": "v14", "t": {"T": 3, "t": "_QWORD"}, "location": "s40"}, {"n": "v13", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "v12", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s56"}]} {"name": "htmlCreateFileParserCtxt", "code": "_QWORD * __fastcall htmlCreateFileParserCtxt ( __int64 @@a1@@ , const char * @@a2@@ ) { __int64 v3 ; __int64 ( __fastcall * @@v4@@ ) ( size_t ) ; int v5 ; char * @@dest@@ ; size_t @@v7@@ ; __int64 @@v8@@ ; __int64 @@v9@@ ; _QWORD * @@v10@@ ; if ( ! @@a1@@ ) return Number L ; @@v10@@ = htmlNewParserCtxt ( ) ; if ( ! @@v10@@ ) return Number L ; @@v9@@ = xmlCanonicPath ( @@a1@@ ) ; if ( ! @@v9@@ ) { if ( * ( _QWORD * ) ( _xmlDefaultSAXHandler ( ) + Number ) ) { v3 = _xmlDefaultSAXHandler ( ) ; ( * ( void ( __fastcall * * ) ( _QWORD , const char * ) ) ( v3 + Number ) ) ( Number L , String ) ; } goto LABEL_10 ; } @@v8@@ = xmlLoadExternalEntity ( @@v9@@ , Number L , @@v10@@ ) ; xmlFree ( @@v9@@ ) ; if ( ! @@v8@@ ) { LABEL_10 : xmlFreeParserCtxt ( @@v10@@ ) ; return Number L ; } inputPush ( @@v10@@ , @@v8@@ ) ; if ( @@a2@@ ) { @@v7@@ = strlen ( @@a2@@ ) ; if ( @@v7@@ <= Number ) { @@v4@@ = xmlMallocAtomic ; v5 = xmlStrlen ( String ) ; @@dest@@ = ( char * ) @@v4@@ ( v5 + @@v7@@ + Number ) ; if ( @@dest@@ ) { strcpy ( @@dest@@ , String ) ; strcat ( @@dest@@ , @@a2@@ ) ; htmlCheckEncoding ( ( __int64 ) @@v10@@ , ( __int64 ) @@dest@@ ) ; xmlFree ( @@dest@@ ) ; } } } return @@v10@@ ; }", "source": [{"n": "v4", "t": {"T": 9, "n": "__int64 (__fastcall *)(size_t)"}, "location": "r32"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "const char"}, "location": "r64"}, {"n": "v10", "t": {"T": 3, "t": "_QWORD"}, "location": "s32"}, {"n": "v9", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v8", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "v7", "t": {"T": 1, "n": "size_t", "s": 8}, "location": "s56"}, {"n": "dest", "t": {"T": 3, "t": "char"}, "location": "s64"}]} {"name": "htmlReadIO", "code": "__int64 __fastcall htmlReadIO ( __int64 @@a1@@ , void ( __fastcall * @@a2@@ ) ( __int64 ) , __int64 @@a3@@ , __int64 @@a4@@ , __int64 @@a5@@ , unsigned int @@a6@@ ) { __int64 @@result@@ ; __int64 @@v11@@ ; _QWORD * @@v12@@ ; __int64 @@v13@@ ; if ( ! @@a1@@ ) return Number L ; xmlInitParser ( ) ; @@v13@@ = xmlParserInputBufferCreateIO ( @@a1@@ , @@a2@@ , @@a3@@ , Number L ) ; if ( @@v13@@ ) { @@v12@@ = htmlNewParserCtxt ( ) ; if ( @@v12@@ ) { @@v11@@ = xmlNewIOInputStream ( @@v12@@ , @@v13@@ , Number L ) ; if ( @@v11@@ ) { inputPush ( @@v12@@ , @@v11@@ ) ; @@result@@ = htmlDoRead ( ( __int64 ) @@v12@@ , @@a4@@ , @@a5@@ , @@a6@@ , Number ) ; } else { xmlFreeParserInputBuffer ( @@v13@@ ) ; xmlFreeParserCtxt ( @@v12@@ ) ; @@result@@ = Number L ; } } else { xmlFreeParserInputBuffer ( @@v13@@ ) ; @@result@@ = Number L ; } } else { if ( @@a2@@ ) @@a2@@ ( @@a3@@ ) ; @@result@@ = Number L ; } return @@result@@ ; }", "source": [{"n": "a3", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r16"}, {"n": "a4", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r24"}, {"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 9, "n": "void (__fastcall *)(__int64)"}, "location": "r64"}, {"n": "a5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r72"}, {"n": "result", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r8"}, {"n": "a6", "t": {"T": 1, "n": "unsigned int", "s": 4}, "location": "r80"}, {"n": "v12", "t": {"T": 3, "t": "_QWORD"}, "location": "s16"}, {"n": "v11", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s24"}, {"n": "v13", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s8"}]}