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

void __regparm3 parse_column_count(char *s)

{
  char *err;
  intmax_t iVar1;
  
  err = (char *)dcgettext(0,"invalid number of columns",5);
  iVar1 = xdectoimax(s,1,0x7fffffff,"",err,0);
  explicit_columns = true;
  columns = (int)iVar1;
  return;
}



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

void __regparm3 FUN_00013190(undefined4 param_1)

{
  undefined4 uVar1;
  
  uVar1 = dcgettext(0,"invalid number of columns",5);
  DAT_00029148 = FUN_0001b720(param_1,1,0,0x7fffffff,0,&DAT_00021077,uVar1,0);
  DAT_00029283 = 1;
  return;
}


PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00012ea0
ADD EBX,0x15e67
SUB ESP,0x8
PUSH 0x5
LEA EAX,[EBX + 0xffff8008]
PUSH EAX
PUSH 0x0
CALL 0x00012130
PUSH 0x0
PUSH EAX
LEA EAX,[EBX + 0xffff8077]
PUSH EAX
PUSH 0x0
PUSH 0x7fffffff
PUSH 0x0
PUSH 0x1
PUSH ESI
CALL 0x0001b720
MOV byte ptr [EBX + 0x283],0x1
MOV dword ptr [EBX + 0x148],EAX
ADD ESP,0x34
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00013190(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = dcgettext(0,"invalid number of columns",5);\n  DAT_00029148 = FUN_0001b720(param_1,1,0,0x7fffffff,0,&DAT_00021077,uVar1,0);\n  DAT_00029283 = 1;\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00013190(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = dcgettext(0,"invalid number of columns",5);\n  DAT_00029148 = FUN_0001b720(param_1,1,0,0x7fffffff,0,&DAT_00021077,uVar1,0);\n  DAT_00029283 = 1;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00013190(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = dcgettext(0,"invalid number of columns",5);\n  DAT_00029148 = FUN_0001b720(param_1,1,0,0x7fffffff,0,&DAT_00021077,uVar1,0);\n  DAT_00029283 = 1;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = dcgettext(0,"invalid number of columns",5);" (assignment_expression "uVar1 = dcgettext(0,"invalid number of columns",5)" identifier = (call_expression "dcgettext(0,"invalid number of columns",5)" identifier (argument_list "(0,"invalid number of columns",5)" ( number_literal , (string_literal ""invalid number of columns"" " string_content ") , number_literal )))) ;) (expression_statement "DAT_00029148 = FUN_0001b720(param_1,1,0,0x7fffffff,0,&DAT_00021077,uVar1,0);" (assignment_expression "DAT_00029148 = FUN_0001b720(param_1,1,0,0x7fffffff,0,&DAT_00021077,uVar1,0)" identifier = (call_expression "FUN_0001b720(param_1,1,0,0x7fffffff,0,&DAT_00021077,uVar1,0)" identifier (argument_list "(param_1,1,0,0x7fffffff,0,&DAT_00021077,uVar1,0)" ( identifier , number_literal , number_literal , number_literal , number_literal , (pointer_expression "&DAT_00021077" & identifier) , identifier , number_literal )))) ;) (expression_statement "DAT_00029283 = 1;" (assignment_expression "DAT_00029283 = 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\nvoid __regparm3 parse_column_count(char *s)\n\n{\n  char *err;\n  intmax_t iVar1;\n  \n  err = (char *)dcgettext(0,"invalid number of columns",5);\n  iVar1 = xdectoimax(s,1,0x7fffffff,"",err,0);\n  explicit_columns = true;\n  columns = (int)iVar1;\n  return;\n}\n\n" comment (function_definition "void __regparm3 parse_column_count(char *s)\n\n{\n  char *err;\n  intmax_t iVar1;\n  \n  err = (char *)dcgettext(0,"invalid number of columns",5);\n  iVar1 = xdectoimax(s,1,0x7fffffff,"",err,0);\n  explicit_columns = true;\n  columns = (int)iVar1;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "parse_column_count(char *s)" identifier (parameter_list "(char *s)" ( (parameter_declaration "char *s" primitive_type (pointer_declarator "*s" * identifier)) ))) (compound_statement "{\n  char *err;\n  intmax_t iVar1;\n  \n  err = (char *)dcgettext(0,"invalid number of columns",5);\n  iVar1 = xdectoimax(s,1,0x7fffffff,"",err,0);\n  explicit_columns = true;\n  columns = (int)iVar1;\n  return;\n}" { (declaration "char *err;" primitive_type (pointer_declarator "*err" * identifier) ;) (declaration "intmax_t iVar1;" type_identifier identifier ;) (expression_statement "err = (char *)dcgettext(0,"invalid number of columns",5);" (assignment_expression "err = (char *)dcgettext(0,"invalid number of columns",5)" identifier = (cast_expression "(char *)dcgettext(0,"invalid number of columns",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"invalid number of columns",5)" identifier (argument_list "(0,"invalid number of columns",5)" ( number_literal , (string_literal ""invalid number of columns"" " string_content ") , number_literal ))))) ;) (expression_statement "iVar1 = xdectoimax(s,1,0x7fffffff,"",err,0);" (assignment_expression "iVar1 = xdectoimax(s,1,0x7fffffff,"",err,0)" identifier = (call_expression "xdectoimax(s,1,0x7fffffff,"",err,0)" identifier (argument_list "(s,1,0x7fffffff,"",err,0)" ( identifier , number_literal , number_literal , (string_literal """" " ") , identifier , number_literal )))) ;) (expression_statement "explicit_columns = true;" (assignment_expression "explicit_columns = true" identifier = true) ;) (expression_statement "columns = (int)iVar1;" (assignment_expression "columns = (int)iVar1" identifier = (cast_expression "(int)iVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00013190(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = dcgettext(0,"invalid number of columns",5);\n  DAT_00029148 = FUN_0001b720(param_1,1,0,0x7fffffff,0,&DAT_00021077,uVar1,0);\n  DAT_00029283 = 1;\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00013190(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = dcgettext(0,"invalid number of columns",5);\n  DAT_00029148 = FUN_0001b720(param_1,1,0,0x7fffffff,0,&DAT_00021077,uVar1,0);\n  DAT_00029283 = 1;\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00013190(undefined4 param_1)" identifier (parameter_list "(undefined4 param_1)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = dcgettext(0,"invalid number of columns",5);\n  DAT_00029148 = FUN_0001b720(param_1,1,0,0x7fffffff,0,&DAT_00021077,uVar1,0);\n  DAT_00029283 = 1;\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = dcgettext(0,"invalid number of columns",5);" (assignment_expression "uVar1 = dcgettext(0,"invalid number of columns",5)" identifier = (call_expression "dcgettext(0,"invalid number of columns",5)" identifier (argument_list "(0,"invalid number of columns",5)" ( number_literal , (string_literal ""invalid number of columns"" " string_content ") , number_literal )))) ;) (expression_statement "DAT_00029148 = FUN_0001b720(param_1,1,0,0x7fffffff,0,&DAT_00021077,uVar1,0);" (assignment_expression "DAT_00029148 = FUN_0001b720(param_1,1,0,0x7fffffff,0,&DAT_00021077,uVar1,0)" identifier = (call_expression "FUN_0001b720(param_1,1,0,0x7fffffff,0,&DAT_00021077,uVar1,0)" identifier (argument_list "(param_1,1,0,0x7fffffff,0,&DAT_00021077,uVar1,0)" ( identifier , number_literal , number_literal , number_literal , number_literal , (pointer_expression "&DAT_00021077" & identifier) , identifier , number_literal )))) ;) (expression_statement "DAT_00029283 = 1;" (assignment_expression "DAT_00029283 = 1" identifier = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT , LIT , LIT , (pointer_expression & IDENT) , IDENT , LIT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00013190(undefined4 param_1)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = dcgettext(0,"invalid number of columns",5);\n  DAT_00029148 = FUN_0001b720(param_1,1,0,0x7fffffff,0,&DAT_00021077,uVar1,0);\n  DAT_00029283 = 1;\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00013190(undefined4 param_1)" (identifier "FUN_00013190") (parameter_list "(undefined4 param_1)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = dcgettext(0,"invalid number of columns",5);\n  DAT_00029148 = FUN_0001b720(param_1,1,0,0x7fffffff,0,&DAT_00021077,uVar1,0);\n  DAT_00029283 = 1;\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = dcgettext(0,"invalid number of columns",5);" (assignment_expression "uVar1 = dcgettext(0,"invalid number of columns",5)" (identifier "uVar1") (= "=") (call_expression "dcgettext(0,"invalid number of columns",5)" (identifier "dcgettext") (argument_list "(0,"invalid number of columns",5)" (( "(") (number_literal "0") (, ",") (string_literal ""invalid number of columns"" (" """) (string_content "invalid number of columns") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (expression_statement "DAT_00029148 = FUN_0001b720(param_1,1,0,0x7fffffff,0,&DAT_00021077,uVar1,0);" (assignment_expression "DAT_00029148 = FUN_0001b720(param_1,1,0,0x7fffffff,0,&DAT_00021077,uVar1,0)" (identifier "DAT_00029148") (= "=") (call_expression "FUN_0001b720(param_1,1,0,0x7fffffff,0,&DAT_00021077,uVar1,0)" (identifier "FUN_0001b720") (argument_list "(param_1,1,0,0x7fffffff,0,&DAT_00021077,uVar1,0)" (( "(") (identifier "param_1") (, ",") (number_literal "1") (, ",") (number_literal "0") (, ",") (number_literal "0x7fffffff") (, ",") (number_literal "0") (, ",") (pointer_expression "&DAT_00021077" (& "&") (identifier "DAT_00021077")) (, ",") (identifier "uVar1") (, ",") (number_literal "0") () ")")))) (; ";")) (expression_statement "DAT_00029283 = 1;" (assignment_expression "DAT_00029283 = 1" (identifier "DAT_00029283") (= "=") (number_literal "1")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(char *s)

{
  char *err;
  type_1 iVar1;
  
  err = (char *)var_1(0,"invalid number of columns",5);
  iVar1 = var_2(s,1,0x7fffffff,"",err,0);
  explicit_columns = true;
  columns = (int)iVar1;
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal) (string_literal (string_content)) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal) (number_literal) (number_literal) (pointer_expression argument: (identifier)) (identifier) (number_literal))))) (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 __regparm3 MASKED(undefined4 param_1)

{
  undefined4 uVar1;
  
  uVar1 = dcgettext(0,"invalid number of columns",5);
  DAT_00029148 = FUN_0001b720(param_1,1,0,0x7fffffff,0,&DAT_00021077,uVar1,0);
  DAT_00029283 = 1;
  return;
}

