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

void zipfileCursorErr(ZipfileCsr *pCsr,char *zFmt,...)

{
  sqlite3_vtab *psVar1;
  char *pcVar2;
  
  sqlite3_free(((pCsr->base).pVtab)->zErrMsg);
  psVar1 = (pCsr->base).pVtab;
  pcVar2 = sqlite3_vmprintf(zFmt,&stack0x0000000c);
  psVar1->zErrMsg = pcVar2;
  return;
}



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

void FUN_0001c490(int *param_1,undefined4 param_2)

{
  int iVar1;
  undefined4 uVar2;
  
  FUN_00042800(*(undefined4 *)(*param_1 + 8));
  iVar1 = *param_1;
  uVar2 = FUN_0008ef50(param_2,&stack0x0000000c);
  *(undefined4 *)(iVar1 + 8) = uVar2;
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x00017230
ADD EBX,0x15f98c
MOV EAX,dword ptr [ESI]
LEA EDI,[ESP + 0x18]
SUB ESP,0xc
PUSH dword ptr [EAX + 0x8]
CALL 0x00042800
MOV ESI,dword ptr [ESI]
POP EAX
POP EDX
PUSH EDI
PUSH dword ptr [ESP + 0x20]
CALL 0x0008ef50
ADD ESP,0x10
MOV dword ptr [ESI + 0x8],EAX
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_0001c490(int *param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  FUN_00042800(*(undefined4 *)(*param_1 + 8));\n  iVar1 = *param_1;\n  uVar2 = FUN_0008ef50(param_2,&stack0x0000000c);\n  *(undefined4 *)(iVar1 + 8) = uVar2;\n  return;\n}\n\n" comment (function_definition "void FUN_0001c490(int *param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  FUN_00042800(*(undefined4 *)(*param_1 + 8));\n  iVar1 = *param_1;\n  uVar2 = FUN_0008ef50(param_2,&stack0x0000000c);\n  *(undefined4 *)(iVar1 + 8) = uVar2;\n  return;\n}" primitive_type (function_declarator "FUN_0001c490(int *param_1,undefined4 param_2)" identifier (parameter_list "(int *param_1,undefined4 param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  FUN_00042800(*(undefined4 *)(*param_1 + 8));\n  iVar1 = *param_1;\n  uVar2 = FUN_0008ef50(param_2,&stack0x0000000c);\n  *(undefined4 *)(iVar1 + 8) = uVar2;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "FUN_00042800(*(undefined4 *)(*param_1 + 8));" (call_expression "FUN_00042800(*(undefined4 *)(*param_1 + 8))" identifier (argument_list "(*(undefined4 *)(*param_1 + 8))" ( (pointer_expression "*(undefined4 *)(*param_1 + 8)" * (cast_expression "(undefined4 *)(*param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) )))) ))) ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar2 = FUN_0008ef50(param_2,&stack0x0000000c);" (assignment_expression "uVar2 = FUN_0008ef50(param_2,&stack0x0000000c)" identifier = (call_expression "FUN_0008ef50(param_2,&stack0x0000000c)" identifier (argument_list "(param_2,&stack0x0000000c)" ( identifier , (pointer_expression "&stack0x0000000c" & identifier) )))) ;) (expression_statement "*(undefined4 *)(iVar1 + 8) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 8) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = 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 zipfileCursorErr(ZipfileCsr *pCsr,char *zFmt,...)\n\n{\n  sqlite3_vtab *psVar1;\n  char *pcVar2;\n  \n  sqlite3_free(((pCsr->base).pVtab)->zErrMsg);\n  psVar1 = (pCsr->base).pVtab;\n  pcVar2 = sqlite3_vmprintf(zFmt,&stack0x0000000c);\n  psVar1->zErrMsg = pcVar2;\n  return;\n}\n\n" comment comment (function_definition "void zipfileCursorErr(ZipfileCsr *pCsr,char *zFmt,...)\n\n{\n  sqlite3_vtab *psVar1;\n  char *pcVar2;\n  \n  sqlite3_free(((pCsr->base).pVtab)->zErrMsg);\n  psVar1 = (pCsr->base).pVtab;\n  pcVar2 = sqlite3_vmprintf(zFmt,&stack0x0000000c);\n  psVar1->zErrMsg = pcVar2;\n  return;\n}" primitive_type (function_declarator "zipfileCursorErr(ZipfileCsr *pCsr,char *zFmt,...)" identifier (parameter_list "(ZipfileCsr *pCsr,char *zFmt,...)" ( (parameter_declaration "ZipfileCsr *pCsr" type_identifier (pointer_declarator "*pCsr" * identifier)) , (parameter_declaration "char *zFmt" primitive_type (pointer_declarator "*zFmt" * identifier)) , (variadic_parameter "..." ...) ))) (compound_statement "{\n  sqlite3_vtab *psVar1;\n  char *pcVar2;\n  \n  sqlite3_free(((pCsr->base).pVtab)->zErrMsg);\n  psVar1 = (pCsr->base).pVtab;\n  pcVar2 = sqlite3_vmprintf(zFmt,&stack0x0000000c);\n  psVar1->zErrMsg = pcVar2;\n  return;\n}" { (declaration "sqlite3_vtab *psVar1;" type_identifier (pointer_declarator "*psVar1" * identifier) ;) (declaration "char *pcVar2;" primitive_type (pointer_declarator "*pcVar2" * identifier) ;) (expression_statement "sqlite3_free(((pCsr->base).pVtab)->zErrMsg);" (call_expression "sqlite3_free(((pCsr->base).pVtab)->zErrMsg)" identifier (argument_list "(((pCsr->base).pVtab)->zErrMsg)" ( (field_expression "((pCsr->base).pVtab)->zErrMsg" (parenthesized_expression "((pCsr->base).pVtab)" ( (field_expression "(pCsr->base).pVtab" (parenthesized_expression "(pCsr->base)" ( (field_expression "pCsr->base" identifier -> field_identifier) )) . field_identifier) )) -> field_identifier) ))) ;) (expression_statement "psVar1 = (pCsr->base).pVtab;" (assignment_expression "psVar1 = (pCsr->base).pVtab" identifier = (field_expression "(pCsr->base).pVtab" (parenthesized_expression "(pCsr->base)" ( (field_expression "pCsr->base" identifier -> field_identifier) )) . field_identifier)) ;) (expression_statement "pcVar2 = sqlite3_vmprintf(zFmt,&stack0x0000000c);" (assignment_expression "pcVar2 = sqlite3_vmprintf(zFmt,&stack0x0000000c)" identifier = (call_expression "sqlite3_vmprintf(zFmt,&stack0x0000000c)" identifier (argument_list "(zFmt,&stack0x0000000c)" ( identifier , (pointer_expression "&stack0x0000000c" & identifier) )))) ;) (expression_statement "psVar1->zErrMsg = pcVar2;" (assignment_expression "psVar1->zErrMsg = pcVar2" (field_expression "psVar1->zErrMsg" identifier -> field_identifier) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_0001c490(int *param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  FUN_00042800(*(undefined4 *)(*param_1 + 8));\n  iVar1 = *param_1;\n  uVar2 = FUN_0008ef50(param_2,&stack0x0000000c);\n  *(undefined4 *)(iVar1 + 8) = uVar2;\n  return;\n}\n\n" (function_definition "void FUN_0001c490(int *param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  FUN_00042800(*(undefined4 *)(*param_1 + 8));\n  iVar1 = *param_1;\n  uVar2 = FUN_0008ef50(param_2,&stack0x0000000c);\n  *(undefined4 *)(iVar1 + 8) = uVar2;\n  return;\n}" primitive_type (function_declarator "FUN_0001c490(int *param_1,undefined4 param_2)" identifier (parameter_list "(int *param_1,undefined4 param_2)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  FUN_00042800(*(undefined4 *)(*param_1 + 8));\n  iVar1 = *param_1;\n  uVar2 = FUN_0008ef50(param_2,&stack0x0000000c);\n  *(undefined4 *)(iVar1 + 8) = uVar2;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (expression_statement "FUN_00042800(*(undefined4 *)(*param_1 + 8));" (call_expression "FUN_00042800(*(undefined4 *)(*param_1 + 8))" identifier (argument_list "(*(undefined4 *)(*param_1 + 8))" ( (pointer_expression "*(undefined4 *)(*param_1 + 8)" * (cast_expression "(undefined4 *)(*param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) )))) ))) ;) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" identifier = (pointer_expression "*param_1" * identifier)) ;) (expression_statement "uVar2 = FUN_0008ef50(param_2,&stack0x0000000c);" (assignment_expression "uVar2 = FUN_0008ef50(param_2,&stack0x0000000c)" identifier = (call_expression "FUN_0008ef50(param_2,&stack0x0000000c)" identifier (argument_list "(param_2,&stack0x0000000c)" ( identifier , (pointer_expression "&stack0x0000000c" & identifier) )))) ;) (expression_statement "*(undefined4 *)(iVar1 + 8) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 8) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 8)" * (cast_expression "(undefined4 *)(iVar1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 8)" ( (binary_expression "iVar1 + 8" identifier + number_literal) )))) = identifier) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) )))) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (return_statement return ;) })))
(function_definition "void FUN_0001c490(int *param_1,undefined4 param_2)\n\n{\n  int iVar1;\n  undefined4 uVar2;\n  \n  FUN_00042800(*(undefined4 *)(*param_1 + 8));\n  iVar1 = *param_1;\n  uVar2 = FUN_0008ef50(param_2,&stack0x0000000c);\n  *(undefined4 *)(iVar1 + 8) = uVar2;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_0001c490(int *param_1,undefined4 param_2)" (identifier "FUN_0001c490") (parameter_list "(int *param_1,undefined4 param_2)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 uVar2;\n  \n  FUN_00042800(*(undefined4 *)(*param_1 + 8));\n  iVar1 = *param_1;\n  uVar2 = FUN_0008ef50(param_2,&stack0x0000000c);\n  *(undefined4 *)(iVar1 + 8) = uVar2;\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (expression_statement "FUN_00042800(*(undefined4 *)(*param_1 + 8));" (call_expression "FUN_00042800(*(undefined4 *)(*param_1 + 8))" (identifier "FUN_00042800") (argument_list "(*(undefined4 *)(*param_1 + 8))" (( "(") (pointer_expression "*(undefined4 *)(*param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 8)" (( "(") (binary_expression "*param_1 + 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "8")) () ")")))) () ")"))) (; ";")) (expression_statement "iVar1 = *param_1;" (assignment_expression "iVar1 = *param_1" (identifier "iVar1") (= "=") (pointer_expression "*param_1" (* "*") (identifier "param_1"))) (; ";")) (expression_statement "uVar2 = FUN_0008ef50(param_2,&stack0x0000000c);" (assignment_expression "uVar2 = FUN_0008ef50(param_2,&stack0x0000000c)" (identifier "uVar2") (= "=") (call_expression "FUN_0008ef50(param_2,&stack0x0000000c)" (identifier "FUN_0008ef50") (argument_list "(param_2,&stack0x0000000c)" (( "(") (identifier "param_2") (, ",") (pointer_expression "&stack0x0000000c" (& "&") (identifier "stack0x0000000c")) () ")")))) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 8) = uVar2;" (assignment_expression "*(undefined4 *)(iVar1 + 8) = uVar2" (pointer_expression "*(undefined4 *)(iVar1 + 8)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 8)" (( "(") (binary_expression "iVar1 + 8" (identifier "iVar1") (+ "+") (number_literal "8")) () ")")))) (= "=") (identifier "uVar2")) (; ";")) (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 *pCsr,char *zFmt,...)

{
  type_2 *psVar1;
  char *pcVar2;
  
  var_1(((pCsr->base).pVtab)->zErrMsg);
  psVar1 = (pCsr->base).pVtab;
  pcVar2 = var_2(zFmt,&stack0x0000000c);
  psVar1->zErrMsg = pcVar2;
  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))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (return_statement))))

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

void MASKED(int *param_1,undefined4 param_2)

{
  int iVar1;
  undefined4 uVar2;
  
  FUN_00042800(*(undefined4 *)(*param_1 + 8));
  iVar1 = *param_1;
  uVar2 = FUN_0008ef50(param_2,&stack0x0000000c);
  *(undefined4 *)(iVar1 + 8) = uVar2;
  return;
}

