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

void alloc_obuf(void)

{
  if (obuf == (char *)0x0) {
    if ((conversions_mask._1_1_ & 8) != 0) {
      alloc_obuf();
      return;
    }
    if (ibuf == (char *)0x0) {
      alloc_ibuf();
    }
    obuf = ibuf;
  }
  return;
}



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

void FUN_00015ad0(void)

{
  if (DAT_000283c8 == 0) {
    if ((DAT_0002843c._1_1_ & 8) != 0) {
      FUN_00015a10();
      return;
    }
    if (DAT_000283cc == 0) {
      FUN_00015950();
    }
    DAT_000283c8 = DAT_000283cc;
  }
  return;
}


PUSH EBX
CALL 0x000147d0
ADD EBX,0x1252a
SUB ESP,0x8
MOV ECX,dword ptr [EBX + 0x3c8]
TEST ECX,ECX
JZ 0x00015aee
ADD ESP,0x8
POP EBX
RET
TEST byte ptr [EBX + 0x43d],0x8
JNZ 0x00015b0e
CMP dword ptr [EBX + 0x3cc],0x0
JZ 0x00015b17
MOV EAX,dword ptr [EBX + 0x3cc]
MOV dword ptr [EBX + 0x3c8],EAX
JMP 0x00015ae9
ADD ESP,0x8
POP EBX
JMP 0x00015a10
CALL 0x00015950
JMP 0x00015b00
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00015ad0(void)\n\n{\n  if (DAT_000283c8 == 0) {\n    if ((DAT_0002843c._1_1_ & 8) != 0) {\n      FUN_00015a10();\n      return;\n    }\n    if (DAT_000283cc == 0) {\n      FUN_00015950();\n    }\n    DAT_000283c8 = DAT_000283cc;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00015ad0(void)\n\n{\n  if (DAT_000283c8 == 0) {\n    if ((DAT_0002843c._1_1_ & 8) != 0) {\n      FUN_00015a10();\n      return;\n    }\n    if (DAT_000283cc == 0) {\n      FUN_00015950();\n    }\n    DAT_000283c8 = DAT_000283cc;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00015ad0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (DAT_000283c8 == 0) {\n    if ((DAT_0002843c._1_1_ & 8) != 0) {\n      FUN_00015a10();\n      return;\n    }\n    if (DAT_000283cc == 0) {\n      FUN_00015950();\n    }\n    DAT_000283c8 = DAT_000283cc;\n  }\n  return;\n}" { (if_statement "if (DAT_000283c8 == 0) {\n    if ((DAT_0002843c._1_1_ & 8) != 0) {\n      FUN_00015a10();\n      return;\n    }\n    if (DAT_000283cc == 0) {\n      FUN_00015950();\n    }\n    DAT_000283c8 = DAT_000283cc;\n  }" if (parenthesized_expression "(DAT_000283c8 == 0)" ( (binary_expression "DAT_000283c8 == 0" identifier == number_literal) )) (compound_statement "{\n    if ((DAT_0002843c._1_1_ & 8) != 0) {\n      FUN_00015a10();\n      return;\n    }\n    if (DAT_000283cc == 0) {\n      FUN_00015950();\n    }\n    DAT_000283c8 = DAT_000283cc;\n  }" { (if_statement "if ((DAT_0002843c._1_1_ & 8) != 0) {\n      FUN_00015a10();\n      return;\n    }" if (parenthesized_expression "((DAT_0002843c._1_1_ & 8) != 0)" ( (binary_expression "(DAT_0002843c._1_1_ & 8) != 0" (parenthesized_expression "(DAT_0002843c._1_1_ & 8)" ( (binary_expression "DAT_0002843c._1_1_ & 8" (field_expression "DAT_0002843c._1_1_" identifier . field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n      FUN_00015a10();\n      return;\n    }" { (expression_statement "FUN_00015a10();" (call_expression "FUN_00015a10()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (if_statement "if (DAT_000283cc == 0) {\n      FUN_00015950();\n    }" if (parenthesized_expression "(DAT_000283cc == 0)" ( (binary_expression "DAT_000283cc == 0" identifier == number_literal) )) (compound_statement "{\n      FUN_00015950();\n    }" { (expression_statement "FUN_00015950();" (call_expression "FUN_00015950()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "DAT_000283c8 = DAT_000283cc;" (assignment_expression "DAT_000283c8 = DAT_000283cc" identifier = 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 -- yet parameter storage is locked */\n\nvoid alloc_obuf(void)\n\n{\n  if (obuf == (char *)0x0) {\n    if ((conversions_mask._1_1_ & 8) != 0) {\n      alloc_obuf();\n      return;\n    }\n    if (ibuf == (char *)0x0) {\n      alloc_ibuf();\n    }\n    obuf = ibuf;\n  }\n  return;\n}\n\n" comment comment (function_definition "void alloc_obuf(void)\n\n{\n  if (obuf == (char *)0x0) {\n    if ((conversions_mask._1_1_ & 8) != 0) {\n      alloc_obuf();\n      return;\n    }\n    if (ibuf == (char *)0x0) {\n      alloc_ibuf();\n    }\n    obuf = ibuf;\n  }\n  return;\n}" primitive_type (function_declarator "alloc_obuf(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (obuf == (char *)0x0) {\n    if ((conversions_mask._1_1_ & 8) != 0) {\n      alloc_obuf();\n      return;\n    }\n    if (ibuf == (char *)0x0) {\n      alloc_ibuf();\n    }\n    obuf = ibuf;\n  }\n  return;\n}" { (if_statement "if (obuf == (char *)0x0) {\n    if ((conversions_mask._1_1_ & 8) != 0) {\n      alloc_obuf();\n      return;\n    }\n    if (ibuf == (char *)0x0) {\n      alloc_ibuf();\n    }\n    obuf = ibuf;\n  }" if (parenthesized_expression "(obuf == (char *)0x0)" ( (binary_expression "obuf == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if ((conversions_mask._1_1_ & 8) != 0) {\n      alloc_obuf();\n      return;\n    }\n    if (ibuf == (char *)0x0) {\n      alloc_ibuf();\n    }\n    obuf = ibuf;\n  }" { (if_statement "if ((conversions_mask._1_1_ & 8) != 0) {\n      alloc_obuf();\n      return;\n    }" if (parenthesized_expression "((conversions_mask._1_1_ & 8) != 0)" ( (binary_expression "(conversions_mask._1_1_ & 8) != 0" (parenthesized_expression "(conversions_mask._1_1_ & 8)" ( (binary_expression "conversions_mask._1_1_ & 8" (field_expression "conversions_mask._1_1_" identifier . field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n      alloc_obuf();\n      return;\n    }" { (expression_statement "alloc_obuf();" (call_expression "alloc_obuf()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (if_statement "if (ibuf == (char *)0x0) {\n      alloc_ibuf();\n    }" if (parenthesized_expression "(ibuf == (char *)0x0)" ( (binary_expression "ibuf == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      alloc_ibuf();\n    }" { (expression_statement "alloc_ibuf();" (call_expression "alloc_ibuf()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "obuf = ibuf;" (assignment_expression "obuf = ibuf" identifier = identifier) ;) })) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00015ad0(void)\n\n{\n  if (DAT_000283c8 == 0) {\n    if ((DAT_0002843c._1_1_ & 8) != 0) {\n      FUN_00015a10();\n      return;\n    }\n    if (DAT_000283cc == 0) {\n      FUN_00015950();\n    }\n    DAT_000283c8 = DAT_000283cc;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00015ad0(void)\n\n{\n  if (DAT_000283c8 == 0) {\n    if ((DAT_0002843c._1_1_ & 8) != 0) {\n      FUN_00015a10();\n      return;\n    }\n    if (DAT_000283cc == 0) {\n      FUN_00015950();\n    }\n    DAT_000283c8 = DAT_000283cc;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00015ad0(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (DAT_000283c8 == 0) {\n    if ((DAT_0002843c._1_1_ & 8) != 0) {\n      FUN_00015a10();\n      return;\n    }\n    if (DAT_000283cc == 0) {\n      FUN_00015950();\n    }\n    DAT_000283c8 = DAT_000283cc;\n  }\n  return;\n}" { (if_statement "if (DAT_000283c8 == 0) {\n    if ((DAT_0002843c._1_1_ & 8) != 0) {\n      FUN_00015a10();\n      return;\n    }\n    if (DAT_000283cc == 0) {\n      FUN_00015950();\n    }\n    DAT_000283c8 = DAT_000283cc;\n  }" if (parenthesized_expression "(DAT_000283c8 == 0)" ( (binary_expression "DAT_000283c8 == 0" identifier == number_literal) )) (compound_statement "{\n    if ((DAT_0002843c._1_1_ & 8) != 0) {\n      FUN_00015a10();\n      return;\n    }\n    if (DAT_000283cc == 0) {\n      FUN_00015950();\n    }\n    DAT_000283c8 = DAT_000283cc;\n  }" { (if_statement "if ((DAT_0002843c._1_1_ & 8) != 0) {\n      FUN_00015a10();\n      return;\n    }" if (parenthesized_expression "((DAT_0002843c._1_1_ & 8) != 0)" ( (binary_expression "(DAT_0002843c._1_1_ & 8) != 0" (parenthesized_expression "(DAT_0002843c._1_1_ & 8)" ( (binary_expression "DAT_0002843c._1_1_ & 8" (field_expression "DAT_0002843c._1_1_" identifier . field_identifier) & number_literal) )) != number_literal) )) (compound_statement "{\n      FUN_00015a10();\n      return;\n    }" { (expression_statement "FUN_00015a10();" (call_expression "FUN_00015a10()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (if_statement "if (DAT_000283cc == 0) {\n      FUN_00015950();\n    }" if (parenthesized_expression "(DAT_000283cc == 0)" ( (binary_expression "DAT_000283cc == 0" identifier == number_literal) )) (compound_statement "{\n      FUN_00015950();\n    }" { (expression_statement "FUN_00015950();" (call_expression "FUN_00015950()" identifier (argument_list "()" ( ))) ;) })) (expression_statement "DAT_000283c8 = DAT_000283cc;" (assignment_expression "DAT_000283c8 = DAT_000283cc" identifier = 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 == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00015ad0(void)\n\n{\n  if (DAT_000283c8 == 0) {\n    if ((DAT_0002843c._1_1_ & 8) != 0) {\n      FUN_00015a10();\n      return;\n    }\n    if (DAT_000283cc == 0) {\n      FUN_00015950();\n    }\n    DAT_000283c8 = DAT_000283cc;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00015ad0(void)" (identifier "FUN_00015ad0") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  if (DAT_000283c8 == 0) {\n    if ((DAT_0002843c._1_1_ & 8) != 0) {\n      FUN_00015a10();\n      return;\n    }\n    if (DAT_000283cc == 0) {\n      FUN_00015950();\n    }\n    DAT_000283c8 = DAT_000283cc;\n  }\n  return;\n}" ({ "{") (if_statement "if (DAT_000283c8 == 0) {\n    if ((DAT_0002843c._1_1_ & 8) != 0) {\n      FUN_00015a10();\n      return;\n    }\n    if (DAT_000283cc == 0) {\n      FUN_00015950();\n    }\n    DAT_000283c8 = DAT_000283cc;\n  }" (if "if") (parenthesized_expression "(DAT_000283c8 == 0)" (( "(") (binary_expression "DAT_000283c8 == 0" (identifier "DAT_000283c8") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    if ((DAT_0002843c._1_1_ & 8) != 0) {\n      FUN_00015a10();\n      return;\n    }\n    if (DAT_000283cc == 0) {\n      FUN_00015950();\n    }\n    DAT_000283c8 = DAT_000283cc;\n  }" ({ "{") (if_statement "if ((DAT_0002843c._1_1_ & 8) != 0) {\n      FUN_00015a10();\n      return;\n    }" (if "if") (parenthesized_expression "((DAT_0002843c._1_1_ & 8) != 0)" (( "(") (binary_expression "(DAT_0002843c._1_1_ & 8) != 0" (parenthesized_expression "(DAT_0002843c._1_1_ & 8)" (( "(") (binary_expression "DAT_0002843c._1_1_ & 8" (field_expression "DAT_0002843c._1_1_" (identifier "DAT_0002843c") (. ".") (field_identifier "_1_1_")) (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_00015a10();\n      return;\n    }" ({ "{") (expression_statement "FUN_00015a10();" (call_expression "FUN_00015a10()" (identifier "FUN_00015a10") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if (DAT_000283cc == 0) {\n      FUN_00015950();\n    }" (if "if") (parenthesized_expression "(DAT_000283cc == 0)" (( "(") (binary_expression "DAT_000283cc == 0" (identifier "DAT_000283cc") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_00015950();\n    }" ({ "{") (expression_statement "FUN_00015950();" (call_expression "FUN_00015950()" (identifier "FUN_00015950") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "DAT_000283c8 = DAT_000283cc;" (assignment_expression "DAT_000283c8 = DAT_000283cc" (identifier "DAT_000283c8") (= "=") (identifier "DAT_000283cc")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(void)

{
  if (var_1 == (char *)0x0) {
    if ((conversions_mask._1_1_ & 8) != 0) {
      function_1();
      return;
    }
    if (var_2 == (char *)0x0) {
      var_3();
    }
    var_1 = var_2;
  }
  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: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (return_statement))))

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

void MASKED(void)

{
  if (DAT_000283c8 == 0) {
    if ((DAT_0002843c._1_1_ & 8) != 0) {
      FUN_00015a10();
      return;
    }
    if (DAT_000283cc == 0) {
      FUN_00015950();
    }
    DAT_000283c8 = DAT_000283cc;
  }
  return;
}

