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

void shellModuleSchema(sqlite3_context *pCtx,int nVal,sqlite3_value **apVal)

{
  uchar *zName;
  sqlite3 *db;
  char *__ptr;
  char *z;
  
  zName = sqlite3_value_text(*apVal);
  db = sqlite3_context_db_handle(pCtx);
  __ptr = shellFakeSchema(db,(char *)0x0,(char *)zName);
  if (__ptr != (char *)0x0) {
    z = sqlite3_mprintf("/* %s */",__ptr);
    sqlite3_result_text(pCtx,z,-1,(_func_void_void_ptr *)PTR_sqlite3_free_001baff0);
    free(__ptr);
  }
  return;
}



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

void FUN_00029a60(undefined4 param_1,undefined4 param_2,undefined4 *param_3)

{
  void *__ptr;
  undefined4 uVar1;
  
  FUN_00081090(*param_3);
  FUN_0003cac0(param_1);
  __ptr = (void *)FUN_000296f0();
  if (__ptr != (void *)0x0) {
    uVar1 = FUN_000a3060("/* %s */",__ptr);
    FUN_000722b0(param_1,uVar1,0xffffffff,PTR_FUN_001baff0);
    free(__ptr);
  }
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EDI,dword ptr [ESP + 0x10]
CALL 0x000172e0
ADD EBX,0x1913bc
SUB ESP,0xc
MOV EAX,dword ptr [ESP + 0x24]
PUSH dword ptr [EAX]
CALL 0x00081090
MOV dword ptr [ESP],EDI
MOV ESI,EAX
CALL 0x0003cac0
MOV ECX,ESI
XOR EDX,EDX
CALL 0x000296f0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00029ac7
SUB ESP,0x8
MOV ESI,EAX
PUSH EAX
LEA EAX,[EBX + 0xfff9f3d5]
PUSH EAX
CALL 0x000a3060
PUSH dword ptr [EBX + 0x1c8]
PUSH -0x1
PUSH EAX
PUSH EDI
CALL 0x000722b0
ADD ESP,0x14
PUSH ESI
CALL 0x00015110
ADD ESP,0x10
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00029a60(undefined4 param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  void *__ptr;\n  undefined4 uVar1;\n  \n  FUN_00081090(*param_3);\n  FUN_0003cac0(param_1);\n  __ptr = (void *)FUN_000296f0();\n  if (__ptr != (void *)0x0) {\n    uVar1 = FUN_000a3060("/* %s */",__ptr);\n    FUN_000722b0(param_1,uVar1,0xffffffff,PTR_FUN_001baff0);\n    free(__ptr);\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00029a60(undefined4 param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  void *__ptr;\n  undefined4 uVar1;\n  \n  FUN_00081090(*param_3);\n  FUN_0003cac0(param_1);\n  __ptr = (void *)FUN_000296f0();\n  if (__ptr != (void *)0x0) {\n    uVar1 = FUN_000a3060("/* %s */",__ptr);\n    FUN_000722b0(param_1,uVar1,0xffffffff,PTR_FUN_001baff0);\n    free(__ptr);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00029a60(undefined4 param_1,undefined4 param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  void *__ptr;\n  undefined4 uVar1;\n  \n  FUN_00081090(*param_3);\n  FUN_0003cac0(param_1);\n  __ptr = (void *)FUN_000296f0();\n  if (__ptr != (void *)0x0) {\n    uVar1 = FUN_000a3060("/* %s */",__ptr);\n    FUN_000722b0(param_1,uVar1,0xffffffff,PTR_FUN_001baff0);\n    free(__ptr);\n  }\n  return;\n}" { (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "FUN_00081090(*param_3);" (call_expression "FUN_00081090(*param_3)" identifier (argument_list "(*param_3)" ( (pointer_expression "*param_3" * identifier) ))) ;) (expression_statement "FUN_0003cac0(param_1);" (call_expression "FUN_0003cac0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "__ptr = (void *)FUN_000296f0();" (assignment_expression "__ptr = (void *)FUN_000296f0()" identifier = (cast_expression "(void *)FUN_000296f0()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000296f0()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (__ptr != (void *)0x0) {\n    uVar1 = FUN_000a3060("/* %s */",__ptr);\n    FUN_000722b0(param_1,uVar1,0xffffffff,PTR_FUN_001baff0);\n    free(__ptr);\n  }" if (parenthesized_expression "(__ptr != (void *)0x0)" ( (binary_expression "__ptr != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar1 = FUN_000a3060("/* %s */",__ptr);\n    FUN_000722b0(param_1,uVar1,0xffffffff,PTR_FUN_001baff0);\n    free(__ptr);\n  }" { (expression_statement "uVar1 = FUN_000a3060("/* %s */",__ptr);" (assignment_expression "uVar1 = FUN_000a3060("/* %s */",__ptr)" identifier = (call_expression "FUN_000a3060("/* %s */",__ptr)" identifier (argument_list "("/* %s */",__ptr)" ( (string_literal ""/* %s */"" " string_content ") , identifier )))) ;) (expression_statement "FUN_000722b0(param_1,uVar1,0xffffffff,PTR_FUN_001baff0);" (call_expression "FUN_000722b0(param_1,uVar1,0xffffffff,PTR_FUN_001baff0)" identifier (argument_list "(param_1,uVar1,0xffffffff,PTR_FUN_001baff0)" ( identifier , identifier , number_literal , identifier ))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid shellModuleSchema(sqlite3_context *pCtx,int nVal,sqlite3_value **apVal)\n\n{\n  uchar *zName;\n  sqlite3 *db;\n  char *__ptr;\n  char *z;\n  \n  zName = sqlite3_value_text(*apVal);\n  db = sqlite3_context_db_handle(pCtx);\n  __ptr = shellFakeSchema(db,(char *)0x0,(char *)zName);\n  if (__ptr != (char *)0x0) {\n    z = sqlite3_mprintf("/* %s */",__ptr);\n    sqlite3_result_text(pCtx,z,-1,(_func_void_void_ptr *)PTR_sqlite3_free_001baff0);\n    free(__ptr);\n  }\n  return;\n}\n\n" comment comment (function_definition "void shellModuleSchema(sqlite3_context *pCtx,int nVal,sqlite3_value **apVal)\n\n{\n  uchar *zName;\n  sqlite3 *db;\n  char *__ptr;\n  char *z;\n  \n  zName = sqlite3_value_text(*apVal);\n  db = sqlite3_context_db_handle(pCtx);\n  __ptr = shellFakeSchema(db,(char *)0x0,(char *)zName);\n  if (__ptr != (char *)0x0) {\n    z = sqlite3_mprintf("/* %s */",__ptr);\n    sqlite3_result_text(pCtx,z,-1,(_func_void_void_ptr *)PTR_sqlite3_free_001baff0);\n    free(__ptr);\n  }\n  return;\n}" primitive_type (function_declarator "shellModuleSchema(sqlite3_context *pCtx,int nVal,sqlite3_value **apVal)" identifier (parameter_list "(sqlite3_context *pCtx,int nVal,sqlite3_value **apVal)" ( (parameter_declaration "sqlite3_context *pCtx" type_identifier (pointer_declarator "*pCtx" * identifier)) , (parameter_declaration "int nVal" primitive_type identifier) , (parameter_declaration "sqlite3_value **apVal" type_identifier (pointer_declarator "**apVal" * (pointer_declarator "*apVal" * identifier))) ))) (compound_statement "{\n  uchar *zName;\n  sqlite3 *db;\n  char *__ptr;\n  char *z;\n  \n  zName = sqlite3_value_text(*apVal);\n  db = sqlite3_context_db_handle(pCtx);\n  __ptr = shellFakeSchema(db,(char *)0x0,(char *)zName);\n  if (__ptr != (char *)0x0) {\n    z = sqlite3_mprintf("/* %s */",__ptr);\n    sqlite3_result_text(pCtx,z,-1,(_func_void_void_ptr *)PTR_sqlite3_free_001baff0);\n    free(__ptr);\n  }\n  return;\n}" { (declaration "uchar *zName;" type_identifier (pointer_declarator "*zName" * identifier) ;) (declaration "sqlite3 *db;" type_identifier (pointer_declarator "*db" * identifier) ;) (declaration "char *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "char *z;" primitive_type (pointer_declarator "*z" * identifier) ;) (expression_statement "zName = sqlite3_value_text(*apVal);" (assignment_expression "zName = sqlite3_value_text(*apVal)" identifier = (call_expression "sqlite3_value_text(*apVal)" identifier (argument_list "(*apVal)" ( (pointer_expression "*apVal" * identifier) )))) ;) (expression_statement "db = sqlite3_context_db_handle(pCtx);" (assignment_expression "db = sqlite3_context_db_handle(pCtx)" identifier = (call_expression "sqlite3_context_db_handle(pCtx)" identifier (argument_list "(pCtx)" ( identifier )))) ;) (expression_statement "__ptr = shellFakeSchema(db,(char *)0x0,(char *)zName);" (assignment_expression "__ptr = shellFakeSchema(db,(char *)0x0,(char *)zName)" identifier = (call_expression "shellFakeSchema(db,(char *)0x0,(char *)zName)" identifier (argument_list "(db,(char *)0x0,(char *)zName)" ( identifier , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(char *)zName" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) )))) ;) (if_statement "if (__ptr != (char *)0x0) {\n    z = sqlite3_mprintf("/* %s */",__ptr);\n    sqlite3_result_text(pCtx,z,-1,(_func_void_void_ptr *)PTR_sqlite3_free_001baff0);\n    free(__ptr);\n  }" if (parenthesized_expression "(__ptr != (char *)0x0)" ( (binary_expression "__ptr != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    z = sqlite3_mprintf("/* %s */",__ptr);\n    sqlite3_result_text(pCtx,z,-1,(_func_void_void_ptr *)PTR_sqlite3_free_001baff0);\n    free(__ptr);\n  }" { (expression_statement "z = sqlite3_mprintf("/* %s */",__ptr);" (assignment_expression "z = sqlite3_mprintf("/* %s */",__ptr)" identifier = (call_expression "sqlite3_mprintf("/* %s */",__ptr)" identifier (argument_list "("/* %s */",__ptr)" ( (string_literal ""/* %s */"" " string_content ") , identifier )))) ;) (expression_statement "sqlite3_result_text(pCtx,z,-1,(_func_void_void_ptr *)PTR_sqlite3_free_001baff0);" (call_expression "sqlite3_result_text(pCtx,z,-1,(_func_void_void_ptr *)PTR_sqlite3_free_001baff0)" identifier (argument_list "(pCtx,z,-1,(_func_void_void_ptr *)PTR_sqlite3_free_001baff0)" ( identifier , identifier , number_literal , (cast_expression "(_func_void_void_ptr *)PTR_sqlite3_free_001baff0" ( (type_descriptor "_func_void_void_ptr *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier) ))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00029a60(undefined4 param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  void *__ptr;\n  undefined4 uVar1;\n  \n  FUN_00081090(*param_3);\n  FUN_0003cac0(param_1);\n  __ptr = (void *)FUN_000296f0();\n  if (__ptr != (void *)0x0) {\n    uVar1 = FUN_000a3060("",__ptr);\n    FUN_000722b0(param_1,uVar1,0xffffffff,PTR_FUN_001baff0);\n    free(__ptr);\n  }\n  return;\n}\n\n" (function_definition "void FUN_00029a60(undefined4 param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  void *__ptr;\n  undefined4 uVar1;\n  \n  FUN_00081090(*param_3);\n  FUN_0003cac0(param_1);\n  __ptr = (void *)FUN_000296f0();\n  if (__ptr != (void *)0x0) {\n    uVar1 = FUN_000a3060("",__ptr);\n    FUN_000722b0(param_1,uVar1,0xffffffff,PTR_FUN_001baff0);\n    free(__ptr);\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00029a60(undefined4 param_1,undefined4 param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  void *__ptr;\n  undefined4 uVar1;\n  \n  FUN_00081090(*param_3);\n  FUN_0003cac0(param_1);\n  __ptr = (void *)FUN_000296f0();\n  if (__ptr != (void *)0x0) {\n    uVar1 = FUN_000a3060("",__ptr);\n    FUN_000722b0(param_1,uVar1,0xffffffff,PTR_FUN_001baff0);\n    free(__ptr);\n  }\n  return;\n}" { (declaration "void *__ptr;" primitive_type (pointer_declarator "*__ptr" * identifier) ;) (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "FUN_00081090(*param_3);" (call_expression "FUN_00081090(*param_3)" identifier (argument_list "(*param_3)" ( (pointer_expression "*param_3" * identifier) ))) ;) (expression_statement "FUN_0003cac0(param_1);" (call_expression "FUN_0003cac0(param_1)" identifier (argument_list "(param_1)" ( identifier ))) ;) (expression_statement "__ptr = (void *)FUN_000296f0();" (assignment_expression "__ptr = (void *)FUN_000296f0()" identifier = (cast_expression "(void *)FUN_000296f0()" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_000296f0()" identifier (argument_list "()" ( ))))) ;) (if_statement "if (__ptr != (void *)0x0) {\n    uVar1 = FUN_000a3060("",__ptr);\n    FUN_000722b0(param_1,uVar1,0xffffffff,PTR_FUN_001baff0);\n    free(__ptr);\n  }" if (parenthesized_expression "(__ptr != (void *)0x0)" ( (binary_expression "__ptr != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    uVar1 = FUN_000a3060("",__ptr);\n    FUN_000722b0(param_1,uVar1,0xffffffff,PTR_FUN_001baff0);\n    free(__ptr);\n  }" { (expression_statement "uVar1 = FUN_000a3060("",__ptr);" (assignment_expression "uVar1 = FUN_000a3060("",__ptr)" identifier = (call_expression "FUN_000a3060("",__ptr)" identifier (argument_list "("",__ptr)" ( (string_literal """" " ") , identifier )))) ;) (expression_statement "FUN_000722b0(param_1,uVar1,0xffffffff,PTR_FUN_001baff0);" (call_expression "FUN_000722b0(param_1,uVar1,0xffffffff,PTR_FUN_001baff0)" identifier (argument_list "(param_1,uVar1,0xffffffff,PTR_FUN_001baff0)" ( identifier , identifier , number_literal , identifier ))) ;) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" identifier (argument_list "(__ptr)" ( identifier ))) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " ") , IDENT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00029a60(undefined4 param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  void *__ptr;\n  undefined4 uVar1;\n  \n  FUN_00081090(*param_3);\n  FUN_0003cac0(param_1);\n  __ptr = (void *)FUN_000296f0();\n  if (__ptr != (void *)0x0) {\n    uVar1 = FUN_000a3060("",__ptr);\n    FUN_000722b0(param_1,uVar1,0xffffffff,PTR_FUN_001baff0);\n    free(__ptr);\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00029a60(undefined4 param_1,undefined4 param_2,undefined4 *param_3)" (identifier "FUN_00029a60") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 *param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  void *__ptr;\n  undefined4 uVar1;\n  \n  FUN_00081090(*param_3);\n  FUN_0003cac0(param_1);\n  __ptr = (void *)FUN_000296f0();\n  if (__ptr != (void *)0x0) {\n    uVar1 = FUN_000a3060("",__ptr);\n    FUN_000722b0(param_1,uVar1,0xffffffff,PTR_FUN_001baff0);\n    free(__ptr);\n  }\n  return;\n}" ({ "{") (declaration "void *__ptr;" (primitive_type "void") (pointer_declarator "*__ptr" (* "*") (identifier "__ptr")) (; ";")) (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "FUN_00081090(*param_3);" (call_expression "FUN_00081090(*param_3)" (identifier "FUN_00081090") (argument_list "(*param_3)" (( "(") (pointer_expression "*param_3" (* "*") (identifier "param_3")) () ")"))) (; ";")) (expression_statement "FUN_0003cac0(param_1);" (call_expression "FUN_0003cac0(param_1)" (identifier "FUN_0003cac0") (argument_list "(param_1)" (( "(") (identifier "param_1") () ")"))) (; ";")) (expression_statement "__ptr = (void *)FUN_000296f0();" (assignment_expression "__ptr = (void *)FUN_000296f0()" (identifier "__ptr") (= "=") (cast_expression "(void *)FUN_000296f0()" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_000296f0()" (identifier "FUN_000296f0") (argument_list "()" (( "(") () ")"))))) (; ";")) (if_statement "if (__ptr != (void *)0x0) {\n    uVar1 = FUN_000a3060("",__ptr);\n    FUN_000722b0(param_1,uVar1,0xffffffff,PTR_FUN_001baff0);\n    free(__ptr);\n  }" (if "if") (parenthesized_expression "(__ptr != (void *)0x0)" (( "(") (binary_expression "__ptr != (void *)0x0" (identifier "__ptr") (!= "!=") (cast_expression "(void *)0x0" (( "(") (type_descriptor "void *" (primitive_type "void") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    uVar1 = FUN_000a3060("",__ptr);\n    FUN_000722b0(param_1,uVar1,0xffffffff,PTR_FUN_001baff0);\n    free(__ptr);\n  }" ({ "{") (expression_statement "uVar1 = FUN_000a3060("",__ptr);" (assignment_expression "uVar1 = FUN_000a3060("",__ptr)" (identifier "uVar1") (= "=") (call_expression "FUN_000a3060("",__ptr)" (identifier "FUN_000a3060") (argument_list "("",__ptr)" (( "(") (string_literal """" (" """) (" """)) (, ",") (identifier "__ptr") () ")")))) (; ";")) (expression_statement "FUN_000722b0(param_1,uVar1,0xffffffff,PTR_FUN_001baff0);" (call_expression "FUN_000722b0(param_1,uVar1,0xffffffff,PTR_FUN_001baff0)" (identifier "FUN_000722b0") (argument_list "(param_1,uVar1,0xffffffff,PTR_FUN_001baff0)" (( "(") (identifier "param_1") (, ",") (identifier "uVar1") (, ",") (number_literal "0xffffffff") (, ",") (identifier "PTR_FUN_001baff0") () ")"))) (; ";")) (expression_statement "free(__ptr);" (call_expression "free(__ptr)" (identifier "free") (argument_list "(__ptr)" (( "(") (identifier "__ptr") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *pCtx,int nVal,type_2 **apVal)

{
  type_3 *zName;
  type_4 *db;
  char *var_4;
  char *z;
  
  zName = var_1(*apVal);
  db = var_2(pCtx);
  var_4 = var_3(db,(char *)0x0,(char *)zName);
  if (var_4 != (char *)0x0) {
    z = var_5("/* %s */",var_4);
    var_6(pCtx,z,-1,(type_5 *)PTR_sqlite3_free_001baff0);
    var_7(var_4);
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (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: (call_expression function: (identifier) arguments: (argument_list (string_literal) (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal) (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(undefined4 param_1,undefined4 param_2,undefined4 *param_3)

{
  void *__ptr;
  undefined4 uVar1;
  
  FUN_00081090(*param_3);
  FUN_0003cac0(param_1);
  __ptr = (void *)FUN_000296f0();
  if (__ptr != (void *)0x0) {
    uVar1 = FUN_000a3060("/* %s */",__ptr);
    FUN_000722b0(param_1,uVar1,0xffffffff,PTR_FUN_001baff0);
    free(__ptr);
  }
  return;
}

