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

void opt_query(int type,char *s)

{
  if (type != 0) {
    if ((-1 < type) && (type < 3)) {
      error("Use \"h\" for help",(PARG *)0x0);
    }
    return;
  }
  dohelp = 1;
  return;
}



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

void FUN_00028310(int param_1)

{
  if (param_1 != 0) {
    if ((-1 < param_1) && (param_1 < 3)) {
      error("Use \"h\" for help",0);
    }
    return;
  }
  DAT_000488b0 = 1;
  return;
}


PUSH EBX
CALL 0x000129d0
ADD EBX,0x1ab76
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x10]
TEST EAX,EAX
JZ 0x00028350
JS 0x00028342
CMP EAX,0x2
JG 0x00028342
SUB ESP,0x8
LEA EAX,[EBX + 0xffff38b1]
PUSH 0x0
PUSH EAX
CALL 0x0002a810
ADD ESP,0x10
ADD ESP,0x8
POP EBX
RET
LEA EAX,[EBX + 0x5a24]
MOV dword ptr [EAX],0x1
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid FUN_00028310(int param_1)\n\n{\n  if (param_1 != 0) {\n    if ((-1 < param_1) && (param_1 < 3)) {\n      error("Use \"h\" for help",0);\n    }\n    return;\n  }\n  DAT_000488b0 = 1;\n  return;\n}\n\n" comment (function_definition "void FUN_00028310(int param_1)\n\n{\n  if (param_1 != 0) {\n    if ((-1 < param_1) && (param_1 < 3)) {\n      error("Use \"h\" for help",0);\n    }\n    return;\n  }\n  DAT_000488b0 = 1;\n  return;\n}" primitive_type (function_declarator "FUN_00028310(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (param_1 != 0) {\n    if ((-1 < param_1) && (param_1 < 3)) {\n      error("Use \"h\" for help",0);\n    }\n    return;\n  }\n  DAT_000488b0 = 1;\n  return;\n}" { (if_statement "if (param_1 != 0) {\n    if ((-1 < param_1) && (param_1 < 3)) {\n      error("Use \"h\" for help",0);\n    }\n    return;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    if ((-1 < param_1) && (param_1 < 3)) {\n      error("Use \"h\" for help",0);\n    }\n    return;\n  }" { (if_statement "if ((-1 < param_1) && (param_1 < 3)) {\n      error("Use \"h\" for help",0);\n    }" if (parenthesized_expression "((-1 < param_1) && (param_1 < 3))" ( (binary_expression "(-1 < param_1) && (param_1 < 3)" (parenthesized_expression "(-1 < param_1)" ( (binary_expression "-1 < param_1" number_literal < identifier) )) && (parenthesized_expression "(param_1 < 3)" ( (binary_expression "param_1 < 3" identifier < number_literal) ))) )) (compound_statement "{\n      error("Use \"h\" for help",0);\n    }" { (expression_statement "error("Use \"h\" for help",0);" (call_expression "error("Use \"h\" for help",0)" identifier (argument_list "("Use \"h\" for help",0)" ( (string_literal ""Use \"h\" for help"" " string_content escape_sequence string_content escape_sequence string_content ") , number_literal ))) ;) })) (return_statement "return;" return ;) })) (expression_statement "DAT_000488b0 = 1;" (assignment_expression "DAT_000488b0 = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid opt_query(int type,char *s)\n\n{\n  if (type != 0) {\n    if ((-1 < type) && (type < 3)) {\n      error("Use \"h\" for help",(PARG *)0x0);\n    }\n    return;\n  }\n  dohelp = 1;\n  return;\n}\n\n" comment comment (function_definition "void opt_query(int type,char *s)\n\n{\n  if (type != 0) {\n    if ((-1 < type) && (type < 3)) {\n      error("Use \"h\" for help",(PARG *)0x0);\n    }\n    return;\n  }\n  dohelp = 1;\n  return;\n}" primitive_type (function_declarator "opt_query(int type,char *s)" identifier (parameter_list "(int type,char *s)" ( (parameter_declaration "int type" primitive_type identifier) , (parameter_declaration "char *s" primitive_type (pointer_declarator "*s" * identifier)) ))) (compound_statement "{\n  if (type != 0) {\n    if ((-1 < type) && (type < 3)) {\n      error("Use \"h\" for help",(PARG *)0x0);\n    }\n    return;\n  }\n  dohelp = 1;\n  return;\n}" { (if_statement "if (type != 0) {\n    if ((-1 < type) && (type < 3)) {\n      error("Use \"h\" for help",(PARG *)0x0);\n    }\n    return;\n  }" if (parenthesized_expression "(type != 0)" ( (binary_expression "type != 0" identifier != number_literal) )) (compound_statement "{\n    if ((-1 < type) && (type < 3)) {\n      error("Use \"h\" for help",(PARG *)0x0);\n    }\n    return;\n  }" { (if_statement "if ((-1 < type) && (type < 3)) {\n      error("Use \"h\" for help",(PARG *)0x0);\n    }" if (parenthesized_expression "((-1 < type) && (type < 3))" ( (binary_expression "(-1 < type) && (type < 3)" (parenthesized_expression "(-1 < type)" ( (binary_expression "-1 < type" number_literal < identifier) )) && (parenthesized_expression "(type < 3)" ( (binary_expression "type < 3" identifier < number_literal) ))) )) (compound_statement "{\n      error("Use \"h\" for help",(PARG *)0x0);\n    }" { (expression_statement "error("Use \"h\" for help",(PARG *)0x0);" (call_expression "error("Use \"h\" for help",(PARG *)0x0)" identifier (argument_list "("Use \"h\" for help",(PARG *)0x0)" ( (string_literal ""Use \"h\" for help"" " string_content escape_sequence string_content escape_sequence string_content ") , (cast_expression "(PARG *)0x0" ( (type_descriptor "PARG *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) })) (return_statement "return;" return ;) })) (expression_statement "dohelp = 1;" (assignment_expression "dohelp = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void FUN_00028310(int param_1)\n\n{\n  if (param_1 != 0) {\n    if ((-1 < param_1) && (param_1 < 3)) {\n      error("Use \"h\" for help",0);\n    }\n    return;\n  }\n  DAT_000488b0 = 1;\n  return;\n}\n\n" (function_definition "void FUN_00028310(int param_1)\n\n{\n  if (param_1 != 0) {\n    if ((-1 < param_1) && (param_1 < 3)) {\n      error("Use \"h\" for help",0);\n    }\n    return;\n  }\n  DAT_000488b0 = 1;\n  return;\n}" primitive_type (function_declarator "FUN_00028310(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  if (param_1 != 0) {\n    if ((-1 < param_1) && (param_1 < 3)) {\n      error("Use \"h\" for help",0);\n    }\n    return;\n  }\n  DAT_000488b0 = 1;\n  return;\n}" { (if_statement "if (param_1 != 0) {\n    if ((-1 < param_1) && (param_1 < 3)) {\n      error("Use \"h\" for help",0);\n    }\n    return;\n  }" if (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) (compound_statement "{\n    if ((-1 < param_1) && (param_1 < 3)) {\n      error("Use \"h\" for help",0);\n    }\n    return;\n  }" { (if_statement "if ((-1 < param_1) && (param_1 < 3)) {\n      error("Use \"h\" for help",0);\n    }" if (parenthesized_expression "((-1 < param_1) && (param_1 < 3))" ( (binary_expression "(-1 < param_1) && (param_1 < 3)" (parenthesized_expression "(-1 < param_1)" ( (binary_expression "-1 < param_1" number_literal < identifier) )) && (parenthesized_expression "(param_1 < 3)" ( (binary_expression "param_1 < 3" identifier < number_literal) ))) )) (compound_statement "{\n      error("Use \"h\" for help",0);\n    }" { (expression_statement "error("Use \"h\" for help",0);" (call_expression "error("Use \"h\" for help",0)" identifier (argument_list "("Use \"h\" for help",0)" ( (string_literal ""Use \"h\" for help"" " string_content escape_sequence string_content escape_sequence string_content ") , number_literal ))) ;) })) (return_statement "return;" return ;) })) (expression_statement "DAT_000488b0 = 1;" (assignment_expression "DAT_000488b0 = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (binary_expression IDENT < LIT) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content escape_sequence string_content escape_sequence string_content ") , LIT ))) ;) })) (return_statement return ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return ;) })))
(function_definition "void FUN_00028310(int param_1)\n\n{\n  if (param_1 != 0) {\n    if ((-1 < param_1) && (param_1 < 3)) {\n      error("Use \"h\" for help",0);\n    }\n    return;\n  }\n  DAT_000488b0 = 1;\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00028310(int param_1)" (identifier "FUN_00028310") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  if (param_1 != 0) {\n    if ((-1 < param_1) && (param_1 < 3)) {\n      error("Use \"h\" for help",0);\n    }\n    return;\n  }\n  DAT_000488b0 = 1;\n  return;\n}" ({ "{") (if_statement "if (param_1 != 0) {\n    if ((-1 < param_1) && (param_1 < 3)) {\n      error("Use \"h\" for help",0);\n    }\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if ((-1 < param_1) && (param_1 < 3)) {\n      error("Use \"h\" for help",0);\n    }\n    return;\n  }" ({ "{") (if_statement "if ((-1 < param_1) && (param_1 < 3)) {\n      error("Use \"h\" for help",0);\n    }" (if "if") (parenthesized_expression "((-1 < param_1) && (param_1 < 3))" (( "(") (binary_expression "(-1 < param_1) && (param_1 < 3)" (parenthesized_expression "(-1 < param_1)" (( "(") (binary_expression "-1 < param_1" (number_literal "-1") (< "<") (identifier "param_1")) () ")")) (&& "&&") (parenthesized_expression "(param_1 < 3)" (( "(") (binary_expression "param_1 < 3" (identifier "param_1") (< "<") (number_literal "3")) () ")"))) () ")")) (compound_statement "{\n      error("Use \"h\" for help",0);\n    }" ({ "{") (expression_statement "error("Use \"h\" for help",0);" (call_expression "error("Use \"h\" for help",0)" (identifier "error") (argument_list "("Use \"h\" for help",0)" (( "(") (string_literal ""Use \"h\" for help"" (" """) (string_content "Use ") (escape_sequence "\"") (string_content "h") (escape_sequence "\"") (string_content " for help") (" """)) (, ",") (number_literal "0") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "DAT_000488b0 = 1;" (assignment_expression "DAT_000488b0 = 1" (identifier "DAT_000488b0") (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(int var_1,char *s)

{
  if (var_1 != 0) {
    if ((-1 < var_1) && (var_1 < 3)) {
      var_2("Use \"h\" for help",(type_1 *)0x0);
    }
    return;
  }
  dohelp = 1;
  return;
}


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

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

void MASKED(int param_1)

{
  if (param_1 != 0) {
    if ((-1 < param_1) && (param_1 < 3)) {
      error("Use \"h\" for help",0);
    }
    return;
  }
  DAT_000488b0 = 1;
  return;
}

