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

MagickBooleanType TypeComponentGenesis(void)

{
  if (type_semaphore != (SemaphoreInfo *)0x0) {
    return MagickTrue;
  }
  type_semaphore = AcquireSemaphoreInfo();
  return MagickTrue;
}



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

undefined4 FUN_001b1b10(void)

{
  if (DAT_003dd9a8 != 0) {
    return 1;
  }
  DAT_003dd9a8 = AcquireSemaphoreInfo();
  return 1;
}


PUSH EBX
CALL 0x00038830
ADD EBX,0x2274ea
SUB ESP,0x8
MOV EAX,dword ptr [EBX + 0x49a8]
TEST EAX,EAX
JZ 0x001b1b38
ADD ESP,0x8
MOV EAX,0x1
POP EBX
RET
CALL 0x00031330
MOV dword ptr [EBX + 0x49a8],EAX
ADD ESP,0x8
MOV EAX,0x1
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 FUN_001b1b10(void)\n\n{\n  if (DAT_003dd9a8 != 0) {\n    return 1;\n  }\n  DAT_003dd9a8 = AcquireSemaphoreInfo();\n  return 1;\n}\n\n" comment (function_definition "undefined4 FUN_001b1b10(void)\n\n{\n  if (DAT_003dd9a8 != 0) {\n    return 1;\n  }\n  DAT_003dd9a8 = AcquireSemaphoreInfo();\n  return 1;\n}" type_identifier (function_declarator "FUN_001b1b10(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (DAT_003dd9a8 != 0) {\n    return 1;\n  }\n  DAT_003dd9a8 = AcquireSemaphoreInfo();\n  return 1;\n}" { (if_statement "if (DAT_003dd9a8 != 0) {\n    return 1;\n  }" if (parenthesized_expression "(DAT_003dd9a8 != 0)" ( (binary_expression "DAT_003dd9a8 != 0" identifier != number_literal) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "DAT_003dd9a8 = AcquireSemaphoreInfo();" (assignment_expression "DAT_003dd9a8 = AcquireSemaphoreInfo()" identifier = (call_expression "AcquireSemaphoreInfo()" identifier (argument_list "()" ( )))) ;) (return_statement "return 1;" 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\nMagickBooleanType TypeComponentGenesis(void)\n\n{\n  if (type_semaphore != (SemaphoreInfo *)0x0) {\n    return MagickTrue;\n  }\n  type_semaphore = AcquireSemaphoreInfo();\n  return MagickTrue;\n}\n\n" comment comment (function_definition "MagickBooleanType TypeComponentGenesis(void)\n\n{\n  if (type_semaphore != (SemaphoreInfo *)0x0) {\n    return MagickTrue;\n  }\n  type_semaphore = AcquireSemaphoreInfo();\n  return MagickTrue;\n}" type_identifier (function_declarator "TypeComponentGenesis(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (type_semaphore != (SemaphoreInfo *)0x0) {\n    return MagickTrue;\n  }\n  type_semaphore = AcquireSemaphoreInfo();\n  return MagickTrue;\n}" { (if_statement "if (type_semaphore != (SemaphoreInfo *)0x0) {\n    return MagickTrue;\n  }" if (parenthesized_expression "(type_semaphore != (SemaphoreInfo *)0x0)" ( (binary_expression "type_semaphore != (SemaphoreInfo *)0x0" identifier != (cast_expression "(SemaphoreInfo *)0x0" ( (type_descriptor "SemaphoreInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    return MagickTrue;\n  }" { (return_statement "return MagickTrue;" return identifier ;) })) (expression_statement "type_semaphore = AcquireSemaphoreInfo();" (assignment_expression "type_semaphore = AcquireSemaphoreInfo()" identifier = (call_expression "AcquireSemaphoreInfo()" identifier (argument_list "()" ( )))) ;) (return_statement "return MagickTrue;" return identifier ;) })))
(translation_unit "undefined4 FUN_001b1b10(void)\n\n{\n  if (DAT_003dd9a8 != 0) {\n    return 1;\n  }\n  DAT_003dd9a8 = AcquireSemaphoreInfo();\n  return 1;\n}\n\n" (function_definition "undefined4 FUN_001b1b10(void)\n\n{\n  if (DAT_003dd9a8 != 0) {\n    return 1;\n  }\n  DAT_003dd9a8 = AcquireSemaphoreInfo();\n  return 1;\n}" type_identifier (function_declarator "FUN_001b1b10(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  if (DAT_003dd9a8 != 0) {\n    return 1;\n  }\n  DAT_003dd9a8 = AcquireSemaphoreInfo();\n  return 1;\n}" { (if_statement "if (DAT_003dd9a8 != 0) {\n    return 1;\n  }" if (parenthesized_expression "(DAT_003dd9a8 != 0)" ( (binary_expression "DAT_003dd9a8 != 0" identifier != number_literal) )) (compound_statement "{\n    return 1;\n  }" { (return_statement "return 1;" return number_literal ;) })) (expression_statement "DAT_003dd9a8 = AcquireSemaphoreInfo();" (assignment_expression "DAT_003dd9a8 = AcquireSemaphoreInfo()" identifier = (call_expression "AcquireSemaphoreInfo()" identifier (argument_list "()" ( )))) ;) (return_statement "return 1;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 FUN_001b1b10(void)\n\n{\n  if (DAT_003dd9a8 != 0) {\n    return 1;\n  }\n  DAT_003dd9a8 = AcquireSemaphoreInfo();\n  return 1;\n}" (type_identifier "undefined4") (function_declarator "FUN_001b1b10(void)" (identifier "FUN_001b1b10") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  if (DAT_003dd9a8 != 0) {\n    return 1;\n  }\n  DAT_003dd9a8 = AcquireSemaphoreInfo();\n  return 1;\n}" ({ "{") (if_statement "if (DAT_003dd9a8 != 0) {\n    return 1;\n  }" (if "if") (parenthesized_expression "(DAT_003dd9a8 != 0)" (( "(") (binary_expression "DAT_003dd9a8 != 0" (identifier "DAT_003dd9a8") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    return 1;\n  }" ({ "{") (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}"))) (expression_statement "DAT_003dd9a8 = AcquireSemaphoreInfo();" (assignment_expression "DAT_003dd9a8 = AcquireSemaphoreInfo()" (identifier "DAT_003dd9a8") (= "=") (call_expression "AcquireSemaphoreInfo()" (identifier "AcquireSemaphoreInfo") (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return 1;" (return "return") (number_literal "1") (; ";")) (} "}")))

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

type_1 function_1(void)

{
  if (var_1 != (type_2 *)0x0) {
    return MagickTrue;
  }
  var_1 = var_2();
  return MagickTrue;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (return_statement (number_literal)))))

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

undefined4 MASKED(void)

{
  if (DAT_003dd9a8 != 0) {
    return 1;
  }
  DAT_003dd9a8 = AcquireSemaphoreInfo();
  return 1;
}

