
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void sqlite3_free_table(char **azResult)

{
  char **p;
  char *pcVar1;
  
  if (azResult != (char **)0x0) {
    pcVar1 = azResult[-1];
    p = azResult + -1;
    if (1 < (int)pcVar1) {
      do {
        if (*azResult != (char *)0x0) {
          sqlite3_free(*azResult);
        }
        azResult = azResult + 1;
      } while (azResult != p + (int)pcVar1);
    }
    sqlite3_free(p);
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void FUN_00027480(int *param_1)

{
  int *piVar1;
  int iVar2;
  
  if (param_1 != (int *)0x0) {
    iVar2 = param_1[-1];
    piVar1 = param_1 + -1;
    if (1 < iVar2) {
      do {
        if (*param_1 != 0) {
          FUN_000264d0(*param_1);
        }
        param_1 = param_1 + 1;
      } while (param_1 != piVar1 + iVar2);
    }
    FUN_000264d0(piVar1);
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00014d20
ADD EBX,0x123a4b
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x20]
TEST ESI,ESI
JZ 0x000274d5
MOV EAX,dword ptr [ESI + -0x4]
LEA EBP,[ESI + -0x4]
CMP EAX,0x1
JLE 0x000274c9
LEA EDI,[EBP + EAX*0x4]
LEA ESI,[ESI]
MOV EAX,dword ptr [ESI]
TEST EAX,EAX
JZ 0x000274c2
SUB ESP,0xc
PUSH EAX
CALL 0x000264d0
ADD ESP,0x10
ADD ESI,0x4
CMP ESI,EDI
JNZ 0x000274b0
SUB ESP,0xc
PUSH EBP
CALL 0x000264d0
ADD ESP,0x10
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00027480(int *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  if (param_1 != (int *)0x0) {\n    iVar2 = param_1[-1];\n    piVar1 = param_1 + -1;\n    if (1 < iVar2) {\n      do {\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      } while (param_1 != piVar1 + iVar2);\n    }\n    FUN_000264d0(piVar1);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00027480(int *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  if (param_1 != (int *)0x0) {\n    iVar2 = param_1[-1];\n    piVar1 = param_1 + -1;\n    if (1 < iVar2) {\n      do {\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      } while (param_1 != piVar1 + iVar2);\n    }\n    FUN_000264d0(piVar1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00027480(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  \n  if (param_1 != (int *)0x0) {\n    iVar2 = param_1[-1];\n    piVar1 = param_1 + -1;\n    if (1 < iVar2) {\n      do {\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      } while (param_1 != piVar1 + iVar2);\n    }\n    FUN_000264d0(piVar1);\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_1 != (int *)0x0) {\n    iVar2 = param_1[-1];\n    piVar1 = param_1 + -1;\n    if (1 < iVar2) {\n      do {\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      } while (param_1 != piVar1 + iVar2);\n    }\n    FUN_000264d0(piVar1);\n  }" if (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = param_1[-1];\n    piVar1 = param_1 + -1;\n    if (1 < iVar2) {\n      do {\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      } while (param_1 != piVar1 + iVar2);\n    }\n    FUN_000264d0(piVar1);\n  }" { (expression_statement "iVar2 = param_1[-1];" (assignment_expression "iVar2 = param_1[-1]" identifier = (subscript_expression "param_1[-1]" identifier [ number_literal ])) ;) (expression_statement "piVar1 = param_1 + -1;" (assignment_expression "piVar1 = param_1 + -1" identifier = (binary_expression "param_1 + -1" identifier + number_literal)) ;) (if_statement "if (1 < iVar2) {\n      do {\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      } while (param_1 != piVar1 + iVar2);\n    }" if (parenthesized_expression "(1 < iVar2)" ( (binary_expression "1 < iVar2" number_literal < identifier) )) (compound_statement "{\n      do {\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      } while (param_1 != piVar1 + iVar2);\n    }" { (do_statement "do {\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      } while (param_1 != piVar1 + iVar2);" do (compound_statement "{\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      }" { (if_statement "if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n          FUN_000264d0(*param_1);\n        }" { (expression_statement "FUN_000264d0(*param_1);" (call_expression "FUN_000264d0(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) })) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_1 != piVar1 + iVar2)" ( (binary_expression "param_1 != piVar1 + iVar2" identifier != (binary_expression "piVar1 + iVar2" identifier + identifier)) )) ;) })) (expression_statement "FUN_000264d0(piVar1);" (call_expression "FUN_000264d0(piVar1)" identifier (argument_list "(piVar1)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid sqlite3_free_table(char **azResult)\n\n{\n  char **p;\n  char *pcVar1;\n  \n  if (azResult != (char **)0x0) {\n    pcVar1 = azResult[-1];\n    p = azResult + -1;\n    if (1 < (int)pcVar1) {\n      do {\n        if (*azResult != (char *)0x0) {\n          sqlite3_free(*azResult);\n        }\n        azResult = azResult + 1;\n      } while (azResult != p + (int)pcVar1);\n    }\n    sqlite3_free(p);\n  }\n  return;\n}\n\n" comment (function_definition "void sqlite3_free_table(char **azResult)\n\n{\n  char **p;\n  char *pcVar1;\n  \n  if (azResult != (char **)0x0) {\n    pcVar1 = azResult[-1];\n    p = azResult + -1;\n    if (1 < (int)pcVar1) {\n      do {\n        if (*azResult != (char *)0x0) {\n          sqlite3_free(*azResult);\n        }\n        azResult = azResult + 1;\n      } while (azResult != p + (int)pcVar1);\n    }\n    sqlite3_free(p);\n  }\n  return;\n}" primitive_type (function_declarator "sqlite3_free_table(char **azResult)" identifier (parameter_list "(char **azResult)" ( (parameter_declaration "char **azResult" primitive_type (pointer_declarator "**azResult" * (pointer_declarator "*azResult" * identifier))) ))) (compound_statement "{\n  char **p;\n  char *pcVar1;\n  \n  if (azResult != (char **)0x0) {\n    pcVar1 = azResult[-1];\n    p = azResult + -1;\n    if (1 < (int)pcVar1) {\n      do {\n        if (*azResult != (char *)0x0) {\n          sqlite3_free(*azResult);\n        }\n        azResult = azResult + 1;\n      } while (azResult != p + (int)pcVar1);\n    }\n    sqlite3_free(p);\n  }\n  return;\n}" { (declaration "char **p;" primitive_type (pointer_declarator "**p" * (pointer_declarator "*p" * identifier)) ;) (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (if_statement "if (azResult != (char **)0x0) {\n    pcVar1 = azResult[-1];\n    p = azResult + -1;\n    if (1 < (int)pcVar1) {\n      do {\n        if (*azResult != (char *)0x0) {\n          sqlite3_free(*azResult);\n        }\n        azResult = azResult + 1;\n      } while (azResult != p + (int)pcVar1);\n    }\n    sqlite3_free(p);\n  }" if (parenthesized_expression "(azResult != (char **)0x0)" ( (binary_expression "azResult != (char **)0x0" identifier != (cast_expression "(char **)0x0" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n    pcVar1 = azResult[-1];\n    p = azResult + -1;\n    if (1 < (int)pcVar1) {\n      do {\n        if (*azResult != (char *)0x0) {\n          sqlite3_free(*azResult);\n        }\n        azResult = azResult + 1;\n      } while (azResult != p + (int)pcVar1);\n    }\n    sqlite3_free(p);\n  }" { (expression_statement "pcVar1 = azResult[-1];" (assignment_expression "pcVar1 = azResult[-1]" identifier = (subscript_expression "azResult[-1]" identifier [ number_literal ])) ;) (expression_statement "p = azResult + -1;" (assignment_expression "p = azResult + -1" identifier = (binary_expression "azResult + -1" identifier + number_literal)) ;) (if_statement "if (1 < (int)pcVar1) {\n      do {\n        if (*azResult != (char *)0x0) {\n          sqlite3_free(*azResult);\n        }\n        azResult = azResult + 1;\n      } while (azResult != p + (int)pcVar1);\n    }" if (parenthesized_expression "(1 < (int)pcVar1)" ( (binary_expression "1 < (int)pcVar1" number_literal < (cast_expression "(int)pcVar1" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n      do {\n        if (*azResult != (char *)0x0) {\n          sqlite3_free(*azResult);\n        }\n        azResult = azResult + 1;\n      } while (azResult != p + (int)pcVar1);\n    }" { (do_statement "do {\n        if (*azResult != (char *)0x0) {\n          sqlite3_free(*azResult);\n        }\n        azResult = azResult + 1;\n      } while (azResult != p + (int)pcVar1);" do (compound_statement "{\n        if (*azResult != (char *)0x0) {\n          sqlite3_free(*azResult);\n        }\n        azResult = azResult + 1;\n      }" { (if_statement "if (*azResult != (char *)0x0) {\n          sqlite3_free(*azResult);\n        }" if (parenthesized_expression "(*azResult != (char *)0x0)" ( (binary_expression "*azResult != (char *)0x0" (pointer_expression "*azResult" * identifier) != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          sqlite3_free(*azResult);\n        }" { (expression_statement "sqlite3_free(*azResult);" (call_expression "sqlite3_free(*azResult)" identifier (argument_list "(*azResult)" ( (pointer_expression "*azResult" * identifier) ))) ;) })) (expression_statement "azResult = azResult + 1;" (assignment_expression "azResult = azResult + 1" identifier = (binary_expression "azResult + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(azResult != p + (int)pcVar1)" ( (binary_expression "azResult != p + (int)pcVar1" identifier != (binary_expression "p + (int)pcVar1" identifier + (cast_expression "(int)pcVar1" ( (type_descriptor "int" primitive_type) ) identifier))) )) ;) })) (expression_statement "sqlite3_free(p);" (call_expression "sqlite3_free(p)" identifier (argument_list "(p)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00027480(int *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  if (param_1 != (int *)0x0) {\n    iVar2 = param_1[-1];\n    piVar1 = param_1 + -1;\n    if (1 < iVar2) {\n      do {\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      } while (param_1 != piVar1 + iVar2);\n    }\n    FUN_000264d0(piVar1);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00027480(int *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  if (param_1 != (int *)0x0) {\n    iVar2 = param_1[-1];\n    piVar1 = param_1 + -1;\n    if (1 < iVar2) {\n      do {\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      } while (param_1 != piVar1 + iVar2);\n    }\n    FUN_000264d0(piVar1);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00027480(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  \n  if (param_1 != (int *)0x0) {\n    iVar2 = param_1[-1];\n    piVar1 = param_1 + -1;\n    if (1 < iVar2) {\n      do {\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      } while (param_1 != piVar1 + iVar2);\n    }\n    FUN_000264d0(piVar1);\n  }\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (param_1 != (int *)0x0) {\n    iVar2 = param_1[-1];\n    piVar1 = param_1 + -1;\n    if (1 < iVar2) {\n      do {\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      } while (param_1 != piVar1 + iVar2);\n    }\n    FUN_000264d0(piVar1);\n  }" if (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    iVar2 = param_1[-1];\n    piVar1 = param_1 + -1;\n    if (1 < iVar2) {\n      do {\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      } while (param_1 != piVar1 + iVar2);\n    }\n    FUN_000264d0(piVar1);\n  }" { (expression_statement "iVar2 = param_1[-1];" (assignment_expression "iVar2 = param_1[-1]" identifier = (subscript_expression "param_1[-1]" identifier [ number_literal ])) ;) (expression_statement "piVar1 = param_1 + -1;" (assignment_expression "piVar1 = param_1 + -1" identifier = (binary_expression "param_1 + -1" identifier + number_literal)) ;) (if_statement "if (1 < iVar2) {\n      do {\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      } while (param_1 != piVar1 + iVar2);\n    }" if (parenthesized_expression "(1 < iVar2)" ( (binary_expression "1 < iVar2" number_literal < identifier) )) (compound_statement "{\n      do {\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      } while (param_1 != piVar1 + iVar2);\n    }" { (do_statement "do {\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      } while (param_1 != piVar1 + iVar2);" do (compound_statement "{\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      }" { (if_statement "if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }" if (parenthesized_expression "(*param_1 != 0)" ( (binary_expression "*param_1 != 0" (pointer_expression "*param_1" * identifier) != number_literal) )) (compound_statement "{\n          FUN_000264d0(*param_1);\n        }" { (expression_statement "FUN_000264d0(*param_1);" (call_expression "FUN_000264d0(*param_1)" identifier (argument_list "(*param_1)" ( (pointer_expression "*param_1" * identifier) ))) ;) })) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" identifier = (binary_expression "param_1 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(param_1 != piVar1 + iVar2)" ( (binary_expression "param_1 != piVar1 + iVar2" identifier != (binary_expression "piVar1 + iVar2" identifier + identifier)) )) ;) })) (expression_statement "FUN_000264d0(piVar1);" (call_expression "FUN_000264d0(piVar1)" identifier (argument_list "(piVar1)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + IDENT)) )) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00027480(int *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  \n  if (param_1 != (int *)0x0) {\n    iVar2 = param_1[-1];\n    piVar1 = param_1 + -1;\n    if (1 < iVar2) {\n      do {\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      } while (param_1 != piVar1 + iVar2);\n    }\n    FUN_000264d0(piVar1);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00027480(int *param_1)" (identifier "FUN_00027480") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  \n  if (param_1 != (int *)0x0) {\n    iVar2 = param_1[-1];\n    piVar1 = param_1 + -1;\n    if (1 < iVar2) {\n      do {\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      } while (param_1 != piVar1 + iVar2);\n    }\n    FUN_000264d0(piVar1);\n  }\n  return;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if (param_1 != (int *)0x0) {\n    iVar2 = param_1[-1];\n    piVar1 = param_1 + -1;\n    if (1 < iVar2) {\n      do {\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      } while (param_1 != piVar1 + iVar2);\n    }\n    FUN_000264d0(piVar1);\n  }" (if "if") (parenthesized_expression "(param_1 != (int *)0x0)" (( "(") (binary_expression "param_1 != (int *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    iVar2 = param_1[-1];\n    piVar1 = param_1 + -1;\n    if (1 < iVar2) {\n      do {\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      } while (param_1 != piVar1 + iVar2);\n    }\n    FUN_000264d0(piVar1);\n  }" ({ "{") (expression_statement "iVar2 = param_1[-1];" (assignment_expression "iVar2 = param_1[-1]" (identifier "iVar2") (= "=") (subscript_expression "param_1[-1]" (identifier "param_1") ([ "[") (number_literal "-1") (] "]"))) (; ";")) (expression_statement "piVar1 = param_1 + -1;" (assignment_expression "piVar1 = param_1 + -1" (identifier "piVar1") (= "=") (binary_expression "param_1 + -1" (identifier "param_1") (+ "+") (number_literal "-1"))) (; ";")) (if_statement "if (1 < iVar2) {\n      do {\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      } while (param_1 != piVar1 + iVar2);\n    }" (if "if") (parenthesized_expression "(1 < iVar2)" (( "(") (binary_expression "1 < iVar2" (number_literal "1") (< "<") (identifier "iVar2")) () ")")) (compound_statement "{\n      do {\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      } while (param_1 != piVar1 + iVar2);\n    }" ({ "{") (do_statement "do {\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      } while (param_1 != piVar1 + iVar2);" (do "do") (compound_statement "{\n        if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }\n        param_1 = param_1 + 1;\n      }" ({ "{") (if_statement "if (*param_1 != 0) {\n          FUN_000264d0(*param_1);\n        }" (if "if") (parenthesized_expression "(*param_1 != 0)" (( "(") (binary_expression "*param_1 != 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          FUN_000264d0(*param_1);\n        }" ({ "{") (expression_statement "FUN_000264d0(*param_1);" (call_expression "FUN_000264d0(*param_1)" (identifier "FUN_000264d0") (argument_list "(*param_1)" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) () ")"))) (; ";")) (} "}"))) (expression_statement "param_1 = param_1 + 1;" (assignment_expression "param_1 = param_1 + 1" (identifier "param_1") (= "=") (binary_expression "param_1 + 1" (identifier "param_1") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(param_1 != piVar1 + iVar2)" (( "(") (binary_expression "param_1 != piVar1 + iVar2" (identifier "param_1") (!= "!=") (binary_expression "piVar1 + iVar2" (identifier "piVar1") (+ "+") (identifier "iVar2"))) () ")")) (; ";")) (} "}"))) (expression_statement "FUN_000264d0(piVar1);" (call_expression "FUN_000264d0(piVar1)" (identifier "FUN_000264d0") (argument_list "(piVar1)" (( "(") (identifier "piVar1") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void function_1(char **var_1)

{
  char **var_3;
  char *pcVar1;
  
  if (var_1 != (char **)0x0) {
    pcVar1 = var_1[-1];
    var_3 = var_1 + -1;
    if (1 < (int)pcVar1) {
      do {
        if (*var_1 != (char *)0x0) {
          var_2(*var_1);
        }
        var_1 = var_1 + 1;
      } while (var_1 != var_3 + (int)pcVar1);
    }
    var_2(var_3);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */

void MASKED(int *param_1)

{
  int *piVar1;
  int iVar2;
  
  if (param_1 != (int *)0x0) {
    iVar2 = param_1[-1];
    piVar1 = param_1 + -1;
    if (1 < iVar2) {
      do {
        if (*param_1 != 0) {
          FUN_000264d0(*param_1);
        }
        param_1 = param_1 + 1;
      } while (param_1 != piVar1 + iVar2);
    }
    FUN_000264d0(piVar1);
  }
  return;
}

