
/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void bitset_stats_enable(void)

{
  if (bitset_stats_info != (bitset_stats_info_struct *)0x0) {
    bitset_stats_enabled = true;
    return;
  }
  bitset_stats_enabled = true;
  bitset_stats_info = &bitset_stats_info_data;
  return;
}



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

void FUN_00051380(void)

{
  if (DAT_00099f54 != (undefined4 *)0x0) {
    DAT_00096e5c = 1;
    return;
  }
  DAT_00096e5c = 1;
  DAT_00099f54 = &DAT_00099be0;
  return;
}


CALL 0x00015fde
ADD EAX,0x44c7b
LEA EDX,[EAX + 0x3f54]
MOV ECX,dword ptr [EDX]
TEST ECX,ECX
JZ 0x000513a0
MOV byte ptr [EAX + 0xe5c],0x1
RET
LEA ECX,[EAX + 0x3be0]
MOV byte ptr [EAX + 0xe5c],0x1
MOV dword ptr [EDX],ECX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nvoid FUN_00051380(void)\n\n{\n  if (DAT_00099f54 != (undefined4 *)0x0) {\n    DAT_00096e5c = 1;\n    return;\n  }\n  DAT_00096e5c = 1;\n  DAT_00099f54 = &DAT_00099be0;\n  return;\n}\n\n" comment (function_definition "void FUN_00051380(void)\n\n{\n  if (DAT_00099f54 != (undefined4 *)0x0) {\n    DAT_00096e5c = 1;\n    return;\n  }\n  DAT_00096e5c = 1;\n  DAT_00099f54 = &DAT_00099be0;\n  return;\n}" primitive_type (function_declarator "FUN_00051380(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (DAT_00099f54 != (undefined4 *)0x0) {\n    DAT_00096e5c = 1;\n    return;\n  }\n  DAT_00096e5c = 1;\n  DAT_00099f54 = &DAT_00099be0;\n  return;\n}" { (if_statement "if (DAT_00099f54 != (undefined4 *)0x0) {\n    DAT_00096e5c = 1;\n    return;\n  }" if (parenthesized_expression "(DAT_00099f54 != (undefined4 *)0x0)" ( (binary_expression "DAT_00099f54 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    DAT_00096e5c = 1;\n    return;\n  }" { (expression_statement "DAT_00096e5c = 1;" (assignment_expression "DAT_00096e5c = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "DAT_00096e5c = 1;" (assignment_expression "DAT_00096e5c = 1" identifier = number_literal) ;) (expression_statement "DAT_00099f54 = &DAT_00099be0;" (assignment_expression "DAT_00099f54 = &DAT_00099be0" identifier = (pointer_expression "&DAT_00099be0" & identifier)) ;) (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 -- yet parameter storage is locked */\n\nvoid bitset_stats_enable(void)\n\n{\n  if (bitset_stats_info != (bitset_stats_info_struct *)0x0) {\n    bitset_stats_enabled = true;\n    return;\n  }\n  bitset_stats_enabled = true;\n  bitset_stats_info = &bitset_stats_info_data;\n  return;\n}\n\n" comment comment (function_definition "void bitset_stats_enable(void)\n\n{\n  if (bitset_stats_info != (bitset_stats_info_struct *)0x0) {\n    bitset_stats_enabled = true;\n    return;\n  }\n  bitset_stats_enabled = true;\n  bitset_stats_info = &bitset_stats_info_data;\n  return;\n}" primitive_type (function_declarator "bitset_stats_enable(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (bitset_stats_info != (bitset_stats_info_struct *)0x0) {\n    bitset_stats_enabled = true;\n    return;\n  }\n  bitset_stats_enabled = true;\n  bitset_stats_info = &bitset_stats_info_data;\n  return;\n}" { (if_statement "if (bitset_stats_info != (bitset_stats_info_struct *)0x0) {\n    bitset_stats_enabled = true;\n    return;\n  }" if (parenthesized_expression "(bitset_stats_info != (bitset_stats_info_struct *)0x0)" ( (binary_expression "bitset_stats_info != (bitset_stats_info_struct *)0x0" identifier != (cast_expression "(bitset_stats_info_struct *)0x0" ( (type_descriptor "bitset_stats_info_struct *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    bitset_stats_enabled = true;\n    return;\n  }" { (expression_statement "bitset_stats_enabled = true;" (assignment_expression "bitset_stats_enabled = true" identifier = true) ;) (return_statement "return;" return ;) })) (expression_statement "bitset_stats_enabled = true;" (assignment_expression "bitset_stats_enabled = true" identifier = true) ;) (expression_statement "bitset_stats_info = &bitset_stats_info_data;" (assignment_expression "bitset_stats_info = &bitset_stats_info_data" identifier = (pointer_expression "&bitset_stats_info_data" & identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00051380(void)\n\n{\n  if (DAT_00099f54 != (undefined4 *)0x0) {\n    DAT_00096e5c = 1;\n    return;\n  }\n  DAT_00096e5c = 1;\n  DAT_00099f54 = &DAT_00099be0;\n  return;\n}\n\n" (function_definition "void FUN_00051380(void)\n\n{\n  if (DAT_00099f54 != (undefined4 *)0x0) {\n    DAT_00096e5c = 1;\n    return;\n  }\n  DAT_00096e5c = 1;\n  DAT_00099f54 = &DAT_00099be0;\n  return;\n}" primitive_type (function_declarator "FUN_00051380(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (DAT_00099f54 != (undefined4 *)0x0) {\n    DAT_00096e5c = 1;\n    return;\n  }\n  DAT_00096e5c = 1;\n  DAT_00099f54 = &DAT_00099be0;\n  return;\n}" { (if_statement "if (DAT_00099f54 != (undefined4 *)0x0) {\n    DAT_00096e5c = 1;\n    return;\n  }" if (parenthesized_expression "(DAT_00099f54 != (undefined4 *)0x0)" ( (binary_expression "DAT_00099f54 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    DAT_00096e5c = 1;\n    return;\n  }" { (expression_statement "DAT_00096e5c = 1;" (assignment_expression "DAT_00096e5c = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })) (expression_statement "DAT_00096e5c = 1;" (assignment_expression "DAT_00096e5c = 1" identifier = number_literal) ;) (expression_statement "DAT_00099f54 = &DAT_00099be0;" (assignment_expression "DAT_00099f54 = &DAT_00099be0" identifier = (pointer_expression "&DAT_00099be0" & identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (return_statement return ;) })))
(function_definition "void FUN_00051380(void)\n\n{\n  if (DAT_00099f54 != (undefined4 *)0x0) {\n    DAT_00096e5c = 1;\n    return;\n  }\n  DAT_00096e5c = 1;\n  DAT_00099f54 = &DAT_00099be0;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00051380(void)" (identifier "FUN_00051380") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  if (DAT_00099f54 != (undefined4 *)0x0) {\n    DAT_00096e5c = 1;\n    return;\n  }\n  DAT_00096e5c = 1;\n  DAT_00099f54 = &DAT_00099be0;\n  return;\n}" ({ "{") (if_statement "if (DAT_00099f54 != (undefined4 *)0x0) {\n    DAT_00096e5c = 1;\n    return;\n  }" (if "if") (parenthesized_expression "(DAT_00099f54 != (undefined4 *)0x0)" (( "(") (binary_expression "DAT_00099f54 != (undefined4 *)0x0" (identifier "DAT_00099f54") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    DAT_00096e5c = 1;\n    return;\n  }" ({ "{") (expression_statement "DAT_00096e5c = 1;" (assignment_expression "DAT_00096e5c = 1" (identifier "DAT_00096e5c") (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "DAT_00096e5c = 1;" (assignment_expression "DAT_00096e5c = 1" (identifier "DAT_00096e5c") (= "=") (number_literal "1")) (; ";")) (expression_statement "DAT_00099f54 = &DAT_00099be0;" (assignment_expression "DAT_00099f54 = &DAT_00099be0" (identifier "DAT_00099f54") (= "=") (pointer_expression "&DAT_00099be0" (& "&") (identifier "DAT_00099be0"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  if (var_1 != (type_1 *)0x0) {
    bitset_stats_enabled = true;
    return;
  }
  bitset_stats_enabled = true;
  var_1 = &bitset_stats_info_data;
  return;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (return_statement))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (return_statement))))

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

void MASKED(void)

{
  if (DAT_00099f54 != (undefined4 *)0x0) {
    DAT_00096e5c = 1;
    return;
  }
  DAT_00096e5c = 1;
  DAT_00099f54 = &DAT_00099be0;
  return;
}

