
/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void rl_check_signals(void)

{
  int sig;
  int in_stack_00000004;
  
  sig = _rl_caught_signal;
  if (_rl_caught_signal == 0) {
    return;
  }
  _rl_caught_signal = 0;
  if (sig != 0x1c) {
    _rl_handle_signal(sig);
    return;
  }
  _rl_signal_handler(in_stack_00000004);
  return;
}



/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

void rl_check_signals(void)

{
  int iVar1;
  
  iVar1 = _rl_caught_signal;
  if (_rl_caught_signal == 0) {
    return;
  }
  _rl_caught_signal = 0;
  if (iVar1 != 0x1c) {
    FUN_000dcde0();
    return;
  }
  FUN_000dc6d0();
  return;
}


CALL 0x00032005
ADD EDX,0x6d07b
MOV EAX,dword ptr [EDX + 0x7fd0]
TEST EAX,EAX
JZ 0x000dcfb0
MOV EAX,dword ptr [EDX + 0x7fd0]
MOV dword ptr [EDX + 0x7fd0],0x0
CMP EAX,0x1c
JZ 0x000dcfb8
JMP 0x000dcde0
RET
JMP 0x000dc6d0
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n\nvoid rl_check_signals(void)\n\n{\n  int iVar1;\n  \n  iVar1 = _rl_caught_signal;\n  if (_rl_caught_signal == 0) {\n    return;\n  }\n  _rl_caught_signal = 0;\n  if (iVar1 != 0x1c) {\n    FUN_000dcde0();\n    return;\n  }\n  FUN_000dc6d0();\n  return;\n}\n\n" comment (function_definition "void rl_check_signals(void)\n\n{\n  int iVar1;\n  \n  iVar1 = _rl_caught_signal;\n  if (_rl_caught_signal == 0) {\n    return;\n  }\n  _rl_caught_signal = 0;\n  if (iVar1 != 0x1c) {\n    FUN_000dcde0();\n    return;\n  }\n  FUN_000dc6d0();\n  return;\n}" primitive_type (function_declarator "rl_check_signals(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = _rl_caught_signal;\n  if (_rl_caught_signal == 0) {\n    return;\n  }\n  _rl_caught_signal = 0;\n  if (iVar1 != 0x1c) {\n    FUN_000dcde0();\n    return;\n  }\n  FUN_000dc6d0();\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = _rl_caught_signal;" (assignment_expression "iVar1 = _rl_caught_signal" identifier = identifier) ;) (if_statement "if (_rl_caught_signal == 0) {\n    return;\n  }" if (parenthesized_expression "(_rl_caught_signal == 0)" ( (binary_expression "_rl_caught_signal == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "_rl_caught_signal = 0;" (assignment_expression "_rl_caught_signal = 0" identifier = number_literal) ;) (if_statement "if (iVar1 != 0x1c) {\n    FUN_000dcde0();\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0x1c)" ( (binary_expression "iVar1 != 0x1c" identifier != number_literal) )) (compound_statement "{\n    FUN_000dcde0();\n    return;\n  }" { (expression_statement "FUN_000dcde0();" (call_expression "FUN_000dcde0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_000dc6d0();" (call_expression "FUN_000dc6d0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */\n/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid rl_check_signals(void)\n\n{\n  int sig;\n  int in_stack_00000004;\n  \n  sig = _rl_caught_signal;\n  if (_rl_caught_signal == 0) {\n    return;\n  }\n  _rl_caught_signal = 0;\n  if (sig != 0x1c) {\n    _rl_handle_signal(sig);\n    return;\n  }\n  _rl_signal_handler(in_stack_00000004);\n  return;\n}\n\n" comment comment (function_definition "void rl_check_signals(void)\n\n{\n  int sig;\n  int in_stack_00000004;\n  \n  sig = _rl_caught_signal;\n  if (_rl_caught_signal == 0) {\n    return;\n  }\n  _rl_caught_signal = 0;\n  if (sig != 0x1c) {\n    _rl_handle_signal(sig);\n    return;\n  }\n  _rl_signal_handler(in_stack_00000004);\n  return;\n}" primitive_type (function_declarator "rl_check_signals(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int sig;\n  int in_stack_00000004;\n  \n  sig = _rl_caught_signal;\n  if (_rl_caught_signal == 0) {\n    return;\n  }\n  _rl_caught_signal = 0;\n  if (sig != 0x1c) {\n    _rl_handle_signal(sig);\n    return;\n  }\n  _rl_signal_handler(in_stack_00000004);\n  return;\n}" { (declaration "int sig;" primitive_type identifier ;) (declaration "int in_stack_00000004;" primitive_type identifier ;) (expression_statement "sig = _rl_caught_signal;" (assignment_expression "sig = _rl_caught_signal" identifier = identifier) ;) (if_statement "if (_rl_caught_signal == 0) {\n    return;\n  }" if (parenthesized_expression "(_rl_caught_signal == 0)" ( (binary_expression "_rl_caught_signal == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "_rl_caught_signal = 0;" (assignment_expression "_rl_caught_signal = 0" identifier = number_literal) ;) (if_statement "if (sig != 0x1c) {\n    _rl_handle_signal(sig);\n    return;\n  }" if (parenthesized_expression "(sig != 0x1c)" ( (binary_expression "sig != 0x1c" identifier != number_literal) )) (compound_statement "{\n    _rl_handle_signal(sig);\n    return;\n  }" { (expression_statement "_rl_handle_signal(sig);" (call_expression "_rl_handle_signal(sig)" identifier (argument_list "(sig)" ( identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "_rl_signal_handler(in_stack_00000004);" (call_expression "_rl_signal_handler(in_stack_00000004)" identifier (argument_list "(in_stack_00000004)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void rl_check_signals(void)\n\n{\n  int iVar1;\n  \n  iVar1 = _rl_caught_signal;\n  if (_rl_caught_signal == 0) {\n    return;\n  }\n  _rl_caught_signal = 0;\n  if (iVar1 != 0x1c) {\n    FUN_000dcde0();\n    return;\n  }\n  FUN_000dc6d0();\n  return;\n}\n\n" (function_definition "void rl_check_signals(void)\n\n{\n  int iVar1;\n  \n  iVar1 = _rl_caught_signal;\n  if (_rl_caught_signal == 0) {\n    return;\n  }\n  _rl_caught_signal = 0;\n  if (iVar1 != 0x1c) {\n    FUN_000dcde0();\n    return;\n  }\n  FUN_000dc6d0();\n  return;\n}" primitive_type (function_declarator "rl_check_signals(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = _rl_caught_signal;\n  if (_rl_caught_signal == 0) {\n    return;\n  }\n  _rl_caught_signal = 0;\n  if (iVar1 != 0x1c) {\n    FUN_000dcde0();\n    return;\n  }\n  FUN_000dc6d0();\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = _rl_caught_signal;" (assignment_expression "iVar1 = _rl_caught_signal" identifier = identifier) ;) (if_statement "if (_rl_caught_signal == 0) {\n    return;\n  }" if (parenthesized_expression "(_rl_caught_signal == 0)" ( (binary_expression "_rl_caught_signal == 0" identifier == number_literal) )) (compound_statement "{\n    return;\n  }" { (return_statement "return;" return ;) })) (expression_statement "_rl_caught_signal = 0;" (assignment_expression "_rl_caught_signal = 0" identifier = number_literal) ;) (if_statement "if (iVar1 != 0x1c) {\n    FUN_000dcde0();\n    return;\n  }" if (parenthesized_expression "(iVar1 != 0x1c)" ( (binary_expression "iVar1 != 0x1c" identifier != number_literal) )) (compound_statement "{\n    FUN_000dcde0();\n    return;\n  }" { (expression_statement "FUN_000dcde0();" (call_expression "FUN_000dcde0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (expression_statement "FUN_000dc6d0();" (call_expression "FUN_000dc6d0()" identifier (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (return_statement return ;) })))
(function_definition "void rl_check_signals(void)\n\n{\n  int iVar1;\n  \n  iVar1 = _rl_caught_signal;\n  if (_rl_caught_signal == 0) {\n    return;\n  }\n  _rl_caught_signal = 0;\n  if (iVar1 != 0x1c) {\n    FUN_000dcde0();\n    return;\n  }\n  FUN_000dc6d0();\n  return;\n}" (primitive_type "void") (function_declarator "rl_check_signals(void)" (identifier "rl_check_signals") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = _rl_caught_signal;\n  if (_rl_caught_signal == 0) {\n    return;\n  }\n  _rl_caught_signal = 0;\n  if (iVar1 != 0x1c) {\n    FUN_000dcde0();\n    return;\n  }\n  FUN_000dc6d0();\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = _rl_caught_signal;" (assignment_expression "iVar1 = _rl_caught_signal" (identifier "iVar1") (= "=") (identifier "_rl_caught_signal")) (; ";")) (if_statement "if (_rl_caught_signal == 0) {\n    return;\n  }" (if "if") (parenthesized_expression "(_rl_caught_signal == 0)" (( "(") (binary_expression "_rl_caught_signal == 0" (identifier "_rl_caught_signal") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return;\n  }" ({ "{") (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "_rl_caught_signal = 0;" (assignment_expression "_rl_caught_signal = 0" (identifier "_rl_caught_signal") (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar1 != 0x1c) {\n    FUN_000dcde0();\n    return;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0x1c)" (( "(") (binary_expression "iVar1 != 0x1c" (identifier "iVar1") (!= "!=") (number_literal "0x1c")) () ")")) (compound_statement "{\n    FUN_000dcde0();\n    return;\n  }" ({ "{") (expression_statement "FUN_000dcde0();" (call_expression "FUN_000dcde0()" (identifier "FUN_000dcde0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_000dc6d0();" (call_expression "FUN_000dc6d0()" (identifier "FUN_000dc6d0") (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  int var_2;
  int in_stack_00000004;
  
  var_2 = var_1;
  if (var_1 == 0) {
    return;
  }
  var_1 = 0;
  if (var_2 != 0x1c) {
    var_3(var_2);
    return;
  }
  var_4(in_stack_00000004);
  return;
}


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

/* WARNING: Function: __i686.get_pc_thunk.dx replaced with injection: get_pc_thunk_dx */

void MASKED(void)

{
  int iVar1;
  
  iVar1 = _rl_caught_signal;
  if (_rl_caught_signal == 0) {
    return;
  }
  _rl_caught_signal = 0;
  if (iVar1 != 0x1c) {
    FUN_000dcde0();
    return;
  }
  FUN_000dc6d0();
  return;
}

