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

ImageInfo * AcquireImageInfo(void)

{
  ImageInfo *image_info;
  
  image_info = (ImageInfo *)AcquireCriticalMemory(0x324c);
  GetImageInfo(image_info);
  return image_info;
}



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

undefined4 AcquireImageInfo(void)

{
  undefined4 uVar1;
  
  uVar1 = AcquireCriticalMemory(0x324c);
  GetImageInfo(uVar1);
  return uVar1;
}


PUSH ESI
PUSH EBX
CALL 0x00038830
ADD EBX,0x2f7f69
SUB ESP,0x10
PUSH 0x324c
CALL 0x00031e40
MOV ESI,EAX
MOV dword ptr [ESP],EAX
CALL 0x00030800
ADD ESP,0x14
MOV EAX,ESI
POP EBX
POP ESI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 AcquireImageInfo(void)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = AcquireCriticalMemory(0x324c);\n  GetImageInfo(uVar1);\n  return uVar1;\n}\n\n" comment (function_definition "undefined4 AcquireImageInfo(void)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = AcquireCriticalMemory(0x324c);\n  GetImageInfo(uVar1);\n  return uVar1;\n}" type_identifier (function_declarator "AcquireImageInfo(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = AcquireCriticalMemory(0x324c);\n  GetImageInfo(uVar1);\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = AcquireCriticalMemory(0x324c);" (assignment_expression "uVar1 = AcquireCriticalMemory(0x324c)" identifier = (call_expression "AcquireCriticalMemory(0x324c)" identifier (argument_list "(0x324c)" ( number_literal )))) ;) (expression_statement "GetImageInfo(uVar1);" (call_expression "GetImageInfo(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\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 "PixelChannel": Some values do not have unique names */\n\nImageInfo * AcquireImageInfo(void)\n\n{\n  ImageInfo *image_info;\n  \n  image_info = (ImageInfo *)AcquireCriticalMemory(0x324c);\n  GetImageInfo(image_info);\n  return image_info;\n}\n\n" comment comment comment comment comment comment (function_definition "ImageInfo * AcquireImageInfo(void)\n\n{\n  ImageInfo *image_info;\n  \n  image_info = (ImageInfo *)AcquireCriticalMemory(0x324c);\n  GetImageInfo(image_info);\n  return image_info;\n}" type_identifier (pointer_declarator "* AcquireImageInfo(void)" * (function_declarator "AcquireImageInfo(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) )))) (compound_statement "{\n  ImageInfo *image_info;\n  \n  image_info = (ImageInfo *)AcquireCriticalMemory(0x324c);\n  GetImageInfo(image_info);\n  return image_info;\n}" { (declaration "ImageInfo *image_info;" type_identifier (pointer_declarator "*image_info" * identifier) ;) (expression_statement "image_info = (ImageInfo *)AcquireCriticalMemory(0x324c);" (assignment_expression "image_info = (ImageInfo *)AcquireCriticalMemory(0x324c)" identifier = (cast_expression "(ImageInfo *)AcquireCriticalMemory(0x324c)" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "AcquireCriticalMemory(0x324c)" identifier (argument_list "(0x324c)" ( number_literal ))))) ;) (expression_statement "GetImageInfo(image_info);" (call_expression "GetImageInfo(image_info)" identifier (argument_list "(image_info)" ( identifier ))) ;) (return_statement "return image_info;" return identifier ;) })))
(translation_unit "undefined4 AcquireImageInfo(void)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = AcquireCriticalMemory(0x324c);\n  GetImageInfo(uVar1);\n  return uVar1;\n}\n\n" (function_definition "undefined4 AcquireImageInfo(void)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = AcquireCriticalMemory(0x324c);\n  GetImageInfo(uVar1);\n  return uVar1;\n}" type_identifier (function_declarator "AcquireImageInfo(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = AcquireCriticalMemory(0x324c);\n  GetImageInfo(uVar1);\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (expression_statement "uVar1 = AcquireCriticalMemory(0x324c);" (assignment_expression "uVar1 = AcquireCriticalMemory(0x324c)" identifier = (call_expression "AcquireCriticalMemory(0x324c)" identifier (argument_list "(0x324c)" ( number_literal )))) ;) (expression_statement "GetImageInfo(uVar1);" (call_expression "GetImageInfo(uVar1)" identifier (argument_list "(uVar1)" ( identifier ))) ;) (return_statement "return uVar1;" return identifier ;) })))
(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 ( LIT )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 AcquireImageInfo(void)\n\n{\n  undefined4 uVar1;\n  \n  uVar1 = AcquireCriticalMemory(0x324c);\n  GetImageInfo(uVar1);\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "AcquireImageInfo(void)" (identifier "AcquireImageInfo") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  \n  uVar1 = AcquireCriticalMemory(0x324c);\n  GetImageInfo(uVar1);\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (expression_statement "uVar1 = AcquireCriticalMemory(0x324c);" (assignment_expression "uVar1 = AcquireCriticalMemory(0x324c)" (identifier "uVar1") (= "=") (call_expression "AcquireCriticalMemory(0x324c)" (identifier "AcquireCriticalMemory") (argument_list "(0x324c)" (( "(") (number_literal "0x324c") () ")")))) (; ";")) (expression_statement "GetImageInfo(uVar1);" (call_expression "GetImageInfo(uVar1)" (identifier "GetImageInfo") (argument_list "(uVar1)" (( "(") (identifier "uVar1") () ")"))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

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

type_1 * function_1(void)

{
  type_1 *image_info;
  
  image_info = (type_1 *)var_1(0x324c);
  var_2(image_info);
  return image_info;
}


(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: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (number_literal))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement (identifier)))))

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

undefined4 MASKED(void)

{
  undefined4 uVar1;
  
  uVar1 = AcquireCriticalMemory(0x324c);
  GetImageInfo(uVar1);
  return uVar1;
}

