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

void __regparm3 lang_map_flags(flagword flag)

{
  if ((flag & 1) != 0) {
    minfo("a");
  }
  if ((flag & 0x10) != 0) {
    minfo("x");
  }
  if ((flag & 8) != 0) {
    minfo("r");
  }
  if ((flag & 0x20) != 0) {
    minfo("w");
  }
  if ((flag & 2) != 0) {
    minfo("l");
    return;
  }
  return;
}



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

void __regparm3 FUN_0001e140(uint param_1)

{
  if ((param_1 & 1) != 0) {
    FUN_00031780(&DAT_00051bd7);
  }
  if ((param_1 & 0x10) != 0) {
    FUN_00031780("x");
  }
  if ((param_1 & 8) != 0) {
    FUN_00031780(&DAT_0004dadc);
  }
  if ((param_1 & 0x20) != 0) {
    FUN_00031780("w");
  }
  if ((param_1 & 2) != 0) {
    FUN_00031780(&DAT_0004efcf);
    return;
  }
  return;
}


PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00015a10
ADD EBX,0x75eb7
SUB ESP,0x4
AND EAX,0x1
JNZ 0x0001e180
TEST ESI,0x10
JNZ 0x0001e19a
TEST ESI,0x8
JNZ 0x0001e1b4
TEST ESI,0x20
JNZ 0x0001e1ce
AND ESI,0x2
JNZ 0x0001e1e5
ADD ESP,0x4
POP EBX
POP ESI
RET
SUB ESP,0xc
LEA EAX,[EBX + 0xfffbdbd7]
PUSH EAX
CALL 0x00031780
ADD ESP,0x10
TEST ESI,0x10
JZ 0x0001e15f
SUB ESP,0xc
LEA EAX,[EBX + 0xfffee3f5]
PUSH EAX
CALL 0x00031780
ADD ESP,0x10
TEST ESI,0x8
JZ 0x0001e167
SUB ESP,0xc
LEA EAX,[EBX + 0xfffb9adc]
PUSH EAX
CALL 0x00031780
ADD ESP,0x10
TEST ESI,0x20
JZ 0x0001e16f
SUB ESP,0xc
LEA EAX,[EBX + 0xfffee2d6]
PUSH EAX
CALL 0x00031780
ADD ESP,0x10
AND ESI,0x2
JZ 0x0001e174
SUB ESP,0xc
LEA EAX,[EBX + 0xfffbafcf]
PUSH EAX
CALL 0x00031780
ADD ESP,0x10
ADD ESP,0x4
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_0001e140(uint param_1)\n\n{\n  if ((param_1 & 1) != 0) {\n    FUN_00031780(&DAT_00051bd7);\n  }\n  if ((param_1 & 0x10) != 0) {\n    FUN_00031780("x");\n  }\n  if ((param_1 & 8) != 0) {\n    FUN_00031780(&DAT_0004dadc);\n  }\n  if ((param_1 & 0x20) != 0) {\n    FUN_00031780("w");\n  }\n  if ((param_1 & 2) != 0) {\n    FUN_00031780(&DAT_0004efcf);\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_0001e140(uint param_1)\n\n{\n  if ((param_1 & 1) != 0) {\n    FUN_00031780(&DAT_00051bd7);\n  }\n  if ((param_1 & 0x10) != 0) {\n    FUN_00031780("x");\n  }\n  if ((param_1 & 8) != 0) {\n    FUN_00031780(&DAT_0004dadc);\n  }\n  if ((param_1 & 0x20) != 0) {\n    FUN_00031780("w");\n  }\n  if ((param_1 & 2) != 0) {\n    FUN_00031780(&DAT_0004efcf);\n    return;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0001e140(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  if ((param_1 & 1) != 0) {\n    FUN_00031780(&DAT_00051bd7);\n  }\n  if ((param_1 & 0x10) != 0) {\n    FUN_00031780("x");\n  }\n  if ((param_1 & 8) != 0) {\n    FUN_00031780(&DAT_0004dadc);\n  }\n  if ((param_1 & 0x20) != 0) {\n    FUN_00031780("w");\n  }\n  if ((param_1 & 2) != 0) {\n    FUN_00031780(&DAT_0004efcf);\n    return;\n  }\n  return;\n}" { (if_statement "if ((param_1 & 1) != 0) {\n    FUN_00031780(&DAT_00051bd7);\n  }" if (parenthesized_expression "((param_1 & 1) != 0)" ( (binary_expression "(param_1 & 1) != 0" (parenthesized_expression "(param_1 & 1)" ( (binary_expression "param_1 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    FUN_00031780(&DAT_00051bd7);\n  }" { (expression_statement "FUN_00031780(&DAT_00051bd7);" (call_expression "FUN_00031780(&DAT_00051bd7)" identifier (argument_list "(&DAT_00051bd7)" ( (pointer_expression "&DAT_00051bd7" & identifier) ))) ;) })) (if_statement "if ((param_1 & 0x10) != 0) {\n    FUN_00031780("x");\n  }" if (parenthesized_expression "((param_1 & 0x10) != 0)" ( (binary_expression "(param_1 & 0x10) != 0" (parenthesized_expression "(param_1 & 0x10)" ( (binary_expression "param_1 & 0x10" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    FUN_00031780("x");\n  }" { (expression_statement "FUN_00031780("x");" (call_expression "FUN_00031780("x")" identifier (argument_list "("x")" ( (string_literal ""x"" " string_content ") ))) ;) })) (if_statement "if ((param_1 & 8) != 0) {\n    FUN_00031780(&DAT_0004dadc);\n  }" if (parenthesized_expression "((param_1 & 8) != 0)" ( (binary_expression "(param_1 & 8) != 0" (parenthesized_expression "(param_1 & 8)" ( (binary_expression "param_1 & 8" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    FUN_00031780(&DAT_0004dadc);\n  }" { (expression_statement "FUN_00031780(&DAT_0004dadc);" (call_expression "FUN_00031780(&DAT_0004dadc)" identifier (argument_list "(&DAT_0004dadc)" ( (pointer_expression "&DAT_0004dadc" & identifier) ))) ;) })) (if_statement "if ((param_1 & 0x20) != 0) {\n    FUN_00031780("w");\n  }" if (parenthesized_expression "((param_1 & 0x20) != 0)" ( (binary_expression "(param_1 & 0x20) != 0" (parenthesized_expression "(param_1 & 0x20)" ( (binary_expression "param_1 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    FUN_00031780("w");\n  }" { (expression_statement "FUN_00031780("w");" (call_expression "FUN_00031780("w")" identifier (argument_list "("w")" ( (string_literal ""w"" " string_content ") ))) ;) })) (if_statement "if ((param_1 & 2) != 0) {\n    FUN_00031780(&DAT_0004efcf);\n    return;\n  }" if (parenthesized_expression "((param_1 & 2) != 0)" ( (binary_expression "(param_1 & 2) != 0" (parenthesized_expression "(param_1 & 2)" ( (binary_expression "param_1 & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    FUN_00031780(&DAT_0004efcf);\n    return;\n  }" { (expression_statement "FUN_00031780(&DAT_0004efcf);" (call_expression "FUN_00031780(&DAT_0004efcf)" identifier (argument_list "(&DAT_0004efcf)" ( (pointer_expression "&DAT_0004efcf" & identifier) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 lang_map_flags(flagword flag)\n\n{\n  if ((flag & 1) != 0) {\n    minfo("a");\n  }\n  if ((flag & 0x10) != 0) {\n    minfo("x");\n  }\n  if ((flag & 8) != 0) {\n    minfo("r");\n  }\n  if ((flag & 0x20) != 0) {\n    minfo("w");\n  }\n  if ((flag & 2) != 0) {\n    minfo("l");\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 lang_map_flags(flagword flag)\n\n{\n  if ((flag & 1) != 0) {\n    minfo("a");\n  }\n  if ((flag & 0x10) != 0) {\n    minfo("x");\n  }\n  if ((flag & 8) != 0) {\n    minfo("r");\n  }\n  if ((flag & 0x20) != 0) {\n    minfo("w");\n  }\n  if ((flag & 2) != 0) {\n    minfo("l");\n    return;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "lang_map_flags(flagword flag)" identifier (parameter_list "(flagword flag)" ( (parameter_declaration "flagword flag" type_identifier identifier) ))) (compound_statement "{\n  if ((flag & 1) != 0) {\n    minfo("a");\n  }\n  if ((flag & 0x10) != 0) {\n    minfo("x");\n  }\n  if ((flag & 8) != 0) {\n    minfo("r");\n  }\n  if ((flag & 0x20) != 0) {\n    minfo("w");\n  }\n  if ((flag & 2) != 0) {\n    minfo("l");\n    return;\n  }\n  return;\n}" { (if_statement "if ((flag & 1) != 0) {\n    minfo("a");\n  }" if (parenthesized_expression "((flag & 1) != 0)" ( (binary_expression "(flag & 1) != 0" (parenthesized_expression "(flag & 1)" ( (binary_expression "flag & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    minfo("a");\n  }" { (expression_statement "minfo("a");" (call_expression "minfo("a")" identifier (argument_list "("a")" ( (string_literal ""a"" " string_content ") ))) ;) })) (if_statement "if ((flag & 0x10) != 0) {\n    minfo("x");\n  }" if (parenthesized_expression "((flag & 0x10) != 0)" ( (binary_expression "(flag & 0x10) != 0" (parenthesized_expression "(flag & 0x10)" ( (binary_expression "flag & 0x10" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    minfo("x");\n  }" { (expression_statement "minfo("x");" (call_expression "minfo("x")" identifier (argument_list "("x")" ( (string_literal ""x"" " string_content ") ))) ;) })) (if_statement "if ((flag & 8) != 0) {\n    minfo("r");\n  }" if (parenthesized_expression "((flag & 8) != 0)" ( (binary_expression "(flag & 8) != 0" (parenthesized_expression "(flag & 8)" ( (binary_expression "flag & 8" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    minfo("r");\n  }" { (expression_statement "minfo("r");" (call_expression "minfo("r")" identifier (argument_list "("r")" ( (string_literal ""r"" " string_content ") ))) ;) })) (if_statement "if ((flag & 0x20) != 0) {\n    minfo("w");\n  }" if (parenthesized_expression "((flag & 0x20) != 0)" ( (binary_expression "(flag & 0x20) != 0" (parenthesized_expression "(flag & 0x20)" ( (binary_expression "flag & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    minfo("w");\n  }" { (expression_statement "minfo("w");" (call_expression "minfo("w")" identifier (argument_list "("w")" ( (string_literal ""w"" " string_content ") ))) ;) })) (if_statement "if ((flag & 2) != 0) {\n    minfo("l");\n    return;\n  }" if (parenthesized_expression "((flag & 2) != 0)" ( (binary_expression "(flag & 2) != 0" (parenthesized_expression "(flag & 2)" ( (binary_expression "flag & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    minfo("l");\n    return;\n  }" { (expression_statement "minfo("l");" (call_expression "minfo("l")" identifier (argument_list "("l")" ( (string_literal ""l"" " string_content ") ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_0001e140(uint param_1)\n\n{\n  if ((param_1 & 1) != 0) {\n    FUN_00031780(&DAT_00051bd7);\n  }\n  if ((param_1 & 0x10) != 0) {\n    FUN_00031780("x");\n  }\n  if ((param_1 & 8) != 0) {\n    FUN_00031780(&DAT_0004dadc);\n  }\n  if ((param_1 & 0x20) != 0) {\n    FUN_00031780("w");\n  }\n  if ((param_1 & 2) != 0) {\n    FUN_00031780(&DAT_0004efcf);\n    return;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_0001e140(uint param_1)\n\n{\n  if ((param_1 & 1) != 0) {\n    FUN_00031780(&DAT_00051bd7);\n  }\n  if ((param_1 & 0x10) != 0) {\n    FUN_00031780("x");\n  }\n  if ((param_1 & 8) != 0) {\n    FUN_00031780(&DAT_0004dadc);\n  }\n  if ((param_1 & 0x20) != 0) {\n    FUN_00031780("w");\n  }\n  if ((param_1 & 2) != 0) {\n    FUN_00031780(&DAT_0004efcf);\n    return;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_0001e140(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  if ((param_1 & 1) != 0) {\n    FUN_00031780(&DAT_00051bd7);\n  }\n  if ((param_1 & 0x10) != 0) {\n    FUN_00031780("x");\n  }\n  if ((param_1 & 8) != 0) {\n    FUN_00031780(&DAT_0004dadc);\n  }\n  if ((param_1 & 0x20) != 0) {\n    FUN_00031780("w");\n  }\n  if ((param_1 & 2) != 0) {\n    FUN_00031780(&DAT_0004efcf);\n    return;\n  }\n  return;\n}" { (if_statement "if ((param_1 & 1) != 0) {\n    FUN_00031780(&DAT_00051bd7);\n  }" if (parenthesized_expression "((param_1 & 1) != 0)" ( (binary_expression "(param_1 & 1) != 0" (parenthesized_expression "(param_1 & 1)" ( (binary_expression "param_1 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    FUN_00031780(&DAT_00051bd7);\n  }" { (expression_statement "FUN_00031780(&DAT_00051bd7);" (call_expression "FUN_00031780(&DAT_00051bd7)" identifier (argument_list "(&DAT_00051bd7)" ( (pointer_expression "&DAT_00051bd7" & identifier) ))) ;) })) (if_statement "if ((param_1 & 0x10) != 0) {\n    FUN_00031780("x");\n  }" if (parenthesized_expression "((param_1 & 0x10) != 0)" ( (binary_expression "(param_1 & 0x10) != 0" (parenthesized_expression "(param_1 & 0x10)" ( (binary_expression "param_1 & 0x10" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    FUN_00031780("x");\n  }" { (expression_statement "FUN_00031780("x");" (call_expression "FUN_00031780("x")" identifier (argument_list "("x")" ( (string_literal ""x"" " string_content ") ))) ;) })) (if_statement "if ((param_1 & 8) != 0) {\n    FUN_00031780(&DAT_0004dadc);\n  }" if (parenthesized_expression "((param_1 & 8) != 0)" ( (binary_expression "(param_1 & 8) != 0" (parenthesized_expression "(param_1 & 8)" ( (binary_expression "param_1 & 8" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    FUN_00031780(&DAT_0004dadc);\n  }" { (expression_statement "FUN_00031780(&DAT_0004dadc);" (call_expression "FUN_00031780(&DAT_0004dadc)" identifier (argument_list "(&DAT_0004dadc)" ( (pointer_expression "&DAT_0004dadc" & identifier) ))) ;) })) (if_statement "if ((param_1 & 0x20) != 0) {\n    FUN_00031780("w");\n  }" if (parenthesized_expression "((param_1 & 0x20) != 0)" ( (binary_expression "(param_1 & 0x20) != 0" (parenthesized_expression "(param_1 & 0x20)" ( (binary_expression "param_1 & 0x20" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    FUN_00031780("w");\n  }" { (expression_statement "FUN_00031780("w");" (call_expression "FUN_00031780("w")" identifier (argument_list "("w")" ( (string_literal ""w"" " string_content ") ))) ;) })) (if_statement "if ((param_1 & 2) != 0) {\n    FUN_00031780(&DAT_0004efcf);\n    return;\n  }" if (parenthesized_expression "((param_1 & 2) != 0)" ( (binary_expression "(param_1 & 2) != 0" (parenthesized_expression "(param_1 & 2)" ( (binary_expression "param_1 & 2" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    FUN_00031780(&DAT_0004efcf);\n    return;\n  }" { (expression_statement "FUN_00031780(&DAT_0004efcf);" (call_expression "FUN_00031780(&DAT_0004efcf)" identifier (argument_list "(&DAT_0004efcf)" ( (pointer_expression "&DAT_0004efcf" & identifier) ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_0001e140(uint param_1)\n\n{\n  if ((param_1 & 1) != 0) {\n    FUN_00031780(&DAT_00051bd7);\n  }\n  if ((param_1 & 0x10) != 0) {\n    FUN_00031780("x");\n  }\n  if ((param_1 & 8) != 0) {\n    FUN_00031780(&DAT_0004dadc);\n  }\n  if ((param_1 & 0x20) != 0) {\n    FUN_00031780("w");\n  }\n  if ((param_1 & 2) != 0) {\n    FUN_00031780(&DAT_0004efcf);\n    return;\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0001e140(uint param_1)" (identifier "FUN_0001e140") (parameter_list "(uint param_1)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")"))) (compound_statement "{\n  if ((param_1 & 1) != 0) {\n    FUN_00031780(&DAT_00051bd7);\n  }\n  if ((param_1 & 0x10) != 0) {\n    FUN_00031780("x");\n  }\n  if ((param_1 & 8) != 0) {\n    FUN_00031780(&DAT_0004dadc);\n  }\n  if ((param_1 & 0x20) != 0) {\n    FUN_00031780("w");\n  }\n  if ((param_1 & 2) != 0) {\n    FUN_00031780(&DAT_0004efcf);\n    return;\n  }\n  return;\n}" ({ "{") (if_statement "if ((param_1 & 1) != 0) {\n    FUN_00031780(&DAT_00051bd7);\n  }" (if "if") (parenthesized_expression "((param_1 & 1) != 0)" (( "(") (binary_expression "(param_1 & 1) != 0" (parenthesized_expression "(param_1 & 1)" (( "(") (binary_expression "param_1 & 1" (identifier "param_1") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00031780(&DAT_00051bd7);\n  }" ({ "{") (expression_statement "FUN_00031780(&DAT_00051bd7);" (call_expression "FUN_00031780(&DAT_00051bd7)" (identifier "FUN_00031780") (argument_list "(&DAT_00051bd7)" (( "(") (pointer_expression "&DAT_00051bd7" (& "&") (identifier "DAT_00051bd7")) () ")"))) (; ";")) (} "}"))) (if_statement "if ((param_1 & 0x10) != 0) {\n    FUN_00031780("x");\n  }" (if "if") (parenthesized_expression "((param_1 & 0x10) != 0)" (( "(") (binary_expression "(param_1 & 0x10) != 0" (parenthesized_expression "(param_1 & 0x10)" (( "(") (binary_expression "param_1 & 0x10" (identifier "param_1") (& "&") (number_literal "0x10")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00031780("x");\n  }" ({ "{") (expression_statement "FUN_00031780("x");" (call_expression "FUN_00031780("x")" (identifier "FUN_00031780") (argument_list "("x")" (( "(") (string_literal ""x"" (" """) (string_content "x") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if ((param_1 & 8) != 0) {\n    FUN_00031780(&DAT_0004dadc);\n  }" (if "if") (parenthesized_expression "((param_1 & 8) != 0)" (( "(") (binary_expression "(param_1 & 8) != 0" (parenthesized_expression "(param_1 & 8)" (( "(") (binary_expression "param_1 & 8" (identifier "param_1") (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00031780(&DAT_0004dadc);\n  }" ({ "{") (expression_statement "FUN_00031780(&DAT_0004dadc);" (call_expression "FUN_00031780(&DAT_0004dadc)" (identifier "FUN_00031780") (argument_list "(&DAT_0004dadc)" (( "(") (pointer_expression "&DAT_0004dadc" (& "&") (identifier "DAT_0004dadc")) () ")"))) (; ";")) (} "}"))) (if_statement "if ((param_1 & 0x20) != 0) {\n    FUN_00031780("w");\n  }" (if "if") (parenthesized_expression "((param_1 & 0x20) != 0)" (( "(") (binary_expression "(param_1 & 0x20) != 0" (parenthesized_expression "(param_1 & 0x20)" (( "(") (binary_expression "param_1 & 0x20" (identifier "param_1") (& "&") (number_literal "0x20")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00031780("w");\n  }" ({ "{") (expression_statement "FUN_00031780("w");" (call_expression "FUN_00031780("w")" (identifier "FUN_00031780") (argument_list "("w")" (( "(") (string_literal ""w"" (" """) (string_content "w") (" """)) () ")"))) (; ";")) (} "}"))) (if_statement "if ((param_1 & 2) != 0) {\n    FUN_00031780(&DAT_0004efcf);\n    return;\n  }" (if "if") (parenthesized_expression "((param_1 & 2) != 0)" (( "(") (binary_expression "(param_1 & 2) != 0" (parenthesized_expression "(param_1 & 2)" (( "(") (binary_expression "param_1 & 2" (identifier "param_1") (& "&") (number_literal "2")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_00031780(&DAT_0004efcf);\n    return;\n  }" ({ "{") (expression_statement "FUN_00031780(&DAT_0004efcf);" (call_expression "FUN_00031780(&DAT_0004efcf)" (identifier "FUN_00031780") (argument_list "(&DAT_0004efcf)" (( "(") (pointer_expression "&DAT_0004efcf" (& "&") (identifier "DAT_0004efcf")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(type_1 var_1)

{
  if ((var_1 & 1) != 0) {
    var_2("a");
  }
  if ((var_1 & 0x10) != 0) {
    var_2("x");
  }
  if ((var_1 & 8) != 0) {
    var_2("r");
  }
  if ((var_1 & 0x20) != 0) {
    var_2("w");
  }
  if ((var_1 & 2) != 0) {
    var_2("l");
    return;
  }
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))) (return_statement))) (return_statement))))

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

void __regparm3 MASKED(uint param_1)

{
  if ((param_1 & 1) != 0) {
    FUN_00031780(&DAT_00051bd7);
  }
  if ((param_1 & 0x10) != 0) {
    FUN_00031780("x");
  }
  if ((param_1 & 8) != 0) {
    FUN_00031780(&DAT_0004dadc);
  }
  if ((param_1 & 0x20) != 0) {
    FUN_00031780("w");
  }
  if ((param_1 & 2) != 0) {
    FUN_00031780(&DAT_0004efcf);
    return;
  }
  return;
}

