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

uintmax_t __regparm3 string_to_integer(_Bool count_lines,char *n_string)

{
  char *err;
  uintmax_t uVar1;
  
  if (count_lines) {
    err = (char *)dcgettext(0,"invalid number of lines",5);
  }
  else {
    err = (char *)dcgettext(0,"invalid number of bytes",5);
  }
  uVar1 = xdectoumax(n_string,0,0xffffffffffffffff,"bkKmMGTPEZY0",err,0);
  return uVar1;
}



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

void __regparm3 FUN_000129a0(char param_1,undefined4 param_2)

{
  undefined4 uVar1;
  
  if (param_1 == '\0') {
    uVar1 = dcgettext(0,"invalid number of bytes",5);
  }
  else {
    uVar1 = dcgettext(0,"invalid number of lines",5);
  }
  FUN_00016470(param_2,0,0,0xffffffff,0xffffffff,"bkKmMGTPEZY0",uVar1,0);
  return;
}


PUSH ESI
MOV ESI,EDX
PUSH EBX
CALL 0x00012860
ADD EBX,0xb657
SUB ESP,0x4
TEST AL,AL
JZ 0x000129f0
SUB ESP,0x4
LEA EAX,[EBX + 0xffffb008]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000110f0
ADD ESP,0x10
PUSH 0x0
PUSH EAX
LEA EAX,[EBX + 0xffffb038]
PUSH EAX
PUSH -0x1
PUSH -0x1
PUSH 0x0
PUSH 0x0
PUSH ESI
CALL 0x00016470
ADD ESP,0x24
POP EBX
POP ESI
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xffffb020]
PUSH 0x5
PUSH EAX
PUSH 0x0
CALL 0x000110f0
ADD ESP,0x10
JMP 0x000129cc
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_000129a0(char param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == '\0') {\n    uVar1 = dcgettext(0,"invalid number of bytes",5);\n  }\n  else {\n    uVar1 = dcgettext(0,"invalid number of lines",5);\n  }\n  FUN_00016470(param_2,0,0,0xffffffff,0xffffffff,"bkKmMGTPEZY0",uVar1,0);\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_000129a0(char param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == '\0') {\n    uVar1 = dcgettext(0,"invalid number of bytes",5);\n  }\n  else {\n    uVar1 = dcgettext(0,"invalid number of lines",5);\n  }\n  FUN_00016470(param_2,0,0,0xffffffff,0xffffffff,"bkKmMGTPEZY0",uVar1,0);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000129a0(char param_1,undefined4 param_2)" identifier (parameter_list "(char param_1,undefined4 param_2)" ( (parameter_declaration "char param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 == '\0') {\n    uVar1 = dcgettext(0,"invalid number of bytes",5);\n  }\n  else {\n    uVar1 = dcgettext(0,"invalid number of lines",5);\n  }\n  FUN_00016470(param_2,0,0,0xffffffff,0xffffffff,"bkKmMGTPEZY0",uVar1,0);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 == '\0') {\n    uVar1 = dcgettext(0,"invalid number of bytes",5);\n  }\n  else {\n    uVar1 = dcgettext(0,"invalid number of lines",5);\n  }" if (parenthesized_expression "(param_1 == '\0')" ( (binary_expression "param_1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar1 = dcgettext(0,"invalid number of bytes",5);\n  }" { (expression_statement "uVar1 = dcgettext(0,"invalid number of bytes",5);" (assignment_expression "uVar1 = dcgettext(0,"invalid number of bytes",5)" identifier = (call_expression "dcgettext(0,"invalid number of bytes",5)" identifier (argument_list "(0,"invalid number of bytes",5)" ( number_literal , (string_literal ""invalid number of bytes"" " string_content ") , number_literal )))) ;) }) (else_clause "else {\n    uVar1 = dcgettext(0,"invalid number of lines",5);\n  }" else (compound_statement "{\n    uVar1 = dcgettext(0,"invalid number of lines",5);\n  }" { (expression_statement "uVar1 = dcgettext(0,"invalid number of lines",5);" (assignment_expression "uVar1 = dcgettext(0,"invalid number of lines",5)" identifier = (call_expression "dcgettext(0,"invalid number of lines",5)" identifier (argument_list "(0,"invalid number of lines",5)" ( number_literal , (string_literal ""invalid number of lines"" " string_content ") , number_literal )))) ;) }))) (expression_statement "FUN_00016470(param_2,0,0,0xffffffff,0xffffffff,"bkKmMGTPEZY0",uVar1,0);" (call_expression "FUN_00016470(param_2,0,0,0xffffffff,0xffffffff,"bkKmMGTPEZY0",uVar1,0)" identifier (argument_list "(param_2,0,0,0xffffffff,0xffffffff,"bkKmMGTPEZY0",uVar1,0)" ( identifier , number_literal , number_literal , number_literal , number_literal , (string_literal ""bkKmMGTPEZY0"" " string_content ") , identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nuintmax_t __regparm3 string_to_integer(_Bool count_lines,char *n_string)\n\n{\n  char *err;\n  uintmax_t uVar1;\n  \n  if (count_lines) {\n    err = (char *)dcgettext(0,"invalid number of lines",5);\n  }\n  else {\n    err = (char *)dcgettext(0,"invalid number of bytes",5);\n  }\n  uVar1 = xdectoumax(n_string,0,0xffffffffffffffff,"bkKmMGTPEZY0",err,0);\n  return uVar1;\n}\n\n" comment (function_definition "uintmax_t __regparm3 string_to_integer(_Bool count_lines,char *n_string)\n\n{\n  char *err;\n  uintmax_t uVar1;\n  \n  if (count_lines) {\n    err = (char *)dcgettext(0,"invalid number of lines",5);\n  }\n  else {\n    err = (char *)dcgettext(0,"invalid number of bytes",5);\n  }\n  uVar1 = xdectoumax(n_string,0,0xffffffffffffffff,"bkKmMGTPEZY0",err,0);\n  return uVar1;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "string_to_integer(_Bool count_lines,char *n_string)" identifier (parameter_list "(_Bool count_lines,char *n_string)" ( (parameter_declaration "_Bool count_lines" type_identifier identifier) , (parameter_declaration "char *n_string" primitive_type (pointer_declarator "*n_string" * identifier)) ))) (compound_statement "{\n  char *err;\n  uintmax_t uVar1;\n  \n  if (count_lines) {\n    err = (char *)dcgettext(0,"invalid number of lines",5);\n  }\n  else {\n    err = (char *)dcgettext(0,"invalid number of bytes",5);\n  }\n  uVar1 = xdectoumax(n_string,0,0xffffffffffffffff,"bkKmMGTPEZY0",err,0);\n  return uVar1;\n}" { (declaration "char *err;" primitive_type (pointer_declarator "*err" * identifier) ;) (declaration "uintmax_t uVar1;" type_identifier identifier ;) (if_statement "if (count_lines) {\n    err = (char *)dcgettext(0,"invalid number of lines",5);\n  }\n  else {\n    err = (char *)dcgettext(0,"invalid number of bytes",5);\n  }" if (parenthesized_expression "(count_lines)" ( identifier )) (compound_statement "{\n    err = (char *)dcgettext(0,"invalid number of lines",5);\n  }" { (expression_statement "err = (char *)dcgettext(0,"invalid number of lines",5);" (assignment_expression "err = (char *)dcgettext(0,"invalid number of lines",5)" identifier = (cast_expression "(char *)dcgettext(0,"invalid number of lines",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"invalid number of lines",5)" identifier (argument_list "(0,"invalid number of lines",5)" ( number_literal , (string_literal ""invalid number of lines"" " string_content ") , number_literal ))))) ;) }) (else_clause "else {\n    err = (char *)dcgettext(0,"invalid number of bytes",5);\n  }" else (compound_statement "{\n    err = (char *)dcgettext(0,"invalid number of bytes",5);\n  }" { (expression_statement "err = (char *)dcgettext(0,"invalid number of bytes",5);" (assignment_expression "err = (char *)dcgettext(0,"invalid number of bytes",5)" identifier = (cast_expression "(char *)dcgettext(0,"invalid number of bytes",5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "dcgettext(0,"invalid number of bytes",5)" identifier (argument_list "(0,"invalid number of bytes",5)" ( number_literal , (string_literal ""invalid number of bytes"" " string_content ") , number_literal ))))) ;) }))) (expression_statement "uVar1 = xdectoumax(n_string,0,0xffffffffffffffff,"bkKmMGTPEZY0",err,0);" (assignment_expression "uVar1 = xdectoumax(n_string,0,0xffffffffffffffff,"bkKmMGTPEZY0",err,0)" identifier = (call_expression "xdectoumax(n_string,0,0xffffffffffffffff,"bkKmMGTPEZY0",err,0)" identifier (argument_list "(n_string,0,0xffffffffffffffff,"bkKmMGTPEZY0",err,0)" ( identifier , number_literal , number_literal , (string_literal ""bkKmMGTPEZY0"" " string_content ") , identifier , number_literal )))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "void __regparm3 FUN_000129a0(char param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == '\0') {\n    uVar1 = dcgettext(0,"invalid number of bytes",5);\n  }\n  else {\n    uVar1 = dcgettext(0,"invalid number of lines",5);\n  }\n  FUN_00016470(param_2,0,0,0xffffffff,0xffffffff,"bkKmMGTPEZY0",uVar1,0);\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_000129a0(char param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == '\0') {\n    uVar1 = dcgettext(0,"invalid number of bytes",5);\n  }\n  else {\n    uVar1 = dcgettext(0,"invalid number of lines",5);\n  }\n  FUN_00016470(param_2,0,0,0xffffffff,0xffffffff,"bkKmMGTPEZY0",uVar1,0);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000129a0(char param_1,undefined4 param_2)" identifier (parameter_list "(char param_1,undefined4 param_2)" ( (parameter_declaration "char param_1" primitive_type identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 == '\0') {\n    uVar1 = dcgettext(0,"invalid number of bytes",5);\n  }\n  else {\n    uVar1 = dcgettext(0,"invalid number of lines",5);\n  }\n  FUN_00016470(param_2,0,0,0xffffffff,0xffffffff,"bkKmMGTPEZY0",uVar1,0);\n  return;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (if_statement "if (param_1 == '\0') {\n    uVar1 = dcgettext(0,"invalid number of bytes",5);\n  }\n  else {\n    uVar1 = dcgettext(0,"invalid number of lines",5);\n  }" if (parenthesized_expression "(param_1 == '\0')" ( (binary_expression "param_1 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    uVar1 = dcgettext(0,"invalid number of bytes",5);\n  }" { (expression_statement "uVar1 = dcgettext(0,"invalid number of bytes",5);" (assignment_expression "uVar1 = dcgettext(0,"invalid number of bytes",5)" identifier = (call_expression "dcgettext(0,"invalid number of bytes",5)" identifier (argument_list "(0,"invalid number of bytes",5)" ( number_literal , (string_literal ""invalid number of bytes"" " string_content ") , number_literal )))) ;) }) (else_clause "else {\n    uVar1 = dcgettext(0,"invalid number of lines",5);\n  }" else (compound_statement "{\n    uVar1 = dcgettext(0,"invalid number of lines",5);\n  }" { (expression_statement "uVar1 = dcgettext(0,"invalid number of lines",5);" (assignment_expression "uVar1 = dcgettext(0,"invalid number of lines",5)" identifier = (call_expression "dcgettext(0,"invalid number of lines",5)" identifier (argument_list "(0,"invalid number of lines",5)" ( number_literal , (string_literal ""invalid number of lines"" " string_content ") , number_literal )))) ;) }))) (expression_statement "FUN_00016470(param_2,0,0,0xffffffff,0xffffffff,"bkKmMGTPEZY0",uVar1,0);" (call_expression "FUN_00016470(param_2,0,0,0xffffffff,0xffffffff,"bkKmMGTPEZY0",uVar1,0)" identifier (argument_list "(param_2,0,0,0xffffffff,0xffffffff,"bkKmMGTPEZY0",uVar1,0)" ( identifier , number_literal , number_literal , number_literal , number_literal , (string_literal ""bkKmMGTPEZY0"" " string_content ") , identifier , number_literal ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( LIT , (string_literal " string_content ") , LIT )))) ;) }))) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT , LIT , LIT , LIT , (string_literal " string_content ") , IDENT , LIT ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_000129a0(char param_1,undefined4 param_2)\n\n{\n  undefined4 uVar1;\n  \n  if (param_1 == '\0') {\n    uVar1 = dcgettext(0,"invalid number of bytes",5);\n  }\n  else {\n    uVar1 = dcgettext(0,"invalid number of lines",5);\n  }\n  FUN_00016470(param_2,0,0,0xffffffff,0xffffffff,"bkKmMGTPEZY0",uVar1,0);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000129a0(char param_1,undefined4 param_2)" (identifier "FUN_000129a0") (parameter_list "(char param_1,undefined4 param_2)" (( "(") (parameter_declaration "char param_1" (primitive_type "char") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  if (param_1 == '\0') {\n    uVar1 = dcgettext(0,"invalid number of bytes",5);\n  }\n  else {\n    uVar1 = dcgettext(0,"invalid number of lines",5);\n  }\n  FUN_00016470(param_2,0,0,0xffffffff,0xffffffff,"bkKmMGTPEZY0",uVar1,0);\n  return;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (if_statement "if (param_1 == '\0') {\n    uVar1 = dcgettext(0,"invalid number of bytes",5);\n  }\n  else {\n    uVar1 = dcgettext(0,"invalid number of lines",5);\n  }" (if "if") (parenthesized_expression "(param_1 == '\0')" (( "(") (binary_expression "param_1 == '\0'" (identifier "param_1") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    uVar1 = dcgettext(0,"invalid number of bytes",5);\n  }" ({ "{") (expression_statement "uVar1 = dcgettext(0,"invalid number of bytes",5);" (assignment_expression "uVar1 = dcgettext(0,"invalid number of bytes",5)" (identifier "uVar1") (= "=") (call_expression "dcgettext(0,"invalid number of bytes",5)" (identifier "dcgettext") (argument_list "(0,"invalid number of bytes",5)" (( "(") (number_literal "0") (, ",") (string_literal ""invalid number of bytes"" (" """) (string_content "invalid number of bytes") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (} "}")) (else_clause "else {\n    uVar1 = dcgettext(0,"invalid number of lines",5);\n  }" (else "else") (compound_statement "{\n    uVar1 = dcgettext(0,"invalid number of lines",5);\n  }" ({ "{") (expression_statement "uVar1 = dcgettext(0,"invalid number of lines",5);" (assignment_expression "uVar1 = dcgettext(0,"invalid number of lines",5)" (identifier "uVar1") (= "=") (call_expression "dcgettext(0,"invalid number of lines",5)" (identifier "dcgettext") (argument_list "(0,"invalid number of lines",5)" (( "(") (number_literal "0") (, ",") (string_literal ""invalid number of lines"" (" """) (string_content "invalid number of lines") (" """)) (, ",") (number_literal "5") () ")")))) (; ";")) (} "}")))) (expression_statement "FUN_00016470(param_2,0,0,0xffffffff,0xffffffff,"bkKmMGTPEZY0",uVar1,0);" (call_expression "FUN_00016470(param_2,0,0,0xffffffff,0xffffffff,"bkKmMGTPEZY0",uVar1,0)" (identifier "FUN_00016470") (argument_list "(param_2,0,0,0xffffffff,0xffffffff,"bkKmMGTPEZY0",uVar1,0)" (( "(") (identifier "param_2") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0xffffffff") (, ",") (number_literal "0xffffffff") (, ",") (string_literal ""bkKmMGTPEZY0"" (" """) (string_content "bkKmMGTPEZY0") (" """)) (, ",") (identifier "uVar1") (, ",") (number_literal "0") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

type_1 __regparm3 function_1(type_2 count_lines,char *n_string)

{
  char *err;
  type_1 uVar1;
  
  if (count_lines) {
    err = (char *)var_1(0,"invalid number of lines",5);
  }
  else {
    err = (char *)var_1(0,"invalid number of bytes",5);
  }
  uVar1 = var_2(n_string,0,0xffffffffffffffff,"bkKmMGTPEZY0",err,0);
  return uVar1;
}


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

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

void __regparm3 MASKED(char param_1,undefined4 param_2)

{
  undefined4 uVar1;
  
  if (param_1 == '\0') {
    uVar1 = dcgettext(0,"invalid number of bytes",5);
  }
  else {
    uVar1 = dcgettext(0,"invalid number of lines",5);
  }
  FUN_00016470(param_2,0,0,0xffffffff,0xffffffff,"bkKmMGTPEZY0",uVar1,0);
  return;
}

