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

MagickBooleanType IsBMP(uchar *magick,size_t length)

{
  int iVar1;
  MagickBooleanType MVar2;
  
  MVar2 = MagickFalse;
  if (1 < length) {
    MVar2 = MagickTrue;
    iVar1 = LocaleNCompare((char *)magick,"BA",2);
    if (iVar1 != 0) {
      iVar1 = LocaleNCompare((char *)magick,"BM",2);
      if (iVar1 != 0) {
        iVar1 = LocaleNCompare((char *)magick,"IC",2);
        if (iVar1 != 0) {
          iVar1 = LocaleNCompare((char *)magick,"PI",2);
          if (iVar1 != 0) {
            iVar1 = LocaleNCompare((char *)magick,"CI",2);
            if (iVar1 != 0) {
              iVar1 = LocaleNCompare((char *)magick,"CP",2);
              MVar2 = (MagickBooleanType)(iVar1 == 0);
            }
          }
        }
      }
    }
  }
  return MVar2;
}



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

bool FUN_001d0be0(undefined4 param_1,uint param_2)

{
  int iVar1;
  bool bVar2;
  
  bVar2 = false;
  if (1 < param_2) {
    bVar2 = true;
    iVar1 = LocaleNCompare(param_1,&DAT_002a2478,2);
    if (iVar1 != 0) {
      iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2);
      if (iVar1 != 0) {
        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);
        if (iVar1 != 0) {
          iVar1 = LocaleNCompare(param_1,"PI",2);
          if (iVar1 != 0) {
            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);
            if (iVar1 != 0) {
              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);
              bVar2 = iVar1 == 0;
            }
          }
        }
      }
    }
  }
  return bVar2;
}


PUSH EDI
PUSH ESI
XOR ESI,ESI
PUSH EBX
MOV EDI,dword ptr [ESP + 0x10]
CALL 0x00038830
ADD EBX,0x208412
CMP dword ptr [ESP + 0x14],0x1
JBE 0x001d0ca4
LEA EAX,[EBX + 0xffec9478]
SUB ESP,0x4
MOV ESI,0x1
PUSH 0x2
PUSH EAX
PUSH EDI
CALL 0x00031370
ADD ESP,0x10
TEST EAX,EAX
JZ 0x001d0ca4
LEA EAX,[EBX + 0xffec951a]
SUB ESP,0x4
PUSH 0x2
PUSH EAX
PUSH EDI
CALL 0x00031370
ADD ESP,0x10
TEST EAX,EAX
JZ 0x001d0ca4
LEA EAX,[EBX + 0xffee0531]
SUB ESP,0x4
PUSH 0x2
PUSH EAX
PUSH EDI
CALL 0x00031370
ADD ESP,0x10
TEST EAX,EAX
JZ 0x001d0ca4
LEA EAX,[EBX + 0xfff2a894]
SUB ESP,0x4
PUSH 0x2
PUSH EAX
PUSH EDI
CALL 0x00031370
ADD ESP,0x10
TEST EAX,EAX
JZ 0x001d0ca4
LEA EAX,[EBX + 0xffee052b]
SUB ESP,0x4
PUSH 0x2
PUSH EAX
PUSH EDI
CALL 0x00031370
ADD ESP,0x10
TEST EAX,EAX
JZ 0x001d0ca4
LEA EAX,[EBX + 0xffee052e]
SUB ESP,0x4
PUSH 0x2
PUSH EAX
PUSH EDI
CALL 0x00031370
ADD ESP,0x10
TEST EAX,EAX
SETZ AL
MOVZX EAX,AL
MOV ESI,EAX
MOV EAX,ESI
POP EBX
POP ESI
POP EDI
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nbool FUN_001d0be0(undefined4 param_1,uint param_2)\n\n{\n  int iVar1;\n  bool bVar2;\n  \n  bVar2 = false;\n  if (1 < param_2) {\n    bVar2 = true;\n    iVar1 = LocaleNCompare(param_1,&DAT_002a2478,2);\n    if (iVar1 != 0) {\n      iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }\n    }\n  }\n  return bVar2;\n}\n\n" comment (function_definition "bool FUN_001d0be0(undefined4 param_1,uint param_2)\n\n{\n  int iVar1;\n  bool bVar2;\n  \n  bVar2 = false;\n  if (1 < param_2) {\n    bVar2 = true;\n    iVar1 = LocaleNCompare(param_1,&DAT_002a2478,2);\n    if (iVar1 != 0) {\n      iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }\n    }\n  }\n  return bVar2;\n}" primitive_type (function_declarator "FUN_001d0be0(undefined4 param_1,uint param_2)" identifier (parameter_list "(undefined4 param_1,uint param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  \n  bVar2 = false;\n  if (1 < param_2) {\n    bVar2 = true;\n    iVar1 = LocaleNCompare(param_1,&DAT_002a2478,2);\n    if (iVar1 != 0) {\n      iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }\n    }\n  }\n  return bVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (if_statement "if (1 < param_2) {\n    bVar2 = true;\n    iVar1 = LocaleNCompare(param_1,&DAT_002a2478,2);\n    if (iVar1 != 0) {\n      iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }\n    }\n  }" if (parenthesized_expression "(1 < param_2)" ( (binary_expression "1 < param_2" number_literal < identifier) )) (compound_statement "{\n    bVar2 = true;\n    iVar1 = LocaleNCompare(param_1,&DAT_002a2478,2);\n    if (iVar1 != 0) {\n      iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }\n    }\n  }" { (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) (expression_statement "iVar1 = LocaleNCompare(param_1,&DAT_002a2478,2);" (assignment_expression "iVar1 = LocaleNCompare(param_1,&DAT_002a2478,2)" identifier = (call_expression "LocaleNCompare(param_1,&DAT_002a2478,2)" identifier (argument_list "(param_1,&DAT_002a2478,2)" ( identifier , (pointer_expression "&DAT_002a2478" & identifier) , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n      iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }\n    }" { (expression_statement "iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2);" (assignment_expression "iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2)" identifier = (call_expression "LocaleNCompare(param_1,&DAT_002a251a,2)" identifier (argument_list "(param_1,&DAT_002a251a,2)" ( identifier , (pointer_expression "&DAT_002a251a" & identifier) , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }" { (expression_statement "iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);" (assignment_expression "iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2)" identifier = (call_expression "LocaleNCompare(param_1,&DAT_002b9531,2)" identifier (argument_list "(param_1,&DAT_002b9531,2)" ( identifier , (pointer_expression "&DAT_002b9531" & identifier) , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }" { (expression_statement "iVar1 = LocaleNCompare(param_1,"PI",2);" (assignment_expression "iVar1 = LocaleNCompare(param_1,"PI",2)" identifier = (call_expression "LocaleNCompare(param_1,"PI",2)" identifier (argument_list "(param_1,"PI",2)" ( identifier , (string_literal ""PI"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }" { (expression_statement "iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);" (assignment_expression "iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2)" identifier = (call_expression "LocaleNCompare(param_1,&DAT_002b952b,2)" identifier (argument_list "(param_1,&DAT_002b952b,2)" ( identifier , (pointer_expression "&DAT_002b952b" & identifier) , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }" { (expression_statement "iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);" (assignment_expression "iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2)" identifier = (call_expression "LocaleNCompare(param_1,&DAT_002b952e,2)" identifier (argument_list "(param_1,&DAT_002b952e,2)" ( identifier , (pointer_expression "&DAT_002b952e" & identifier) , number_literal )))) ;) (expression_statement "bVar2 = iVar1 == 0;" (assignment_expression "bVar2 = iVar1 == 0" identifier = (binary_expression "iVar1 == 0" identifier == number_literal)) ;) })) })) })) })) })) })) (return_statement "return bVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nMagickBooleanType IsBMP(uchar *magick,size_t length)\n\n{\n  int iVar1;\n  MagickBooleanType MVar2;\n  \n  MVar2 = MagickFalse;\n  if (1 < length) {\n    MVar2 = MagickTrue;\n    iVar1 = LocaleNCompare((char *)magick,"BA",2);\n    if (iVar1 != 0) {\n      iVar1 = LocaleNCompare((char *)magick,"BM",2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare((char *)magick,"IC",2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare((char *)magick,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare((char *)magick,"CI",2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare((char *)magick,"CP",2);\n              MVar2 = (MagickBooleanType)(iVar1 == 0);\n            }\n          }\n        }\n      }\n    }\n  }\n  return MVar2;\n}\n\n" comment comment (function_definition "MagickBooleanType IsBMP(uchar *magick,size_t length)\n\n{\n  int iVar1;\n  MagickBooleanType MVar2;\n  \n  MVar2 = MagickFalse;\n  if (1 < length) {\n    MVar2 = MagickTrue;\n    iVar1 = LocaleNCompare((char *)magick,"BA",2);\n    if (iVar1 != 0) {\n      iVar1 = LocaleNCompare((char *)magick,"BM",2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare((char *)magick,"IC",2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare((char *)magick,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare((char *)magick,"CI",2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare((char *)magick,"CP",2);\n              MVar2 = (MagickBooleanType)(iVar1 == 0);\n            }\n          }\n        }\n      }\n    }\n  }\n  return MVar2;\n}" type_identifier (function_declarator "IsBMP(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  int iVar1;\n  MagickBooleanType MVar2;\n  \n  MVar2 = MagickFalse;\n  if (1 < length) {\n    MVar2 = MagickTrue;\n    iVar1 = LocaleNCompare((char *)magick,"BA",2);\n    if (iVar1 != 0) {\n      iVar1 = LocaleNCompare((char *)magick,"BM",2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare((char *)magick,"IC",2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare((char *)magick,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare((char *)magick,"CI",2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare((char *)magick,"CP",2);\n              MVar2 = (MagickBooleanType)(iVar1 == 0);\n            }\n          }\n        }\n      }\n    }\n  }\n  return MVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "MagickBooleanType MVar2;" type_identifier identifier ;) (expression_statement "MVar2 = MagickFalse;" (assignment_expression "MVar2 = MagickFalse" identifier = identifier) ;) (if_statement "if (1 < length) {\n    MVar2 = MagickTrue;\n    iVar1 = LocaleNCompare((char *)magick,"BA",2);\n    if (iVar1 != 0) {\n      iVar1 = LocaleNCompare((char *)magick,"BM",2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare((char *)magick,"IC",2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare((char *)magick,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare((char *)magick,"CI",2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare((char *)magick,"CP",2);\n              MVar2 = (MagickBooleanType)(iVar1 == 0);\n            }\n          }\n        }\n      }\n    }\n  }" if (parenthesized_expression "(1 < length)" ( (binary_expression "1 < length" number_literal < identifier) )) (compound_statement "{\n    MVar2 = MagickTrue;\n    iVar1 = LocaleNCompare((char *)magick,"BA",2);\n    if (iVar1 != 0) {\n      iVar1 = LocaleNCompare((char *)magick,"BM",2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare((char *)magick,"IC",2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare((char *)magick,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare((char *)magick,"CI",2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare((char *)magick,"CP",2);\n              MVar2 = (MagickBooleanType)(iVar1 == 0);\n            }\n          }\n        }\n      }\n    }\n  }" { (expression_statement "MVar2 = MagickTrue;" (assignment_expression "MVar2 = MagickTrue" identifier = identifier) ;) (expression_statement "iVar1 = LocaleNCompare((char *)magick,"BA",2);" (assignment_expression "iVar1 = LocaleNCompare((char *)magick,"BA",2)" identifier = (call_expression "LocaleNCompare((char *)magick,"BA",2)" identifier (argument_list "((char *)magick,"BA",2)" ( (cast_expression "(char *)magick" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""BA"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n      iVar1 = LocaleNCompare((char *)magick,"BM",2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare((char *)magick,"IC",2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare((char *)magick,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare((char *)magick,"CI",2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare((char *)magick,"CP",2);\n              MVar2 = (MagickBooleanType)(iVar1 == 0);\n            }\n          }\n        }\n      }\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar1 = LocaleNCompare((char *)magick,"BM",2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare((char *)magick,"IC",2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare((char *)magick,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare((char *)magick,"CI",2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare((char *)magick,"CP",2);\n              MVar2 = (MagickBooleanType)(iVar1 == 0);\n            }\n          }\n        }\n      }\n    }" { (expression_statement "iVar1 = LocaleNCompare((char *)magick,"BM",2);" (assignment_expression "iVar1 = LocaleNCompare((char *)magick,"BM",2)" identifier = (call_expression "LocaleNCompare((char *)magick,"BM",2)" identifier (argument_list "((char *)magick,"BM",2)" ( (cast_expression "(char *)magick" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""BM"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n        iVar1 = LocaleNCompare((char *)magick,"IC",2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare((char *)magick,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare((char *)magick,"CI",2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare((char *)magick,"CP",2);\n              MVar2 = (MagickBooleanType)(iVar1 == 0);\n            }\n          }\n        }\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar1 = LocaleNCompare((char *)magick,"IC",2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare((char *)magick,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare((char *)magick,"CI",2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare((char *)magick,"CP",2);\n              MVar2 = (MagickBooleanType)(iVar1 == 0);\n            }\n          }\n        }\n      }" { (expression_statement "iVar1 = LocaleNCompare((char *)magick,"IC",2);" (assignment_expression "iVar1 = LocaleNCompare((char *)magick,"IC",2)" identifier = (call_expression "LocaleNCompare((char *)magick,"IC",2)" identifier (argument_list "((char *)magick,"IC",2)" ( (cast_expression "(char *)magick" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""IC"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n          iVar1 = LocaleNCompare((char *)magick,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare((char *)magick,"CI",2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare((char *)magick,"CP",2);\n              MVar2 = (MagickBooleanType)(iVar1 == 0);\n            }\n          }\n        }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar1 = LocaleNCompare((char *)magick,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare((char *)magick,"CI",2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare((char *)magick,"CP",2);\n              MVar2 = (MagickBooleanType)(iVar1 == 0);\n            }\n          }\n        }" { (expression_statement "iVar1 = LocaleNCompare((char *)magick,"PI",2);" (assignment_expression "iVar1 = LocaleNCompare((char *)magick,"PI",2)" identifier = (call_expression "LocaleNCompare((char *)magick,"PI",2)" identifier (argument_list "((char *)magick,"PI",2)" ( (cast_expression "(char *)magick" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""PI"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n            iVar1 = LocaleNCompare((char *)magick,"CI",2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare((char *)magick,"CP",2);\n              MVar2 = (MagickBooleanType)(iVar1 == 0);\n            }\n          }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar1 = LocaleNCompare((char *)magick,"CI",2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare((char *)magick,"CP",2);\n              MVar2 = (MagickBooleanType)(iVar1 == 0);\n            }\n          }" { (expression_statement "iVar1 = LocaleNCompare((char *)magick,"CI",2);" (assignment_expression "iVar1 = LocaleNCompare((char *)magick,"CI",2)" identifier = (call_expression "LocaleNCompare((char *)magick,"CI",2)" identifier (argument_list "((char *)magick,"CI",2)" ( (cast_expression "(char *)magick" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""CI"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n              iVar1 = LocaleNCompare((char *)magick,"CP",2);\n              MVar2 = (MagickBooleanType)(iVar1 == 0);\n            }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n              iVar1 = LocaleNCompare((char *)magick,"CP",2);\n              MVar2 = (MagickBooleanType)(iVar1 == 0);\n            }" { (expression_statement "iVar1 = LocaleNCompare((char *)magick,"CP",2);" (assignment_expression "iVar1 = LocaleNCompare((char *)magick,"CP",2)" identifier = (call_expression "LocaleNCompare((char *)magick,"CP",2)" identifier (argument_list "((char *)magick,"CP",2)" ( (cast_expression "(char *)magick" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier) , (string_literal ""CP"" " string_content ") , number_literal )))) ;) (expression_statement "MVar2 = (MagickBooleanType)(iVar1 == 0);" (assignment_expression "MVar2 = (MagickBooleanType)(iVar1 == 0)" identifier = (call_expression "(MagickBooleanType)(iVar1 == 0)" (parenthesized_expression "(MagickBooleanType)" ( identifier )) (argument_list "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) )))) ;) })) })) })) })) })) })) (return_statement "return MVar2;" return identifier ;) })))
(translation_unit "bool FUN_001d0be0(undefined4 param_1,uint param_2)\n\n{\n  int iVar1;\n  bool bVar2;\n  \n  bVar2 = false;\n  if (1 < param_2) {\n    bVar2 = true;\n    iVar1 = LocaleNCompare(param_1,&DAT_002a2478,2);\n    if (iVar1 != 0) {\n      iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }\n    }\n  }\n  return bVar2;\n}\n\n" (function_definition "bool FUN_001d0be0(undefined4 param_1,uint param_2)\n\n{\n  int iVar1;\n  bool bVar2;\n  \n  bVar2 = false;\n  if (1 < param_2) {\n    bVar2 = true;\n    iVar1 = LocaleNCompare(param_1,&DAT_002a2478,2);\n    if (iVar1 != 0) {\n      iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }\n    }\n  }\n  return bVar2;\n}" primitive_type (function_declarator "FUN_001d0be0(undefined4 param_1,uint param_2)" identifier (parameter_list "(undefined4 param_1,uint param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "uint param_2" type_identifier identifier) ))) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  \n  bVar2 = false;\n  if (1 < param_2) {\n    bVar2 = true;\n    iVar1 = LocaleNCompare(param_1,&DAT_002a2478,2);\n    if (iVar1 != 0) {\n      iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }\n    }\n  }\n  return bVar2;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "bool bVar2;" primitive_type identifier ;) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" identifier = false) ;) (if_statement "if (1 < param_2) {\n    bVar2 = true;\n    iVar1 = LocaleNCompare(param_1,&DAT_002a2478,2);\n    if (iVar1 != 0) {\n      iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }\n    }\n  }" if (parenthesized_expression "(1 < param_2)" ( (binary_expression "1 < param_2" number_literal < identifier) )) (compound_statement "{\n    bVar2 = true;\n    iVar1 = LocaleNCompare(param_1,&DAT_002a2478,2);\n    if (iVar1 != 0) {\n      iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }\n    }\n  }" { (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" identifier = true) ;) (expression_statement "iVar1 = LocaleNCompare(param_1,&DAT_002a2478,2);" (assignment_expression "iVar1 = LocaleNCompare(param_1,&DAT_002a2478,2)" identifier = (call_expression "LocaleNCompare(param_1,&DAT_002a2478,2)" identifier (argument_list "(param_1,&DAT_002a2478,2)" ( identifier , (pointer_expression "&DAT_002a2478" & identifier) , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n      iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }\n    }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n      iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }\n    }" { (expression_statement "iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2);" (assignment_expression "iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2)" identifier = (call_expression "LocaleNCompare(param_1,&DAT_002a251a,2)" identifier (argument_list "(param_1,&DAT_002a251a,2)" ( identifier , (pointer_expression "&DAT_002a251a" & identifier) , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }" { (expression_statement "iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);" (assignment_expression "iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2)" identifier = (call_expression "LocaleNCompare(param_1,&DAT_002b9531,2)" identifier (argument_list "(param_1,&DAT_002b9531,2)" ( identifier , (pointer_expression "&DAT_002b9531" & identifier) , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }" { (expression_statement "iVar1 = LocaleNCompare(param_1,"PI",2);" (assignment_expression "iVar1 = LocaleNCompare(param_1,"PI",2)" identifier = (call_expression "LocaleNCompare(param_1,"PI",2)" identifier (argument_list "(param_1,"PI",2)" ( identifier , (string_literal ""PI"" " string_content ") , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }" { (expression_statement "iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);" (assignment_expression "iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2)" identifier = (call_expression "LocaleNCompare(param_1,&DAT_002b952b,2)" identifier (argument_list "(param_1,&DAT_002b952b,2)" ( identifier , (pointer_expression "&DAT_002b952b" & identifier) , number_literal )))) ;) (if_statement "if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }" if (parenthesized_expression "(iVar1 != 0)" ( (binary_expression "iVar1 != 0" identifier != number_literal) )) (compound_statement "{\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }" { (expression_statement "iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);" (assignment_expression "iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2)" identifier = (call_expression "LocaleNCompare(param_1,&DAT_002b952e,2)" identifier (argument_list "(param_1,&DAT_002b952e,2)" ( identifier , (pointer_expression "&DAT_002b952e" & identifier) , number_literal )))) ;) (expression_statement "bVar2 = iVar1 == 0;" (assignment_expression "bVar2 = iVar1 == 0" identifier = (binary_expression "iVar1 == 0" identifier == number_literal)) ;) })) })) })) })) })) })) (return_statement "return bVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = BOOL) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (string_literal " string_content ") , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) , LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT == LIT)) ;) })) })) })) })) })) })) (return_statement return IDENT ;) })))
(function_definition "bool FUN_001d0be0(undefined4 param_1,uint param_2)\n\n{\n  int iVar1;\n  bool bVar2;\n  \n  bVar2 = false;\n  if (1 < param_2) {\n    bVar2 = true;\n    iVar1 = LocaleNCompare(param_1,&DAT_002a2478,2);\n    if (iVar1 != 0) {\n      iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }\n    }\n  }\n  return bVar2;\n}" (primitive_type "bool") (function_declarator "FUN_001d0be0(undefined4 param_1,uint param_2)" (identifier "FUN_001d0be0") (parameter_list "(undefined4 param_1,uint param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "uint param_2" (type_identifier "uint") (identifier "param_2")) () ")"))) (compound_statement "{\n  int iVar1;\n  bool bVar2;\n  \n  bVar2 = false;\n  if (1 < param_2) {\n    bVar2 = true;\n    iVar1 = LocaleNCompare(param_1,&DAT_002a2478,2);\n    if (iVar1 != 0) {\n      iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }\n    }\n  }\n  return bVar2;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "bool bVar2;" (primitive_type "bool") (identifier "bVar2") (; ";")) (expression_statement "bVar2 = false;" (assignment_expression "bVar2 = false" (identifier "bVar2") (= "=") (false "false")) (; ";")) (if_statement "if (1 < param_2) {\n    bVar2 = true;\n    iVar1 = LocaleNCompare(param_1,&DAT_002a2478,2);\n    if (iVar1 != 0) {\n      iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }\n    }\n  }" (if "if") (parenthesized_expression "(1 < param_2)" (( "(") (binary_expression "1 < param_2" (number_literal "1") (< "<") (identifier "param_2")) () ")")) (compound_statement "{\n    bVar2 = true;\n    iVar1 = LocaleNCompare(param_1,&DAT_002a2478,2);\n    if (iVar1 != 0) {\n      iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }\n    }\n  }" ({ "{") (expression_statement "bVar2 = true;" (assignment_expression "bVar2 = true" (identifier "bVar2") (= "=") (true "true")) (; ";")) (expression_statement "iVar1 = LocaleNCompare(param_1,&DAT_002a2478,2);" (assignment_expression "iVar1 = LocaleNCompare(param_1,&DAT_002a2478,2)" (identifier "iVar1") (= "=") (call_expression "LocaleNCompare(param_1,&DAT_002a2478,2)" (identifier "LocaleNCompare") (argument_list "(param_1,&DAT_002a2478,2)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&DAT_002a2478" (& "&") (identifier "DAT_002a2478")) (, ",") (number_literal "2") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n      iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }\n    }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2);\n      if (iVar1 != 0) {\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }\n    }" ({ "{") (expression_statement "iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2);" (assignment_expression "iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2)" (identifier "iVar1") (= "=") (call_expression "LocaleNCompare(param_1,&DAT_002a251a,2)" (identifier "LocaleNCompare") (argument_list "(param_1,&DAT_002a251a,2)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&DAT_002a251a" (& "&") (identifier "DAT_002a251a")) (, ",") (number_literal "2") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);\n        if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }\n      }" ({ "{") (expression_statement "iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);" (assignment_expression "iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2)" (identifier "iVar1") (= "=") (call_expression "LocaleNCompare(param_1,&DAT_002b9531,2)" (identifier "LocaleNCompare") (argument_list "(param_1,&DAT_002b9531,2)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&DAT_002b9531" (& "&") (identifier "DAT_002b9531")) (, ",") (number_literal "2") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          iVar1 = LocaleNCompare(param_1,"PI",2);\n          if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }\n        }" ({ "{") (expression_statement "iVar1 = LocaleNCompare(param_1,"PI",2);" (assignment_expression "iVar1 = LocaleNCompare(param_1,"PI",2)" (identifier "iVar1") (= "=") (call_expression "LocaleNCompare(param_1,"PI",2)" (identifier "LocaleNCompare") (argument_list "(param_1,"PI",2)" (( "(") (identifier "param_1") (, ",") (string_literal ""PI"" (" """) (string_content "PI") (" """)) (, ",") (number_literal "2") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);\n            if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }\n          }" ({ "{") (expression_statement "iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);" (assignment_expression "iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2)" (identifier "iVar1") (= "=") (call_expression "LocaleNCompare(param_1,&DAT_002b952b,2)" (identifier "LocaleNCompare") (argument_list "(param_1,&DAT_002b952b,2)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&DAT_002b952b" (& "&") (identifier "DAT_002b952b")) (, ",") (number_literal "2") () ")")))) (; ";")) (if_statement "if (iVar1 != 0) {\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }" (if "if") (parenthesized_expression "(iVar1 != 0)" (( "(") (binary_expression "iVar1 != 0" (identifier "iVar1") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);\n              bVar2 = iVar1 == 0;\n            }" ({ "{") (expression_statement "iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);" (assignment_expression "iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2)" (identifier "iVar1") (= "=") (call_expression "LocaleNCompare(param_1,&DAT_002b952e,2)" (identifier "LocaleNCompare") (argument_list "(param_1,&DAT_002b952e,2)" (( "(") (identifier "param_1") (, ",") (pointer_expression "&DAT_002b952e" (& "&") (identifier "DAT_002b952e")) (, ",") (number_literal "2") () ")")))) (; ";")) (expression_statement "bVar2 = iVar1 == 0;" (assignment_expression "bVar2 = iVar1 == 0" (identifier "bVar2") (= "=") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0"))) (; ";")) (} "}"))) (} "}"))) (} "}"))) (} "}"))) (} "}"))) (} "}"))) (return_statement "return bVar2;" (return "return") (identifier "bVar2") (; ";")) (} "}")))

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

type_1 function_1(type_2 *magick,size_t var_1)

{
  int var_3;
  type_1 MVar2;
  
  MVar2 = MagickFalse;
  if (1 < var_1) {
    MVar2 = MagickTrue;
    var_3 = var_2((char *)magick,"BA",2);
    if (var_3 != 0) {
      var_3 = var_2((char *)magick,"BM",2);
      if (var_3 != 0) {
        var_3 = var_2((char *)magick,"IC",2);
        if (var_3 != 0) {
          var_3 = var_2((char *)magick,"PI",2);
          if (var_3 != 0) {
            var_3 = var_2((char *)magick,"CI",2);
            if (var_3 != 0) {
              var_3 = var_2((char *)magick,"CP",2);
              MVar2 = (type_1)(var_3 == 0);
            }
          }
        }
      }
    }
  }
  return MVar2;
}


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

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

bool MASKED(undefined4 param_1,uint param_2)

{
  int iVar1;
  bool bVar2;
  
  bVar2 = false;
  if (1 < param_2) {
    bVar2 = true;
    iVar1 = LocaleNCompare(param_1,&DAT_002a2478,2);
    if (iVar1 != 0) {
      iVar1 = LocaleNCompare(param_1,&DAT_002a251a,2);
      if (iVar1 != 0) {
        iVar1 = LocaleNCompare(param_1,&DAT_002b9531,2);
        if (iVar1 != 0) {
          iVar1 = LocaleNCompare(param_1,"PI",2);
          if (iVar1 != 0) {
            iVar1 = LocaleNCompare(param_1,&DAT_002b952b,2);
            if (iVar1 != 0) {
              iVar1 = LocaleNCompare(param_1,&DAT_002b952e,2);
              bVar2 = iVar1 == 0;
            }
          }
        }
      }
    }
  }
  return bVar2;
}

