
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

void pcache1Shutdown(void *NotUsed)

{
  int iVar1;
  PCacheGlobal *pPVar2;
  
  pPVar2 = &pcache1_g;
  for (iVar1 = 0x19; iVar1 != 0; iVar1 = iVar1 + -1) {
    (pPVar2->grp).mutex = (sqlite3_mutex *)0x0;
    pPVar2 = (PCacheGlobal *)&(pPVar2->grp).nMaxPage;
  }
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void FUN_000420a0(void)

{
  int iVar1;
  undefined4 *puVar2;
  
  puVar2 = &DAT_0017db20;
  for (iVar1 = 0x19; iVar1 != 0; iVar1 = iVar1 + -1) {
    *puVar2 = 0;
    puVar2 = puVar2 + 1;
  }
  return;
}


CALL 0x00036abd
ADD EAX,0x139d83
PUSH EDI
MOV ECX,0x19
LEA EDX,[EAX + 0x1cf8]
XOR EAX,EAX
MOV EDI,EDX
STOSD.REP ES:EDI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_000420a0(void)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = &DAT_0017db20;\n  for (iVar1 = 0x19; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_000420a0(void)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = &DAT_0017db20;\n  for (iVar1 = 0x19; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000420a0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = &DAT_0017db20;\n  for (iVar1 = 0x19; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar2 = &DAT_0017db20;" (assignment_expression "puVar2 = &DAT_0017db20" identifier = (pointer_expression "&DAT_0017db20" & identifier)) ;) (for_statement "for (iVar1 = 0x19; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }" for ( (assignment_expression "iVar1 = 0x19" identifier = number_literal) ; (binary_expression "iVar1 != 0" identifier != number_literal) ; (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ) (compound_statement "{\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }" { (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Unknown calling convention */\n\nvoid pcache1Shutdown(void *NotUsed)\n\n{\n  int iVar1;\n  PCacheGlobal *pPVar2;\n  \n  pPVar2 = &pcache1_g;\n  for (iVar1 = 0x19; iVar1 != 0; iVar1 = iVar1 + -1) {\n    (pPVar2->grp).mutex = (sqlite3_mutex *)0x0;\n    pPVar2 = (PCacheGlobal *)&(pPVar2->grp).nMaxPage;\n  }\n  return;\n}\n\n" comment comment (function_definition "void pcache1Shutdown(void *NotUsed)\n\n{\n  int iVar1;\n  PCacheGlobal *pPVar2;\n  \n  pPVar2 = &pcache1_g;\n  for (iVar1 = 0x19; iVar1 != 0; iVar1 = iVar1 + -1) {\n    (pPVar2->grp).mutex = (sqlite3_mutex *)0x0;\n    pPVar2 = (PCacheGlobal *)&(pPVar2->grp).nMaxPage;\n  }\n  return;\n}" primitive_type (function_declarator "pcache1Shutdown(void *NotUsed)" identifier (parameter_list "(void *NotUsed)" ( (parameter_declaration "void *NotUsed" primitive_type (pointer_declarator "*NotUsed" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  PCacheGlobal *pPVar2;\n  \n  pPVar2 = &pcache1_g;\n  for (iVar1 = 0x19; iVar1 != 0; iVar1 = iVar1 + -1) {\n    (pPVar2->grp).mutex = (sqlite3_mutex *)0x0;\n    pPVar2 = (PCacheGlobal *)&(pPVar2->grp).nMaxPage;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "PCacheGlobal *pPVar2;" type_identifier (pointer_declarator "*pPVar2" * identifier) ;) (expression_statement "pPVar2 = &pcache1_g;" (assignment_expression "pPVar2 = &pcache1_g" identifier = (pointer_expression "&pcache1_g" & identifier)) ;) (for_statement "for (iVar1 = 0x19; iVar1 != 0; iVar1 = iVar1 + -1) {\n    (pPVar2->grp).mutex = (sqlite3_mutex *)0x0;\n    pPVar2 = (PCacheGlobal *)&(pPVar2->grp).nMaxPage;\n  }" for ( (assignment_expression "iVar1 = 0x19" identifier = number_literal) ; (binary_expression "iVar1 != 0" identifier != number_literal) ; (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ) (compound_statement "{\n    (pPVar2->grp).mutex = (sqlite3_mutex *)0x0;\n    pPVar2 = (PCacheGlobal *)&(pPVar2->grp).nMaxPage;\n  }" { (expression_statement "(pPVar2->grp).mutex = (sqlite3_mutex *)0x0;" (assignment_expression "(pPVar2->grp).mutex = (sqlite3_mutex *)0x0" (field_expression "(pPVar2->grp).mutex" (parenthesized_expression "(pPVar2->grp)" ( (field_expression "pPVar2->grp" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(sqlite3_mutex *)0x0" ( (type_descriptor "sqlite3_mutex *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pPVar2 = (PCacheGlobal *)&(pPVar2->grp).nMaxPage;" (assignment_expression "pPVar2 = (PCacheGlobal *)&(pPVar2->grp).nMaxPage" identifier = (cast_expression "(PCacheGlobal *)&(pPVar2->grp).nMaxPage" ( (type_descriptor "PCacheGlobal *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(pPVar2->grp).nMaxPage" & (field_expression "(pPVar2->grp).nMaxPage" (parenthesized_expression "(pPVar2->grp)" ( (field_expression "pPVar2->grp" identifier -> field_identifier) )) . field_identifier)))) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_000420a0(void)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = &DAT_0017db20;\n  for (iVar1 = 0x19; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }\n  return;\n}\n\n" (function_definition "void FUN_000420a0(void)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = &DAT_0017db20;\n  for (iVar1 = 0x19; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_000420a0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = &DAT_0017db20;\n  for (iVar1 = 0x19; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "undefined4 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (expression_statement "puVar2 = &DAT_0017db20;" (assignment_expression "puVar2 = &DAT_0017db20" identifier = (pointer_expression "&DAT_0017db20" & identifier)) ;) (for_statement "for (iVar1 = 0x19; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }" for ( (assignment_expression "iVar1 = 0x19" identifier = number_literal) ; (binary_expression "iVar1 != 0" identifier != number_literal) ; (assignment_expression "iVar1 = iVar1 + -1" identifier = (binary_expression "iVar1 + -1" identifier + number_literal)) ) (compound_statement "{\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }" { (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (for_statement for ( (assignment_expression IDENT = LIT) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT + LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (return_statement return ;) })))
(function_definition "void FUN_000420a0(void)\n\n{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = &DAT_0017db20;\n  for (iVar1 = 0x19; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_000420a0(void)" (identifier "FUN_000420a0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  undefined4 *puVar2;\n  \n  puVar2 = &DAT_0017db20;\n  for (iVar1 = 0x19; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "undefined4 *puVar2;" (type_identifier "undefined4") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (expression_statement "puVar2 = &DAT_0017db20;" (assignment_expression "puVar2 = &DAT_0017db20" (identifier "puVar2") (= "=") (pointer_expression "&DAT_0017db20" (& "&") (identifier "DAT_0017db20"))) (; ";")) (for_statement "for (iVar1 = 0x19; iVar1 != 0; iVar1 = iVar1 + -1) {\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }" (for "for") (( "(") (assignment_expression "iVar1 = 0x19" (identifier "iVar1") (= "=") (number_literal "0x19")) (; ";") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "iVar1 = iVar1 + -1" (identifier "iVar1") (= "=") (binary_expression "iVar1 + -1" (identifier "iVar1") (+ "+") (number_literal "-1"))) () ")") (compound_statement "{\n    *puVar2 = 0;\n    puVar2 = puVar2 + 1;\n  }" ({ "{") (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" (identifier "puVar2") (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention */

void function_1(void *NotUsed)

{
  int var_1;
  type_1 *pPVar2;
  
  pPVar2 = &pcache1_g;
  for (var_1 = 0x19; var_1 != 0; var_1 = var_1 + -1) {
    (pPVar2->grp).mutex = (type_2 *)0x0;
    pPVar2 = (type_1 *)&(pPVar2->grp).nMaxPage;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (for_statement initializer: (assignment_expression left: (identifier) right: (number_literal)) condition: (binary_expression left: (identifier) right: (number_literal)) update: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (return_statement))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

void MASKED(void)

{
  int iVar1;
  undefined4 *puVar2;
  
  puVar2 = &DAT_0017db20;
  for (iVar1 = 0x19; iVar1 != 0; iVar1 = iVar1 + -1) {
    *puVar2 = 0;
    puVar2 = puVar2 + 1;
  }
  return;
}

