{"name": "extractCommandFilePath", "code": "char * __fastcall extractCommandFilePath ( __int64 @@a1@@ , unsigned int * @@a2@@ ) { size_t v2 ; char * @@result@@ ; const char * @@s@@ ; @@s@@ = strtok ( Number L , String ) ; if ( @@s@@ ) { v2 = strlen ( @@s@@ ) + Number ; * ( ( _QWORD * ) @@a2@@ + Number ) = malloc ( v2 ) ; if ( ! * ( ( _QWORD * ) @@a2@@ + Number ) ) { printMemoryAllocationError ( ) ; exit ( Number ) ; } @@result@@ = strcpy ( * ( ( char * * ) @@a2@@ + Number ) , @@s@@ ) ; } else { * ( ( _QWORD * ) @@a2@@ + Number ) = Number L ; @@result@@ = ( char * ) * @@a2@@ ; if ( ( _DWORD ) @@result@@ != Number ) { @@result@@ = ( char * ) @@a2@@ ; * @@a2@@ = Number ; } } return @@result@@ ; }", "source": [{"n": "a1", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "unsigned int"}, "location": "r64"}, {"n": "result", "t": {"T": 3, "t": "char"}, "location": "r8"}, {"n": "s", "t": {"T": 3, "t": "const char"}, "location": "s8"}]}
{"name": "parseCommand", "code": "_QWORD * __fastcall parseCommand ( _QWORD * @@a1@@ , char * @@a2@@ ) { __int64 v2 ; __int64 v3 ; __int64 @@v5@@ ; __int64 @@v6@@ ; __int64 @@v7@@ ; char * @@v8@@ ; char * @@v9@@ ; @@v9@@ = strtok ( @@a2@@ , String ) ; if ( @@v9@@ ) { toLower ( ( __int64 ) @@v9@@ ) ; @@v8@@ = @@v9@@ ; LODWORD ( @@v5@@ ) = getCurrCommandType ( @@v9@@ ) ; if ( ( _DWORD ) @@v5@@ == Number || ( _DWORD ) @@v5@@ == Number || ( _DWORD ) @@v5@@ == Number || ( _DWORD ) @@v5@@ == Number ) extractCommandArgs ( ( __int64 ) @@v9@@ , ( int * ) & @@v5@@ ) ; if ( ! ( _DWORD ) @@v5@@ || ( _DWORD ) @@v5@@ == Number || ( _DWORD ) @@v5@@ == Number ) extractCommandFilePath ( ( __int64 ) @@v9@@ , ( unsigned int * ) & @@v5@@ ) ; v3 = @@v6@@ ; * @@a1@@ = @@v5@@ ; @@a1@@ [ Number ] = v3 ; @@a1@@ [ Number ] = @@v7@@ ; } else { LODWORD ( @@v5@@ ) = Number ; v2 = @@v6@@ ; * @@a1@@ = @@v5@@ ; @@a1@@ [ Number ] = v2 ; @@a1@@ [ Number ] = @@v7@@ ; } return @@a1@@ ; }", "source": [{"n": "a1", "t": {"T": 3, "t": "_QWORD"}, "location": "r56"}, {"n": "a2", "t": {"T": 3, "t": "char"}, "location": "r64"}, {"n": "v8", "t": {"T": 3, "t": "char"}, "location": "s16"}, {"n": "v7", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s32"}, {"n": "v6", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s40"}, {"n": "v5", "t": {"T": 1, "n": "__int64", "s": 8}, "location": "s48"}, {"n": "v9", "t": {"T": 3, "t": "char"}, "location": "s8"}]}