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

undefined4 __regparm3 size_of_encoded_value(byte param_1)

{
  byte bVar1;
  undefined4 uVar2;
  
  if (param_1 == 0xff) {
    uVar2 = 0;
  }
  else {
    bVar1 = param_1 & 7;
    if (bVar1 != 2) {
      if (bVar1 < 3) {
        if ((param_1 & 7) != 0) goto LAB_0027e184;
      }
      else if (bVar1 != 3) {
        if (bVar1 == 4) {
          return 8;
        }
LAB_0027e184:
                    /* WARNING: Subroutine does not return */
        abort();
      }
      return 4;
    }
    uVar2 = 2;
  }
  return uVar2;
}



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

undefined4 __regparm3 FUN_0027e130(byte param_1)

{
  byte bVar1;
  undefined4 uVar2;
  
  if (param_1 == 0xff) {
    uVar2 = 0;
  }
  else {
    bVar1 = param_1 & 7;
    if (bVar1 != 2) {
      if (bVar1 < 3) {
        if ((param_1 & 7) != 0) goto LAB_0027e184;
      }
      else if (bVar1 != 3) {
        if (bVar1 == 4) {
          return 8;
        }
LAB_0027e184:
                    /* WARNING: Subroutine does not return */
        abort();
      }
      return 4;
    }
    uVar2 = 2;
  }
  return uVar2;
}


PUSH EBX
CALL 0x00035840
ADD EBX,0x110eca
SUB ESP,0x8
CMP AL,0xff
JZ 0x0027e180
AND EAX,0x7
CMP AL,0x2
JZ 0x0027e170
JBE 0x0027e160
CMP AL,0x3
JZ 0x0027e164
CMP AL,0x4
JNZ 0x0027e184
MOV EAX,0x8
ADD ESP,0x8
POP EBX
RET
TEST AL,AL
JNZ 0x0027e184
ADD ESP,0x8
MOV EAX,0x4
POP EBX
RET
MOV EAX,0x2
JMP 0x0027e159
XOR EAX,EAX
JMP 0x0027e159
CALL 0x00029080
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_0027e130(byte param_1)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0xff) {\n    uVar2 = 0;\n  }\n  else {\n    bVar1 = param_1 & 7;\n    if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      return 4;\n    }\n    uVar2 = 2;\n  }\n  return uVar2;\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_0027e130(byte param_1)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0xff) {\n    uVar2 = 0;\n  }\n  else {\n    bVar1 = param_1 & 7;\n    if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      return 4;\n    }\n    uVar2 = 2;\n  }\n  return uVar2;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0027e130(byte param_1)" identifier (parameter_list "(byte param_1)" ( (parameter_declaration "byte param_1" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0xff) {\n    uVar2 = 0;\n  }\n  else {\n    bVar1 = param_1 & 7;\n    if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      return 4;\n    }\n    uVar2 = 2;\n  }\n  return uVar2;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (param_1 == 0xff) {\n    uVar2 = 0;\n  }\n  else {\n    bVar1 = param_1 & 7;\n    if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      return 4;\n    }\n    uVar2 = 2;\n  }" if (parenthesized_expression "(param_1 == 0xff)" ( (binary_expression "param_1 == 0xff" identifier == number_literal) )) (compound_statement "{\n    uVar2 = 0;\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    bVar1 = param_1 & 7;\n    if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      return 4;\n    }\n    uVar2 = 2;\n  }" else (compound_statement "{\n    bVar1 = param_1 & 7;\n    if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      return 4;\n    }\n    uVar2 = 2;\n  }" { (expression_statement "bVar1 = param_1 & 7;" (assignment_expression "bVar1 = param_1 & 7" identifier = (binary_expression "param_1 & 7" identifier & number_literal)) ;) (if_statement "if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      return 4;\n    }" if (parenthesized_expression "(bVar1 != 2)" ( (binary_expression "bVar1 != 2" identifier != number_literal) )) (compound_statement "{\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      return 4;\n    }" { (if_statement "if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }" if (parenthesized_expression "(bVar1 < 3)" ( (binary_expression "bVar1 < 3" identifier < number_literal) )) (compound_statement "{\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }" { (if_statement "if ((param_1 & 7) != 0) goto LAB_0027e184;" if (parenthesized_expression "((param_1 & 7) != 0)" ( (binary_expression "(param_1 & 7) != 0" (parenthesized_expression "(param_1 & 7)" ( (binary_expression "param_1 & 7" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0027e184;" goto statement_identifier ;)) }) (else_clause "else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }" else (if_statement "if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }" if (parenthesized_expression "(bVar1 != 3)" ( (binary_expression "bVar1 != 3" identifier != number_literal) )) (compound_statement "{\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }" { (if_statement "if (bVar1 == 4) {\n          return 8;\n        }" if (parenthesized_expression "(bVar1 == 4)" ( (binary_expression "bVar1 == 4" identifier == number_literal) )) (compound_statement "{\n          return 8;\n        }" { (return_statement "return 8;" return number_literal ;) })) (labeled_statement "LAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();" statement_identifier : comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;)) })))) (return_statement "return 4;" return number_literal ;) })) (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 size_of_encoded_value(byte param_1)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0xff) {\n    uVar2 = 0;\n  }\n  else {\n    bVar1 = param_1 & 7;\n    if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      return 4;\n    }\n    uVar2 = 2;\n  }\n  return uVar2;\n}\n\n" comment (function_definition "undefined4 __regparm3 size_of_encoded_value(byte param_1)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0xff) {\n    uVar2 = 0;\n  }\n  else {\n    bVar1 = param_1 & 7;\n    if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      return 4;\n    }\n    uVar2 = 2;\n  }\n  return uVar2;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "size_of_encoded_value(byte param_1)" identifier (parameter_list "(byte param_1)" ( (parameter_declaration "byte param_1" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0xff) {\n    uVar2 = 0;\n  }\n  else {\n    bVar1 = param_1 & 7;\n    if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      return 4;\n    }\n    uVar2 = 2;\n  }\n  return uVar2;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (param_1 == 0xff) {\n    uVar2 = 0;\n  }\n  else {\n    bVar1 = param_1 & 7;\n    if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      return 4;\n    }\n    uVar2 = 2;\n  }" if (parenthesized_expression "(param_1 == 0xff)" ( (binary_expression "param_1 == 0xff" identifier == number_literal) )) (compound_statement "{\n    uVar2 = 0;\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    bVar1 = param_1 & 7;\n    if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      return 4;\n    }\n    uVar2 = 2;\n  }" else (compound_statement "{\n    bVar1 = param_1 & 7;\n    if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      return 4;\n    }\n    uVar2 = 2;\n  }" { (expression_statement "bVar1 = param_1 & 7;" (assignment_expression "bVar1 = param_1 & 7" identifier = (binary_expression "param_1 & 7" identifier & number_literal)) ;) (if_statement "if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      return 4;\n    }" if (parenthesized_expression "(bVar1 != 2)" ( (binary_expression "bVar1 != 2" identifier != number_literal) )) (compound_statement "{\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }\n      return 4;\n    }" { (if_statement "if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }" if (parenthesized_expression "(bVar1 < 3)" ( (binary_expression "bVar1 < 3" identifier < number_literal) )) (compound_statement "{\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }" { (if_statement "if ((param_1 & 7) != 0) goto LAB_0027e184;" if (parenthesized_expression "((param_1 & 7) != 0)" ( (binary_expression "(param_1 & 7) != 0" (parenthesized_expression "(param_1 & 7)" ( (binary_expression "param_1 & 7" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0027e184;" goto statement_identifier ;)) }) (else_clause "else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }" else (if_statement "if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }" if (parenthesized_expression "(bVar1 != 3)" ( (binary_expression "bVar1 != 3" identifier != number_literal) )) (compound_statement "{\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();\n      }" { (if_statement "if (bVar1 == 4) {\n          return 8;\n        }" if (parenthesized_expression "(bVar1 == 4)" ( (binary_expression "bVar1 == 4" identifier == number_literal) )) (compound_statement "{\n          return 8;\n        }" { (return_statement "return 8;" return number_literal ;) })) (labeled_statement "LAB_0027e184:\n                    /* WARNING: Subroutine does not return */\n        abort();" statement_identifier : comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;)) })))) (return_statement "return 4;" return number_literal ;) })) (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "undefined4 __regparm3 FUN_0027e130(byte param_1)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0xff) {\n    uVar2 = 0;\n  }\n  else {\n    bVar1 = param_1 & 7;\n    if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    \n        abort();\n      }\n      return 4;\n    }\n    uVar2 = 2;\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_0027e130(byte param_1)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0xff) {\n    uVar2 = 0;\n  }\n  else {\n    bVar1 = param_1 & 7;\n    if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    \n        abort();\n      }\n      return 4;\n    }\n    uVar2 = 2;\n  }\n  return uVar2;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0027e130(byte param_1)" identifier (parameter_list "(byte param_1)" ( (parameter_declaration "byte param_1" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0xff) {\n    uVar2 = 0;\n  }\n  else {\n    bVar1 = param_1 & 7;\n    if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    \n        abort();\n      }\n      return 4;\n    }\n    uVar2 = 2;\n  }\n  return uVar2;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (param_1 == 0xff) {\n    uVar2 = 0;\n  }\n  else {\n    bVar1 = param_1 & 7;\n    if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    \n        abort();\n      }\n      return 4;\n    }\n    uVar2 = 2;\n  }" if (parenthesized_expression "(param_1 == 0xff)" ( (binary_expression "param_1 == 0xff" identifier == number_literal) )) (compound_statement "{\n    uVar2 = 0;\n  }" { (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) }) (else_clause "else {\n    bVar1 = param_1 & 7;\n    if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    \n        abort();\n      }\n      return 4;\n    }\n    uVar2 = 2;\n  }" else (compound_statement "{\n    bVar1 = param_1 & 7;\n    if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    \n        abort();\n      }\n      return 4;\n    }\n    uVar2 = 2;\n  }" { (expression_statement "bVar1 = param_1 & 7;" (assignment_expression "bVar1 = param_1 & 7" identifier = (binary_expression "param_1 & 7" identifier & number_literal)) ;) (if_statement "if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    \n        abort();\n      }\n      return 4;\n    }" if (parenthesized_expression "(bVar1 != 2)" ( (binary_expression "bVar1 != 2" identifier != number_literal) )) (compound_statement "{\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    \n        abort();\n      }\n      return 4;\n    }" { (if_statement "if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    \n        abort();\n      }" if (parenthesized_expression "(bVar1 < 3)" ( (binary_expression "bVar1 < 3" identifier < number_literal) )) (compound_statement "{\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }" { (if_statement "if ((param_1 & 7) != 0) goto LAB_0027e184;" if (parenthesized_expression "((param_1 & 7) != 0)" ( (binary_expression "(param_1 & 7) != 0" (parenthesized_expression "(param_1 & 7)" ( (binary_expression "param_1 & 7" identifier & number_literal) )) != number_literal) )) (goto_statement "goto LAB_0027e184;" goto statement_identifier ;)) }) (else_clause "else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    \n        abort();\n      }" else (if_statement "if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    \n        abort();\n      }" if (parenthesized_expression "(bVar1 != 3)" ( (binary_expression "bVar1 != 3" identifier != number_literal) )) (compound_statement "{\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    \n        abort();\n      }" { (if_statement "if (bVar1 == 4) {\n          return 8;\n        }" if (parenthesized_expression "(bVar1 == 4)" ( (binary_expression "bVar1 == 4" identifier == number_literal) )) (compound_statement "{\n          return 8;\n        }" { (return_statement "return 8;" return number_literal ;) })) (labeled_statement "LAB_0027e184:\n                    \n        abort();" statement_identifier : (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;)) })))) (return_statement "return 4;" return number_literal ;) })) (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" identifier = number_literal) ;) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (labeled_statement statement_identifier : (expression_statement (call_expression IDENT (argument_list ( ))) ;)) })))) (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }))) (return_statement return IDENT ;) })))
(function_definition "undefined4 __regparm3 FUN_0027e130(byte param_1)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0xff) {\n    uVar2 = 0;\n  }\n  else {\n    bVar1 = param_1 & 7;\n    if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    \n        abort();\n      }\n      return 4;\n    }\n    uVar2 = 2;\n  }\n  return uVar2;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0027e130(byte param_1)" (identifier "FUN_0027e130") (parameter_list "(byte param_1)" (( "(") (parameter_declaration "byte param_1" (type_identifier "byte") (identifier "param_1")) () ")"))) (compound_statement "{\n  byte bVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0xff) {\n    uVar2 = 0;\n  }\n  else {\n    bVar1 = param_1 & 7;\n    if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    \n        abort();\n      }\n      return 4;\n    }\n    uVar2 = 2;\n  }\n  return uVar2;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (if_statement "if (param_1 == 0xff) {\n    uVar2 = 0;\n  }\n  else {\n    bVar1 = param_1 & 7;\n    if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    \n        abort();\n      }\n      return 4;\n    }\n    uVar2 = 2;\n  }" (if "if") (parenthesized_expression "(param_1 == 0xff)" (( "(") (binary_expression "param_1 == 0xff" (identifier "param_1") (== "==") (number_literal "0xff")) () ")")) (compound_statement "{\n    uVar2 = 0;\n  }" ({ "{") (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n    bVar1 = param_1 & 7;\n    if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    \n        abort();\n      }\n      return 4;\n    }\n    uVar2 = 2;\n  }" (else "else") (compound_statement "{\n    bVar1 = param_1 & 7;\n    if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    \n        abort();\n      }\n      return 4;\n    }\n    uVar2 = 2;\n  }" ({ "{") (expression_statement "bVar1 = param_1 & 7;" (assignment_expression "bVar1 = param_1 & 7" (identifier "bVar1") (= "=") (binary_expression "param_1 & 7" (identifier "param_1") (& "&") (number_literal "7"))) (; ";")) (if_statement "if (bVar1 != 2) {\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    \n        abort();\n      }\n      return 4;\n    }" (if "if") (parenthesized_expression "(bVar1 != 2)" (( "(") (binary_expression "bVar1 != 2" (identifier "bVar1") (!= "!=") (number_literal "2")) () ")")) (compound_statement "{\n      if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    \n        abort();\n      }\n      return 4;\n    }" ({ "{") (if_statement "if (bVar1 < 3) {\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }\n      else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    \n        abort();\n      }" (if "if") (parenthesized_expression "(bVar1 < 3)" (( "(") (binary_expression "bVar1 < 3" (identifier "bVar1") (< "<") (number_literal "3")) () ")")) (compound_statement "{\n        if ((param_1 & 7) != 0) goto LAB_0027e184;\n      }" ({ "{") (if_statement "if ((param_1 & 7) != 0) goto LAB_0027e184;" (if "if") (parenthesized_expression "((param_1 & 7) != 0)" (( "(") (binary_expression "(param_1 & 7) != 0" (parenthesized_expression "(param_1 & 7)" (( "(") (binary_expression "param_1 & 7" (identifier "param_1") (& "&") (number_literal "7")) () ")")) (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_0027e184;" (goto "goto") (statement_identifier "LAB_0027e184") (; ";"))) (} "}")) (else_clause "else if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    \n        abort();\n      }" (else "else") (if_statement "if (bVar1 != 3) {\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    \n        abort();\n      }" (if "if") (parenthesized_expression "(bVar1 != 3)" (( "(") (binary_expression "bVar1 != 3" (identifier "bVar1") (!= "!=") (number_literal "3")) () ")")) (compound_statement "{\n        if (bVar1 == 4) {\n          return 8;\n        }\nLAB_0027e184:\n                    \n        abort();\n      }" ({ "{") (if_statement "if (bVar1 == 4) {\n          return 8;\n        }" (if "if") (parenthesized_expression "(bVar1 == 4)" (( "(") (binary_expression "bVar1 == 4" (identifier "bVar1") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n          return 8;\n        }" ({ "{") (return_statement "return 8;" (return "return") (number_literal "8") (; ";")) (} "}"))) (labeled_statement "LAB_0027e184:\n                    \n        abort();" (statement_identifier "LAB_0027e184") (: ":") (expression_statement "abort();" (call_expression "abort()" (identifier "abort") (argument_list "()" (( "(") () ")"))) (; ";"))) (} "}"))))) (return_statement "return 4;" (return "return") (number_literal "4") (; ";")) (} "}"))) (expression_statement "uVar2 = 2;" (assignment_expression "uVar2 = 2" (identifier "uVar2") (= "=") (number_literal "2")) (; ";")) (} "}")))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

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

type_1 __regparm3 function_1(type_2 var_1)

{
  type_2 var_2;
  type_1 uVar2;
  
  if (var_1 == 0xff) {
    uVar2 = 0;
  }
  else {
    var_2 = var_1 & 7;
    if (var_2 != 2) {
      if (var_2 < 3) {
        if ((var_1 & 7) != 0) goto LAB_0027e184;
      }
      else if (var_2 != 3) {
        if (var_2 == 4) {
          return 8;
        }
LAB_0027e184:
                    /* WARNING: Subroutine does not return */
        var_3();
      }
      return 4;
    }
    uVar2 = 2;
  }
  return uVar2;
}


(translation_unit (function_definition type: (type_identifier) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (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: (identifier) right: (number_literal))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))))) (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))))

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

undefined4 __regparm3 MASKED(byte param_1)

{
  byte bVar1;
  undefined4 uVar2;
  
  if (param_1 == 0xff) {
    uVar2 = 0;
  }
  else {
    bVar1 = param_1 & 7;
    if (bVar1 != 2) {
      if (bVar1 < 3) {
        if ((param_1 & 7) != 0) goto LAB_0027e184;
      }
      else if (bVar1 != 3) {
        if (bVar1 == 4) {
          return 8;
        }
LAB_0027e184:
                    /* WARNING: Subroutine does not return */
        abort();
      }
      return 4;
    }
    uVar2 = 2;
  }
  return uVar2;
}

