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

int __regparm3 sqlite3CantopenError(int lineno)

{
  char *pcVar1;
  
  pcVar1 = sqlite3_sourceid();
  sqlite3_log(0xe,"%s at line %d of [%.10s]","cannot open file",lineno,pcVar1 + 0x14);
  return 0xe;
}



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

undefined4 __regparm3 FUN_00051320(undefined4 param_1)

{
  int iVar1;
  
  iVar1 = FUN_00020880();
  FUN_00050b70(0xe,"%s at line %d of [%.10s]","cannot open file",param_1,iVar1 + 0x14);
  return 0xe;
}


PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00014cf0
ADD EBX,0xf7bab
SUB ESP,0x4
CALL 0x00020880
SUB ESP,0xc
ADD EAX,0x14
PUSH EAX
LEA EAX,[EBX + 0xfffadade]
PUSH ESI
PUSH EAX
LEA EAX,[EBX + 0xfffadac5]
PUSH EAX
PUSH 0xe
CALL 0x00050b70
ADD ESP,0x24
MOV EAX,0xe
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_00051320(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00020880();\n  FUN_00050b70(0xe,"%s at line %d of [%.10s]","cannot open file",param_1,iVar1 + 0x14);\n  return 0xe;\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_00051320(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00020880();\n  FUN_00050b70(0xe,"%s at line %d of [%.10s]","cannot open file",param_1,iVar1 + 0x14);\n  return 0xe;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00051320(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00020880();\n  FUN_00050b70(0xe,"%s at line %d of [%.10s]","cannot open file",param_1,iVar1 + 0x14);\n  return 0xe;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00020880();" (assignment_expression "iVar1 = FUN_00020880()" identifier = (call_expression "FUN_00020880()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00050b70(0xe,"%s at line %d of [%.10s]","cannot open file",param_1,iVar1 + 0x14);" (call_expression "FUN_00050b70(0xe,"%s at line %d of [%.10s]","cannot open file",param_1,iVar1 + 0x14)" identifier (argument_list "(0xe,"%s at line %d of [%.10s]","cannot open file",param_1,iVar1 + 0x14)" ( number_literal , (string_literal ""%s at line %d of [%.10s]"" " string_content ") , (string_literal ""cannot open file"" " string_content ") , identifier , (binary_expression "iVar1 + 0x14" identifier + number_literal) ))) ;) (return_statement "return 0xe;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3 sqlite3CantopenError(int lineno)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = sqlite3_sourceid();\n  sqlite3_log(0xe,"%s at line %d of [%.10s]","cannot open file",lineno,pcVar1 + 0x14);\n  return 0xe;\n}\n\n" comment (function_definition "int __regparm3 sqlite3CantopenError(int lineno)\n\n{\n  char *pcVar1;\n  \n  pcVar1 = sqlite3_sourceid();\n  sqlite3_log(0xe,"%s at line %d of [%.10s]","cannot open file",lineno,pcVar1 + 0x14);\n  return 0xe;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "sqlite3CantopenError(int lineno)" identifier (parameter_list "(int lineno)" ( (parameter_declaration "int lineno" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  \n  pcVar1 = sqlite3_sourceid();\n  sqlite3_log(0xe,"%s at line %d of [%.10s]","cannot open file",lineno,pcVar1 + 0x14);\n  return 0xe;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (expression_statement "pcVar1 = sqlite3_sourceid();" (assignment_expression "pcVar1 = sqlite3_sourceid()" identifier = (call_expression "sqlite3_sourceid()" identifier (argument_list "()" ( )))) ;) (expression_statement "sqlite3_log(0xe,"%s at line %d of [%.10s]","cannot open file",lineno,pcVar1 + 0x14);" (call_expression "sqlite3_log(0xe,"%s at line %d of [%.10s]","cannot open file",lineno,pcVar1 + 0x14)" identifier (argument_list "(0xe,"%s at line %d of [%.10s]","cannot open file",lineno,pcVar1 + 0x14)" ( number_literal , (string_literal ""%s at line %d of [%.10s]"" " string_content ") , (string_literal ""cannot open file"" " string_content ") , identifier , (binary_expression "pcVar1 + 0x14" identifier + number_literal) ))) ;) (return_statement "return 0xe;" return number_literal ;) })))
(translation_unit "undefined4 __regparm3 FUN_00051320(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00020880();\n  FUN_00050b70(0xe,"%s at line %d of [%.10s]","cannot open file",param_1,iVar1 + 0x14);\n  return 0xe;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_00051320(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00020880();\n  FUN_00050b70(0xe,"%s at line %d of [%.10s]","cannot open file",param_1,iVar1 + 0x14);\n  return 0xe;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00051320(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00020880();\n  FUN_00050b70(0xe,"%s at line %d of [%.10s]","cannot open file",param_1,iVar1 + 0x14);\n  return 0xe;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00020880();" (assignment_expression "iVar1 = FUN_00020880()" identifier = (call_expression "FUN_00020880()" identifier (argument_list "()" ( )))) ;) (expression_statement "FUN_00050b70(0xe,"%s at line %d of [%.10s]","cannot open file",param_1,iVar1 + 0x14);" (call_expression "FUN_00050b70(0xe,"%s at line %d of [%.10s]","cannot open file",param_1,iVar1 + 0x14)" identifier (argument_list "(0xe,"%s at line %d of [%.10s]","cannot open file",param_1,iVar1 + 0x14)" ( number_literal , (string_literal ""%s at line %d of [%.10s]"" " string_content ") , (string_literal ""cannot open file"" " string_content ") , identifier , (binary_expression "iVar1 + 0x14" identifier + number_literal) ))) ;) (return_statement "return 0xe;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , (string_literal " string_content ") , IDENT , (binary_expression IDENT + LIT) ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm3 FUN_00051320(undefined4 param_1)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00020880();\n  FUN_00050b70(0xe,"%s at line %d of [%.10s]","cannot open file",param_1,iVar1 + 0x14);\n  return 0xe;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00051320(undefined4 param_1)" (identifier "FUN_00051320") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00020880();\n  FUN_00050b70(0xe,"%s at line %d of [%.10s]","cannot open file",param_1,iVar1 + 0x14);\n  return 0xe;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_00020880();" (assignment_expression "iVar1 = FUN_00020880()" (identifier "iVar1") (= "=") (call_expression "FUN_00020880()" (identifier "FUN_00020880") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "FUN_00050b70(0xe,"%s at line %d of [%.10s]","cannot open file",param_1,iVar1 + 0x14);" (call_expression "FUN_00050b70(0xe,"%s at line %d of [%.10s]","cannot open file",param_1,iVar1 + 0x14)" (identifier "FUN_00050b70") (argument_list "(0xe,"%s at line %d of [%.10s]","cannot open file",param_1,iVar1 + 0x14)" (( "(") (number_literal "0xe") (, ",") (string_literal ""%s at line %d of [%.10s]"" (" """) (string_content "%s at line %d of [%.10s]") (" """)) (, ",") (string_literal ""cannot open file"" (" """) (string_content "cannot open file") (" """)) (, ",") (identifier "param_1") (, ",") (binary_expression "iVar1 + 0x14" (identifier "iVar1") (+ "+") (number_literal "0x14")) () ")"))) (; ";")) (return_statement "return 0xe;" (return "return") (number_literal "0xe") (; ";")) (} "}")))

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

int __regparm3 function_1(int lineno)

{
  char *var_3;
  
  var_3 = var_1();
  var_2(0xe,"%s at line %d of [%.10s]","cannot open file",lineno,var_3 + 0x14);
  return 0xe;
}


(translation_unit (function_definition type: (type_identifier) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (string_literal (string_content)) (identifier) (binary_expression left: (identifier) right: (number_literal))))) (return_statement (number_literal)))))

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

undefined4 __regparm3 MASKED(undefined4 param_1)

{
  int iVar1;
  
  iVar1 = FUN_00020880();
  FUN_00050b70(0xe,"%s at line %d of [%.10s]","cannot open file",param_1,iVar1 + 0x14);
  return 0xe;
}

