
MagickBooleanType IsTTF(uchar *magick,size_t length)

{
  if ((((4 < length) && (*magick == '\0')) && (magick[1] == '\x01')) &&
     ((magick[2] == '\0' && (magick[3] == '\0')))) {
    return (uint)(magick[4] == '\0');
  }
  return MagickFalse;
}



bool FUN_002bffc0(char *param_1,uint param_2)

{
  if ((((4 < param_2) && (*param_1 == '\0')) && (param_1[1] == '\x01')) &&
     ((param_1[2] == '\0' && (param_1[3] == '\0')))) {
    return param_1[4] == '\0';
  }
  return false;
}


XOR EAX,EAX
CMP dword ptr [ESP + 0x8],0x4
JBE 0x002bffd8
MOV EDX,dword ptr [ESP + 0x4]
CMP byte ptr [EDX],0x0
JNZ 0x002bffd8
CMP byte ptr [EDX + 0x1],0x1
JZ 0x002bffe0
RET
CMP byte ptr [EDX + 0x2],0x0
JNZ 0x002bffd8
CMP byte ptr [EDX + 0x3],0x0
JNZ 0x002bffd8
CMP byte ptr [EDX + 0x4],0x0
SETZ AL
MOVZX EAX,AL
RET
(translation_unit "bool FUN_002bffc0(char *param_1,uint param_2)\n\n{\n  if ((((4 < param_2) && (*param_1 == '\0')) && (param_1[1] == '\x01')) &&\n     ((param_1[2] == '\0' && (param_1[3] == '\0')))) {\n    return param_1[4] == '\0';\n  }\n  return false;\n}\n\n" (function_definition "bool FUN_002bffc0(char *param_1,uint param_2)\n\n{\n  if ((((4 < param_2) && (*param_1 == '\0')) && (param_1[1] == '\x01')) &&\n     ((param_1[2] == '\0' && (param_1[3] == '\0')))) {\n    return param_1[4] == '\0';\n  }\n  return false;\n}" primitive_type (function_declarator "FUN_002bffc0(char *param_1,uint param_2)" identifier (parameter_list "(char *param_1,uint param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  if ((((4 < param_2) && (*param_1 == '\0')) && (param_1[1] == '\x01')) &&\n     ((param_1[2] == '\0' && (param_1[3] == '\0')))) {\n    return param_1[4] == '\0';\n  }\n  return false;\n}" { (if_statement "if ((((4 < param_2) && (*param_1 == '\0')) && (param_1[1] == '\x01')) &&\n     ((param_1[2] == '\0' && (param_1[3] == '\0')))) {\n    return param_1[4] == '\0';\n  }" if (parenthesized_expression "((((4 < param_2) && (*param_1 == '\0')) && (param_1[1] == '\x01')) &&\n     ((param_1[2] == '\0' && (param_1[3] == '\0'))))" ( (binary_expression "(((4 < param_2) && (*param_1 == '\0')) && (param_1[1] == '\x01')) &&\n     ((param_1[2] == '\0' && (param_1[3] == '\0')))" (parenthesized_expression "(((4 < param_2) && (*param_1 == '\0')) && (param_1[1] == '\x01'))" ( (binary_expression "((4 < param_2) && (*param_1 == '\0')) && (param_1[1] == '\x01')" (parenthesized_expression "((4 < param_2) && (*param_1 == '\0'))" ( (binary_expression "(4 < param_2) && (*param_1 == '\0')" (parenthesized_expression "(4 < param_2)" ( (binary_expression "4 < param_2" number_literal < identifier) )) && (parenthesized_expression "(*param_1 == '\0')" ( (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(param_1[1] == '\x01')" ( (binary_expression "param_1[1] == '\x01'" (subscript_expression "param_1[1]" identifier [ number_literal ]) == (char_literal "'\x01'" ' escape_sequence ')) ))) )) && (parenthesized_expression "((param_1[2] == '\0' && (param_1[3] == '\0')))" ( (parenthesized_expression "(param_1[2] == '\0' && (param_1[3] == '\0'))" ( (binary_expression "param_1[2] == '\0' && (param_1[3] == '\0')" (binary_expression "param_1[2] == '\0'" (subscript_expression "param_1[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(param_1[3] == '\0')" ( (binary_expression "param_1[3] == '\0'" (subscript_expression "param_1[3]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) ))) )) (compound_statement "{\n    return param_1[4] == '\0';\n  }" { (return_statement "return param_1[4] == '\0';" return (binary_expression "param_1[4] == '\0'" (subscript_expression "param_1[4]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ;) })) (return_statement "return false;" return false ;) })))
(translation_unit "MagickBooleanType IsTTF(uchar *magick,size_t length)\n\n{\n  if ((((4 < length) && (*magick == '\0')) && (magick[1] == '\x01')) &&\n     ((magick[2] == '\0' && (magick[3] == '\0')))) {\n    return (uint)(magick[4] == '\0');\n  }\n  return MagickFalse;\n}\n\n" (function_definition "MagickBooleanType IsTTF(uchar *magick,size_t length)\n\n{\n  if ((((4 < length) && (*magick == '\0')) && (magick[1] == '\x01')) &&\n     ((magick[2] == '\0' && (magick[3] == '\0')))) {\n    return (uint)(magick[4] == '\0');\n  }\n  return MagickFalse;\n}" type_identifier (function_declarator "IsTTF(uchar *magick,size_t length)" identifier (parameter_list "(uchar *magick,size_t length)" ( (parameter_declaration "uchar *magick" type_identifier (pointer_declarator "*magick" * identifier)) , (parameter_declaration "size_t length" primitive_type identifier) ))) (compound_statement "{\n  if ((((4 < length) && (*magick == '\0')) && (magick[1] == '\x01')) &&\n     ((magick[2] == '\0' && (magick[3] == '\0')))) {\n    return (uint)(magick[4] == '\0');\n  }\n  return MagickFalse;\n}" { (if_statement "if ((((4 < length) && (*magick == '\0')) && (magick[1] == '\x01')) &&\n     ((magick[2] == '\0' && (magick[3] == '\0')))) {\n    return (uint)(magick[4] == '\0');\n  }" if (parenthesized_expression "((((4 < length) && (*magick == '\0')) && (magick[1] == '\x01')) &&\n     ((magick[2] == '\0' && (magick[3] == '\0'))))" ( (binary_expression "(((4 < length) && (*magick == '\0')) && (magick[1] == '\x01')) &&\n     ((magick[2] == '\0' && (magick[3] == '\0')))" (parenthesized_expression "(((4 < length) && (*magick == '\0')) && (magick[1] == '\x01'))" ( (binary_expression "((4 < length) && (*magick == '\0')) && (magick[1] == '\x01')" (parenthesized_expression "((4 < length) && (*magick == '\0'))" ( (binary_expression "(4 < length) && (*magick == '\0')" (parenthesized_expression "(4 < length)" ( (binary_expression "4 < length" number_literal < identifier) )) && (parenthesized_expression "(*magick == '\0')" ( (binary_expression "*magick == '\0'" (pointer_expression "*magick" * identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(magick[1] == '\x01')" ( (binary_expression "magick[1] == '\x01'" (subscript_expression "magick[1]" identifier [ number_literal ]) == (char_literal "'\x01'" ' escape_sequence ')) ))) )) && (parenthesized_expression "((magick[2] == '\0' && (magick[3] == '\0')))" ( (parenthesized_expression "(magick[2] == '\0' && (magick[3] == '\0'))" ( (binary_expression "magick[2] == '\0' && (magick[3] == '\0')" (binary_expression "magick[2] == '\0'" (subscript_expression "magick[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(magick[3] == '\0')" ( (binary_expression "magick[3] == '\0'" (subscript_expression "magick[3]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) ))) )) (compound_statement "{\n    return (uint)(magick[4] == '\0');\n  }" { (return_statement "return (uint)(magick[4] == '\0');" return (call_expression "(uint)(magick[4] == '\0')" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(magick[4] == '\0')" ( (binary_expression "magick[4] == '\0'" (subscript_expression "magick[4]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ))) ;) })) (return_statement "return MagickFalse;" return identifier ;) })))
(translation_unit "bool FUN_002bffc0(char *param_1,uint param_2)\n\n{\n  if ((((4 < param_2) && (*param_1 == '\0')) && (param_1[1] == '\x01')) &&\n     ((param_1[2] == '\0' && (param_1[3] == '\0')))) {\n    return param_1[4] == '\0';\n  }\n  return false;\n}\n\n" (function_definition "bool FUN_002bffc0(char *param_1,uint param_2)\n\n{\n  if ((((4 < param_2) && (*param_1 == '\0')) && (param_1[1] == '\x01')) &&\n     ((param_1[2] == '\0' && (param_1[3] == '\0')))) {\n    return param_1[4] == '\0';\n  }\n  return false;\n}" primitive_type (function_declarator "FUN_002bffc0(char *param_1,uint param_2)" identifier (parameter_list "(char *param_1,uint param_2)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  if ((((4 < param_2) && (*param_1 == '\0')) && (param_1[1] == '\x01')) &&\n     ((param_1[2] == '\0' && (param_1[3] == '\0')))) {\n    return param_1[4] == '\0';\n  }\n  return false;\n}" { (if_statement "if ((((4 < param_2) && (*param_1 == '\0')) && (param_1[1] == '\x01')) &&\n     ((param_1[2] == '\0' && (param_1[3] == '\0')))) {\n    return param_1[4] == '\0';\n  }" if (parenthesized_expression "((((4 < param_2) && (*param_1 == '\0')) && (param_1[1] == '\x01')) &&\n     ((param_1[2] == '\0' && (param_1[3] == '\0'))))" ( (binary_expression "(((4 < param_2) && (*param_1 == '\0')) && (param_1[1] == '\x01')) &&\n     ((param_1[2] == '\0' && (param_1[3] == '\0')))" (parenthesized_expression "(((4 < param_2) && (*param_1 == '\0')) && (param_1[1] == '\x01'))" ( (binary_expression "((4 < param_2) && (*param_1 == '\0')) && (param_1[1] == '\x01')" (parenthesized_expression "((4 < param_2) && (*param_1 == '\0'))" ( (binary_expression "(4 < param_2) && (*param_1 == '\0')" (parenthesized_expression "(4 < param_2)" ( (binary_expression "4 < param_2" number_literal < identifier) )) && (parenthesized_expression "(*param_1 == '\0')" ( (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(param_1[1] == '\x01')" ( (binary_expression "param_1[1] == '\x01'" (subscript_expression "param_1[1]" identifier [ number_literal ]) == (char_literal "'\x01'" ' escape_sequence ')) ))) )) && (parenthesized_expression "((param_1[2] == '\0' && (param_1[3] == '\0')))" ( (parenthesized_expression "(param_1[2] == '\0' && (param_1[3] == '\0'))" ( (binary_expression "param_1[2] == '\0' && (param_1[3] == '\0')" (binary_expression "param_1[2] == '\0'" (subscript_expression "param_1[2]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(param_1[3] == '\0')" ( (binary_expression "param_1[3] == '\0'" (subscript_expression "param_1[3]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) ))) )) (compound_statement "{\n    return param_1[4] == '\0';\n  }" { (return_statement "return param_1[4] == '\0';" return (binary_expression "param_1[4] == '\0'" (subscript_expression "param_1[4]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) ;) })) (return_statement "return false;" return false ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) ))) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) ))) )) ))) )) (compound_statement { (return_statement return (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) ;) })) (return_statement return BOOL ;) })))
(function_definition "bool FUN_002bffc0(char *param_1,uint param_2)\n\n{\n  if ((((4 < param_2) && (*param_1 == '\0')) && (param_1[1] == '\x01')) &&\n     ((param_1[2] == '\0' && (param_1[3] == '\0')))) {\n    return param_1[4] == '\0';\n  }\n  return false;\n}" (primitive_type "bool") (function_declarator "FUN_002bffc0(char *param_1,uint param_2)" (identifier "FUN_002bffc0") (parameter_list "(char *param_1,uint param_2)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  if ((((4 < param_2) && (*param_1 == '\0')) && (param_1[1] == '\x01')) &&\n     ((param_1[2] == '\0' && (param_1[3] == '\0')))) {\n    return param_1[4] == '\0';\n  }\n  return false;\n}" ({ "{") (if_statement "if ((((4 < param_2) && (*param_1 == '\0')) && (param_1[1] == '\x01')) &&\n     ((param_1[2] == '\0' && (param_1[3] == '\0')))) {\n    return param_1[4] == '\0';\n  }" (if "if") (parenthesized_expression "((((4 < param_2) && (*param_1 == '\0')) && (param_1[1] == '\x01')) &&\n     ((param_1[2] == '\0' && (param_1[3] == '\0'))))" (( "(") (binary_expression "(((4 < param_2) && (*param_1 == '\0')) && (param_1[1] == '\x01')) &&\n     ((param_1[2] == '\0' && (param_1[3] == '\0')))" (parenthesized_expression "(((4 < param_2) && (*param_1 == '\0')) && (param_1[1] == '\x01'))" (( "(") (binary_expression "((4 < param_2) && (*param_1 == '\0')) && (param_1[1] == '\x01')" (parenthesized_expression "((4 < param_2) && (*param_1 == '\0'))" (( "(") (binary_expression "(4 < param_2) && (*param_1 == '\0')" (parenthesized_expression "(4 < param_2)" (( "(") (binary_expression "4 < param_2" (number_literal "4") (< "<") (identifier "param_2")) () ")")) (&& "&&") (parenthesized_expression "(*param_1 == '\0')" (( "(") (binary_expression "*param_1 == '\0'" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(param_1[1] == '\x01')" (( "(") (binary_expression "param_1[1] == '\x01'" (subscript_expression "param_1[1]" (identifier "param_1") ([ "[") (number_literal "1") (] "]")) (== "==") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((param_1[2] == '\0' && (param_1[3] == '\0')))" (( "(") (parenthesized_expression "(param_1[2] == '\0' && (param_1[3] == '\0'))" (( "(") (binary_expression "param_1[2] == '\0' && (param_1[3] == '\0')" (binary_expression "param_1[2] == '\0'" (subscript_expression "param_1[2]" (identifier "param_1") ([ "[") (number_literal "2") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (&& "&&") (parenthesized_expression "(param_1[3] == '\0')" (( "(") (binary_expression "param_1[3] == '\0'" (subscript_expression "param_1[3]" (identifier "param_1") ([ "[") (number_literal "3") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    return param_1[4] == '\0';\n  }" ({ "{") (return_statement "return param_1[4] == '\0';" (return "return") (binary_expression "param_1[4] == '\0'" (subscript_expression "param_1[4]" (identifier "param_1") ([ "[") (number_literal "4") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (} "}"))) (return_statement "return false;" (return "return") (false "false") (; ";")) (} "}")))

type_1 function_1(type_2 *magick,size_t var_1)

{
  if ((((4 < var_1) && (*magick == '\0')) && (magick[1] == '\x01')) &&
     ((magick[2] == '\0' && (magick[3] == '\0')))) {
    return (uint)(magick[4] == '\0');
  }
  return MagickFalse;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence))))))))) consequence: (compound_statement (return_statement (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))))) (return_statement (false)))))

bool MASKED(char *param_1,uint param_2)

{
  if ((((4 < param_2) && (*param_1 == '\0')) && (param_1[1] == '\x01')) &&
     ((param_1[2] == '\0' && (param_1[3] == '\0')))) {
    return param_1[4] == '\0';
  }
  return false;
}

