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

int * __cxa_current_exception_type(void)

{
  uint *puVar1;
  int *piVar2;
  
  piVar2 = (int *)__cxa_get_globals();
  piVar2 = (int *)*piVar2;
  if ((piVar2 != (int *)0x0) &&
     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {
    piVar2 = (int *)piVar2[-0x14];
  }
  return piVar2;
}



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

int * FUN_001c8850(void)

{
  uint *puVar1;
  int *piVar2;
  
  piVar2 = (int *)FUN_0017fcc0();
  piVar2 = (int *)*piVar2;
  if ((piVar2 != (int *)0x0) &&
     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {
    piVar2 = (int *)piVar2[-0x14];
  }
  return piVar2;
}


PUSH EBX
CALL 0x00032730
ADD EBX,0x1397aa
SUB ESP,0x8
CALL 0x0017fcc0
MOV EAX,dword ptr [EAX]
TEST EAX,EAX
JZ 0x001c8877
MOV EDX,dword ptr [EAX + 0x30]
MOV EAX,dword ptr [EAX]
AND EDX,0x1
JZ 0x001c8877
MOV EAX,dword ptr [EAX + -0x50]
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * FUN_001c8850(void)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)FUN_0017fcc0();\n  piVar2 = (int *)*piVar2;\n  if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    piVar2 = (int *)piVar2[-0x14];\n  }\n  return piVar2;\n}\n\n" comment (function_definition "int * FUN_001c8850(void)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)FUN_0017fcc0();\n  piVar2 = (int *)*piVar2;\n  if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    piVar2 = (int *)piVar2[-0x14];\n  }\n  return piVar2;\n}" primitive_type (pointer_declarator "* FUN_001c8850(void)" * (function_declarator "FUN_001c8850(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  uint *puVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)FUN_0017fcc0();\n  piVar2 = (int *)*piVar2;\n  if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    piVar2 = (int *)piVar2[-0x14];\n  }\n  return piVar2;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = (int *)FUN_0017fcc0();" (assignment_expression "piVar2 = (int *)FUN_0017fcc0()" identifier = (cast_expression "(int *)FUN_0017fcc0()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0017fcc0()" identifier (argument_list "()" ( ))))) ;) (expression_statement "piVar2 = (int *)*piVar2;" (assignment_expression "piVar2 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (if_statement "if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    piVar2 = (int *)piVar2[-0x14];\n  }" if (parenthesized_expression "((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0))" ( (binary_expression "(piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)" (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)" ( (comma_expression "puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0" (assignment_expression "puVar1 = (uint *)(piVar2 + 0xc)" identifier = (cast_expression "(uint *)(piVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 0xc)" ( (binary_expression "piVar2 + 0xc" identifier + number_literal) )))) , (comma_expression "piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0" (assignment_expression "piVar2 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) , (binary_expression "(*puVar1 & 1) != 0" (parenthesized_expression "(*puVar1 & 1)" ( (binary_expression "*puVar1 & 1" (pointer_expression "*puVar1" * identifier) & number_literal) )) != number_literal))) ))) )) (compound_statement "{\n    piVar2 = (int *)piVar2[-0x14];\n  }" { (expression_statement "piVar2 = (int *)piVar2[-0x14];" (assignment_expression "piVar2 = (int *)piVar2[-0x14]" identifier = (cast_expression "(int *)piVar2[-0x14]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[-0x14]" identifier [ number_literal ]))) ;) })) (return_statement "return piVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint * __cxa_current_exception_type(void)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)__cxa_get_globals();\n  piVar2 = (int *)*piVar2;\n  if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    piVar2 = (int *)piVar2[-0x14];\n  }\n  return piVar2;\n}\n\n" comment (function_definition "int * __cxa_current_exception_type(void)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)__cxa_get_globals();\n  piVar2 = (int *)*piVar2;\n  if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    piVar2 = (int *)piVar2[-0x14];\n  }\n  return piVar2;\n}" primitive_type (pointer_declarator "* __cxa_current_exception_type(void)" * (function_declarator "__cxa_current_exception_type(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  uint *puVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)__cxa_get_globals();\n  piVar2 = (int *)*piVar2;\n  if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    piVar2 = (int *)piVar2[-0x14];\n  }\n  return piVar2;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = (int *)__cxa_get_globals();" (assignment_expression "piVar2 = (int *)__cxa_get_globals()" identifier = (cast_expression "(int *)__cxa_get_globals()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "__cxa_get_globals()" identifier (argument_list "()" ( ))))) ;) (expression_statement "piVar2 = (int *)*piVar2;" (assignment_expression "piVar2 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (if_statement "if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    piVar2 = (int *)piVar2[-0x14];\n  }" if (parenthesized_expression "((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0))" ( (binary_expression "(piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)" (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)" ( (comma_expression "puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0" (assignment_expression "puVar1 = (uint *)(piVar2 + 0xc)" identifier = (cast_expression "(uint *)(piVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 0xc)" ( (binary_expression "piVar2 + 0xc" identifier + number_literal) )))) , (comma_expression "piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0" (assignment_expression "piVar2 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) , (binary_expression "(*puVar1 & 1) != 0" (parenthesized_expression "(*puVar1 & 1)" ( (binary_expression "*puVar1 & 1" (pointer_expression "*puVar1" * identifier) & number_literal) )) != number_literal))) ))) )) (compound_statement "{\n    piVar2 = (int *)piVar2[-0x14];\n  }" { (expression_statement "piVar2 = (int *)piVar2[-0x14];" (assignment_expression "piVar2 = (int *)piVar2[-0x14]" identifier = (cast_expression "(int *)piVar2[-0x14]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[-0x14]" identifier [ number_literal ]))) ;) })) (return_statement "return piVar2;" return identifier ;) })))
(translation_unit "int * FUN_001c8850(void)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)FUN_0017fcc0();\n  piVar2 = (int *)*piVar2;\n  if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    piVar2 = (int *)piVar2[-0x14];\n  }\n  return piVar2;\n}\n\n" (function_definition "int * FUN_001c8850(void)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)FUN_0017fcc0();\n  piVar2 = (int *)*piVar2;\n  if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    piVar2 = (int *)piVar2[-0x14];\n  }\n  return piVar2;\n}" primitive_type (pointer_declarator "* FUN_001c8850(void)" * (function_declarator "FUN_001c8850(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  uint *puVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)FUN_0017fcc0();\n  piVar2 = (int *)*piVar2;\n  if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    piVar2 = (int *)piVar2[-0x14];\n  }\n  return piVar2;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (expression_statement "piVar2 = (int *)FUN_0017fcc0();" (assignment_expression "piVar2 = (int *)FUN_0017fcc0()" identifier = (cast_expression "(int *)FUN_0017fcc0()" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_0017fcc0()" identifier (argument_list "()" ( ))))) ;) (expression_statement "piVar2 = (int *)*piVar2;" (assignment_expression "piVar2 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) ;) (if_statement "if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    piVar2 = (int *)piVar2[-0x14];\n  }" if (parenthesized_expression "((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0))" ( (binary_expression "(piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)" (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)" ( (comma_expression "puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0" (assignment_expression "puVar1 = (uint *)(piVar2 + 0xc)" identifier = (cast_expression "(uint *)(piVar2 + 0xc)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar2 + 0xc)" ( (binary_expression "piVar2 + 0xc" identifier + number_literal) )))) , (comma_expression "piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0" (assignment_expression "piVar2 = (int *)*piVar2" identifier = (cast_expression "(int *)*piVar2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "*piVar2" * identifier))) , (binary_expression "(*puVar1 & 1) != 0" (parenthesized_expression "(*puVar1 & 1)" ( (binary_expression "*puVar1 & 1" (pointer_expression "*puVar1" * identifier) & number_literal) )) != number_literal))) ))) )) (compound_statement "{\n    piVar2 = (int *)piVar2[-0x14];\n  }" { (expression_statement "piVar2 = (int *)piVar2[-0x14];" (assignment_expression "piVar2 = (int *)piVar2[-0x14]" identifier = (cast_expression "(int *)piVar2[-0x14]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar2[-0x14]" identifier [ number_literal ]))) ;) })) (return_statement "return piVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) )))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) , (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) & LIT) )) != LIT))) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) })) (return_statement return IDENT ;) })))
(function_definition "int * FUN_001c8850(void)\n\n{\n  uint *puVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)FUN_0017fcc0();\n  piVar2 = (int *)*piVar2;\n  if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    piVar2 = (int *)piVar2[-0x14];\n  }\n  return piVar2;\n}" (primitive_type "int") (pointer_declarator "* FUN_001c8850(void)" (* "*") (function_declarator "FUN_001c8850(void)" (identifier "FUN_001c8850") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")")))) (compound_statement "{\n  uint *puVar1;\n  int *piVar2;\n  \n  piVar2 = (int *)FUN_0017fcc0();\n  piVar2 = (int *)*piVar2;\n  if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    piVar2 = (int *)piVar2[-0x14];\n  }\n  return piVar2;\n}" ({ "{") (declaration "uint *puVar1;" (type_identifier "uint") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (expression_statement "piVar2 = (int *)FUN_0017fcc0();" (assignment_expression "piVar2 = (int *)FUN_0017fcc0()" (identifier "piVar2") (= "=") (cast_expression "(int *)FUN_0017fcc0()" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_0017fcc0()" (identifier "FUN_0017fcc0") (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "piVar2 = (int *)*piVar2;" (assignment_expression "piVar2 = (int *)*piVar2" (identifier "piVar2") (= "=") (cast_expression "(int *)*piVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")))) (; ";")) (if_statement "if ((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {\n    piVar2 = (int *)piVar2[-0x14];\n  }" (if "if") (parenthesized_expression "((piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0))" (( "(") (binary_expression "(piVar2 != (int *)0x0) &&\n     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)" (parenthesized_expression "(piVar2 != (int *)0x0)" (( "(") (binary_expression "piVar2 != (int *)0x0" (identifier "piVar2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)" (( "(") (comma_expression "puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0" (assignment_expression "puVar1 = (uint *)(piVar2 + 0xc)" (identifier "puVar1") (= "=") (cast_expression "(uint *)(piVar2 + 0xc)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar2 + 0xc)" (( "(") (binary_expression "piVar2 + 0xc" (identifier "piVar2") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (comma_expression "piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0" (assignment_expression "piVar2 = (int *)*piVar2" (identifier "piVar2") (= "=") (cast_expression "(int *)*piVar2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*piVar2" (* "*") (identifier "piVar2")))) (, ",") (binary_expression "(*puVar1 & 1) != 0" (parenthesized_expression "(*puVar1 & 1)" (( "(") (binary_expression "*puVar1 & 1" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")))) () ")"))) () ")")) (compound_statement "{\n    piVar2 = (int *)piVar2[-0x14];\n  }" ({ "{") (expression_statement "piVar2 = (int *)piVar2[-0x14];" (assignment_expression "piVar2 = (int *)piVar2[-0x14]" (identifier "piVar2") (= "=") (cast_expression "(int *)piVar2[-0x14]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar2[-0x14]" (identifier "piVar2") ([ "[") (number_literal "-0x14") (] "]")))) (; ";")) (} "}"))) (return_statement "return piVar2;" (return "return") (identifier "piVar2") (; ";")) (} "}")))

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

int * function_1(void)

{
  type_1 *puVar1;
  int *var_2;
  
  var_2 = (int *)var_1();
  var_2 = (int *)*var_2;
  if ((var_2 != (int *)0x0) &&
     (puVar1 = (type_1 *)(var_2 + 0xc), var_2 = (int *)*var_2, (*puVar1 & 1) != 0)) {
    var_2 = (int *)var_2[-0x14];
  }
  return var_2;
}


(translation_unit (function_definition type: (primitive_type) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (call_expression function: (identifier) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))) right: (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))))) (return_statement (identifier)))))

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

int * MASKED(void)

{
  uint *puVar1;
  int *piVar2;
  
  piVar2 = (int *)FUN_0017fcc0();
  piVar2 = (int *)*piVar2;
  if ((piVar2 != (int *)0x0) &&
     (puVar1 = (uint *)(piVar2 + 0xc), piVar2 = (int *)*piVar2, (*puVar1 & 1) != 0)) {
    piVar2 = (int *)piVar2[-0x14];
  }
  return piVar2;
}

