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

int do_stepi(CMDARG *arg,int cmd)

{
  int ret;
  int iVar1;
  
  iVar1 = next_step(arg,cmd);
  if (iVar1 != 0) {
    stop.check_func = check_stepi;
  }
  return iVar1;
}



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

void FUN_00044810(void)

{
  int iVar1;
  
  iVar1 = FUN_00041ff0();
  if (iVar1 != 0) {
    DAT_000c1380 = FUN_0003c220;
  }
  return;
}


PUSH EBX
CALL 0x00016f50
ADD EBX,0x7a4ce
SUB ESP,0x8
MOV EDX,dword ptr [ESP + 0x14]
MOV EAX,dword ptr [ESP + 0x10]
CALL 0x00041ff0
TEST EAX,EAX
JZ 0x0004483c
LEA EDX,[EBX + 0xfff7d53c]
MOV dword ptr [EBX + 0x269c],EDX
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_00044810(void)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00041ff0();\n  if (iVar1 != 0) {\n    DAT_000c1380 = FUN_0003c220;\n  }\n  return;\n}\n\n" comment (function_definition "void FUN_00044810(void)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00041ff0();\n  if (iVar1 != 0) {\n    DAT_000c1380 = FUN_0003c220;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00044810(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00041ff0();\n  if (iVar1 != 0) {\n    DAT_000c1380 = FUN_0003c220;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00041ff0();" (assignment_expression "iVar1 = FUN_00041ff0()" identifier = (call_expression "FUN_00041ff0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n    DAT_000c1380 = FUN_0003c220;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    DAT_000c1380 = FUN_0003c220;\n  }" { (expression_statement "DAT_000c1380 = FUN_0003c220;" (assignment_expression "DAT_000c1380 = FUN_0003c220" identifier = identifier) ;) })) (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\nint do_stepi(CMDARG *arg,int cmd)\n\n{\n  int ret;\n  int iVar1;\n  \n  iVar1 = next_step(arg,cmd);\n  if (iVar1 != 0) {\n    stop.check_func = check_stepi;\n  }\n  return iVar1;\n}\n\n" comment comment (function_definition "int do_stepi(CMDARG *arg,int cmd)\n\n{\n  int ret;\n  int iVar1;\n  \n  iVar1 = next_step(arg,cmd);\n  if (iVar1 != 0) {\n    stop.check_func = check_stepi;\n  }\n  return iVar1;\n}" primitive_type (function_declarator "do_stepi(CMDARG *arg,int cmd)" identifier (parameter_list "(CMDARG *arg,int cmd)" ( (parameter_declaration "CMDARG *arg" type_identifier (pointer_declarator "*arg" * identifier)) , (parameter_declaration "int cmd" primitive_type identifier) ))) (compound_statement "{\n  int ret;\n  int iVar1;\n  \n  iVar1 = next_step(arg,cmd);\n  if (iVar1 != 0) {\n    stop.check_func = check_stepi;\n  }\n  return iVar1;\n}" { (declaration "int ret;" primitive_type identifier ;) (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = next_step(arg,cmd);" (assignment_expression "iVar1 = next_step(arg,cmd)" identifier = (call_expression "next_step(arg,cmd)" identifier (argument_list "(arg,cmd)" ( identifier , identifier )))) ;) (if_statement "if (iVar1 != 0) {\n    stop.check_func = check_stepi;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    stop.check_func = check_stepi;\n  }" { (expression_statement "stop.check_func = check_stepi;" (assignment_expression "stop.check_func = check_stepi" (field_expression "stop.check_func" identifier . field_identifier) = identifier) ;) })) (return_statement "return iVar1;" return identifier ;) })))
(translation_unit "void FUN_00044810(void)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00041ff0();\n  if (iVar1 != 0) {\n    DAT_000c1380 = FUN_0003c220;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00044810(void)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00041ff0();\n  if (iVar1 != 0) {\n    DAT_000c1380 = FUN_0003c220;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00044810(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00041ff0();\n  if (iVar1 != 0) {\n    DAT_000c1380 = FUN_0003c220;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00041ff0();" (assignment_expression "iVar1 = FUN_00041ff0()" identifier = (call_expression "FUN_00041ff0()" identifier (argument_list "()" ( )))) ;) (if_statement "if (iVar1 != 0) {\n    DAT_000c1380 = FUN_0003c220;\n  }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n    DAT_000c1380 = FUN_0003c220;\n  }" { (expression_statement "DAT_000c1380 = FUN_0003c220;" (assignment_expression "DAT_000c1380 = FUN_0003c220" identifier = identifier) ;) })) (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 = (call_expression IDENT (argument_list ( )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00044810(void)\n\n{\n  int iVar1;\n  \n  iVar1 = FUN_00041ff0();\n  if (iVar1 != 0) {\n    DAT_000c1380 = FUN_0003c220;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00044810(void)" (identifier "FUN_00044810") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = FUN_00041ff0();\n  if (iVar1 != 0) {\n    DAT_000c1380 = FUN_0003c220;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = FUN_00041ff0();" (assignment_expression "iVar1 = FUN_00041ff0()" (identifier "iVar1") (= "=") (call_expression "FUN_00041ff0()" (identifier "FUN_00041ff0") (argument_list "()" (( "(") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n    DAT_000c1380 = FUN_0003c220;\n  }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    DAT_000c1380 = FUN_0003c220;\n  }" ({ "{") (expression_statement "DAT_000c1380 = FUN_0003c220;" (assignment_expression "DAT_000c1380 = FUN_0003c220" (identifier "DAT_000c1380") (= "=") (identifier "FUN_0003c220")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

int function_1(type_1 *arg,int cmd)

{
  int ret;
  int var_2;
  
  var_2 = var_1(arg,cmd);
  if (var_2 != 0) {
    stop.check_func = check_stepi;
  }
  return var_2;
}


(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: (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: (identifier))))) (return_statement))))

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

void MASKED(void)

{
  int iVar1;
  
  iVar1 = FUN_00041ff0();
  if (iVar1 != 0) {
    DAT_000c1380 = FUN_0003c220;
  }
  return;
}

