
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* base_of_encoded_value(unsigned char, _Unwind_Context*) */

void base_of_encoded_value(uchar param_1,_Unwind_Context *param_2)

{
}



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

undefined4 __regparm3 FUN_003acd60(byte param_1,undefined4 param_2)

{
  byte bVar1;
  undefined4 uVar2;
  
  if (param_1 == 0xff) {
    return 0;
  }
  bVar1 = param_1 & 0x70;
  if (bVar1 == 0x20) {
    uVar2 = FUN_00444f10(param_2);
  }
  else {
    if (bVar1 < 0x21) {
      if ((param_1 & 0x70) == 0) {
        return 0;
      }
      if (bVar1 == 0x10) {
        return 0;
      }
LAB_003acdce:
                    /* WARNING: Subroutine does not return */
      abort();
    }
    if (bVar1 == 0x40) {
      uVar2 = FUN_00444ec0(param_2);
    }
    else {
      if (bVar1 == 0x50) {
        return 0;
      }
      if (bVar1 != 0x30) goto LAB_003acdce;
      uVar2 = FUN_00444f00(param_2);
    }
  }
  return uVar2;
}


PUSH EBX
CALL 0x00050b50
ADD EBX,0x23d29a
SUB ESP,0x8
CMP AL,0xff
JZ 0x003acda8
AND EAX,0x70
CMP AL,0x20
JZ 0x003acdc0
JBE 0x003acda0
CMP AL,0x40
JZ 0x003acdb0
CMP AL,0x50
JZ 0x003acda8
CMP AL,0x30
JNZ 0x003acdce
SUB ESP,0xc
PUSH EDX
CALL 0x00444f00
ADD ESP,0x10
ADD ESP,0x8
POP EBX
RET
TEST AL,AL
JZ 0x003acda8
CMP AL,0x10
JNZ 0x003acdce
ADD ESP,0x8
XOR EAX,EAX
POP EBX
RET
SUB ESP,0xc
PUSH EDX
CALL 0x00444ec0
ADD ESP,0x10
JMP 0x003acd94
SUB ESP,0xc
PUSH EDX
CALL 0x00444f10
ADD ESP,0x10
JMP 0x003acd94
CALL 0x000399c0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_003acd60(byte param_1,undefined4 param_2)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0xff) {\n    return 0;\n  }\n  bVar1 = param_1 & 0x70;\n  if (bVar1 == 0x20) {\n    uVar2 = FUN_00444f10(param_2);\n  }\n  else {\n    if (bVar1 < 0x21) {\n      if ((param_1 & 0x70) == 0) {\n        return 0;\n      }\n      if (bVar1 == 0x10) {\n        return 0;\n      }\nLAB_003acdce:\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    if (bVar1 == 0x40) {\n      uVar2 = FUN_00444ec0(param_2);\n    }\n    else {\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }\n  }\n  return uVar2;\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_003acd60(byte param_1,undefined4 param_2)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0xff) {\n    return 0;\n  }\n  bVar1 = param_1 & 0x70;\n  if (bVar1 == 0x20) {\n    uVar2 = FUN_00444f10(param_2);\n  }\n  else {\n    if (bVar1 < 0x21) {\n      if ((param_1 & 0x70) == 0) {\n        return 0;\n      }\n      if (bVar1 == 0x10) {\n        return 0;\n      }\nLAB_003acdce:\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    if (bVar1 == 0x40) {\n      uVar2 = FUN_00444ec0(param_2);\n    }\n    else {\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }\n  }\n  return uVar2;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_003acd60(byte param_1,undefined4 param_2)" identifier (parameter_list "(byte param_1,undefined4 param_2)" ( (parameter_declaration "byte param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0xff) {\n    return 0;\n  }\n  bVar1 = param_1 & 0x70;\n  if (bVar1 == 0x20) {\n    uVar2 = FUN_00444f10(param_2);\n  }\n  else {\n    if (bVar1 < 0x21) {\n      if ((param_1 & 0x70) == 0) {\n        return 0;\n      }\n      if (bVar1 == 0x10) {\n        return 0;\n      }\nLAB_003acdce:\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    if (bVar1 == 0x40) {\n      uVar2 = FUN_00444ec0(param_2);\n    }\n    else {\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }\n  }\n  return uVar2;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (param_1 == 0xff) {\n    return 0;\n  }" if (parenthesized_expression "(param_1 == 0xff)" ( (binary_expression "param_1 == 0xff" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "bVar1 = param_1 & 0x70;" (assignment_expression "bVar1 = param_1 & 0x70" identifier = (binary_expression "param_1 & 0x70" identifier & number_literal)) ;) (if_statement "if (bVar1 == 0x20) {\n    uVar2 = FUN_00444f10(param_2);\n  }\n  else {\n    if (bVar1 < 0x21) {\n      if ((param_1 & 0x70) == 0) {\n        return 0;\n      }\n      if (bVar1 == 0x10) {\n        return 0;\n      }\nLAB_003acdce:\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    if (bVar1 == 0x40) {\n      uVar2 = FUN_00444ec0(param_2);\n    }\n    else {\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }\n  }" if (parenthesized_expression "(bVar1 == 0x20)" ( (binary_expression "bVar1 == 0x20" identifier == number_literal) )) (compound_statement "{\n    uVar2 = FUN_00444f10(param_2);\n  }" { (expression_statement "uVar2 = FUN_00444f10(param_2);" (assignment_expression "uVar2 = FUN_00444f10(param_2)" identifier = (call_expression "FUN_00444f10(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) }) (else_clause "else {\n    if (bVar1 < 0x21) {\n      if ((param_1 & 0x70) == 0) {\n        return 0;\n      }\n      if (bVar1 == 0x10) {\n        return 0;\n      }\nLAB_003acdce:\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    if (bVar1 == 0x40) {\n      uVar2 = FUN_00444ec0(param_2);\n    }\n    else {\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }\n  }" else (compound_statement "{\n    if (bVar1 < 0x21) {\n      if ((param_1 & 0x70) == 0) {\n        return 0;\n      }\n      if (bVar1 == 0x10) {\n        return 0;\n      }\nLAB_003acdce:\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }\n    if (bVar1 == 0x40) {\n      uVar2 = FUN_00444ec0(param_2);\n    }\n    else {\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }\n  }" { (if_statement "if (bVar1 < 0x21) {\n      if ((param_1 & 0x70) == 0) {\n        return 0;\n      }\n      if (bVar1 == 0x10) {\n        return 0;\n      }\nLAB_003acdce:\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }" if (parenthesized_expression "(bVar1 < 0x21)" ( (binary_expression "bVar1 < 0x21" identifier < number_literal) )) (compound_statement "{\n      if ((param_1 & 0x70) == 0) {\n        return 0;\n      }\n      if (bVar1 == 0x10) {\n        return 0;\n      }\nLAB_003acdce:\n                    /* WARNING: Subroutine does not return */\n      abort();\n    }" { (if_statement "if ((param_1 & 0x70) == 0) {\n        return 0;\n      }" if (parenthesized_expression "((param_1 & 0x70) == 0)" ( (binary_expression "(param_1 & 0x70) == 0" (parenthesized_expression "(param_1 & 0x70)" ( (binary_expression "param_1 & 0x70" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (bVar1 == 0x10) {\n        return 0;\n      }" if (parenthesized_expression "(bVar1 == 0x10)" ( (binary_expression "bVar1 == 0x10" identifier == number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (labeled_statement "LAB_003acdce:\n                    /* WARNING: Subroutine does not return */\n      abort();" statement_identifier : comment (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;)) })) (if_statement "if (bVar1 == 0x40) {\n      uVar2 = FUN_00444ec0(param_2);\n    }\n    else {\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }" if (parenthesized_expression "(bVar1 == 0x40)" ( (binary_expression "bVar1 == 0x40" identifier == number_literal) )) (compound_statement "{\n      uVar2 = FUN_00444ec0(param_2);\n    }" { (expression_statement "uVar2 = FUN_00444ec0(param_2);" (assignment_expression "uVar2 = FUN_00444ec0(param_2)" identifier = (call_expression "FUN_00444ec0(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) }) (else_clause "else {\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }" else (compound_statement "{\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }" { (if_statement "if (bVar1 == 0x50) {\n        return 0;\n      }" if (parenthesized_expression "(bVar1 == 0x50)" ( (binary_expression "bVar1 == 0x50" identifier == number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (bVar1 != 0x30) goto LAB_003acdce;" if (parenthesized_expression "(bVar1 != 0x30)" ( (binary_expression "bVar1 != 0x30" identifier != number_literal) )) (goto_statement "goto LAB_003acdce;" goto statement_identifier ;)) (expression_statement "uVar2 = FUN_00444f00(param_2);" (assignment_expression "uVar2 = FUN_00444f00(param_2)" identifier = (call_expression "FUN_00444f00(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) }))) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* base_of_encoded_value(unsigned char, _Unwind_Context*) */\n\nvoid base_of_encoded_value(uchar param_1,_Unwind_Context *param_2)\n\n{\n}\n\n" comment comment (function_definition "void base_of_encoded_value(uchar param_1,_Unwind_Context *param_2)\n\n{\n}" primitive_type (function_declarator "base_of_encoded_value(uchar param_1,_Unwind_Context *param_2)" identifier (parameter_list "(uchar param_1,_Unwind_Context *param_2)" ( (parameter_declaration "uchar param_1" type_identifier identifier) , (parameter_declaration "_Unwind_Context *param_2" type_identifier (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n}" { })))
(translation_unit "undefined4 __regparm3 FUN_003acd60(byte param_1,undefined4 param_2)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0xff) {\n    return 0;\n  }\n  bVar1 = param_1 & 0x70;\n  if (bVar1 == 0x20) {\n    uVar2 = FUN_00444f10(param_2);\n  }\n  else {\n    if (bVar1 < 0x21) {\n      if ((param_1 & 0x70) == 0) {\n        return 0;\n      }\n      if (bVar1 == 0x10) {\n        return 0;\n      }\nLAB_003acdce:\n                    \n      abort();\n    }\n    if (bVar1 == 0x40) {\n      uVar2 = FUN_00444ec0(param_2);\n    }\n    else {\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }\n  }\n  return uVar2;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_003acd60(byte param_1,undefined4 param_2)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0xff) {\n    return 0;\n  }\n  bVar1 = param_1 & 0x70;\n  if (bVar1 == 0x20) {\n    uVar2 = FUN_00444f10(param_2);\n  }\n  else {\n    if (bVar1 < 0x21) {\n      if ((param_1 & 0x70) == 0) {\n        return 0;\n      }\n      if (bVar1 == 0x10) {\n        return 0;\n      }\nLAB_003acdce:\n                    \n      abort();\n    }\n    if (bVar1 == 0x40) {\n      uVar2 = FUN_00444ec0(param_2);\n    }\n    else {\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }\n  }\n  return uVar2;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_003acd60(byte param_1,undefined4 param_2)" identifier (parameter_list "(byte param_1,undefined4 param_2)" ( (parameter_declaration "byte param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  byte bVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0xff) {\n    return 0;\n  }\n  bVar1 = param_1 & 0x70;\n  if (bVar1 == 0x20) {\n    uVar2 = FUN_00444f10(param_2);\n  }\n  else {\n    if (bVar1 < 0x21) {\n      if ((param_1 & 0x70) == 0) {\n        return 0;\n      }\n      if (bVar1 == 0x10) {\n        return 0;\n      }\nLAB_003acdce:\n                    \n      abort();\n    }\n    if (bVar1 == 0x40) {\n      uVar2 = FUN_00444ec0(param_2);\n    }\n    else {\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }\n  }\n  return uVar2;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (if_statement "if (param_1 == 0xff) {\n    return 0;\n  }" if (parenthesized_expression "(param_1 == 0xff)" ( (binary_expression "param_1 == 0xff" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "bVar1 = param_1 & 0x70;" (assignment_expression "bVar1 = param_1 & 0x70" identifier = (binary_expression "param_1 & 0x70" identifier & number_literal)) ;) (if_statement "if (bVar1 == 0x20) {\n    uVar2 = FUN_00444f10(param_2);\n  }\n  else {\n    if (bVar1 < 0x21) {\n      if ((param_1 & 0x70) == 0) {\n        return 0;\n      }\n      if (bVar1 == 0x10) {\n        return 0;\n      }\nLAB_003acdce:\n                    \n      abort();\n    }\n    if (bVar1 == 0x40) {\n      uVar2 = FUN_00444ec0(param_2);\n    }\n    else {\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }\n  }" if (parenthesized_expression "(bVar1 == 0x20)" ( (binary_expression "bVar1 == 0x20" identifier == number_literal) )) (compound_statement "{\n    uVar2 = FUN_00444f10(param_2);\n  }" { (expression_statement "uVar2 = FUN_00444f10(param_2);" (assignment_expression "uVar2 = FUN_00444f10(param_2)" identifier = (call_expression "FUN_00444f10(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) }) (else_clause "else {\n    if (bVar1 < 0x21) {\n      if ((param_1 & 0x70) == 0) {\n        return 0;\n      }\n      if (bVar1 == 0x10) {\n        return 0;\n      }\nLAB_003acdce:\n                    \n      abort();\n    }\n    if (bVar1 == 0x40) {\n      uVar2 = FUN_00444ec0(param_2);\n    }\n    else {\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }\n  }" else (compound_statement "{\n    if (bVar1 < 0x21) {\n      if ((param_1 & 0x70) == 0) {\n        return 0;\n      }\n      if (bVar1 == 0x10) {\n        return 0;\n      }\nLAB_003acdce:\n                    \n      abort();\n    }\n    if (bVar1 == 0x40) {\n      uVar2 = FUN_00444ec0(param_2);\n    }\n    else {\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }\n  }" { (if_statement "if (bVar1 < 0x21) {\n      if ((param_1 & 0x70) == 0) {\n        return 0;\n      }\n      if (bVar1 == 0x10) {\n        return 0;\n      }\nLAB_003acdce:\n                    \n      abort();\n    }" if (parenthesized_expression "(bVar1 < 0x21)" ( (binary_expression "bVar1 < 0x21" identifier < number_literal) )) (compound_statement "{\n      if ((param_1 & 0x70) == 0) {\n        return 0;\n      }\n      if (bVar1 == 0x10) {\n        return 0;\n      }\nLAB_003acdce:\n                    \n      abort();\n    }" { (if_statement "if ((param_1 & 0x70) == 0) {\n        return 0;\n      }" if (parenthesized_expression "((param_1 & 0x70) == 0)" ( (binary_expression "(param_1 & 0x70) == 0" (parenthesized_expression "(param_1 & 0x70)" ( (binary_expression "param_1 & 0x70" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (bVar1 == 0x10) {\n        return 0;\n      }" if (parenthesized_expression "(bVar1 == 0x10)" ( (binary_expression "bVar1 == 0x10" identifier == number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (labeled_statement "LAB_003acdce:\n                    \n      abort();" statement_identifier : (expression_statement "abort();" (call_expression "abort()" identifier (argument_list "()" ( ))) ;)) })) (if_statement "if (bVar1 == 0x40) {\n      uVar2 = FUN_00444ec0(param_2);\n    }\n    else {\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }" if (parenthesized_expression "(bVar1 == 0x40)" ( (binary_expression "bVar1 == 0x40" identifier == number_literal) )) (compound_statement "{\n      uVar2 = FUN_00444ec0(param_2);\n    }" { (expression_statement "uVar2 = FUN_00444ec0(param_2);" (assignment_expression "uVar2 = FUN_00444ec0(param_2)" identifier = (call_expression "FUN_00444ec0(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) }) (else_clause "else {\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }" else (compound_statement "{\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }" { (if_statement "if (bVar1 == 0x50) {\n        return 0;\n      }" if (parenthesized_expression "(bVar1 == 0x50)" ( (binary_expression "bVar1 == 0x50" identifier == number_literal) )) (compound_statement "{\n        return 0;\n      }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (bVar1 != 0x30) goto LAB_003acdce;" if (parenthesized_expression "(bVar1 != 0x30)" ( (binary_expression "bVar1 != 0x30" identifier != number_literal) )) (goto_statement "goto LAB_003acdce;" goto statement_identifier ;)) (expression_statement "uVar2 = FUN_00444f00(param_2);" (assignment_expression "uVar2 = FUN_00444f00(param_2)" identifier = (call_expression "FUN_00444f00(param_2)" identifier (argument_list "(param_2)" ( identifier )))) ;) }))) }))) (return_statement "return uVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) }) (else_clause else (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) )) (compound_statement { (return_statement return LIT ;) })) (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 ( ))) ;)) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT )))) ;) }))) }))) (return_statement return IDENT ;) })))
(function_definition "undefined4 __regparm3 FUN_003acd60(byte param_1,undefined4 param_2)\n\n{\n  byte bVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0xff) {\n    return 0;\n  }\n  bVar1 = param_1 & 0x70;\n  if (bVar1 == 0x20) {\n    uVar2 = FUN_00444f10(param_2);\n  }\n  else {\n    if (bVar1 < 0x21) {\n      if ((param_1 & 0x70) == 0) {\n        return 0;\n      }\n      if (bVar1 == 0x10) {\n        return 0;\n      }\nLAB_003acdce:\n                    \n      abort();\n    }\n    if (bVar1 == 0x40) {\n      uVar2 = FUN_00444ec0(param_2);\n    }\n    else {\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }\n  }\n  return uVar2;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_003acd60(byte param_1,undefined4 param_2)" (identifier "FUN_003acd60") (parameter_list "(byte param_1,undefined4 param_2)" (( "(") (parameter_declaration "byte param_1" (type_identifier "byte") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  byte bVar1;\n  undefined4 uVar2;\n  \n  if (param_1 == 0xff) {\n    return 0;\n  }\n  bVar1 = param_1 & 0x70;\n  if (bVar1 == 0x20) {\n    uVar2 = FUN_00444f10(param_2);\n  }\n  else {\n    if (bVar1 < 0x21) {\n      if ((param_1 & 0x70) == 0) {\n        return 0;\n      }\n      if (bVar1 == 0x10) {\n        return 0;\n      }\nLAB_003acdce:\n                    \n      abort();\n    }\n    if (bVar1 == 0x40) {\n      uVar2 = FUN_00444ec0(param_2);\n    }\n    else {\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }\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    return 0;\n  }" (if "if") (parenthesized_expression "(param_1 == 0xff)" (( "(") (binary_expression "param_1 == 0xff" (identifier "param_1") (== "==") (number_literal "0xff")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "bVar1 = param_1 & 0x70;" (assignment_expression "bVar1 = param_1 & 0x70" (identifier "bVar1") (= "=") (binary_expression "param_1 & 0x70" (identifier "param_1") (& "&") (number_literal "0x70"))) (; ";")) (if_statement "if (bVar1 == 0x20) {\n    uVar2 = FUN_00444f10(param_2);\n  }\n  else {\n    if (bVar1 < 0x21) {\n      if ((param_1 & 0x70) == 0) {\n        return 0;\n      }\n      if (bVar1 == 0x10) {\n        return 0;\n      }\nLAB_003acdce:\n                    \n      abort();\n    }\n    if (bVar1 == 0x40) {\n      uVar2 = FUN_00444ec0(param_2);\n    }\n    else {\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }\n  }" (if "if") (parenthesized_expression "(bVar1 == 0x20)" (( "(") (binary_expression "bVar1 == 0x20" (identifier "bVar1") (== "==") (number_literal "0x20")) () ")")) (compound_statement "{\n    uVar2 = FUN_00444f10(param_2);\n  }" ({ "{") (expression_statement "uVar2 = FUN_00444f10(param_2);" (assignment_expression "uVar2 = FUN_00444f10(param_2)" (identifier "uVar2") (= "=") (call_expression "FUN_00444f10(param_2)" (identifier "FUN_00444f10") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (} "}")) (else_clause "else {\n    if (bVar1 < 0x21) {\n      if ((param_1 & 0x70) == 0) {\n        return 0;\n      }\n      if (bVar1 == 0x10) {\n        return 0;\n      }\nLAB_003acdce:\n                    \n      abort();\n    }\n    if (bVar1 == 0x40) {\n      uVar2 = FUN_00444ec0(param_2);\n    }\n    else {\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }\n  }" (else "else") (compound_statement "{\n    if (bVar1 < 0x21) {\n      if ((param_1 & 0x70) == 0) {\n        return 0;\n      }\n      if (bVar1 == 0x10) {\n        return 0;\n      }\nLAB_003acdce:\n                    \n      abort();\n    }\n    if (bVar1 == 0x40) {\n      uVar2 = FUN_00444ec0(param_2);\n    }\n    else {\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }\n  }" ({ "{") (if_statement "if (bVar1 < 0x21) {\n      if ((param_1 & 0x70) == 0) {\n        return 0;\n      }\n      if (bVar1 == 0x10) {\n        return 0;\n      }\nLAB_003acdce:\n                    \n      abort();\n    }" (if "if") (parenthesized_expression "(bVar1 < 0x21)" (( "(") (binary_expression "bVar1 < 0x21" (identifier "bVar1") (< "<") (number_literal "0x21")) () ")")) (compound_statement "{\n      if ((param_1 & 0x70) == 0) {\n        return 0;\n      }\n      if (bVar1 == 0x10) {\n        return 0;\n      }\nLAB_003acdce:\n                    \n      abort();\n    }" ({ "{") (if_statement "if ((param_1 & 0x70) == 0) {\n        return 0;\n      }" (if "if") (parenthesized_expression "((param_1 & 0x70) == 0)" (( "(") (binary_expression "(param_1 & 0x70) == 0" (parenthesized_expression "(param_1 & 0x70)" (( "(") (binary_expression "param_1 & 0x70" (identifier "param_1") (& "&") (number_literal "0x70")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (bVar1 == 0x10) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(bVar1 == 0x10)" (( "(") (binary_expression "bVar1 == 0x10" (identifier "bVar1") (== "==") (number_literal "0x10")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (labeled_statement "LAB_003acdce:\n                    \n      abort();" (statement_identifier "LAB_003acdce") (: ":") (expression_statement "abort();" (call_expression "abort()" (identifier "abort") (argument_list "()" (( "(") () ")"))) (; ";"))) (} "}"))) (if_statement "if (bVar1 == 0x40) {\n      uVar2 = FUN_00444ec0(param_2);\n    }\n    else {\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }" (if "if") (parenthesized_expression "(bVar1 == 0x40)" (( "(") (binary_expression "bVar1 == 0x40" (identifier "bVar1") (== "==") (number_literal "0x40")) () ")")) (compound_statement "{\n      uVar2 = FUN_00444ec0(param_2);\n    }" ({ "{") (expression_statement "uVar2 = FUN_00444ec0(param_2);" (assignment_expression "uVar2 = FUN_00444ec0(param_2)" (identifier "uVar2") (= "=") (call_expression "FUN_00444ec0(param_2)" (identifier "FUN_00444ec0") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (} "}")) (else_clause "else {\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }" (else "else") (compound_statement "{\n      if (bVar1 == 0x50) {\n        return 0;\n      }\n      if (bVar1 != 0x30) goto LAB_003acdce;\n      uVar2 = FUN_00444f00(param_2);\n    }" ({ "{") (if_statement "if (bVar1 == 0x50) {\n        return 0;\n      }" (if "if") (parenthesized_expression "(bVar1 == 0x50)" (( "(") (binary_expression "bVar1 == 0x50" (identifier "bVar1") (== "==") (number_literal "0x50")) () ")")) (compound_statement "{\n        return 0;\n      }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (bVar1 != 0x30) goto LAB_003acdce;" (if "if") (parenthesized_expression "(bVar1 != 0x30)" (( "(") (binary_expression "bVar1 != 0x30" (identifier "bVar1") (!= "!=") (number_literal "0x30")) () ")")) (goto_statement "goto LAB_003acdce;" (goto "goto") (statement_identifier "LAB_003acdce") (; ";"))) (expression_statement "uVar2 = FUN_00444f00(param_2);" (assignment_expression "uVar2 = FUN_00444f00(param_2)" (identifier "uVar2") (= "=") (call_expression "FUN_00444f00(param_2)" (identifier "FUN_00444f00") (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (} "}")))) (} "}")))) (return_statement "return uVar2;" (return "return") (identifier "uVar2") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* base_of_encoded_value(unsigned char, _Unwind_Context*) */

void function_1(type_1 param_1,type_2 *param_2)

{
}


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

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

undefined4 __regparm3 MASKED(byte param_1,undefined4 param_2)

{
  byte bVar1;
  undefined4 uVar2;
  
  if (param_1 == 0xff) {
    return 0;
  }
  bVar1 = param_1 & 0x70;
  if (bVar1 == 0x20) {
    uVar2 = FUN_00444f10(param_2);
  }
  else {
    if (bVar1 < 0x21) {
      if ((param_1 & 0x70) == 0) {
        return 0;
      }
      if (bVar1 == 0x10) {
        return 0;
      }
LAB_003acdce:
                    /* WARNING: Subroutine does not return */
      abort();
    }
    if (bVar1 == 0x40) {
      uVar2 = FUN_00444ec0(param_2);
    }
    else {
      if (bVar1 == 0x50) {
        return 0;
      }
      if (bVar1 != 0x30) goto LAB_003acdce;
      uVar2 = FUN_00444f00(param_2);
    }
  }
  return uVar2;
}

