
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void __regparm3 rprint_number(int width,bfd_size_type num)

{
  char *__format;
  char buffer [40];
  
  builtin_strncpy(buffer + 0x24,":\x1c\x01",4);
  __format = "%llu";
  if (radix != decimal) {
    __format = "0%llo";
    if (radix != _sch_isblank) {
      __format = "0x%llx";
    }
  }
  sprintf(buffer,__format);
  printf("%*s",width,buffer);
  return;
}



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

void __regparm3 FUN_00011c30(undefined4 param_1,undefined4 param_2,undefined4 param_3)

{
  char *__format;
  char local_34 [36];
  undefined4 uStack_10;
  
  uStack_10 = 0x11c3a;
  __format = "%llu";
  if (DAT_00019260 != 0) {
    __format = "0%llo";
    if (DAT_00019260 != 1) {
      __format = "0x%llx";
    }
  }
  sprintf(local_34,__format,param_2,param_3);
  printf("%*s",param_1,local_34);
  return;
}


PUSH EDI
PUSH ESI
MOV ESI,EAX
PUSH EBX
CALL 0x00011890
ADD EBX,0x73c6
SUB ESP,0x30
MOV EDI,dword ptr [EBX + 0x260]
LEA EAX,[EBX + 0xffffc3b1]
TEST EDI,EDI
JZ 0x00011c65
CMP EDI,0x1
LEA EAX,[EBX + 0xffffc3b6]
LEA EDI,[EBX + 0xffffc3bc]
CMOVNZ EAX,EDI
PUSH ECX
PUSH EDX
PUSH EAX
LEA EDI,[ESP + 0x14]
PUSH EDI
CALL 0x000113f0
ADD ESP,0xc
LEA EAX,[EBX + 0xffffc7fa]
PUSH EDI
PUSH ESI
PUSH EAX
CALL 0x00011060
ADD ESP,0x40
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00011c30(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  char *__format;\n  char local_34 [36];\n  undefined4 uStack_10;\n  \n  uStack_10 = 0x11c3a;\n  __format = "%llu";\n  if (DAT_00019260 != 0) {\n    __format = "0%llo";\n    if (DAT_00019260 != 1) {\n      __format = "0x%llx";\n    }\n  }\n  sprintf(local_34,__format,param_2,param_3);\n  printf("%*s",param_1,local_34);\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00011c30(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  char *__format;\n  char local_34 [36];\n  undefined4 uStack_10;\n  \n  uStack_10 = 0x11c3a;\n  __format = "%llu";\n  if (DAT_00019260 != 0) {\n    __format = "0%llo";\n    if (DAT_00019260 != 1) {\n      __format = "0x%llx";\n    }\n  }\n  sprintf(local_34,__format,param_2,param_3);\n  printf("%*s",param_1,local_34);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00011c30(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  char *__format;\n  char local_34 [36];\n  undefined4 uStack_10;\n  \n  uStack_10 = 0x11c3a;\n  __format = "%llu";\n  if (DAT_00019260 != 0) {\n    __format = "0%llo";\n    if (DAT_00019260 != 1) {\n      __format = "0x%llx";\n    }\n  }\n  sprintf(local_34,__format,param_2,param_3);\n  printf("%*s",param_1,local_34);\n  return;\n}" { (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "char local_34 [36];" primitive_type (array_declarator "local_34 [36]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_10;" type_identifier identifier ;) (expression_statement "uStack_10 = 0x11c3a;" (assignment_expression "uStack_10 = 0x11c3a" identifier = number_literal) ;) (expression_statement "__format = "%llu";" (assignment_expression "__format = "%llu"" identifier = (string_literal ""%llu"" " string_content ")) ;) (if_statement "if (DAT_00019260 != 0) {\n    __format = "0%llo";\n    if (DAT_00019260 != 1) {\n      __format = "0x%llx";\n    }\n  }" if (parenthesized_expression "(DAT_00019260 != 0)" ( (binary_expression "DAT_00019260 != 0" identifier != number_literal) )) (compound_statement "{\n    __format = "0%llo";\n    if (DAT_00019260 != 1) {\n      __format = "0x%llx";\n    }\n  }" { (expression_statement "__format = "0%llo";" (assignment_expression "__format = "0%llo"" identifier = (string_literal ""0%llo"" " string_content ")) ;) (if_statement "if (DAT_00019260 != 1) {\n      __format = "0x%llx";\n    }" if (parenthesized_expression "(DAT_00019260 != 1)" ( (binary_expression "DAT_00019260 != 1" identifier != number_literal) )) (compound_statement "{\n      __format = "0x%llx";\n    }" { (expression_statement "__format = "0x%llx";" (assignment_expression "__format = "0x%llx"" identifier = (string_literal ""0x%llx"" " string_content ")) ;) })) })) (expression_statement "sprintf(local_34,__format,param_2,param_3);" (call_expression "sprintf(local_34,__format,param_2,param_3)" identifier (argument_list "(local_34,__format,param_2,param_3)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "printf("%*s",param_1,local_34);" (call_expression "printf("%*s",param_1,local_34)" identifier (argument_list "("%*s",param_1,local_34)" ( (string_literal ""%*s"" " string_content ") , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nvoid __regparm3 rprint_number(int width,bfd_size_type num)\n\n{\n  char *__format;\n  char buffer [40];\n  \n  builtin_strncpy(buffer + 0x24,":\x1c\x01",4);\n  __format = "%llu";\n  if (radix != decimal) {\n    __format = "0%llo";\n    if (radix != _sch_isblank) {\n      __format = "0x%llx";\n    }\n  }\n  sprintf(buffer,__format);\n  printf("%*s",width,buffer);\n  return;\n}\n\n" comment comment (function_definition "void __regparm3 rprint_number(int width,bfd_size_type num)\n\n{\n  char *__format;\n  char buffer [40];\n  \n  builtin_strncpy(buffer + 0x24,":\x1c\x01",4);\n  __format = "%llu";\n  if (radix != decimal) {\n    __format = "0%llo";\n    if (radix != _sch_isblank) {\n      __format = "0x%llx";\n    }\n  }\n  sprintf(buffer,__format);\n  printf("%*s",width,buffer);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "rprint_number(int width,bfd_size_type num)" identifier (parameter_list "(int width,bfd_size_type num)" ( (parameter_declaration "int width" primitive_type identifier) , (parameter_declaration "bfd_size_type num" type_identifier identifier) ))) (compound_statement "{\n  char *__format;\n  char buffer [40];\n  \n  builtin_strncpy(buffer + 0x24,":\x1c\x01",4);\n  __format = "%llu";\n  if (radix != decimal) {\n    __format = "0%llo";\n    if (radix != _sch_isblank) {\n      __format = "0x%llx";\n    }\n  }\n  sprintf(buffer,__format);\n  printf("%*s",width,buffer);\n  return;\n}" { (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "char buffer [40];" primitive_type (array_declarator "buffer [40]" identifier [ number_literal ]) ;) (expression_statement "builtin_strncpy(buffer + 0x24,":\x1c\x01",4);" (call_expression "builtin_strncpy(buffer + 0x24,":\x1c\x01",4)" identifier (argument_list "(buffer + 0x24,":\x1c\x01",4)" ( (binary_expression "buffer + 0x24" identifier + number_literal) , (string_literal "":\x1c\x01"" " string_content escape_sequence escape_sequence ") , number_literal ))) ;) (expression_statement "__format = "%llu";" (assignment_expression "__format = "%llu"" identifier = (string_literal ""%llu"" " string_content ")) ;) (if_statement "if (radix != decimal) {\n    __format = "0%llo";\n    if (radix != _sch_isblank) {\n      __format = "0x%llx";\n    }\n  }" if (parenthesized_expression "(radix != decimal)" ( (binary_expression "radix != decimal" identifier != identifier) )) (compound_statement "{\n    __format = "0%llo";\n    if (radix != _sch_isblank) {\n      __format = "0x%llx";\n    }\n  }" { (expression_statement "__format = "0%llo";" (assignment_expression "__format = "0%llo"" identifier = (string_literal ""0%llo"" " string_content ")) ;) (if_statement "if (radix != _sch_isblank) {\n      __format = "0x%llx";\n    }" if (parenthesized_expression "(radix != _sch_isblank)" ( (binary_expression "radix != _sch_isblank" identifier != identifier) )) (compound_statement "{\n      __format = "0x%llx";\n    }" { (expression_statement "__format = "0x%llx";" (assignment_expression "__format = "0x%llx"" identifier = (string_literal ""0x%llx"" " string_content ")) ;) })) })) (expression_statement "sprintf(buffer,__format);" (call_expression "sprintf(buffer,__format)" identifier (argument_list "(buffer,__format)" ( identifier , identifier ))) ;) (expression_statement "printf("%*s",width,buffer);" (call_expression "printf("%*s",width,buffer)" identifier (argument_list "("%*s",width,buffer)" ( (string_literal ""%*s"" " string_content ") , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00011c30(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  char *__format;\n  char local_34 [36];\n  undefined4 uStack_10;\n  \n  uStack_10 = 0x11c3a;\n  __format = "%llu";\n  if (DAT_00019260 != 0) {\n    __format = "0%llo";\n    if (DAT_00019260 != 1) {\n      __format = "0x%llx";\n    }\n  }\n  sprintf(local_34,__format,param_2,param_3);\n  printf("%*s",param_1,local_34);\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00011c30(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  char *__format;\n  char local_34 [36];\n  undefined4 uStack_10;\n  \n  uStack_10 = 0x11c3a;\n  __format = "%llu";\n  if (DAT_00019260 != 0) {\n    __format = "0%llo";\n    if (DAT_00019260 != 1) {\n      __format = "0x%llx";\n    }\n  }\n  sprintf(local_34,__format,param_2,param_3);\n  printf("%*s",param_1,local_34);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00011c30(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  char *__format;\n  char local_34 [36];\n  undefined4 uStack_10;\n  \n  uStack_10 = 0x11c3a;\n  __format = "%llu";\n  if (DAT_00019260 != 0) {\n    __format = "0%llo";\n    if (DAT_00019260 != 1) {\n      __format = "0x%llx";\n    }\n  }\n  sprintf(local_34,__format,param_2,param_3);\n  printf("%*s",param_1,local_34);\n  return;\n}" { (declaration "char *__format;" primitive_type (pointer_declarator "*__format" * identifier) ;) (declaration "char local_34 [36];" primitive_type (array_declarator "local_34 [36]" identifier [ number_literal ]) ;) (declaration "undefined4 uStack_10;" type_identifier identifier ;) (expression_statement "uStack_10 = 0x11c3a;" (assignment_expression "uStack_10 = 0x11c3a" identifier = number_literal) ;) (expression_statement "__format = "%llu";" (assignment_expression "__format = "%llu"" identifier = (string_literal ""%llu"" " string_content ")) ;) (if_statement "if (DAT_00019260 != 0) {\n    __format = "0%llo";\n    if (DAT_00019260 != 1) {\n      __format = "0x%llx";\n    }\n  }" if (parenthesized_expression "(DAT_00019260 != 0)" ( (binary_expression "DAT_00019260 != 0" identifier != number_literal) )) (compound_statement "{\n    __format = "0%llo";\n    if (DAT_00019260 != 1) {\n      __format = "0x%llx";\n    }\n  }" { (expression_statement "__format = "0%llo";" (assignment_expression "__format = "0%llo"" identifier = (string_literal ""0%llo"" " string_content ")) ;) (if_statement "if (DAT_00019260 != 1) {\n      __format = "0x%llx";\n    }" if (parenthesized_expression "(DAT_00019260 != 1)" ( (binary_expression "DAT_00019260 != 1" identifier != number_literal) )) (compound_statement "{\n      __format = "0x%llx";\n    }" { (expression_statement "__format = "0x%llx";" (assignment_expression "__format = "0x%llx"" identifier = (string_literal ""0x%llx"" " string_content ")) ;) })) })) (expression_statement "sprintf(local_34,__format,param_2,param_3);" (call_expression "sprintf(local_34,__format,param_2,param_3)" identifier (argument_list "(local_34,__format,param_2,param_3)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "printf("%*s",param_1,local_34);" (call_expression "printf("%*s",param_1,local_34)" identifier (argument_list "("%*s",param_1,local_34)" ( (string_literal ""%*s"" " string_content ") , identifier , identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (string_literal " string_content ")) ;) })) })) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT , IDENT ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00011c30(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  char *__format;\n  char local_34 [36];\n  undefined4 uStack_10;\n  \n  uStack_10 = 0x11c3a;\n  __format = "%llu";\n  if (DAT_00019260 != 0) {\n    __format = "0%llo";\n    if (DAT_00019260 != 1) {\n      __format = "0x%llx";\n    }\n  }\n  sprintf(local_34,__format,param_2,param_3);\n  printf("%*s",param_1,local_34);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00011c30(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_00011c30") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  char *__format;\n  char local_34 [36];\n  undefined4 uStack_10;\n  \n  uStack_10 = 0x11c3a;\n  __format = "%llu";\n  if (DAT_00019260 != 0) {\n    __format = "0%llo";\n    if (DAT_00019260 != 1) {\n      __format = "0x%llx";\n    }\n  }\n  sprintf(local_34,__format,param_2,param_3);\n  printf("%*s",param_1,local_34);\n  return;\n}" ({ "{") (declaration "char *__format;" (primitive_type "char") (pointer_declarator "*__format" (* "*") (identifier "__format")) (; ";")) (declaration "char local_34 [36];" (primitive_type "char") (array_declarator "local_34 [36]" (identifier "local_34") ([ "[") (number_literal "36") (] "]")) (; ";")) (declaration "undefined4 uStack_10;" (type_identifier "undefined4") (identifier "uStack_10") (; ";")) (expression_statement "uStack_10 = 0x11c3a;" (assignment_expression "uStack_10 = 0x11c3a" (identifier "uStack_10") (= "=") (number_literal "0x11c3a")) (; ";")) (expression_statement "__format = "%llu";" (assignment_expression "__format = "%llu"" (identifier "__format") (= "=") (string_literal ""%llu"" (" """) (string_content "%llu") (" """))) (; ";")) (if_statement "if (DAT_00019260 != 0) {\n    __format = "0%llo";\n    if (DAT_00019260 != 1) {\n      __format = "0x%llx";\n    }\n  }" (if "if") (parenthesized_expression "(DAT_00019260 != 0)" (( "(") (binary_expression "DAT_00019260 != 0" (identifier "DAT_00019260") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    __format = "0%llo";\n    if (DAT_00019260 != 1) {\n      __format = "0x%llx";\n    }\n  }" ({ "{") (expression_statement "__format = "0%llo";" (assignment_expression "__format = "0%llo"" (identifier "__format") (= "=") (string_literal ""0%llo"" (" """) (string_content "0%llo") (" """))) (; ";")) (if_statement "if (DAT_00019260 != 1) {\n      __format = "0x%llx";\n    }" (if "if") (parenthesized_expression "(DAT_00019260 != 1)" (( "(") (binary_expression "DAT_00019260 != 1" (identifier "DAT_00019260") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n      __format = "0x%llx";\n    }" ({ "{") (expression_statement "__format = "0x%llx";" (assignment_expression "__format = "0x%llx"" (identifier "__format") (= "=") (string_literal ""0x%llx"" (" """) (string_content "0x%llx") (" """))) (; ";")) (} "}"))) (} "}"))) (expression_statement "sprintf(local_34,__format,param_2,param_3);" (call_expression "sprintf(local_34,__format,param_2,param_3)" (identifier "sprintf") (argument_list "(local_34,__format,param_2,param_3)" (( "(") (identifier "local_34") (, ",") (identifier "__format") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "printf("%*s",param_1,local_34);" (call_expression "printf("%*s",param_1,local_34)" (identifier "printf") (argument_list "("%*s",param_1,local_34)" (( "(") (string_literal ""%*s"" (" """) (string_content "%*s") (" """)) (, ",") (identifier "param_1") (, ",") (identifier "local_34") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

void __regparm3 function_1(int width,type_1 num)

{
  char *__format;
  char var_2 [40];
  
  var_1(var_2 + 0x24,":\x1c\x01",4);
  __format = "%llu";
  if (var_3 != var_4) {
    __format = "0%llo";
    if (var_3 != var_5) {
      __format = "0x%llx";
    }
  }
  var_6(var_2,__format);
  var_7("%*s",width,var_2);
  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)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) 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: (string_literal (string_content)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (string_literal (string_content)))))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (identifier) (identifier)))) (return_statement))))

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

void __regparm3 MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3)

{
  char *__format;
  char local_34 [36];
  undefined4 uStack_10;
  
  uStack_10 = 0x11c3a;
  __format = "%llu";
  if (DAT_00019260 != 0) {
    __format = "0%llo";
    if (DAT_00019260 != 1) {
      __format = "0x%llx";
    }
  }
  sprintf(local_34,__format,param_2,param_3);
  printf("%*s",param_1,local_34);
  return;
}

