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

int __regparm3 try_macro(char term,char *line)

{
  char *pcVar1;
  int iVar2;
  char *err;
  macro_entry *macro;
  sb out;
  
  iVar2 = check_macro(line,&out,&err,&macro);
  if (iVar2 == 0) {
    return 0;
  }
  if (err != (char *)0x0) {
    as_bad("%s",err);
  }
  pcVar1 = input_line_pointer + 1;
  *input_line_pointer = term;
  input_line_pointer = pcVar1;
  input_scrub_include_sb(&out,input_line_pointer,1);
  sb_kill(&out);
  buffer_limit = input_scrub_next_buffer(&input_line_pointer);
  return 1;
}



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

undefined4 __regparm3 FUN_0002e310(undefined1 param_1,undefined4 param_2)

{
  undefined1 *puVar1;
  int iVar2;
  int local_30;
  undefined1 local_2c [4];
  undefined1 local_28 [20];
  undefined4 uStack_14;
  
  uStack_14 = 0x2e31b;
  iVar2 = FUN_0002c500(param_2,local_28,&local_30,local_2c);
  if (iVar2 == 0) {
    return 0;
  }
  if (local_30 != 0) {
    FUN_0002d660("%s",local_30);
  }
  puVar1 = DAT_00083ef0 + 1;
  *DAT_00083ef0 = param_1;
  DAT_00083ef0 = puVar1;
  FUN_00027930(local_28,DAT_00083ef0,1);
  FUN_00036370(local_28);
  DAT_00083a34 = FUN_00027a60(&DAT_00083ef0);
  return 1;
}


PUSH EBP
PUSH EDI
MOV EDI,EAX
PUSH ESI
PUSH EBX
CALL 0x00019010
ADD EBX,0x4cce5
SUB ESP,0x2c
LEA EAX,[ESP + 0x10]
PUSH EAX
LEA EAX,[ESP + 0x10]
PUSH EAX
LEA ESI,[ESP + 0x1c]
PUSH ESI
PUSH EDX
CALL 0x0002c500
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0002e350
ADD ESP,0x2c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0xc]
TEST EAX,EAX
JZ 0x0002e36b
SUB ESP,0x8
PUSH EAX
LEA EAX,[EBX + 0xfffdcd24]
PUSH EAX
CALL 0x0002d660
ADD ESP,0x10
LEA EBP,[EBX + 0x8ef0]
SUB ESP,0x4
MOV ECX,EDI
MOV EAX,dword ptr [EBP]
LEA EDX,[EAX + 0x1]
MOV dword ptr [EBP],EDX
MOV byte ptr [EAX],CL
PUSH 0x1
PUSH dword ptr [EBP]
PUSH ESI
CALL 0x00027930
MOV dword ptr [ESP],ESI
CALL 0x00036370
MOV dword ptr [ESP],EBP
CALL 0x00027a60
ADD ESP,0x10
MOV dword ptr [EBX + 0x8a34],EAX
ADD ESP,0x2c
MOV EAX,0x1
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_0002e310(undefined1 param_1,undefined4 param_2)\n\n{\n  undefined1 *puVar1;\n  int iVar2;\n  int local_30;\n  undefined1 local_2c [4];\n  undefined1 local_28 [20];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2e31b;\n  iVar2 = FUN_0002c500(param_2,local_28,&local_30,local_2c);\n  if (iVar2 == 0) {\n    return 0;\n  }\n  if (local_30 != 0) {\n    FUN_0002d660("%s",local_30);\n  }\n  puVar1 = DAT_00083ef0 + 1;\n  *DAT_00083ef0 = param_1;\n  DAT_00083ef0 = puVar1;\n  FUN_00027930(local_28,DAT_00083ef0,1);\n  FUN_00036370(local_28);\n  DAT_00083a34 = FUN_00027a60(&DAT_00083ef0);\n  return 1;\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_0002e310(undefined1 param_1,undefined4 param_2)\n\n{\n  undefined1 *puVar1;\n  int iVar2;\n  int local_30;\n  undefined1 local_2c [4];\n  undefined1 local_28 [20];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2e31b;\n  iVar2 = FUN_0002c500(param_2,local_28,&local_30,local_2c);\n  if (iVar2 == 0) {\n    return 0;\n  }\n  if (local_30 != 0) {\n    FUN_0002d660("%s",local_30);\n  }\n  puVar1 = DAT_00083ef0 + 1;\n  *DAT_00083ef0 = param_1;\n  DAT_00083ef0 = puVar1;\n  FUN_00027930(local_28,DAT_00083ef0,1);\n  FUN_00036370(local_28);\n  DAT_00083a34 = FUN_00027a60(&DAT_00083ef0);\n  return 1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0002e310(undefined1 param_1,undefined4 param_2)" identifier (parameter_list "(undefined1 param_1,undefined4 param_2)" ( (parameter_declaration "undefined1 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined1 *puVar1;\n  int iVar2;\n  int local_30;\n  undefined1 local_2c [4];\n  undefined1 local_28 [20];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2e31b;\n  iVar2 = FUN_0002c500(param_2,local_28,&local_30,local_2c);\n  if (iVar2 == 0) {\n    return 0;\n  }\n  if (local_30 != 0) {\n    FUN_0002d660("%s",local_30);\n  }\n  puVar1 = DAT_00083ef0 + 1;\n  *DAT_00083ef0 = param_1;\n  DAT_00083ef0 = puVar1;\n  FUN_00027930(local_28,DAT_00083ef0,1);\n  FUN_00036370(local_28);\n  DAT_00083a34 = FUN_00027a60(&DAT_00083ef0);\n  return 1;\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "undefined1 local_2c [4];" type_identifier (array_declarator "local_2c [4]" identifier [ number_literal ]) ;) (declaration "undefined1 local_28 [20];" type_identifier (array_declarator "local_28 [20]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x2e31b;" (assignment_expression "uStack_14 = 0x2e31b" identifier = number_literal) ;) (expression_statement "iVar2 = FUN_0002c500(param_2,local_28,&local_30,local_2c);" (assignment_expression "iVar2 = FUN_0002c500(param_2,local_28,&local_30,local_2c)" identifier = (call_expression "FUN_0002c500(param_2,local_28,&local_30,local_2c)" identifier (argument_list "(param_2,local_28,&local_30,local_2c)" ( identifier , identifier , (pointer_expression "&local_30" & identifier) , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (local_30 != 0) {\n    FUN_0002d660("%s",local_30);\n  }" if (parenthesized_expression "(local_30 != 0)" ( (binary_expression "local_30 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_0002d660("%s",local_30);\n  }" { (expression_statement "FUN_0002d660("%s",local_30);" (call_expression "FUN_0002d660("%s",local_30)" identifier (argument_list "("%s",local_30)" ( (string_literal ""%s"" " string_content ") , identifier ))) ;) })) (expression_statement "puVar1 = DAT_00083ef0 + 1;" (assignment_expression "puVar1 = DAT_00083ef0 + 1" identifier = (binary_expression "DAT_00083ef0 + 1" identifier + number_literal)) ;) (expression_statement "*DAT_00083ef0 = param_1;" (assignment_expression "*DAT_00083ef0 = param_1" (pointer_expression "*DAT_00083ef0" * identifier) = identifier) ;) (expression_statement "DAT_00083ef0 = puVar1;" (assignment_expression "DAT_00083ef0 = puVar1" identifier = identifier) ;) (expression_statement "FUN_00027930(local_28,DAT_00083ef0,1);" (call_expression "FUN_00027930(local_28,DAT_00083ef0,1)" identifier (argument_list "(local_28,DAT_00083ef0,1)" ( identifier , identifier , number_literal ))) ;) (expression_statement "FUN_00036370(local_28);" (call_expression "FUN_00036370(local_28)" identifier (argument_list "(local_28)" ( identifier ))) ;) (expression_statement "DAT_00083a34 = FUN_00027a60(&DAT_00083ef0);" (assignment_expression "DAT_00083a34 = FUN_00027a60(&DAT_00083ef0)" identifier = (call_expression "FUN_00027a60(&DAT_00083ef0)" identifier (argument_list "(&DAT_00083ef0)" ( (pointer_expression "&DAT_00083ef0" & identifier) )))) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nint __regparm3 try_macro(char term,char *line)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char *err;\n  macro_entry *macro;\n  sb out;\n  \n  iVar2 = check_macro(line,&out,&err,&macro);\n  if (iVar2 == 0) {\n    return 0;\n  }\n  if (err != (char *)0x0) {\n    as_bad("%s",err);\n  }\n  pcVar1 = input_line_pointer + 1;\n  *input_line_pointer = term;\n  input_line_pointer = pcVar1;\n  input_scrub_include_sb(&out,input_line_pointer,1);\n  sb_kill(&out);\n  buffer_limit = input_scrub_next_buffer(&input_line_pointer);\n  return 1;\n}\n\n" comment (function_definition "int __regparm3 try_macro(char term,char *line)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char *err;\n  macro_entry *macro;\n  sb out;\n  \n  iVar2 = check_macro(line,&out,&err,&macro);\n  if (iVar2 == 0) {\n    return 0;\n  }\n  if (err != (char *)0x0) {\n    as_bad("%s",err);\n  }\n  pcVar1 = input_line_pointer + 1;\n  *input_line_pointer = term;\n  input_line_pointer = pcVar1;\n  input_scrub_include_sb(&out,input_line_pointer,1);\n  sb_kill(&out);\n  buffer_limit = input_scrub_next_buffer(&input_line_pointer);\n  return 1;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "try_macro(char term,char *line)" identifier (parameter_list "(char term,char *line)" ( (parameter_declaration "char term" primitive_type identifier) , (parameter_declaration "char *line" primitive_type (pointer_declarator "*line" * identifier)) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  char *err;\n  macro_entry *macro;\n  sb out;\n  \n  iVar2 = check_macro(line,&out,&err,&macro);\n  if (iVar2 == 0) {\n    return 0;\n  }\n  if (err != (char *)0x0) {\n    as_bad("%s",err);\n  }\n  pcVar1 = input_line_pointer + 1;\n  *input_line_pointer = term;\n  input_line_pointer = pcVar1;\n  input_scrub_include_sb(&out,input_line_pointer,1);\n  sb_kill(&out);\n  buffer_limit = input_scrub_next_buffer(&input_line_pointer);\n  return 1;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char *err;" primitive_type (pointer_declarator "*err" * identifier) ;) (declaration "macro_entry *macro;" type_identifier (pointer_declarator "*macro" * identifier) ;) (declaration "sb out;" type_identifier identifier ;) (expression_statement "iVar2 = check_macro(line,&out,&err,&macro);" (assignment_expression "iVar2 = check_macro(line,&out,&err,&macro)" identifier = (call_expression "check_macro(line,&out,&err,&macro)" identifier (argument_list "(line,&out,&err,&macro)" ( identifier , (pointer_expression "&out" & identifier) , (pointer_expression "&err" & identifier) , (pointer_expression "&macro" & identifier) )))) ;) (if_statement "if (iVar2 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (err != (char *)0x0) {\n    as_bad("%s",err);\n  }" if (parenthesized_expression "(err != (char *)0x0)" ( (binary_expression "err != (char *)0x0" identifier != (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    as_bad("%s",err);\n  }" { (expression_statement "as_bad("%s",err);" (call_expression "as_bad("%s",err)" identifier (argument_list "("%s",err)" ( (string_literal ""%s"" " string_content ") , identifier ))) ;) })) (expression_statement "pcVar1 = input_line_pointer + 1;" (assignment_expression "pcVar1 = input_line_pointer + 1" identifier = (binary_expression "input_line_pointer + 1" identifier + number_literal)) ;) (expression_statement "*input_line_pointer = term;" (assignment_expression "*input_line_pointer = term" (pointer_expression "*input_line_pointer" * identifier) = identifier) ;) (expression_statement "input_line_pointer = pcVar1;" (assignment_expression "input_line_pointer = pcVar1" identifier = identifier) ;) (expression_statement "input_scrub_include_sb(&out,input_line_pointer,1);" (call_expression "input_scrub_include_sb(&out,input_line_pointer,1)" identifier (argument_list "(&out,input_line_pointer,1)" ( (pointer_expression "&out" & identifier) , identifier , number_literal ))) ;) (expression_statement "sb_kill(&out);" (call_expression "sb_kill(&out)" identifier (argument_list "(&out)" ( (pointer_expression "&out" & identifier) ))) ;) (expression_statement "buffer_limit = input_scrub_next_buffer(&input_line_pointer);" (assignment_expression "buffer_limit = input_scrub_next_buffer(&input_line_pointer)" identifier = (call_expression "input_scrub_next_buffer(&input_line_pointer)" identifier (argument_list "(&input_line_pointer)" ( (pointer_expression "&input_line_pointer" & identifier) )))) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit "undefined4 __regparm3 FUN_0002e310(undefined1 param_1,undefined4 param_2)\n\n{\n  undefined1 *puVar1;\n  int iVar2;\n  int local_30;\n  undefined1 local_2c [4];\n  undefined1 local_28 [20];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2e31b;\n  iVar2 = FUN_0002c500(param_2,local_28,&local_30,local_2c);\n  if (iVar2 == 0) {\n    return 0;\n  }\n  if (local_30 != 0) {\n    FUN_0002d660("%s",local_30);\n  }\n  puVar1 = DAT_00083ef0 + 1;\n  *DAT_00083ef0 = param_1;\n  DAT_00083ef0 = puVar1;\n  FUN_00027930(local_28,DAT_00083ef0,1);\n  FUN_00036370(local_28);\n  DAT_00083a34 = FUN_00027a60(&DAT_00083ef0);\n  return 1;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_0002e310(undefined1 param_1,undefined4 param_2)\n\n{\n  undefined1 *puVar1;\n  int iVar2;\n  int local_30;\n  undefined1 local_2c [4];\n  undefined1 local_28 [20];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2e31b;\n  iVar2 = FUN_0002c500(param_2,local_28,&local_30,local_2c);\n  if (iVar2 == 0) {\n    return 0;\n  }\n  if (local_30 != 0) {\n    FUN_0002d660("%s",local_30);\n  }\n  puVar1 = DAT_00083ef0 + 1;\n  *DAT_00083ef0 = param_1;\n  DAT_00083ef0 = puVar1;\n  FUN_00027930(local_28,DAT_00083ef0,1);\n  FUN_00036370(local_28);\n  DAT_00083a34 = FUN_00027a60(&DAT_00083ef0);\n  return 1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_0002e310(undefined1 param_1,undefined4 param_2)" identifier (parameter_list "(undefined1 param_1,undefined4 param_2)" ( (parameter_declaration "undefined1 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined1 *puVar1;\n  int iVar2;\n  int local_30;\n  undefined1 local_2c [4];\n  undefined1 local_28 [20];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2e31b;\n  iVar2 = FUN_0002c500(param_2,local_28,&local_30,local_2c);\n  if (iVar2 == 0) {\n    return 0;\n  }\n  if (local_30 != 0) {\n    FUN_0002d660("%s",local_30);\n  }\n  puVar1 = DAT_00083ef0 + 1;\n  *DAT_00083ef0 = param_1;\n  DAT_00083ef0 = puVar1;\n  FUN_00027930(local_28,DAT_00083ef0,1);\n  FUN_00036370(local_28);\n  DAT_00083a34 = FUN_00027a60(&DAT_00083ef0);\n  return 1;\n}" { (declaration "undefined1 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int local_30;" primitive_type identifier ;) (declaration "undefined1 local_2c [4];" type_identifier (array_declarator "local_2c [4]" identifier [ number_literal ]) ;) (declaration "undefined1 local_28 [20];" type_identifier (array_declarator "local_28 [20]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x2e31b;" (assignment_expression "uStack_14 = 0x2e31b" identifier = number_literal) ;) (expression_statement "iVar2 = FUN_0002c500(param_2,local_28,&local_30,local_2c);" (assignment_expression "iVar2 = FUN_0002c500(param_2,local_28,&local_30,local_2c)" identifier = (call_expression "FUN_0002c500(param_2,local_28,&local_30,local_2c)" identifier (argument_list "(param_2,local_28,&local_30,local_2c)" ( identifier , identifier , (pointer_expression "&local_30" & identifier) , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n    return 0;\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if (local_30 != 0) {\n    FUN_0002d660("%s",local_30);\n  }" if (parenthesized_expression "(local_30 != 0)" ( (binary_expression "local_30 != 0" identifier != number_literal) )) (compound_statement "{\n    FUN_0002d660("%s",local_30);\n  }" { (expression_statement "FUN_0002d660("%s",local_30);" (call_expression "FUN_0002d660("%s",local_30)" identifier (argument_list "("%s",local_30)" ( (string_literal ""%s"" " string_content ") , identifier ))) ;) })) (expression_statement "puVar1 = DAT_00083ef0 + 1;" (assignment_expression "puVar1 = DAT_00083ef0 + 1" identifier = (binary_expression "DAT_00083ef0 + 1" identifier + number_literal)) ;) (expression_statement "*DAT_00083ef0 = param_1;" (assignment_expression "*DAT_00083ef0 = param_1" (pointer_expression "*DAT_00083ef0" * identifier) = identifier) ;) (expression_statement "DAT_00083ef0 = puVar1;" (assignment_expression "DAT_00083ef0 = puVar1" identifier = identifier) ;) (expression_statement "FUN_00027930(local_28,DAT_00083ef0,1);" (call_expression "FUN_00027930(local_28,DAT_00083ef0,1)" identifier (argument_list "(local_28,DAT_00083ef0,1)" ( identifier , identifier , number_literal ))) ;) (expression_statement "FUN_00036370(local_28);" (call_expression "FUN_00036370(local_28)" identifier (argument_list "(local_28)" ( identifier ))) ;) (expression_statement "DAT_00083a34 = FUN_00027a60(&DAT_00083ef0);" (assignment_expression "DAT_00083a34 = FUN_00027a60(&DAT_00083ef0)" identifier = (call_expression "FUN_00027a60(&DAT_00083ef0)" identifier (argument_list "(&DAT_00083ef0)" ( (pointer_expression "&DAT_00083ef0" & identifier) )))) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression & IDENT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression & IDENT) )))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm3 FUN_0002e310(undefined1 param_1,undefined4 param_2)\n\n{\n  undefined1 *puVar1;\n  int iVar2;\n  int local_30;\n  undefined1 local_2c [4];\n  undefined1 local_28 [20];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2e31b;\n  iVar2 = FUN_0002c500(param_2,local_28,&local_30,local_2c);\n  if (iVar2 == 0) {\n    return 0;\n  }\n  if (local_30 != 0) {\n    FUN_0002d660("%s",local_30);\n  }\n  puVar1 = DAT_00083ef0 + 1;\n  *DAT_00083ef0 = param_1;\n  DAT_00083ef0 = puVar1;\n  FUN_00027930(local_28,DAT_00083ef0,1);\n  FUN_00036370(local_28);\n  DAT_00083a34 = FUN_00027a60(&DAT_00083ef0);\n  return 1;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_0002e310(undefined1 param_1,undefined4 param_2)" (identifier "FUN_0002e310") (parameter_list "(undefined1 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined1 param_1" (type_identifier "undefined1") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined1 *puVar1;\n  int iVar2;\n  int local_30;\n  undefined1 local_2c [4];\n  undefined1 local_28 [20];\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x2e31b;\n  iVar2 = FUN_0002c500(param_2,local_28,&local_30,local_2c);\n  if (iVar2 == 0) {\n    return 0;\n  }\n  if (local_30 != 0) {\n    FUN_0002d660("%s",local_30);\n  }\n  puVar1 = DAT_00083ef0 + 1;\n  *DAT_00083ef0 = param_1;\n  DAT_00083ef0 = puVar1;\n  FUN_00027930(local_28,DAT_00083ef0,1);\n  FUN_00036370(local_28);\n  DAT_00083a34 = FUN_00027a60(&DAT_00083ef0);\n  return 1;\n}" ({ "{") (declaration "undefined1 *puVar1;" (type_identifier "undefined1") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int local_30;" (primitive_type "int") (identifier "local_30") (; ";")) (declaration "undefined1 local_2c [4];" (type_identifier "undefined1") (array_declarator "local_2c [4]" (identifier "local_2c") ([ "[") (number_literal "4") (] "]")) (; ";")) (declaration "undefined1 local_28 [20];" (type_identifier "undefined1") (array_declarator "local_28 [20]" (identifier "local_28") ([ "[") (number_literal "20") (] "]")) (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x2e31b;" (assignment_expression "uStack_14 = 0x2e31b" (identifier "uStack_14") (= "=") (number_literal "0x2e31b")) (; ";")) (expression_statement "iVar2 = FUN_0002c500(param_2,local_28,&local_30,local_2c);" (assignment_expression "iVar2 = FUN_0002c500(param_2,local_28,&local_30,local_2c)" (identifier "iVar2") (= "=") (call_expression "FUN_0002c500(param_2,local_28,&local_30,local_2c)" (identifier "FUN_0002c500") (argument_list "(param_2,local_28,&local_30,local_2c)" (( "(") (identifier "param_2") (, ",") (identifier "local_28") (, ",") (pointer_expression "&local_30" (& "&") (identifier "local_30")) (, ",") (identifier "local_2c") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n    return 0;\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if (local_30 != 0) {\n    FUN_0002d660("%s",local_30);\n  }" (if "if") (parenthesized_expression "(local_30 != 0)" (( "(") (binary_expression "local_30 != 0" (identifier "local_30") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    FUN_0002d660("%s",local_30);\n  }" ({ "{") (expression_statement "FUN_0002d660("%s",local_30);" (call_expression "FUN_0002d660("%s",local_30)" (identifier "FUN_0002d660") (argument_list "("%s",local_30)" (( "(") (string_literal ""%s"" (" """) (string_content "%s") (" """)) (, ",") (identifier "local_30") () ")"))) (; ";")) (} "}"))) (expression_statement "puVar1 = DAT_00083ef0 + 1;" (assignment_expression "puVar1 = DAT_00083ef0 + 1" (identifier "puVar1") (= "=") (binary_expression "DAT_00083ef0 + 1" (identifier "DAT_00083ef0") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*DAT_00083ef0 = param_1;" (assignment_expression "*DAT_00083ef0 = param_1" (pointer_expression "*DAT_00083ef0" (* "*") (identifier "DAT_00083ef0")) (= "=") (identifier "param_1")) (; ";")) (expression_statement "DAT_00083ef0 = puVar1;" (assignment_expression "DAT_00083ef0 = puVar1" (identifier "DAT_00083ef0") (= "=") (identifier "puVar1")) (; ";")) (expression_statement "FUN_00027930(local_28,DAT_00083ef0,1);" (call_expression "FUN_00027930(local_28,DAT_00083ef0,1)" (identifier "FUN_00027930") (argument_list "(local_28,DAT_00083ef0,1)" (( "(") (identifier "local_28") (, ",") (identifier "DAT_00083ef0") (, ",") (number_literal "1") () ")"))) (; ";")) (expression_statement "FUN_00036370(local_28);" (call_expression "FUN_00036370(local_28)" (identifier "FUN_00036370") (argument_list "(local_28)" (( "(") (identifier "local_28") () ")"))) (; ";")) (expression_statement "DAT_00083a34 = FUN_00027a60(&DAT_00083ef0);" (assignment_expression "DAT_00083a34 = FUN_00027a60(&DAT_00083ef0)" (identifier "DAT_00083a34") (= "=") (call_expression "FUN_00027a60(&DAT_00083ef0)" (identifier "FUN_00027a60") (argument_list "(&DAT_00083ef0)" (( "(") (pointer_expression "&DAT_00083ef0" (& "&") (identifier "DAT_00083ef0")) () ")")))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

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

int __regparm3 function_1(char term,char *line)

{
  char *pcVar1;
  int var_2;
  char *var_3;
  type_1 *macro;
  type_2 out;
  
  var_2 = var_1(line,&out,&var_3,&macro);
  if (var_2 == 0) {
    return 0;
  }
  if (var_3 != (char *)0x0) {
    var_4("%s",var_3);
  }
  pcVar1 = var_5 + 1;
  *var_5 = term;
  var_5 = pcVar1;
  var_6(&out,var_5,1);
  var_7(&out);
  buffer_limit = var_8(&var_5);
  return 1;
}


(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: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (pointer_expression argument: (identifier)) (identifier))))) (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: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier)))))) (return_statement (number_literal)))))

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

undefined4 __regparm3 MASKED(undefined1 param_1,undefined4 param_2)

{
  undefined1 *puVar1;
  int iVar2;
  int local_30;
  undefined1 local_2c [4];
  undefined1 local_28 [20];
  undefined4 uStack_14;
  
  uStack_14 = 0x2e31b;
  iVar2 = FUN_0002c500(param_2,local_28,&local_30,local_2c);
  if (iVar2 == 0) {
    return 0;
  }
  if (local_30 != 0) {
    FUN_0002d660("%s",local_30);
  }
  puVar1 = DAT_00083ef0 + 1;
  *DAT_00083ef0 = param_1;
  DAT_00083ef0 = puVar1;
  FUN_00027930(local_28,DAT_00083ef0,1);
  FUN_00036370(local_28);
  DAT_00083a34 = FUN_00027a60(&DAT_00083ef0);
  return 1;
}

