
int saw_option(char *option)

{
  char *__s1;
  void *pvVar1;
  char **ppcVar2;
  int iVar3;
  int iVar4;
  
  iVar4 = 0;
  is_underscoring();
  ppcVar2 = &init[0].symbol;
  pvVar1 = init[0].ptr;
  while( true ) {
    if (pvVar1 == (void *)0x0) {
      return 0;
    }
    __s1 = *ppcVar2;
    if (*(bfd_boolean *)((long)ppcVar2 + 0xc) == 0) {
      iVar3 = strcmp(__s1,option);
    }
    else {
      iVar3 = is_underscoring();
      iVar3 = strcmp(__s1 + (iVar3 != 1),option);
    }
    if (iVar3 == 0) break;
    iVar4 = iVar4 + 1;
    pvVar1 = ppcVar2[2];
    ppcVar2 = ppcVar2 + 5;
  }
  return init[iVar4].inited;
}



undefined4 FUN_001453b0(char *param_1)

{
  char *__s1;
  undefined *puVar1;
  undefined **ppuVar2;
  int iVar3;
  int iVar4;
  
  iVar4 = 0;
  FUN_00145320();
  ppuVar2 = &PTR_s___image_base___002b3938;
  puVar1 = PTR_DAT_002b3920;
  while( true ) {
    if (puVar1 == (undefined *)0x0) {
      return 0;
    }
    __s1 = *ppuVar2;
    if (*(int *)((long)ppuVar2 + 0xc) == 0) {
      iVar3 = strcmp(__s1,param_1);
    }
    else {
      iVar3 = FUN_00145320();
      iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);
    }
    if (iVar3 == 0) break;
    iVar4 = iVar4 + 1;
    puVar1 = ppuVar2[2];
    ppuVar2 = ppuVar2 + 5;
  }
  return (&DAT_002b3940)[(long)iVar4 * 10];
}


PUSH R13
MOV R13,RDI
PUSH R12
XOR R12D,R12D
PUSH RBP
PUSH RBX
LEA RBX,[0x2b3938]
SUB RSP,0x8
CALL 0x00145320
CMP qword ptr [0x002b3920],0x0
JNZ 0x001453fe
JMP 0x00145448
MOV RSI,R13
MOV RDI,RBP
CALL 0x0010d6a0
TEST EAX,EAX
JZ 0x00145428
ADD RBX,0x28
ADD R12D,0x1
CMP qword ptr [RBX + -0x18],0x0
JZ 0x00145448
MOV EAX,dword ptr [RBX + 0xc]
MOV RBP,qword ptr [RBX]
TEST EAX,EAX
JZ 0x001453e0
CALL 0x00145320
MOV RSI,R13
CMP EAX,0x1
SETNZ AL
MOVZX EAX,AL
ADD RBP,RAX
MOV RDI,RBP
CALL 0x0010d6a0
TEST EAX,EAX
JNZ 0x001453ef
MOVSXD R12,R12D
LEA RAX,[0x2b3920]
LEA RDX,[R12 + R12*0x4]
MOV EAX,dword ptr [RAX + RDX*0x8 + 0x20]
ADD RSP,0x8
POP RBX
POP RBP
POP R12
POP R13
RET
ADD RSP,0x8
XOR EAX,EAX
POP RBX
POP RBP
POP R12
POP R13
RET
(translation_unit "undefined4 FUN_001453b0(char *param_1)\n\n{\n  char *__s1;\n  undefined *puVar1;\n  undefined **ppuVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar4 = 0;\n  FUN_00145320();\n  ppuVar2 = &PTR_s___image_base___002b3938;\n  puVar1 = PTR_DAT_002b3920;\n  while( true ) {\n    if (puVar1 == (undefined *)0x0) {\n      return 0;\n    }\n    __s1 = *ppuVar2;\n    if (*(int *)((long)ppuVar2 + 0xc) == 0) {\n      iVar3 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar3 = FUN_00145320();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);\n    }\n    if (iVar3 == 0) break;\n    iVar4 = iVar4 + 1;\n    puVar1 = ppuVar2[2];\n    ppuVar2 = ppuVar2 + 5;\n  }\n  return (&DAT_002b3940)[(long)iVar4 * 10];\n}\n\n" (function_definition "undefined4 FUN_001453b0(char *param_1)\n\n{\n  char *__s1;\n  undefined *puVar1;\n  undefined **ppuVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar4 = 0;\n  FUN_00145320();\n  ppuVar2 = &PTR_s___image_base___002b3938;\n  puVar1 = PTR_DAT_002b3920;\n  while( true ) {\n    if (puVar1 == (undefined *)0x0) {\n      return 0;\n    }\n    __s1 = *ppuVar2;\n    if (*(int *)((long)ppuVar2 + 0xc) == 0) {\n      iVar3 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar3 = FUN_00145320();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);\n    }\n    if (iVar3 == 0) break;\n    iVar4 = iVar4 + 1;\n    puVar1 = ppuVar2[2];\n    ppuVar2 = ppuVar2 + 5;\n  }\n  return (&DAT_002b3940)[(long)iVar4 * 10];\n}" type_identifier (function_declarator "FUN_001453b0(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char *__s1;\n  undefined *puVar1;\n  undefined **ppuVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar4 = 0;\n  FUN_00145320();\n  ppuVar2 = &PTR_s___image_base___002b3938;\n  puVar1 = PTR_DAT_002b3920;\n  while( true ) {\n    if (puVar1 == (undefined *)0x0) {\n      return 0;\n    }\n    __s1 = *ppuVar2;\n    if (*(int *)((long)ppuVar2 + 0xc) == 0) {\n      iVar3 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar3 = FUN_00145320();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);\n    }\n    if (iVar3 == 0) break;\n    iVar4 = iVar4 + 1;\n    puVar1 = ppuVar2[2];\n    ppuVar2 = ppuVar2 + 5;\n  }\n  return (&DAT_002b3940)[(long)iVar4 * 10];\n}" { (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined **ppuVar2;" type_identifier (pointer_declarator "**ppuVar2" * (pointer_declarator "*ppuVar2" * identifier)) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "FUN_00145320();" (call_expression "FUN_00145320()" identifier (argument_list "()" ( ))) ;) (expression_statement "ppuVar2 = &PTR_s___image_base___002b3938;" (assignment_expression "ppuVar2 = &PTR_s___image_base___002b3938" identifier = (pointer_expression "&PTR_s___image_base___002b3938" & identifier)) ;) (expression_statement "puVar1 = PTR_DAT_002b3920;" (assignment_expression "puVar1 = PTR_DAT_002b3920" identifier = identifier) ;) (while_statement "while( true ) {\n    if (puVar1 == (undefined *)0x0) {\n      return 0;\n    }\n    __s1 = *ppuVar2;\n    if (*(int *)((long)ppuVar2 + 0xc) == 0) {\n      iVar3 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar3 = FUN_00145320();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);\n    }\n    if (iVar3 == 0) break;\n    iVar4 = iVar4 + 1;\n    puVar1 = ppuVar2[2];\n    ppuVar2 = ppuVar2 + 5;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (puVar1 == (undefined *)0x0) {\n      return 0;\n    }\n    __s1 = *ppuVar2;\n    if (*(int *)((long)ppuVar2 + 0xc) == 0) {\n      iVar3 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar3 = FUN_00145320();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);\n    }\n    if (iVar3 == 0) break;\n    iVar4 = iVar4 + 1;\n    puVar1 = ppuVar2[2];\n    ppuVar2 = ppuVar2 + 5;\n  }" { (if_statement "if (puVar1 == (undefined *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(puVar1 == (undefined *)0x0)" ( (binary_expression "puVar1 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "__s1 = *ppuVar2;" (assignment_expression "__s1 = *ppuVar2" identifier = (pointer_expression "*ppuVar2" * identifier)) ;) (if_statement "if (*(int *)((long)ppuVar2 + 0xc) == 0) {\n      iVar3 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar3 = FUN_00145320();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);\n    }" if (parenthesized_expression "(*(int *)((long)ppuVar2 + 0xc) == 0)" ( (binary_expression "*(int *)((long)ppuVar2 + 0xc) == 0" (pointer_expression "*(int *)((long)ppuVar2 + 0xc)" * (cast_expression "(int *)((long)ppuVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)ppuVar2 + 0xc)" ( (binary_expression "(long)ppuVar2 + 0xc" (cast_expression "(long)ppuVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar3 = strcmp(__s1,param_1);\n    }" { (expression_statement "iVar3 = strcmp(__s1,param_1);" (assignment_expression "iVar3 = strcmp(__s1,param_1)" identifier = (call_expression "strcmp(__s1,param_1)" identifier (argument_list "(__s1,param_1)" ( identifier , identifier )))) ;) }) (else_clause "else {\n      iVar3 = FUN_00145320();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);\n    }" else (compound_statement "{\n      iVar3 = FUN_00145320();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);\n    }" { (expression_statement "iVar3 = FUN_00145320();" (assignment_expression "iVar3 = FUN_00145320()" identifier = (call_expression "FUN_00145320()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);" (assignment_expression "iVar3 = strcmp(__s1 + (iVar3 != 1),param_1)" identifier = (call_expression "strcmp(__s1 + (iVar3 != 1),param_1)" identifier (argument_list "(__s1 + (iVar3 != 1),param_1)" ( (binary_expression "__s1 + (iVar3 != 1)" identifier + (parenthesized_expression "(iVar3 != 1)" ( (binary_expression "iVar3 != 1" identifier != number_literal) ))) , identifier )))) ;) }))) (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "puVar1 = ppuVar2[2];" (assignment_expression "puVar1 = ppuVar2[2]" identifier = (subscript_expression "ppuVar2[2]" identifier [ number_literal ])) ;) (expression_statement "ppuVar2 = ppuVar2 + 5;" (assignment_expression "ppuVar2 = ppuVar2 + 5" identifier = (binary_expression "ppuVar2 + 5" identifier + number_literal)) ;) })) (return_statement "return (&DAT_002b3940)[(long)iVar4 * 10];" return (subscript_expression "(&DAT_002b3940)[(long)iVar4 * 10]" (parenthesized_expression "(&DAT_002b3940)" ( (pointer_expression "&DAT_002b3940" & identifier) )) [ (binary_expression "(long)iVar4 * 10" (cast_expression "(long)iVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal) ]) ;) })))
(translation_unit "int saw_option(char *option)\n\n{\n  char *__s1;\n  void *pvVar1;\n  char **ppcVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar4 = 0;\n  is_underscoring();\n  ppcVar2 = &init[0].symbol;\n  pvVar1 = init[0].ptr;\n  while( true ) {\n    if (pvVar1 == (void *)0x0) {\n      return 0;\n    }\n    __s1 = *ppcVar2;\n    if (*(bfd_boolean *)((long)ppcVar2 + 0xc) == 0) {\n      iVar3 = strcmp(__s1,option);\n    }\n    else {\n      iVar3 = is_underscoring();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),option);\n    }\n    if (iVar3 == 0) break;\n    iVar4 = iVar4 + 1;\n    pvVar1 = ppcVar2[2];\n    ppcVar2 = ppcVar2 + 5;\n  }\n  return init[iVar4].inited;\n}\n\n" (function_definition "int saw_option(char *option)\n\n{\n  char *__s1;\n  void *pvVar1;\n  char **ppcVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar4 = 0;\n  is_underscoring();\n  ppcVar2 = &init[0].symbol;\n  pvVar1 = init[0].ptr;\n  while( true ) {\n    if (pvVar1 == (void *)0x0) {\n      return 0;\n    }\n    __s1 = *ppcVar2;\n    if (*(bfd_boolean *)((long)ppcVar2 + 0xc) == 0) {\n      iVar3 = strcmp(__s1,option);\n    }\n    else {\n      iVar3 = is_underscoring();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),option);\n    }\n    if (iVar3 == 0) break;\n    iVar4 = iVar4 + 1;\n    pvVar1 = ppcVar2[2];\n    ppcVar2 = ppcVar2 + 5;\n  }\n  return init[iVar4].inited;\n}" primitive_type (function_declarator "saw_option(char *option)" identifier (parameter_list "(char *option)" ( (parameter_declaration "char *option" primitive_type (pointer_declarator "*option" * identifier)) ))) (compound_statement "{\n  char *__s1;\n  void *pvVar1;\n  char **ppcVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar4 = 0;\n  is_underscoring();\n  ppcVar2 = &init[0].symbol;\n  pvVar1 = init[0].ptr;\n  while( true ) {\n    if (pvVar1 == (void *)0x0) {\n      return 0;\n    }\n    __s1 = *ppcVar2;\n    if (*(bfd_boolean *)((long)ppcVar2 + 0xc) == 0) {\n      iVar3 = strcmp(__s1,option);\n    }\n    else {\n      iVar3 = is_underscoring();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),option);\n    }\n    if (iVar3 == 0) break;\n    iVar4 = iVar4 + 1;\n    pvVar1 = ppcVar2[2];\n    ppcVar2 = ppcVar2 + 5;\n  }\n  return init[iVar4].inited;\n}" { (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "char **ppcVar2;" primitive_type (pointer_declarator "**ppcVar2" * (pointer_declarator "*ppcVar2" * identifier)) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "is_underscoring();" (call_expression "is_underscoring()" identifier (argument_list "()" ( ))) ;) (expression_statement "ppcVar2 = &init[0].symbol;" (assignment_expression "ppcVar2 = &init[0].symbol" identifier = (pointer_expression "&init[0].symbol" & (field_expression "init[0].symbol" (subscript_expression "init[0]" identifier [ number_literal ]) . field_identifier))) ;) (expression_statement "pvVar1 = init[0].ptr;" (assignment_expression "pvVar1 = init[0].ptr" identifier = (field_expression "init[0].ptr" (subscript_expression "init[0]" identifier [ number_literal ]) . field_identifier)) ;) (while_statement "while( true ) {\n    if (pvVar1 == (void *)0x0) {\n      return 0;\n    }\n    __s1 = *ppcVar2;\n    if (*(bfd_boolean *)((long)ppcVar2 + 0xc) == 0) {\n      iVar3 = strcmp(__s1,option);\n    }\n    else {\n      iVar3 = is_underscoring();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),option);\n    }\n    if (iVar3 == 0) break;\n    iVar4 = iVar4 + 1;\n    pvVar1 = ppcVar2[2];\n    ppcVar2 = ppcVar2 + 5;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (pvVar1 == (void *)0x0) {\n      return 0;\n    }\n    __s1 = *ppcVar2;\n    if (*(bfd_boolean *)((long)ppcVar2 + 0xc) == 0) {\n      iVar3 = strcmp(__s1,option);\n    }\n    else {\n      iVar3 = is_underscoring();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),option);\n    }\n    if (iVar3 == 0) break;\n    iVar4 = iVar4 + 1;\n    pvVar1 = ppcVar2[2];\n    ppcVar2 = ppcVar2 + 5;\n  }" { (if_statement "if (pvVar1 == (void *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(pvVar1 == (void *)0x0)" ( (binary_expression "pvVar1 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "__s1 = *ppcVar2;" (assignment_expression "__s1 = *ppcVar2" identifier = (pointer_expression "*ppcVar2" * identifier)) ;) (if_statement "if (*(bfd_boolean *)((long)ppcVar2 + 0xc) == 0) {\n      iVar3 = strcmp(__s1,option);\n    }\n    else {\n      iVar3 = is_underscoring();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),option);\n    }" if (parenthesized_expression "(*(bfd_boolean *)((long)ppcVar2 + 0xc) == 0)" ( (binary_expression "*(bfd_boolean *)((long)ppcVar2 + 0xc) == 0" (pointer_expression "*(bfd_boolean *)((long)ppcVar2 + 0xc)" * (cast_expression "(bfd_boolean *)((long)ppcVar2 + 0xc)" ( (type_descriptor "bfd_boolean *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)ppcVar2 + 0xc)" ( (binary_expression "(long)ppcVar2 + 0xc" (cast_expression "(long)ppcVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar3 = strcmp(__s1,option);\n    }" { (expression_statement "iVar3 = strcmp(__s1,option);" (assignment_expression "iVar3 = strcmp(__s1,option)" identifier = (call_expression "strcmp(__s1,option)" identifier (argument_list "(__s1,option)" ( identifier , identifier )))) ;) }) (else_clause "else {\n      iVar3 = is_underscoring();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),option);\n    }" else (compound_statement "{\n      iVar3 = is_underscoring();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),option);\n    }" { (expression_statement "iVar3 = is_underscoring();" (assignment_expression "iVar3 = is_underscoring()" identifier = (call_expression "is_underscoring()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar3 = strcmp(__s1 + (iVar3 != 1),option);" (assignment_expression "iVar3 = strcmp(__s1 + (iVar3 != 1),option)" identifier = (call_expression "strcmp(__s1 + (iVar3 != 1),option)" identifier (argument_list "(__s1 + (iVar3 != 1),option)" ( (binary_expression "__s1 + (iVar3 != 1)" identifier + (parenthesized_expression "(iVar3 != 1)" ( (binary_expression "iVar3 != 1" identifier != number_literal) ))) , identifier )))) ;) }))) (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "pvVar1 = ppcVar2[2];" (assignment_expression "pvVar1 = ppcVar2[2]" identifier = (subscript_expression "ppcVar2[2]" identifier [ number_literal ])) ;) (expression_statement "ppcVar2 = ppcVar2 + 5;" (assignment_expression "ppcVar2 = ppcVar2 + 5" identifier = (binary_expression "ppcVar2 + 5" identifier + number_literal)) ;) })) (return_statement "return init[iVar4].inited;" return (field_expression "init[iVar4].inited" (subscript_expression "init[iVar4]" identifier [ identifier ]) . field_identifier) ;) })))
(translation_unit "undefined4 FUN_001453b0(char *param_1)\n\n{\n  char *__s1;\n  undefined *puVar1;\n  undefined **ppuVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar4 = 0;\n  FUN_00145320();\n  ppuVar2 = &PTR_s___image_base___002b3938;\n  puVar1 = PTR_DAT_002b3920;\n  while( true ) {\n    if (puVar1 == (undefined *)0x0) {\n      return 0;\n    }\n    __s1 = *ppuVar2;\n    if (*(int *)((long)ppuVar2 + 0xc) == 0) {\n      iVar3 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar3 = FUN_00145320();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);\n    }\n    if (iVar3 == 0) break;\n    iVar4 = iVar4 + 1;\n    puVar1 = ppuVar2[2];\n    ppuVar2 = ppuVar2 + 5;\n  }\n  return (&DAT_002b3940)[(long)iVar4 * 10];\n}\n\n" (function_definition "undefined4 FUN_001453b0(char *param_1)\n\n{\n  char *__s1;\n  undefined *puVar1;\n  undefined **ppuVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar4 = 0;\n  FUN_00145320();\n  ppuVar2 = &PTR_s___image_base___002b3938;\n  puVar1 = PTR_DAT_002b3920;\n  while( true ) {\n    if (puVar1 == (undefined *)0x0) {\n      return 0;\n    }\n    __s1 = *ppuVar2;\n    if (*(int *)((long)ppuVar2 + 0xc) == 0) {\n      iVar3 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar3 = FUN_00145320();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);\n    }\n    if (iVar3 == 0) break;\n    iVar4 = iVar4 + 1;\n    puVar1 = ppuVar2[2];\n    ppuVar2 = ppuVar2 + 5;\n  }\n  return (&DAT_002b3940)[(long)iVar4 * 10];\n}" type_identifier (function_declarator "FUN_001453b0(char *param_1)" identifier (parameter_list "(char *param_1)" ( (parameter_declaration "char *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  char *__s1;\n  undefined *puVar1;\n  undefined **ppuVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar4 = 0;\n  FUN_00145320();\n  ppuVar2 = &PTR_s___image_base___002b3938;\n  puVar1 = PTR_DAT_002b3920;\n  while( true ) {\n    if (puVar1 == (undefined *)0x0) {\n      return 0;\n    }\n    __s1 = *ppuVar2;\n    if (*(int *)((long)ppuVar2 + 0xc) == 0) {\n      iVar3 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar3 = FUN_00145320();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);\n    }\n    if (iVar3 == 0) break;\n    iVar4 = iVar4 + 1;\n    puVar1 = ppuVar2[2];\n    ppuVar2 = ppuVar2 + 5;\n  }\n  return (&DAT_002b3940)[(long)iVar4 * 10];\n}" { (declaration "char *__s1;" primitive_type (pointer_declarator "*__s1" * identifier) ;) (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined **ppuVar2;" type_identifier (pointer_declarator "**ppuVar2" * (pointer_declarator "*ppuVar2" * identifier)) ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "FUN_00145320();" (call_expression "FUN_00145320()" identifier (argument_list "()" ( ))) ;) (expression_statement "ppuVar2 = &PTR_s___image_base___002b3938;" (assignment_expression "ppuVar2 = &PTR_s___image_base___002b3938" identifier = (pointer_expression "&PTR_s___image_base___002b3938" & identifier)) ;) (expression_statement "puVar1 = PTR_DAT_002b3920;" (assignment_expression "puVar1 = PTR_DAT_002b3920" identifier = identifier) ;) (while_statement "while( true ) {\n    if (puVar1 == (undefined *)0x0) {\n      return 0;\n    }\n    __s1 = *ppuVar2;\n    if (*(int *)((long)ppuVar2 + 0xc) == 0) {\n      iVar3 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar3 = FUN_00145320();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);\n    }\n    if (iVar3 == 0) break;\n    iVar4 = iVar4 + 1;\n    puVar1 = ppuVar2[2];\n    ppuVar2 = ppuVar2 + 5;\n  }" while (parenthesized_expression "( true )" ( true )) (compound_statement "{\n    if (puVar1 == (undefined *)0x0) {\n      return 0;\n    }\n    __s1 = *ppuVar2;\n    if (*(int *)((long)ppuVar2 + 0xc) == 0) {\n      iVar3 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar3 = FUN_00145320();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);\n    }\n    if (iVar3 == 0) break;\n    iVar4 = iVar4 + 1;\n    puVar1 = ppuVar2[2];\n    ppuVar2 = ppuVar2 + 5;\n  }" { (if_statement "if (puVar1 == (undefined *)0x0) {\n      return 0;\n    }" if (parenthesized_expression "(puVar1 == (undefined *)0x0)" ( (binary_expression "puVar1 == (undefined *)0x0" identifier == (cast_expression "(undefined *)0x0" ( (type_descriptor "undefined *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "__s1 = *ppuVar2;" (assignment_expression "__s1 = *ppuVar2" identifier = (pointer_expression "*ppuVar2" * identifier)) ;) (if_statement "if (*(int *)((long)ppuVar2 + 0xc) == 0) {\n      iVar3 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar3 = FUN_00145320();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);\n    }" if (parenthesized_expression "(*(int *)((long)ppuVar2 + 0xc) == 0)" ( (binary_expression "*(int *)((long)ppuVar2 + 0xc) == 0" (pointer_expression "*(int *)((long)ppuVar2 + 0xc)" * (cast_expression "(int *)((long)ppuVar2 + 0xc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)ppuVar2 + 0xc)" ( (binary_expression "(long)ppuVar2 + 0xc" (cast_expression "(long)ppuVar2" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar3 = strcmp(__s1,param_1);\n    }" { (expression_statement "iVar3 = strcmp(__s1,param_1);" (assignment_expression "iVar3 = strcmp(__s1,param_1)" identifier = (call_expression "strcmp(__s1,param_1)" identifier (argument_list "(__s1,param_1)" ( identifier , identifier )))) ;) }) (else_clause "else {\n      iVar3 = FUN_00145320();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);\n    }" else (compound_statement "{\n      iVar3 = FUN_00145320();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);\n    }" { (expression_statement "iVar3 = FUN_00145320();" (assignment_expression "iVar3 = FUN_00145320()" identifier = (call_expression "FUN_00145320()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);" (assignment_expression "iVar3 = strcmp(__s1 + (iVar3 != 1),param_1)" identifier = (call_expression "strcmp(__s1 + (iVar3 != 1),param_1)" identifier (argument_list "(__s1 + (iVar3 != 1),param_1)" ( (binary_expression "__s1 + (iVar3 != 1)" identifier + (parenthesized_expression "(iVar3 != 1)" ( (binary_expression "iVar3 != 1" identifier != number_literal) ))) , identifier )))) ;) }))) (if_statement "if (iVar3 == 0) break;" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "puVar1 = ppuVar2[2];" (assignment_expression "puVar1 = ppuVar2[2]" identifier = (subscript_expression "ppuVar2[2]" identifier [ number_literal ])) ;) (expression_statement "ppuVar2 = ppuVar2 + 5;" (assignment_expression "ppuVar2 = ppuVar2 + 5" identifier = (binary_expression "ppuVar2 + 5" identifier + number_literal)) ;) })) (return_statement "return (&DAT_002b3940)[(long)iVar4 * 10];" return (subscript_expression "(&DAT_002b3940)[(long)iVar4 * 10]" (parenthesized_expression "(&DAT_002b3940)" ( (pointer_expression "&DAT_002b3940" & identifier) )) [ (binary_expression "(long)iVar4 * 10" (cast_expression "(long)iVar4" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) * number_literal) ]) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * (pointer_declarator * IDENT)) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (while_statement while (parenthesized_expression ( BOOL )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT != LIT) ))) , IDENT )))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (return_statement return (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) * LIT) ]) ;) })))
(function_definition "undefined4 FUN_001453b0(char *param_1)\n\n{\n  char *__s1;\n  undefined *puVar1;\n  undefined **ppuVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar4 = 0;\n  FUN_00145320();\n  ppuVar2 = &PTR_s___image_base___002b3938;\n  puVar1 = PTR_DAT_002b3920;\n  while( true ) {\n    if (puVar1 == (undefined *)0x0) {\n      return 0;\n    }\n    __s1 = *ppuVar2;\n    if (*(int *)((long)ppuVar2 + 0xc) == 0) {\n      iVar3 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar3 = FUN_00145320();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);\n    }\n    if (iVar3 == 0) break;\n    iVar4 = iVar4 + 1;\n    puVar1 = ppuVar2[2];\n    ppuVar2 = ppuVar2 + 5;\n  }\n  return (&DAT_002b3940)[(long)iVar4 * 10];\n}" (type_identifier "undefined4") (function_declarator "FUN_001453b0(char *param_1)" (identifier "FUN_001453b0") (parameter_list "(char *param_1)" (( "(") (parameter_declaration "char *param_1" (primitive_type "char") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  char *__s1;\n  undefined *puVar1;\n  undefined **ppuVar2;\n  int iVar3;\n  int iVar4;\n  \n  iVar4 = 0;\n  FUN_00145320();\n  ppuVar2 = &PTR_s___image_base___002b3938;\n  puVar1 = PTR_DAT_002b3920;\n  while( true ) {\n    if (puVar1 == (undefined *)0x0) {\n      return 0;\n    }\n    __s1 = *ppuVar2;\n    if (*(int *)((long)ppuVar2 + 0xc) == 0) {\n      iVar3 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar3 = FUN_00145320();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);\n    }\n    if (iVar3 == 0) break;\n    iVar4 = iVar4 + 1;\n    puVar1 = ppuVar2[2];\n    ppuVar2 = ppuVar2 + 5;\n  }\n  return (&DAT_002b3940)[(long)iVar4 * 10];\n}" ({ "{") (declaration "char *__s1;" (primitive_type "char") (pointer_declarator "*__s1" (* "*") (identifier "__s1")) (; ";")) (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined **ppuVar2;" (type_identifier "undefined") (pointer_declarator "**ppuVar2" (* "*") (pointer_declarator "*ppuVar2" (* "*") (identifier "ppuVar2"))) (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_00145320();" (call_expression "FUN_00145320()" (identifier "FUN_00145320") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "ppuVar2 = &PTR_s___image_base___002b3938;" (assignment_expression "ppuVar2 = &PTR_s___image_base___002b3938" (identifier "ppuVar2") (= "=") (pointer_expression "&PTR_s___image_base___002b3938" (& "&") (identifier "PTR_s___image_base___002b3938"))) (; ";")) (expression_statement "puVar1 = PTR_DAT_002b3920;" (assignment_expression "puVar1 = PTR_DAT_002b3920" (identifier "puVar1") (= "=") (identifier "PTR_DAT_002b3920")) (; ";")) (while_statement "while( true ) {\n    if (puVar1 == (undefined *)0x0) {\n      return 0;\n    }\n    __s1 = *ppuVar2;\n    if (*(int *)((long)ppuVar2 + 0xc) == 0) {\n      iVar3 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar3 = FUN_00145320();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);\n    }\n    if (iVar3 == 0) break;\n    iVar4 = iVar4 + 1;\n    puVar1 = ppuVar2[2];\n    ppuVar2 = ppuVar2 + 5;\n  }" (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (compound_statement "{\n    if (puVar1 == (undefined *)0x0) {\n      return 0;\n    }\n    __s1 = *ppuVar2;\n    if (*(int *)((long)ppuVar2 + 0xc) == 0) {\n      iVar3 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar3 = FUN_00145320();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);\n    }\n    if (iVar3 == 0) break;\n    iVar4 = iVar4 + 1;\n    puVar1 = ppuVar2[2];\n    ppuVar2 = ppuVar2 + 5;\n  }" ({ "{") (if_statement "if (puVar1 == (undefined *)0x0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(puVar1 == (undefined *)0x0)" (( "(") (binary_expression "puVar1 == (undefined *)0x0" (identifier "puVar1") (== "==") (cast_expression "(undefined *)0x0" (( "(") (type_descriptor "undefined *" (type_identifier "undefined") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "__s1 = *ppuVar2;" (assignment_expression "__s1 = *ppuVar2" (identifier "__s1") (= "=") (pointer_expression "*ppuVar2" (* "*") (identifier "ppuVar2"))) (; ";")) (if_statement "if (*(int *)((long)ppuVar2 + 0xc) == 0) {\n      iVar3 = strcmp(__s1,param_1);\n    }\n    else {\n      iVar3 = FUN_00145320();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);\n    }" (if "if") (parenthesized_expression "(*(int *)((long)ppuVar2 + 0xc) == 0)" (( "(") (binary_expression "*(int *)((long)ppuVar2 + 0xc) == 0" (pointer_expression "*(int *)((long)ppuVar2 + 0xc)" (* "*") (cast_expression "(int *)((long)ppuVar2 + 0xc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)ppuVar2 + 0xc)" (( "(") (binary_expression "(long)ppuVar2 + 0xc" (cast_expression "(long)ppuVar2" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "ppuVar2")) (+ "+") (number_literal "0xc")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar3 = strcmp(__s1,param_1);\n    }" ({ "{") (expression_statement "iVar3 = strcmp(__s1,param_1);" (assignment_expression "iVar3 = strcmp(__s1,param_1)" (identifier "iVar3") (= "=") (call_expression "strcmp(__s1,param_1)" (identifier "strcmp") (argument_list "(__s1,param_1)" (( "(") (identifier "__s1") (, ",") (identifier "param_1") () ")")))) (; ";")) (} "}")) (else_clause "else {\n      iVar3 = FUN_00145320();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);\n    }" (else "else") (compound_statement "{\n      iVar3 = FUN_00145320();\n      iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);\n    }" ({ "{") (expression_statement "iVar3 = FUN_00145320();" (assignment_expression "iVar3 = FUN_00145320()" (identifier "iVar3") (= "=") (call_expression "FUN_00145320()" (identifier "FUN_00145320") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);" (assignment_expression "iVar3 = strcmp(__s1 + (iVar3 != 1),param_1)" (identifier "iVar3") (= "=") (call_expression "strcmp(__s1 + (iVar3 != 1),param_1)" (identifier "strcmp") (argument_list "(__s1 + (iVar3 != 1),param_1)" (( "(") (binary_expression "__s1 + (iVar3 != 1)" (identifier "__s1") (+ "+") (parenthesized_expression "(iVar3 != 1)" (( "(") (binary_expression "iVar3 != 1" (identifier "iVar3") (!= "!=") (number_literal "1")) () ")"))) (, ",") (identifier "param_1") () ")")))) (; ";")) (} "}")))) (if_statement "if (iVar3 == 0) break;" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "puVar1 = ppuVar2[2];" (assignment_expression "puVar1 = ppuVar2[2]" (identifier "puVar1") (= "=") (subscript_expression "ppuVar2[2]" (identifier "ppuVar2") ([ "[") (number_literal "2") (] "]"))) (; ";")) (expression_statement "ppuVar2 = ppuVar2 + 5;" (assignment_expression "ppuVar2 = ppuVar2 + 5" (identifier "ppuVar2") (= "=") (binary_expression "ppuVar2 + 5" (identifier "ppuVar2") (+ "+") (number_literal "5"))) (; ";")) (} "}"))) (return_statement "return (&DAT_002b3940)[(long)iVar4 * 10];" (return "return") (subscript_expression "(&DAT_002b3940)[(long)iVar4 * 10]" (parenthesized_expression "(&DAT_002b3940)" (( "(") (pointer_expression "&DAT_002b3940" (& "&") (identifier "DAT_002b3940")) () ")")) ([ "[") (binary_expression "(long)iVar4 * 10" (cast_expression "(long)iVar4" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "iVar4")) (* "*") (number_literal "10")) (] "]")) (; ";")) (} "}")))

int function_1(char *option)

{
  char *var_4;
  void *var_2;
  char **var_7;
  int var_5;
  int var_6;
  
  var_6 = 0;
  var_1();
  var_7 = &init[0].symbol;
  var_2 = init[0].ptr;
  while( true ) {
    if (var_2 == (void *)0x0) {
      return 0;
    }
    var_4 = *var_7;
    if (*(type_1 *)((long)var_7 + 0xc) == 0) {
      var_5 = var_3(var_4,option);
    }
    else {
      var_5 = var_1();
      var_5 = var_3(var_4 + (var_5 != 1),option);
    }
    if (var_5 == 0) break;
    var_6 = var_6 + 1;
    var_2 = var_7[2];
    var_7 = var_7 + 5;
  }
  return init[var_6].inited;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (pointer_declarator declarator: (identifier)))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (while_statement condition: (parenthesized_expression (true)) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))))) (return_statement (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (binary_expression left: (cast_expression type: (type_descriptor type: (sized_type_specifier)) value: (identifier)) right: (number_literal)))))))

undefined4 MASKED(char *param_1)

{
  char *__s1;
  undefined *puVar1;
  undefined **ppuVar2;
  int iVar3;
  int iVar4;
  
  iVar4 = 0;
  FUN_00145320();
  ppuVar2 = &PTR_s___image_base___002b3938;
  puVar1 = PTR_DAT_002b3920;
  while( true ) {
    if (puVar1 == (undefined *)0x0) {
      return 0;
    }
    __s1 = *ppuVar2;
    if (*(int *)((long)ppuVar2 + 0xc) == 0) {
      iVar3 = strcmp(__s1,param_1);
    }
    else {
      iVar3 = FUN_00145320();
      iVar3 = strcmp(__s1 + (iVar3 != 1),param_1);
    }
    if (iVar3 == 0) break;
    iVar4 = iVar4 + 1;
    puVar1 = ppuVar2[2];
    ppuVar2 = ppuVar2 + 5;
  }
  return (&DAT_002b3940)[(long)iVar4 * 10];
}

