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

void __regparm3 lang_print_memory_size(bfd_vma sz)

{
  if ((sz & 0x3fffffff) == 0) {
    printf("%10lu GB",sz >> 0x1e);
    return;
  }
  if ((sz & 0xfffff) != 0) {
    if ((sz & 0x3ff) == 0) {
      printf("%10lu KB",sz >> 10);
      return;
    }
    printf(" %10lu B",sz);
    return;
  }
  printf("%10lu MB",sz >> 0x14);
  return;
}



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

void __regparm3 FUN_00021000(uint param_1)

{
  if ((param_1 & 0x3fffffff) == 0) {
    printf("%10lu GB",param_1 >> 0x1e);
    return;
  }
  if ((param_1 & 0xfffff) != 0) {
    if ((param_1 & 0x3ff) == 0) {
      printf("%10lu KB",param_1 >> 10);
      return;
    }
    printf(" %10lu B",param_1);
    return;
  }
  printf("%10lu MB",param_1 >> 0x14);
  return;
}


PUSH EBX
CALL 0x00015a20
ADD EBX,0x6affa
SUB ESP,0x8
TEST EAX,0x3fffffff
JZ 0x00021060
TEST EAX,0xfffff
JZ 0x00021040
TEST EAX,0x3ff
JNZ 0x00021080
SUB ESP,0x8
SHR EAX,0xa
PUSH EAX
LEA EAX,[EBX + 0xfffbffc0]
PUSH EAX
CALL 0x00014110
ADD ESP,0x10
ADD ESP,0x8
POP EBX
RET
SUB ESP,0x8
SHR EAX,0x14
PUSH EAX
LEA EAX,[EBX + 0xfffbffb7]
PUSH EAX
CALL 0x00014110
ADD ESP,0x10
ADD ESP,0x8
POP EBX
RET
SUB ESP,0x8
SHR EAX,0x1e
PUSH EAX
LEA EAX,[EBX + 0xfffbffae]
PUSH EAX
CALL 0x00014110
ADD ESP,0x10
ADD ESP,0x8
POP EBX
RET
SUB ESP,0x8
PUSH EAX
LEA EAX,[EBX + 0xfffbffc9]
PUSH EAX
CALL 0x00014110
ADD ESP,0x10
ADD ESP,0x8
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00021000(uint param_1)\n\n{\n  if ((param_1 & 0x3fffffff) == 0) {\n    printf("%10lu GB",param_1 >> 0x1e);\n    return;\n  }\n  if ((param_1 & 0xfffff) != 0) {\n    if ((param_1 & 0x3ff) == 0) {\n      printf("%10lu KB",param_1 >> 10);\n      return;\n    }\n    printf(" %10lu B",param_1);\n    return;\n  }\n  printf("%10lu MB",param_1 >> 0x14);\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00021000(uint param_1)\n\n{\n  if ((param_1 & 0x3fffffff) == 0) {\n    printf("%10lu GB",param_1 >> 0x1e);\n    return;\n  }\n  if ((param_1 & 0xfffff) != 0) {\n    if ((param_1 & 0x3ff) == 0) {\n      printf("%10lu KB",param_1 >> 10);\n      return;\n    }\n    printf(" %10lu B",param_1);\n    return;\n  }\n  printf("%10lu MB",param_1 >> 0x14);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00021000(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  if ((param_1 & 0x3fffffff) == 0) {\n    printf("%10lu GB",param_1 >> 0x1e);\n    return;\n  }\n  if ((param_1 & 0xfffff) != 0) {\n    if ((param_1 & 0x3ff) == 0) {\n      printf("%10lu KB",param_1 >> 10);\n      return;\n    }\n    printf(" %10lu B",param_1);\n    return;\n  }\n  printf("%10lu MB",param_1 >> 0x14);\n  return;\n}" { (if_statement "if ((param_1 & 0x3fffffff) == 0) {\n    printf("%10lu GB",param_1 >> 0x1e);\n    return;\n  }" if (parenthesized_expression "((param_1 & 0x3fffffff) == 0)" ( (binary_expression "(param_1 & 0x3fffffff) == 0" (parenthesized_expression "(param_1 & 0x3fffffff)" ( (binary_expression "param_1 & 0x3fffffff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    printf("%10lu GB",param_1 >> 0x1e);\n    return;\n  }" { (expression_statement "printf("%10lu GB",param_1 >> 0x1e);" (call_expression "printf("%10lu GB",param_1 >> 0x1e)" identifier (argument_list "("%10lu GB",param_1 >> 0x1e)" ( (string_literal ""%10lu GB"" " string_content ") , (binary_expression "param_1 >> 0x1e" identifier >> number_literal) ))) ;) (return_statement "return;" return ;) })) (if_statement "if ((param_1 & 0xfffff) != 0) {\n    if ((param_1 & 0x3ff) == 0) {\n      printf("%10lu KB",param_1 >> 10);\n      return;\n    }\n    printf(" %10lu B",param_1);\n    return;\n  }" if (parenthesized_expression "((param_1 & 0xfffff) != 0)" ( (binary_expression "(param_1 & 0xfffff) != 0" (parenthesized_expression "(param_1 & 0xfffff)" ( (binary_expression "param_1 & 0xfffff" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    if ((param_1 & 0x3ff) == 0) {\n      printf("%10lu KB",param_1 >> 10);\n      return;\n    }\n    printf(" %10lu B",param_1);\n    return;\n  }" { (if_statement "if ((param_1 & 0x3ff) == 0) {\n      printf("%10lu KB",param_1 >> 10);\n      return;\n    }" if (parenthesized_expression "((param_1 & 0x3ff) == 0)" ( (binary_expression "(param_1 & 0x3ff) == 0" (parenthesized_expression "(param_1 & 0x3ff)" ( (binary_expression "param_1 & 0x3ff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      printf("%10lu KB",param_1 >> 10);\n      return;\n    }" { (expression_statement "printf("%10lu KB",param_1 >> 10);" (call_expression "printf("%10lu KB",param_1 >> 10)" identifier (argument_list "("%10lu KB",param_1 >> 10)" ( (string_literal ""%10lu KB"" " string_content ") , (binary_expression "param_1 >> 10" identifier >> number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "printf(" %10lu B",param_1);" (call_expression "printf(" %10lu B",param_1)" identifier (argument_list "(" %10lu B",param_1)" ( (string_literal "" %10lu B"" " string_content ") , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "printf("%10lu MB",param_1 >> 0x14);" (call_expression "printf("%10lu MB",param_1 >> 0x14)" identifier (argument_list "("%10lu MB",param_1 >> 0x14)" ( (string_literal ""%10lu MB"" " string_content ") , (binary_expression "param_1 >> 0x14" 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 lang_print_memory_size(bfd_vma sz)\n\n{\n  if ((sz & 0x3fffffff) == 0) {\n    printf("%10lu GB",sz >> 0x1e);\n    return;\n  }\n  if ((sz & 0xfffff) != 0) {\n    if ((sz & 0x3ff) == 0) {\n      printf("%10lu KB",sz >> 10);\n      return;\n    }\n    printf(" %10lu B",sz);\n    return;\n  }\n  printf("%10lu MB",sz >> 0x14);\n  return;\n}\n\n" comment (function_definition "void __regparm3 lang_print_memory_size(bfd_vma sz)\n\n{\n  if ((sz & 0x3fffffff) == 0) {\n    printf("%10lu GB",sz >> 0x1e);\n    return;\n  }\n  if ((sz & 0xfffff) != 0) {\n    if ((sz & 0x3ff) == 0) {\n      printf("%10lu KB",sz >> 10);\n      return;\n    }\n    printf(" %10lu B",sz);\n    return;\n  }\n  printf("%10lu MB",sz >> 0x14);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "lang_print_memory_size(bfd_vma sz)" identifier (parameter_list "(bfd_vma sz)" ( (parameter_declaration "bfd_vma sz" type_identifier identifier) ))) (compound_statement "{\n  if ((sz & 0x3fffffff) == 0) {\n    printf("%10lu GB",sz >> 0x1e);\n    return;\n  }\n  if ((sz & 0xfffff) != 0) {\n    if ((sz & 0x3ff) == 0) {\n      printf("%10lu KB",sz >> 10);\n      return;\n    }\n    printf(" %10lu B",sz);\n    return;\n  }\n  printf("%10lu MB",sz >> 0x14);\n  return;\n}" { (if_statement "if ((sz & 0x3fffffff) == 0) {\n    printf("%10lu GB",sz >> 0x1e);\n    return;\n  }" if (parenthesized_expression "((sz & 0x3fffffff) == 0)" ( (binary_expression "(sz & 0x3fffffff) == 0" (parenthesized_expression "(sz & 0x3fffffff)" ( (binary_expression "sz & 0x3fffffff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    printf("%10lu GB",sz >> 0x1e);\n    return;\n  }" { (expression_statement "printf("%10lu GB",sz >> 0x1e);" (call_expression "printf("%10lu GB",sz >> 0x1e)" identifier (argument_list "("%10lu GB",sz >> 0x1e)" ( (string_literal ""%10lu GB"" " string_content ") , (binary_expression "sz >> 0x1e" identifier >> number_literal) ))) ;) (return_statement "return;" return ;) })) (if_statement "if ((sz & 0xfffff) != 0) {\n    if ((sz & 0x3ff) == 0) {\n      printf("%10lu KB",sz >> 10);\n      return;\n    }\n    printf(" %10lu B",sz);\n    return;\n  }" if (parenthesized_expression "((sz & 0xfffff) != 0)" ( (binary_expression "(sz & 0xfffff) != 0" (parenthesized_expression "(sz & 0xfffff)" ( (binary_expression "sz & 0xfffff" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    if ((sz & 0x3ff) == 0) {\n      printf("%10lu KB",sz >> 10);\n      return;\n    }\n    printf(" %10lu B",sz);\n    return;\n  }" { (if_statement "if ((sz & 0x3ff) == 0) {\n      printf("%10lu KB",sz >> 10);\n      return;\n    }" if (parenthesized_expression "((sz & 0x3ff) == 0)" ( (binary_expression "(sz & 0x3ff) == 0" (parenthesized_expression "(sz & 0x3ff)" ( (binary_expression "sz & 0x3ff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      printf("%10lu KB",sz >> 10);\n      return;\n    }" { (expression_statement "printf("%10lu KB",sz >> 10);" (call_expression "printf("%10lu KB",sz >> 10)" identifier (argument_list "("%10lu KB",sz >> 10)" ( (string_literal ""%10lu KB"" " string_content ") , (binary_expression "sz >> 10" identifier >> number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "printf(" %10lu B",sz);" (call_expression "printf(" %10lu B",sz)" identifier (argument_list "(" %10lu B",sz)" ( (string_literal "" %10lu B"" " string_content ") , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "printf("%10lu MB",sz >> 0x14);" (call_expression "printf("%10lu MB",sz >> 0x14)" identifier (argument_list "("%10lu MB",sz >> 0x14)" ( (string_literal ""%10lu MB"" " string_content ") , (binary_expression "sz >> 0x14" identifier >> number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_00021000(uint param_1)\n\n{\n  if ((param_1 & 0x3fffffff) == 0) {\n    printf("%10lu GB",param_1 >> 0x1e);\n    return;\n  }\n  if ((param_1 & 0xfffff) != 0) {\n    if ((param_1 & 0x3ff) == 0) {\n      printf("%10lu KB",param_1 >> 10);\n      return;\n    }\n    printf(" %10lu B",param_1);\n    return;\n  }\n  printf("%10lu MB",param_1 >> 0x14);\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00021000(uint param_1)\n\n{\n  if ((param_1 & 0x3fffffff) == 0) {\n    printf("%10lu GB",param_1 >> 0x1e);\n    return;\n  }\n  if ((param_1 & 0xfffff) != 0) {\n    if ((param_1 & 0x3ff) == 0) {\n      printf("%10lu KB",param_1 >> 10);\n      return;\n    }\n    printf(" %10lu B",param_1);\n    return;\n  }\n  printf("%10lu MB",param_1 >> 0x14);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00021000(uint param_1)" identifier (parameter_list "(uint param_1)" ( (parameter_declaration "uint param_1" type_identifier identifier) ))) (compound_statement "{\n  if ((param_1 & 0x3fffffff) == 0) {\n    printf("%10lu GB",param_1 >> 0x1e);\n    return;\n  }\n  if ((param_1 & 0xfffff) != 0) {\n    if ((param_1 & 0x3ff) == 0) {\n      printf("%10lu KB",param_1 >> 10);\n      return;\n    }\n    printf(" %10lu B",param_1);\n    return;\n  }\n  printf("%10lu MB",param_1 >> 0x14);\n  return;\n}" { (if_statement "if ((param_1 & 0x3fffffff) == 0) {\n    printf("%10lu GB",param_1 >> 0x1e);\n    return;\n  }" if (parenthesized_expression "((param_1 & 0x3fffffff) == 0)" ( (binary_expression "(param_1 & 0x3fffffff) == 0" (parenthesized_expression "(param_1 & 0x3fffffff)" ( (binary_expression "param_1 & 0x3fffffff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n    printf("%10lu GB",param_1 >> 0x1e);\n    return;\n  }" { (expression_statement "printf("%10lu GB",param_1 >> 0x1e);" (call_expression "printf("%10lu GB",param_1 >> 0x1e)" identifier (argument_list "("%10lu GB",param_1 >> 0x1e)" ( (string_literal ""%10lu GB"" " string_content ") , (binary_expression "param_1 >> 0x1e" identifier >> number_literal) ))) ;) (return_statement "return;" return ;) })) (if_statement "if ((param_1 & 0xfffff) != 0) {\n    if ((param_1 & 0x3ff) == 0) {\n      printf("%10lu KB",param_1 >> 10);\n      return;\n    }\n    printf(" %10lu B",param_1);\n    return;\n  }" if (parenthesized_expression "((param_1 & 0xfffff) != 0)" ( (binary_expression "(param_1 & 0xfffff) != 0" (parenthesized_expression "(param_1 & 0xfffff)" ( (binary_expression "param_1 & 0xfffff" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n    if ((param_1 & 0x3ff) == 0) {\n      printf("%10lu KB",param_1 >> 10);\n      return;\n    }\n    printf(" %10lu B",param_1);\n    return;\n  }" { (if_statement "if ((param_1 & 0x3ff) == 0) {\n      printf("%10lu KB",param_1 >> 10);\n      return;\n    }" if (parenthesized_expression "((param_1 & 0x3ff) == 0)" ( (binary_expression "(param_1 & 0x3ff) == 0" (parenthesized_expression "(param_1 & 0x3ff)" ( (binary_expression "param_1 & 0x3ff" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n      printf("%10lu KB",param_1 >> 10);\n      return;\n    }" { (expression_statement "printf("%10lu KB",param_1 >> 10);" (call_expression "printf("%10lu KB",param_1 >> 10)" identifier (argument_list "("%10lu KB",param_1 >> 10)" ( (string_literal ""%10lu KB"" " string_content ") , (binary_expression "param_1 >> 10" identifier >> number_literal) ))) ;) (return_statement "return;" return ;) })) (expression_statement "printf(" %10lu B",param_1);" (call_expression "printf(" %10lu B",param_1)" identifier (argument_list "(" %10lu B",param_1)" ( (string_literal "" %10lu B"" " string_content ") , identifier ))) ;) (return_statement "return;" return ;) })) (expression_statement "printf("%10lu MB",param_1 >> 0x14);" (call_expression "printf("%10lu MB",param_1 >> 0x14)" identifier (argument_list "("%10lu MB",param_1 >> 0x14)" ( (string_literal ""%10lu MB"" " string_content ") , (binary_expression "param_1 >> 0x14" 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 { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (binary_expression IDENT >> LIT) ))) ;) (return_statement return ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (binary_expression IDENT >> LIT) ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , IDENT ))) ;) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (binary_expression IDENT >> LIT) ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00021000(uint param_1)\n\n{\n  if ((param_1 & 0x3fffffff) == 0) {\n    printf("%10lu GB",param_1 >> 0x1e);\n    return;\n  }\n  if ((param_1 & 0xfffff) != 0) {\n    if ((param_1 & 0x3ff) == 0) {\n      printf("%10lu KB",param_1 >> 10);\n      return;\n    }\n    printf(" %10lu B",param_1);\n    return;\n  }\n  printf("%10lu MB",param_1 >> 0x14);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00021000(uint param_1)" (identifier "FUN_00021000") (parameter_list "(uint param_1)" (( "(") (parameter_declaration "uint param_1" (type_identifier "uint") (identifier "param_1")) () ")"))) (compound_statement "{\n  if ((param_1 & 0x3fffffff) == 0) {\n    printf("%10lu GB",param_1 >> 0x1e);\n    return;\n  }\n  if ((param_1 & 0xfffff) != 0) {\n    if ((param_1 & 0x3ff) == 0) {\n      printf("%10lu KB",param_1 >> 10);\n      return;\n    }\n    printf(" %10lu B",param_1);\n    return;\n  }\n  printf("%10lu MB",param_1 >> 0x14);\n  return;\n}" ({ "{") (if_statement "if ((param_1 & 0x3fffffff) == 0) {\n    printf("%10lu GB",param_1 >> 0x1e);\n    return;\n  }" (if "if") (parenthesized_expression "((param_1 & 0x3fffffff) == 0)" (( "(") (binary_expression "(param_1 & 0x3fffffff) == 0" (parenthesized_expression "(param_1 & 0x3fffffff)" (( "(") (binary_expression "param_1 & 0x3fffffff" (identifier "param_1") (& "&") (number_literal "0x3fffffff")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    printf("%10lu GB",param_1 >> 0x1e);\n    return;\n  }" ({ "{") (expression_statement "printf("%10lu GB",param_1 >> 0x1e);" (call_expression "printf("%10lu GB",param_1 >> 0x1e)" (identifier "printf") (argument_list "("%10lu GB",param_1 >> 0x1e)" (( "(") (string_literal ""%10lu GB"" (" """) (string_content "%10lu GB") (" """)) (, ",") (binary_expression "param_1 >> 0x1e" (identifier "param_1") (>> ">>") (number_literal "0x1e")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (if_statement "if ((param_1 & 0xfffff) != 0) {\n    if ((param_1 & 0x3ff) == 0) {\n      printf("%10lu KB",param_1 >> 10);\n      return;\n    }\n    printf(" %10lu B",param_1);\n    return;\n  }" (if "if") (parenthesized_expression "((param_1 & 0xfffff) != 0)" (( "(") (binary_expression "(param_1 & 0xfffff) != 0" (parenthesized_expression "(param_1 & 0xfffff)" (( "(") (binary_expression "param_1 & 0xfffff" (identifier "param_1") (& "&") (number_literal "0xfffff")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if ((param_1 & 0x3ff) == 0) {\n      printf("%10lu KB",param_1 >> 10);\n      return;\n    }\n    printf(" %10lu B",param_1);\n    return;\n  }" ({ "{") (if_statement "if ((param_1 & 0x3ff) == 0) {\n      printf("%10lu KB",param_1 >> 10);\n      return;\n    }" (if "if") (parenthesized_expression "((param_1 & 0x3ff) == 0)" (( "(") (binary_expression "(param_1 & 0x3ff) == 0" (parenthesized_expression "(param_1 & 0x3ff)" (( "(") (binary_expression "param_1 & 0x3ff" (identifier "param_1") (& "&") (number_literal "0x3ff")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      printf("%10lu KB",param_1 >> 10);\n      return;\n    }" ({ "{") (expression_statement "printf("%10lu KB",param_1 >> 10);" (call_expression "printf("%10lu KB",param_1 >> 10)" (identifier "printf") (argument_list "("%10lu KB",param_1 >> 10)" (( "(") (string_literal ""%10lu KB"" (" """) (string_content "%10lu KB") (" """)) (, ",") (binary_expression "param_1 >> 10" (identifier "param_1") (>> ">>") (number_literal "10")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "printf(" %10lu B",param_1);" (call_expression "printf(" %10lu B",param_1)" (identifier "printf") (argument_list "(" %10lu B",param_1)" (( "(") (string_literal "" %10lu B"" (" """) (string_content " %10lu B") (" """)) (, ",") (identifier "param_1") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "printf("%10lu MB",param_1 >> 0x14);" (call_expression "printf("%10lu MB",param_1 >> 0x14)" (identifier "printf") (argument_list "("%10lu MB",param_1 >> 0x14)" (( "(") (string_literal ""%10lu MB"" (" """) (string_content "%10lu MB") (" """)) (, ",") (binary_expression "param_1 >> 0x14" (identifier "param_1") (>> ">>") (number_literal "0x14")) () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void __regparm3 function_1(type_1 var_1)

{
  if ((var_1 & 0x3fffffff) == 0) {
    var_2("%10lu GB",var_1 >> 0x1e);
    return;
  }
  if ((var_1 & 0xfffff) != 0) {
    if ((var_1 & 0x3ff) == 0) {
      var_2("%10lu KB",var_1 >> 10);
      return;
    }
    var_2(" %10lu B",var_1);
    return;
  }
  var_2("%10lu MB",var_1 >> 0x14);
  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 (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (binary_expression left: (identifier) right: (number_literal))))) (return_statement))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (binary_expression left: (identifier) right: (number_literal))))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (identifier)))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (binary_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(uint param_1)

{
  if ((param_1 & 0x3fffffff) == 0) {
    printf("%10lu GB",param_1 >> 0x1e);
    return;
  }
  if ((param_1 & 0xfffff) != 0) {
    if ((param_1 & 0x3ff) == 0) {
      printf("%10lu KB",param_1 >> 10);
      return;
    }
    printf(" %10lu B",param_1);
    return;
  }
  printf("%10lu MB",param_1 >> 0x14);
  return;
}

