
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */

size_t RegisterSTEGANOImage(void)

{
  MagickInfo *magick_info;
  
  magick_info = AcquireMagickInfo("STEGANO","STEGANO","Steganographic image");
  magick_info->decoder = ReadSTEGANOImage;
  magick_info->format_type = ImplicitFormatType;
  RegisterMagickInfo(magick_info);
  return 0x810;
}



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

undefined4 RegisterSTEGANOImage(void)

{
  int iVar1;
  
  iVar1 = AcquireMagickInfo("STEGANO","STEGANO","Steganographic image");
  *(code **)(iVar1 + 0x18) = FUN_00273fd0;
  *(undefined4 *)(iVar1 + 0x28) = 1;
  RegisterMagickInfo(iVar1);
  return 0x810;
}


PUSH EBX
CALL 0x00038830
ADD EBX,0x16460a
SUB ESP,0xc
LEA EAX,[EBX + 0xfff34551]
PUSH EAX
LEA EAX,[EBX + 0xffeef153]
PUSH EAX
PUSH EAX
CALL 0x00031480
LEA EDX,[EBX + 0xffe9afd0]
MOV dword ptr [EAX + 0x18],EDX
MOV dword ptr [EAX + 0x28],0x1
MOV dword ptr [ESP],EAX
CALL 0x00032ff0
ADD ESP,0x18
MOV EAX,0x810
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 RegisterSTEGANOImage(void)\n\n{\n  int iVar1;\n  \n  iVar1 = AcquireMagickInfo("STEGANO","STEGANO","Steganographic image");\n  *(code **)(iVar1 + 0x18) = FUN_00273fd0;\n  *(undefined4 *)(iVar1 + 0x28) = 1;\n  RegisterMagickInfo(iVar1);\n  return 0x810;\n}\n\n" comment (function_definition "undefined4 RegisterSTEGANOImage(void)\n\n{\n  int iVar1;\n  \n  iVar1 = AcquireMagickInfo("STEGANO","STEGANO","Steganographic image");\n  *(code **)(iVar1 + 0x18) = FUN_00273fd0;\n  *(undefined4 *)(iVar1 + 0x28) = 1;\n  RegisterMagickInfo(iVar1);\n  return 0x810;\n}" type_identifier (function_declarator "RegisterSTEGANOImage(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = AcquireMagickInfo("STEGANO","STEGANO","Steganographic image");\n  *(code **)(iVar1 + 0x18) = FUN_00273fd0;\n  *(undefined4 *)(iVar1 + 0x28) = 1;\n  RegisterMagickInfo(iVar1);\n  return 0x810;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = AcquireMagickInfo("STEGANO","STEGANO","Steganographic image");" (assignment_expression "iVar1 = AcquireMagickInfo("STEGANO","STEGANO","Steganographic image")" identifier = (call_expression "AcquireMagickInfo("STEGANO","STEGANO","Steganographic image")" identifier (argument_list "("STEGANO","STEGANO","Steganographic image")" ( (string_literal ""STEGANO"" " string_content ") , (string_literal ""STEGANO"" " string_content ") , (string_literal ""Steganographic image"" " string_content ") )))) ;) (expression_statement "*(code **)(iVar1 + 0x18) = FUN_00273fd0;" (assignment_expression "*(code **)(iVar1 + 0x18) = FUN_00273fd0" (pointer_expression "*(code **)(iVar1 + 0x18)" * (cast_expression "(code **)(iVar1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x28) = 1;" (assignment_expression "*(undefined4 *)(iVar1 + 0x28) = 1" (pointer_expression "*(undefined4 *)(iVar1 + 0x28)" * (cast_expression "(undefined4 *)(iVar1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x28)" ( (binary_expression "iVar1 + 0x28" identifier + number_literal) )))) = number_literal) ;) (expression_statement "RegisterMagickInfo(iVar1);" (call_expression "RegisterMagickInfo(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return 0x810;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n\nsize_t RegisterSTEGANOImage(void)\n\n{\n  MagickInfo *magick_info;\n  \n  magick_info = AcquireMagickInfo("STEGANO","STEGANO","Steganographic image");\n  magick_info->decoder = ReadSTEGANOImage;\n  magick_info->format_type = ImplicitFormatType;\n  RegisterMagickInfo(magick_info);\n  return 0x810;\n}\n\n" comment comment comment comment comment comment comment (function_definition "size_t RegisterSTEGANOImage(void)\n\n{\n  MagickInfo *magick_info;\n  \n  magick_info = AcquireMagickInfo("STEGANO","STEGANO","Steganographic image");\n  magick_info->decoder = ReadSTEGANOImage;\n  magick_info->format_type = ImplicitFormatType;\n  RegisterMagickInfo(magick_info);\n  return 0x810;\n}" primitive_type (function_declarator "RegisterSTEGANOImage(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  MagickInfo *magick_info;\n  \n  magick_info = AcquireMagickInfo("STEGANO","STEGANO","Steganographic image");\n  magick_info->decoder = ReadSTEGANOImage;\n  magick_info->format_type = ImplicitFormatType;\n  RegisterMagickInfo(magick_info);\n  return 0x810;\n}" { (declaration "MagickInfo *magick_info;" type_identifier (pointer_declarator "*magick_info" * identifier) ;) (expression_statement "magick_info = AcquireMagickInfo("STEGANO","STEGANO","Steganographic image");" (assignment_expression "magick_info = AcquireMagickInfo("STEGANO","STEGANO","Steganographic image")" identifier = (call_expression "AcquireMagickInfo("STEGANO","STEGANO","Steganographic image")" identifier (argument_list "("STEGANO","STEGANO","Steganographic image")" ( (string_literal ""STEGANO"" " string_content ") , (string_literal ""STEGANO"" " string_content ") , (string_literal ""Steganographic image"" " string_content ") )))) ;) (expression_statement "magick_info->decoder = ReadSTEGANOImage;" (assignment_expression "magick_info->decoder = ReadSTEGANOImage" (field_expression "magick_info->decoder" identifier -> field_identifier) = identifier) ;) (expression_statement "magick_info->format_type = ImplicitFormatType;" (assignment_expression "magick_info->format_type = ImplicitFormatType" (field_expression "magick_info->format_type" identifier -> field_identifier) = identifier) ;) (expression_statement "RegisterMagickInfo(magick_info);" (call_expression "RegisterMagickInfo(magick_info)" identifier (argument_list "(magick_info)" ( identifier ))) ;) (return_statement "return 0x810;" return number_literal ;) })))
(translation_unit "undefined4 RegisterSTEGANOImage(void)\n\n{\n  int iVar1;\n  \n  iVar1 = AcquireMagickInfo("STEGANO","STEGANO","Steganographic image");\n  *(code **)(iVar1 + 0x18) = FUN_00273fd0;\n  *(undefined4 *)(iVar1 + 0x28) = 1;\n  RegisterMagickInfo(iVar1);\n  return 0x810;\n}\n\n" (function_definition "undefined4 RegisterSTEGANOImage(void)\n\n{\n  int iVar1;\n  \n  iVar1 = AcquireMagickInfo("STEGANO","STEGANO","Steganographic image");\n  *(code **)(iVar1 + 0x18) = FUN_00273fd0;\n  *(undefined4 *)(iVar1 + 0x28) = 1;\n  RegisterMagickInfo(iVar1);\n  return 0x810;\n}" type_identifier (function_declarator "RegisterSTEGANOImage(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = AcquireMagickInfo("STEGANO","STEGANO","Steganographic image");\n  *(code **)(iVar1 + 0x18) = FUN_00273fd0;\n  *(undefined4 *)(iVar1 + 0x28) = 1;\n  RegisterMagickInfo(iVar1);\n  return 0x810;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = AcquireMagickInfo("STEGANO","STEGANO","Steganographic image");" (assignment_expression "iVar1 = AcquireMagickInfo("STEGANO","STEGANO","Steganographic image")" identifier = (call_expression "AcquireMagickInfo("STEGANO","STEGANO","Steganographic image")" identifier (argument_list "("STEGANO","STEGANO","Steganographic image")" ( (string_literal ""STEGANO"" " string_content ") , (string_literal ""STEGANO"" " string_content ") , (string_literal ""Steganographic image"" " string_content ") )))) ;) (expression_statement "*(code **)(iVar1 + 0x18) = FUN_00273fd0;" (assignment_expression "*(code **)(iVar1 + 0x18) = FUN_00273fd0" (pointer_expression "*(code **)(iVar1 + 0x18)" * (cast_expression "(code **)(iVar1 + 0x18)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(iVar1 + 0x18)" ( (binary_expression "iVar1 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(iVar1 + 0x28) = 1;" (assignment_expression "*(undefined4 *)(iVar1 + 0x28) = 1" (pointer_expression "*(undefined4 *)(iVar1 + 0x28)" * (cast_expression "(undefined4 *)(iVar1 + 0x28)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x28)" ( (binary_expression "iVar1 + 0x28" identifier + number_literal) )))) = number_literal) ;) (expression_statement "RegisterMagickInfo(iVar1);" (call_expression "RegisterMagickInfo(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (return_statement "return 0x810;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , (string_literal " string_content ") )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 RegisterSTEGANOImage(void)\n\n{\n  int iVar1;\n  \n  iVar1 = AcquireMagickInfo("STEGANO","STEGANO","Steganographic image");\n  *(code **)(iVar1 + 0x18) = FUN_00273fd0;\n  *(undefined4 *)(iVar1 + 0x28) = 1;\n  RegisterMagickInfo(iVar1);\n  return 0x810;\n}" (type_identifier "undefined4") (function_declarator "RegisterSTEGANOImage(void)" (identifier "RegisterSTEGANOImage") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = AcquireMagickInfo("STEGANO","STEGANO","Steganographic image");\n  *(code **)(iVar1 + 0x18) = FUN_00273fd0;\n  *(undefined4 *)(iVar1 + 0x28) = 1;\n  RegisterMagickInfo(iVar1);\n  return 0x810;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = AcquireMagickInfo("STEGANO","STEGANO","Steganographic image");" (assignment_expression "iVar1 = AcquireMagickInfo("STEGANO","STEGANO","Steganographic image")" (identifier "iVar1") (= "=") (call_expression "AcquireMagickInfo("STEGANO","STEGANO","Steganographic image")" (identifier "AcquireMagickInfo") (argument_list "("STEGANO","STEGANO","Steganographic image")" (( "(") (string_literal ""STEGANO"" (" """) (string_content "STEGANO") (" """)) (, ",") (string_literal ""STEGANO"" (" """) (string_content "STEGANO") (" """)) (, ",") (string_literal ""Steganographic image"" (" """) (string_content "Steganographic image") (" """)) () ")")))) (; ";")) (expression_statement "*(code **)(iVar1 + 0x18) = FUN_00273fd0;" (assignment_expression "*(code **)(iVar1 + 0x18) = FUN_00273fd0" (pointer_expression "*(code **)(iVar1 + 0x18)" (* "*") (cast_expression "(code **)(iVar1 + 0x18)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(iVar1 + 0x18)" (( "(") (binary_expression "iVar1 + 0x18" (identifier "iVar1") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "FUN_00273fd0")) (; ";")) (expression_statement "*(undefined4 *)(iVar1 + 0x28) = 1;" (assignment_expression "*(undefined4 *)(iVar1 + 0x28) = 1" (pointer_expression "*(undefined4 *)(iVar1 + 0x28)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x28)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x28)" (( "(") (binary_expression "iVar1 + 0x28" (identifier "iVar1") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "RegisterMagickInfo(iVar1);" (call_expression "RegisterMagickInfo(iVar1)" (identifier "RegisterMagickInfo") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (return_statement "return 0x810;" (return "return") (number_literal "0x810") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */

size_t function_1(void)

{
  type_1 *magick_info;
  
  magick_info = var_1("STEGANO","STEGANO","Steganographic image");
  magick_info->decoder = ReadSTEGANOImage;
  magick_info->format_type = ImplicitFormatType;
  var_2(magick_info);
  return 0x810;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (string_literal (string_content)) (string_literal (string_content)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement (number_literal)))))

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

undefined4 MASKED(void)

{
  int iVar1;
  
  iVar1 = AcquireMagickInfo("STEGANO","STEGANO","Steganographic image");
  *(code **)(iVar1 + 0x18) = FUN_00273fd0;
  *(undefined4 *)(iVar1 + 0x28) = 1;
  RegisterMagickInfo(iVar1);
  return 0x810;
}

