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

_Bool apply_predicate(char *pathname,stat *stat_buf,predicate *p)

{
  ulong *puVar1;
  short sVar2;
  _Bool _Var3;
  int iVar4;
  
  (p->perf).visits = (p->perf).visits + 1;
  sVar2._0_1_ = p->need_stat;
  sVar2._1_1_ = p->need_type;
  if (((sVar2 != 0) || (p->need_inum != false)) &&
     (((p->need_stat != false || ((p->need_type != false && (state.have_type == false)))) ||
      ((p->need_inum != false &&
       (((*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0 ||
         (state.have_type == false)) || ((stat_buf->st_mode & 0xf000) == 0x4000)))))))) {
    iVar4 = get_statinfo(pathname,state.rel_pathname,stat_buf);
    if (iVar4 != 0) {
      return false;
    }
    if ((p->need_type != false) && (state.have_type == false)) {
                    /* WARNING: Subroutine does not return */
      __assert_fail("state.have_type","util.c",0x146,"get_info");
    }
    if ((p->need_inum != false) &&
       (*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0)) {
                    /* WARNING: Subroutine does not return */
      __assert_fail("p->st_ino","util.c",0x14a,"get_info");
    }
  }
  _Var3 = (*p->pred_func)(pathname,stat_buf,p);
  if (!_Var3) {
    return false;
  }
  puVar1 = &(p->perf).successes;
  *puVar1 = *puVar1 + 1;
  return _Var3;
}



undefined4 FUN_000210a0(undefined4 param_1,int param_2,undefined4 *param_3)

{
  undefined4 uVar1;
  int iVar2;
  int unaff_EBP;
  
  FUN_000213c8();
  param_3[0x29] = param_3[0x29] + 1;
  if (((*(short *)((int)param_3 + 0x12) != 0) || (*(char *)(param_3 + 5) != '\0')) &&
     (((*(char *)((int)param_3 + 0x12) != '\0' ||
       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||
      ((*(char *)(param_3 + 5) != '\0' &&
       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||
         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))
       ))))) {
    iVar2 = FUN_0001fd40(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2);
    if (iVar2 != 0) {
      return 0;
    }
    if ((*(char *)((int)param_3 + 0x13) != '\0') && ((&DAT_0005ae1f)[unaff_EBP] == '\0')) {
                    /* WARNING: Subroutine does not return */
      __assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,
                    &UNK_0003f04e + unaff_EBP);
    }
    if ((*(char *)(param_3 + 5) != '\0') &&
       (*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0)) {
                    /* WARNING: Subroutine does not return */
      __assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,
                    &UNK_0003f04e + unaff_EBP);
    }
  }
  uVar1 = (*(code *)*param_3)(param_1,param_2,param_3);
  if ((char)uVar1 == '\0') {
    return 0;
  }
  param_3[0x2a] = param_3[0x2a] + 1;
  return uVar1;
}


PUSH EBP
CALL 0x000213c8
ADD EBP,0x59c42
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0xc
MOV ESI,dword ptr [ESP + 0x28]
MOV EDI,dword ptr [ESP + 0x24]
ADD dword ptr [ESI + 0xa4],0x1
CMP word ptr [ESI + 0x12],0x0
JNZ 0x000210ce
CMP byte ptr [ESI + 0x14],0x0
JZ 0x00021110
CMP byte ptr [ESI + 0x12],0x0
JNZ 0x00021140
CMP byte ptr [ESI + 0x13],0x0
JZ 0x000210e6
LEA EBX,[EBP + 0x11d8]
CMP byte ptr [EBX + 0x5],0x0
JZ 0x00021146
CMP byte ptr [ESI + 0x14],0x0
JZ 0x00021110
MOV EAX,dword ptr [EDI + 0x5c]
OR EAX,dword ptr [EDI + 0x58]
LEA EBX,[EBP + 0x11d8]
JZ 0x00021146
CMP byte ptr [EBX + 0x5],0x0
JZ 0x00021146
MOV EAX,dword ptr [EDI + 0x10]
AND EAX,0xf000
CMP EAX,0x4000
JZ 0x00021146
NOP
SUB ESP,0x4
PUSH ESI
PUSH EDI
PUSH dword ptr [ESP + 0x2c]
CALL dword ptr [ESI]
ADD ESP,0x10
TEST AL,AL
JNZ 0x00021130
ADD ESP,0xc
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
ADD dword ptr [ESI + 0xa8],0x1
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
LEA EBX,[EBP + 0x11d8]
SUB ESP,0x4
PUSH EDI
PUSH dword ptr [EBX + 0xc]
PUSH dword ptr [ESP + 0x2c]
CALL 0x0001fd40
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00021122
CMP byte ptr [ESI + 0x13],0x0
JZ 0x00021169
CMP byte ptr [EBX + 0x5],0x0
JZ 0x00021198
CMP byte ptr [ESI + 0x14],0x0
JZ 0x00021110
MOV EAX,dword ptr [EDI + 0x5c]
OR EAX,dword ptr [EDI + 0x58]
JNZ 0x00021110
LEA EAX,[EBP + 0xfffe540c]
MOV EBX,EBP
PUSH EAX
LEA EAX,[EBP + 0xfffe4798]
PUSH 0x14a
PUSH EAX
LEA EAX,[EBP + 0xfffe4807]
PUSH EAX
CALL 0x00014990
LEA EAX,[EBP + 0xfffe540c]
MOV EBX,EBP
PUSH EAX
LEA EAX,[EBP + 0xfffe4798]
PUSH 0x146
PUSH EAX
LEA EAX,[EBP + 0xfffe3789]
PUSH EAX
CALL 0x00014990
(translation_unit "undefined4 FUN_000210a0(undefined4 param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int unaff_EBP;\n  \n  FUN_000213c8();\n  param_3[0x29] = param_3[0x29] + 1;\n  if (((*(short *)((int)param_3 + 0x12) != 0) || (*(char *)(param_3 + 5) != '\0')) &&\n     (((*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       ))))) {\n    iVar2 = FUN_0001fd40(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2);\n    if (iVar2 != 0) {\n      return 0;\n    }\n    if ((*(char *)((int)param_3 + 0x13) != '\0') && ((&DAT_0005ae1f)[unaff_EBP] == '\0')) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n    if ((*(char *)(param_3 + 5) != '\0') &&\n       (*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0)) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n  }\n  uVar1 = (*(code *)*param_3)(param_1,param_2,param_3);\n  if ((char)uVar1 == '\0') {\n    return 0;\n  }\n  param_3[0x2a] = param_3[0x2a] + 1;\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_000210a0(undefined4 param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int unaff_EBP;\n  \n  FUN_000213c8();\n  param_3[0x29] = param_3[0x29] + 1;\n  if (((*(short *)((int)param_3 + 0x12) != 0) || (*(char *)(param_3 + 5) != '\0')) &&\n     (((*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       ))))) {\n    iVar2 = FUN_0001fd40(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2);\n    if (iVar2 != 0) {\n      return 0;\n    }\n    if ((*(char *)((int)param_3 + 0x13) != '\0') && ((&DAT_0005ae1f)[unaff_EBP] == '\0')) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n    if ((*(char *)(param_3 + 5) != '\0') &&\n       (*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0)) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n  }\n  uVar1 = (*(code *)*param_3)(param_1,param_2,param_3);\n  if ((char)uVar1 == '\0') {\n    return 0;\n  }\n  param_3[0x2a] = param_3[0x2a] + 1;\n  return uVar1;\n}" type_identifier (function_declarator "FUN_000210a0(undefined4 param_1,int param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int unaff_EBP;\n  \n  FUN_000213c8();\n  param_3[0x29] = param_3[0x29] + 1;\n  if (((*(short *)((int)param_3 + 0x12) != 0) || (*(char *)(param_3 + 5) != '\0')) &&\n     (((*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       ))))) {\n    iVar2 = FUN_0001fd40(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2);\n    if (iVar2 != 0) {\n      return 0;\n    }\n    if ((*(char *)((int)param_3 + 0x13) != '\0') && ((&DAT_0005ae1f)[unaff_EBP] == '\0')) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n    if ((*(char *)(param_3 + 5) != '\0') &&\n       (*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0)) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n  }\n  uVar1 = (*(code *)*param_3)(param_1,param_2,param_3);\n  if ((char)uVar1 == '\0') {\n    return 0;\n  }\n  param_3[0x2a] = param_3[0x2a] + 1;\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (expression_statement "FUN_000213c8();" (call_expression "FUN_000213c8()" identifier (argument_list "()" ( ))) ;) (expression_statement "param_3[0x29] = param_3[0x29] + 1;" (assignment_expression "param_3[0x29] = param_3[0x29] + 1" (subscript_expression "param_3[0x29]" identifier [ number_literal ]) = (binary_expression "param_3[0x29] + 1" (subscript_expression "param_3[0x29]" identifier [ number_literal ]) + number_literal)) ;) (if_statement "if (((*(short *)((int)param_3 + 0x12) != 0) || (*(char *)(param_3 + 5) != '\0')) &&\n     (((*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       ))))) {\n    iVar2 = FUN_0001fd40(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2);\n    if (iVar2 != 0) {\n      return 0;\n    }\n    if ((*(char *)((int)param_3 + 0x13) != '\0') && ((&DAT_0005ae1f)[unaff_EBP] == '\0')) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n    if ((*(char *)(param_3 + 5) != '\0') &&\n       (*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0)) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n  }" if (parenthesized_expression "(((*(short *)((int)param_3 + 0x12) != 0) || (*(char *)(param_3 + 5) != '\0')) &&\n     (((*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       )))))" ( (binary_expression "((*(short *)((int)param_3 + 0x12) != 0) || (*(char *)(param_3 + 5) != '\0')) &&\n     (((*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       ))))" (parenthesized_expression "((*(short *)((int)param_3 + 0x12) != 0) || (*(char *)(param_3 + 5) != '\0'))" ( (binary_expression "(*(short *)((int)param_3 + 0x12) != 0) || (*(char *)(param_3 + 5) != '\0')" (parenthesized_expression "(*(short *)((int)param_3 + 0x12) != 0)" ( (binary_expression "*(short *)((int)param_3 + 0x12) != 0" (pointer_expression "*(short *)((int)param_3 + 0x12)" * (cast_expression "(short *)((int)param_3 + 0x12)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 + 0x12)" ( (binary_expression "(int)param_3 + 0x12" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) )) || (parenthesized_expression "(*(char *)(param_3 + 5) != '\0')" ( (binary_expression "*(char *)(param_3 + 5) != '\0'" (pointer_expression "*(char *)(param_3 + 5)" * (cast_expression "(char *)(param_3 + 5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 5)" ( (binary_expression "param_3 + 5" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(((*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       ))))" ( (parenthesized_expression "((*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       )))" ( (binary_expression "(*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       ))" (parenthesized_expression "(*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0'))))" ( (binary_expression "*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))" (binary_expression "*(char *)((int)param_3 + 0x12) != '\0'" (pointer_expression "*(char *)((int)param_3 + 0x12)" * (cast_expression "(char *)((int)param_3 + 0x12)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 + 0x12)" ( (binary_expression "(int)param_3 + 0x12" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) || (parenthesized_expression "((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))" ( (parenthesized_expression "(*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0'))" ( (binary_expression "*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')" (binary_expression "*(char *)((int)param_3 + 0x13) != '\0'" (pointer_expression "*(char *)((int)param_3 + 0x13)" * (cast_expression "(char *)((int)param_3 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 + 0x13)" ( (binary_expression "(int)param_3 + 0x13" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "((&DAT_0005ae1f)[unaff_EBP] == '\0')" ( (binary_expression "(&DAT_0005ae1f)[unaff_EBP] == '\0'" (subscript_expression "(&DAT_0005ae1f)[unaff_EBP]" (parenthesized_expression "(&DAT_0005ae1f)" ( (pointer_expression "&DAT_0005ae1f" & identifier) )) [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) ))) )) || (parenthesized_expression "((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       ))" ( (parenthesized_expression "(*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       )" ( (binary_expression "*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))" (binary_expression "*(char *)(param_3 + 5) != '\0'" (pointer_expression "*(char *)(param_3 + 5)" * (cast_expression "(char *)(param_3 + 5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 5)" ( (binary_expression "param_3 + 5" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))" ( (parenthesized_expression "((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000))" ( (binary_expression "(*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)" (parenthesized_expression "(*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0'))" ( (binary_expression "*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')" (binary_expression "*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0" (binary_expression "*(int *)(param_2 + 0x5c) == 0" (pointer_expression "*(int *)(param_2 + 0x5c)" * (cast_expression "(int *)(param_2 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x5c)" ( (binary_expression "param_2 + 0x5c" identifier + number_literal) )))) == number_literal) && (binary_expression "*(int *)(param_2 + 0x58) == 0" (pointer_expression "*(int *)(param_2 + 0x58)" * (cast_expression "(int *)(param_2 + 0x58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x58)" ( (binary_expression "param_2 + 0x58" identifier + number_literal) )))) == number_literal)) || (parenthesized_expression "((&DAT_0005ae1f)[unaff_EBP] == '\0')" ( (binary_expression "(&DAT_0005ae1f)[unaff_EBP] == '\0'" (subscript_expression "(&DAT_0005ae1f)[unaff_EBP]" (parenthesized_expression "(&DAT_0005ae1f)" ( (pointer_expression "&DAT_0005ae1f" & identifier) )) [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) || (parenthesized_expression "((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)" ( (binary_expression "(*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000" (parenthesized_expression "(*(uint *)(param_2 + 0x10) & 0xf000)" ( (binary_expression "*(uint *)(param_2 + 0x10) & 0xf000" (pointer_expression "*(uint *)(param_2 + 0x10)" * (cast_expression "(uint *)(param_2 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) )) ))) )) ))) )) ))) )) (compound_statement "{\n    iVar2 = FUN_0001fd40(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2);\n    if (iVar2 != 0) {\n      return 0;\n    }\n    if ((*(char *)((int)param_3 + 0x13) != '\0') && ((&DAT_0005ae1f)[unaff_EBP] == '\0')) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n    if ((*(char *)(param_3 + 5) != '\0') &&\n       (*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0)) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n  }" { (expression_statement "iVar2 = FUN_0001fd40(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2);" (assignment_expression "iVar2 = FUN_0001fd40(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2)" identifier = (call_expression "FUN_0001fd40(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2)" identifier (argument_list "(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2)" ( identifier , (pointer_expression "*(undefined4 *)(&DAT_0005ae26 + unaff_EBP)" * (cast_expression "(undefined4 *)(&DAT_0005ae26 + unaff_EBP)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0005ae26 + unaff_EBP)" ( (binary_expression "&DAT_0005ae26 + unaff_EBP" (pointer_expression "&DAT_0005ae26" & identifier) + identifier) )))) , identifier )))) ;) (if_statement "if (iVar2 != 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((*(char *)((int)param_3 + 0x13) != '\0') && ((&DAT_0005ae1f)[unaff_EBP] == '\0')) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP);\n    }" if (parenthesized_expression "((*(char *)((int)param_3 + 0x13) != '\0') && ((&DAT_0005ae1f)[unaff_EBP] == '\0'))" ( (binary_expression "(*(char *)((int)param_3 + 0x13) != '\0') && ((&DAT_0005ae1f)[unaff_EBP] == '\0')" (parenthesized_expression "(*(char *)((int)param_3 + 0x13) != '\0')" ( (binary_expression "*(char *)((int)param_3 + 0x13) != '\0'" (pointer_expression "*(char *)((int)param_3 + 0x13)" * (cast_expression "(char *)((int)param_3 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 + 0x13)" ( (binary_expression "(int)param_3 + 0x13" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "((&DAT_0005ae1f)[unaff_EBP] == '\0')" ( (binary_expression "(&DAT_0005ae1f)[unaff_EBP] == '\0'" (subscript_expression "(&DAT_0005ae1f)[unaff_EBP]" (parenthesized_expression "(&DAT_0005ae1f)" ( (pointer_expression "&DAT_0005ae1f" & identifier) )) [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      __assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP);\n    }" { comment (expression_statement "__assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP);" (call_expression "__assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP)" identifier (argument_list "(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP)" ( (binary_expression "&UNK_0003d3cb + unaff_EBP" (pointer_expression "&UNK_0003d3cb" & identifier) + identifier) , (cast_expression "(char *)(unaff_EBP + 0x3e3da)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x3e3da)" ( (binary_expression "unaff_EBP + 0x3e3da" identifier + number_literal) ))) , number_literal , (binary_expression "&UNK_0003f04e + unaff_EBP" (pointer_expression "&UNK_0003f04e" & identifier) + identifier) ))) ;) })) (if_statement "if ((*(char *)(param_3 + 5) != '\0') &&\n       (*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0)) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP);\n    }" if (parenthesized_expression "((*(char *)(param_3 + 5) != '\0') &&\n       (*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0))" ( (binary_expression "(*(char *)(param_3 + 5) != '\0') &&\n       (*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0)" (parenthesized_expression "(*(char *)(param_3 + 5) != '\0')" ( (binary_expression "*(char *)(param_3 + 5) != '\0'" (pointer_expression "*(char *)(param_3 + 5)" * (cast_expression "(char *)(param_3 + 5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 5)" ( (binary_expression "param_3 + 5" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0)" ( (binary_expression "*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0" (binary_expression "*(int *)(param_2 + 0x5c) == 0" (pointer_expression "*(int *)(param_2 + 0x5c)" * (cast_expression "(int *)(param_2 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x5c)" ( (binary_expression "param_2 + 0x5c" identifier + number_literal) )))) == number_literal) && (binary_expression "*(int *)(param_2 + 0x58) == 0" (pointer_expression "*(int *)(param_2 + 0x58)" * (cast_expression "(int *)(param_2 + 0x58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x58)" ( (binary_expression "param_2 + 0x58" identifier + number_literal) )))) == number_literal)) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      __assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP);\n    }" { comment (expression_statement "__assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP);" (call_expression "__assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP)" identifier (argument_list "((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP)" ( (cast_expression "(char *)(unaff_EBP + 0x3e449)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x3e449)" ( (binary_expression "unaff_EBP + 0x3e449" identifier + number_literal) ))) , (cast_expression "(char *)(unaff_EBP + 0x3e3da)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x3e3da)" ( (binary_expression "unaff_EBP + 0x3e3da" identifier + number_literal) ))) , number_literal , (binary_expression "&UNK_0003f04e + unaff_EBP" (pointer_expression "&UNK_0003f04e" & identifier) + identifier) ))) ;) })) })) (expression_statement "uVar1 = (*(code *)*param_3)(param_1,param_2,param_3);" (assignment_expression "uVar1 = (*(code *)*param_3)(param_1,param_2,param_3)" identifier = (call_expression "(*(code *)*param_3)(param_1,param_2,param_3)" (parenthesized_expression "(*(code *)*param_3)" ( (pointer_expression "*(code *)*param_3" * (cast_expression "(code *)*param_3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) )) (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier )))) ;) (if_statement "if ((char)uVar1 == '\0') {\n    return 0;\n  }" if (parenthesized_expression "((char)uVar1 == '\0')" ( (binary_expression "(char)uVar1 == '\0'" (cast_expression "(char)uVar1" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "param_3[0x2a] = param_3[0x2a] + 1;" (assignment_expression "param_3[0x2a] = param_3[0x2a] + 1" (subscript_expression "param_3[0x2a]" identifier [ number_literal ]) = (binary_expression "param_3[0x2a] + 1" (subscript_expression "param_3[0x2a]" identifier [ number_literal ]) + number_literal)) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bp replaced with injection: get_pc_thunk.bp */\n/* WARNING: Unknown calling convention */\n\n_Bool apply_predicate(char *pathname,stat *stat_buf,predicate *p)\n\n{\n  ulong *puVar1;\n  short sVar2;\n  _Bool _Var3;\n  int iVar4;\n  \n  (p->perf).visits = (p->perf).visits + 1;\n  sVar2._0_1_ = p->need_stat;\n  sVar2._1_1_ = p->need_type;\n  if (((sVar2 != 0) || (p->need_inum != false)) &&\n     (((p->need_stat != false || ((p->need_type != false && (state.have_type == false)))) ||\n      ((p->need_inum != false &&\n       (((*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0 ||\n         (state.have_type == false)) || ((stat_buf->st_mode & 0xf000) == 0x4000)))))))) {\n    iVar4 = get_statinfo(pathname,state.rel_pathname,stat_buf);\n    if (iVar4 != 0) {\n      return false;\n    }\n    if ((p->need_type != false) && (state.have_type == false)) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("state.have_type","util.c",0x146,"get_info");\n    }\n    if ((p->need_inum != false) &&\n       (*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0)) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("p->st_ino","util.c",0x14a,"get_info");\n    }\n  }\n  _Var3 = (*p->pred_func)(pathname,stat_buf,p);\n  if (!_Var3) {\n    return false;\n  }\n  puVar1 = &(p->perf).successes;\n  *puVar1 = *puVar1 + 1;\n  return _Var3;\n}\n\n" comment comment (function_definition "_Bool apply_predicate(char *pathname,stat *stat_buf,predicate *p)\n\n{\n  ulong *puVar1;\n  short sVar2;\n  _Bool _Var3;\n  int iVar4;\n  \n  (p->perf).visits = (p->perf).visits + 1;\n  sVar2._0_1_ = p->need_stat;\n  sVar2._1_1_ = p->need_type;\n  if (((sVar2 != 0) || (p->need_inum != false)) &&\n     (((p->need_stat != false || ((p->need_type != false && (state.have_type == false)))) ||\n      ((p->need_inum != false &&\n       (((*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0 ||\n         (state.have_type == false)) || ((stat_buf->st_mode & 0xf000) == 0x4000)))))))) {\n    iVar4 = get_statinfo(pathname,state.rel_pathname,stat_buf);\n    if (iVar4 != 0) {\n      return false;\n    }\n    if ((p->need_type != false) && (state.have_type == false)) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("state.have_type","util.c",0x146,"get_info");\n    }\n    if ((p->need_inum != false) &&\n       (*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0)) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("p->st_ino","util.c",0x14a,"get_info");\n    }\n  }\n  _Var3 = (*p->pred_func)(pathname,stat_buf,p);\n  if (!_Var3) {\n    return false;\n  }\n  puVar1 = &(p->perf).successes;\n  *puVar1 = *puVar1 + 1;\n  return _Var3;\n}" type_identifier (function_declarator "apply_predicate(char *pathname,stat *stat_buf,predicate *p)" identifier (parameter_list "(char *pathname,stat *stat_buf,predicate *p)" ( (parameter_declaration "char *pathname" primitive_type (pointer_declarator "*pathname" * identifier)) , (parameter_declaration "stat *stat_buf" type_identifier (pointer_declarator "*stat_buf" * identifier)) , (parameter_declaration "predicate *p" type_identifier (pointer_declarator "*p" * identifier)) ))) (compound_statement "{\n  ulong *puVar1;\n  short sVar2;\n  _Bool _Var3;\n  int iVar4;\n  \n  (p->perf).visits = (p->perf).visits + 1;\n  sVar2._0_1_ = p->need_stat;\n  sVar2._1_1_ = p->need_type;\n  if (((sVar2 != 0) || (p->need_inum != false)) &&\n     (((p->need_stat != false || ((p->need_type != false && (state.have_type == false)))) ||\n      ((p->need_inum != false &&\n       (((*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0 ||\n         (state.have_type == false)) || ((stat_buf->st_mode & 0xf000) == 0x4000)))))))) {\n    iVar4 = get_statinfo(pathname,state.rel_pathname,stat_buf);\n    if (iVar4 != 0) {\n      return false;\n    }\n    if ((p->need_type != false) && (state.have_type == false)) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("state.have_type","util.c",0x146,"get_info");\n    }\n    if ((p->need_inum != false) &&\n       (*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0)) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("p->st_ino","util.c",0x14a,"get_info");\n    }\n  }\n  _Var3 = (*p->pred_func)(pathname,stat_buf,p);\n  if (!_Var3) {\n    return false;\n  }\n  puVar1 = &(p->perf).successes;\n  *puVar1 = *puVar1 + 1;\n  return _Var3;\n}" { (declaration "ulong *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "short sVar2;" (sized_type_specifier "short" short) identifier ;) (declaration "_Bool _Var3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (expression_statement "(p->perf).visits = (p->perf).visits + 1;" (assignment_expression "(p->perf).visits = (p->perf).visits + 1" (field_expression "(p->perf).visits" (parenthesized_expression "(p->perf)" ( (field_expression "p->perf" identifier -> field_identifier) )) . field_identifier) = (binary_expression "(p->perf).visits + 1" (field_expression "(p->perf).visits" (parenthesized_expression "(p->perf)" ( (field_expression "p->perf" identifier -> field_identifier) )) . field_identifier) + number_literal)) ;) (expression_statement "sVar2._0_1_ = p->need_stat;" (assignment_expression "sVar2._0_1_ = p->need_stat" (field_expression "sVar2._0_1_" identifier . field_identifier) = (field_expression "p->need_stat" identifier -> field_identifier)) ;) (expression_statement "sVar2._1_1_ = p->need_type;" (assignment_expression "sVar2._1_1_ = p->need_type" (field_expression "sVar2._1_1_" identifier . field_identifier) = (field_expression "p->need_type" identifier -> field_identifier)) ;) (if_statement "if (((sVar2 != 0) || (p->need_inum != false)) &&\n     (((p->need_stat != false || ((p->need_type != false && (state.have_type == false)))) ||\n      ((p->need_inum != false &&\n       (((*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0 ||\n         (state.have_type == false)) || ((stat_buf->st_mode & 0xf000) == 0x4000)))))))) {\n    iVar4 = get_statinfo(pathname,state.rel_pathname,stat_buf);\n    if (iVar4 != 0) {\n      return false;\n    }\n    if ((p->need_type != false) && (state.have_type == false)) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("state.have_type","util.c",0x146,"get_info");\n    }\n    if ((p->need_inum != false) &&\n       (*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0)) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("p->st_ino","util.c",0x14a,"get_info");\n    }\n  }" if (parenthesized_expression "(((sVar2 != 0) || (p->need_inum != false)) &&\n     (((p->need_stat != false || ((p->need_type != false && (state.have_type == false)))) ||\n      ((p->need_inum != false &&\n       (((*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0 ||\n         (state.have_type == false)) || ((stat_buf->st_mode & 0xf000) == 0x4000))))))))" ( (binary_expression "((sVar2 != 0) || (p->need_inum != false)) &&\n     (((p->need_stat != false || ((p->need_type != false && (state.have_type == false)))) ||\n      ((p->need_inum != false &&\n       (((*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0 ||\n         (state.have_type == false)) || ((stat_buf->st_mode & 0xf000) == 0x4000)))))))" (parenthesized_expression "((sVar2 != 0) || (p->need_inum != false))" ( (binary_expression "(sVar2 != 0) || (p->need_inum != false)" (parenthesized_expression "(sVar2 != 0)" ( (binary_expression "sVar2 != 0" identifier != number_literal) )) || (parenthesized_expression "(p->need_inum != false)" ( (binary_expression "p->need_inum != false" (field_expression "p->need_inum" identifier -> field_identifier) != false) ))) )) && (parenthesized_expression "(((p->need_stat != false || ((p->need_type != false && (state.have_type == false)))) ||\n      ((p->need_inum != false &&\n       (((*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0 ||\n         (state.have_type == false)) || ((stat_buf->st_mode & 0xf000) == 0x4000)))))))" ( (parenthesized_expression "((p->need_stat != false || ((p->need_type != false && (state.have_type == false)))) ||\n      ((p->need_inum != false &&\n       (((*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0 ||\n         (state.have_type == false)) || ((stat_buf->st_mode & 0xf000) == 0x4000))))))" ( (binary_expression "(p->need_stat != false || ((p->need_type != false && (state.have_type == false)))) ||\n      ((p->need_inum != false &&\n       (((*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0 ||\n         (state.have_type == false)) || ((stat_buf->st_mode & 0xf000) == 0x4000)))))" (parenthesized_expression "(p->need_stat != false || ((p->need_type != false && (state.have_type == false))))" ( (binary_expression "p->need_stat != false || ((p->need_type != false && (state.have_type == false)))" (binary_expression "p->need_stat != false" (field_expression "p->need_stat" identifier -> field_identifier) != false) || (parenthesized_expression "((p->need_type != false && (state.have_type == false)))" ( (parenthesized_expression "(p->need_type != false && (state.have_type == false))" ( (binary_expression "p->need_type != false && (state.have_type == false)" (binary_expression "p->need_type != false" (field_expression "p->need_type" identifier -> field_identifier) != false) && (parenthesized_expression "(state.have_type == false)" ( (binary_expression "state.have_type == false" (field_expression "state.have_type" identifier . field_identifier) == false) ))) )) ))) )) || (parenthesized_expression "((p->need_inum != false &&\n       (((*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0 ||\n         (state.have_type == false)) || ((stat_buf->st_mode & 0xf000) == 0x4000)))))" ( (parenthesized_expression "(p->need_inum != false &&\n       (((*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0 ||\n         (state.have_type == false)) || ((stat_buf->st_mode & 0xf000) == 0x4000))))" ( (binary_expression "p->need_inum != false &&\n       (((*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0 ||\n         (state.have_type == false)) || ((stat_buf->st_mode & 0xf000) == 0x4000)))" (binary_expression "p->need_inum != false" (field_expression "p->need_inum" identifier -> field_identifier) != false) && (parenthesized_expression "(((*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0 ||\n         (state.have_type == false)) || ((stat_buf->st_mode & 0xf000) == 0x4000)))" ( (parenthesized_expression "((*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0 ||\n         (state.have_type == false)) || ((stat_buf->st_mode & 0xf000) == 0x4000))" ( (binary_expression "(*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0 ||\n         (state.have_type == false)) || ((stat_buf->st_mode & 0xf000) == 0x4000)" (parenthesized_expression "(*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0 ||\n         (state.have_type == false))" ( (binary_expression "*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0 ||\n         (state.have_type == false)" (binary_expression "*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0" (binary_expression "*(int *)((int)&stat_buf->st_ino + 4) == 0" (pointer_expression "*(int *)((int)&stat_buf->st_ino + 4)" * (cast_expression "(int *)((int)&stat_buf->st_ino + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&stat_buf->st_ino + 4)" ( (binary_expression "(int)&stat_buf->st_ino + 4" (cast_expression "(int)&stat_buf->st_ino" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&stat_buf->st_ino" & (field_expression "stat_buf->st_ino" identifier -> field_identifier))) + number_literal) )))) == number_literal) && (binary_expression "(int)stat_buf->st_ino == 0" (cast_expression "(int)stat_buf->st_ino" ( (type_descriptor "int" primitive_type) ) (field_expression "stat_buf->st_ino" identifier -> field_identifier)) == number_literal)) || (parenthesized_expression "(state.have_type == false)" ( (binary_expression "state.have_type == false" (field_expression "state.have_type" identifier . field_identifier) == false) ))) )) || (parenthesized_expression "((stat_buf->st_mode & 0xf000) == 0x4000)" ( (binary_expression "(stat_buf->st_mode & 0xf000) == 0x4000" (parenthesized_expression "(stat_buf->st_mode & 0xf000)" ( (binary_expression "stat_buf->st_mode & 0xf000" (field_expression "stat_buf->st_mode" identifier -> field_identifier) & number_literal) )) == number_literal) ))) )) ))) )) ))) )) ))) )) (compound_statement "{\n    iVar4 = get_statinfo(pathname,state.rel_pathname,stat_buf);\n    if (iVar4 != 0) {\n      return false;\n    }\n    if ((p->need_type != false) && (state.have_type == false)) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("state.have_type","util.c",0x146,"get_info");\n    }\n    if ((p->need_inum != false) &&\n       (*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0)) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("p->st_ino","util.c",0x14a,"get_info");\n    }\n  }" { (expression_statement "iVar4 = get_statinfo(pathname,state.rel_pathname,stat_buf);" (assignment_expression "iVar4 = get_statinfo(pathname,state.rel_pathname,stat_buf)" identifier = (call_expression "get_statinfo(pathname,state.rel_pathname,stat_buf)" identifier (argument_list "(pathname,state.rel_pathname,stat_buf)" ( identifier , (field_expression "state.rel_pathname" identifier . field_identifier) , identifier )))) ;) (if_statement "if (iVar4 != 0) {\n      return false;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      return false;\n    }" { (return_statement "return false;" return false ;) })) (if_statement "if ((p->need_type != false) && (state.have_type == false)) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("state.have_type","util.c",0x146,"get_info");\n    }" if (parenthesized_expression "((p->need_type != false) && (state.have_type == false))" ( (binary_expression "(p->need_type != false) && (state.have_type == false)" (parenthesized_expression "(p->need_type != false)" ( (binary_expression "p->need_type != false" (field_expression "p->need_type" identifier -> field_identifier) != false) )) && (parenthesized_expression "(state.have_type == false)" ( (binary_expression "state.have_type == false" (field_expression "state.have_type" identifier . field_identifier) == false) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("state.have_type","util.c",0x146,"get_info");\n    }" { comment (expression_statement "__assert_fail("state.have_type","util.c",0x146,"get_info");" (call_expression "__assert_fail("state.have_type","util.c",0x146,"get_info")" identifier (argument_list "("state.have_type","util.c",0x146,"get_info")" ( (string_literal ""state.have_type"" " string_content ") , (string_literal ""util.c"" " string_content ") , number_literal , (string_literal ""get_info"" " string_content ") ))) ;) })) (if_statement "if ((p->need_inum != false) &&\n       (*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0)) {\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("p->st_ino","util.c",0x14a,"get_info");\n    }" if (parenthesized_expression "((p->need_inum != false) &&\n       (*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0))" ( (binary_expression "(p->need_inum != false) &&\n       (*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0)" (parenthesized_expression "(p->need_inum != false)" ( (binary_expression "p->need_inum != false" (field_expression "p->need_inum" identifier -> field_identifier) != false) )) && (parenthesized_expression "(*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0)" ( (binary_expression "*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0" (binary_expression "*(int *)((int)&stat_buf->st_ino + 4) == 0" (pointer_expression "*(int *)((int)&stat_buf->st_ino + 4)" * (cast_expression "(int *)((int)&stat_buf->st_ino + 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&stat_buf->st_ino + 4)" ( (binary_expression "(int)&stat_buf->st_ino + 4" (cast_expression "(int)&stat_buf->st_ino" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&stat_buf->st_ino" & (field_expression "stat_buf->st_ino" identifier -> field_identifier))) + number_literal) )))) == number_literal) && (binary_expression "(int)stat_buf->st_ino == 0" (cast_expression "(int)stat_buf->st_ino" ( (type_descriptor "int" primitive_type) ) (field_expression "stat_buf->st_ino" identifier -> field_identifier)) == number_literal)) ))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n      __assert_fail("p->st_ino","util.c",0x14a,"get_info");\n    }" { comment (expression_statement "__assert_fail("p->st_ino","util.c",0x14a,"get_info");" (call_expression "__assert_fail("p->st_ino","util.c",0x14a,"get_info")" identifier (argument_list "("p->st_ino","util.c",0x14a,"get_info")" ( (string_literal ""p->st_ino"" " string_content ") , (string_literal ""util.c"" " string_content ") , number_literal , (string_literal ""get_info"" " string_content ") ))) ;) })) })) (expression_statement "_Var3 = (*p->pred_func)(pathname,stat_buf,p);" (assignment_expression "_Var3 = (*p->pred_func)(pathname,stat_buf,p)" identifier = (call_expression "(*p->pred_func)(pathname,stat_buf,p)" (parenthesized_expression "(*p->pred_func)" ( (pointer_expression "*p->pred_func" * (field_expression "p->pred_func" identifier -> field_identifier)) )) (argument_list "(pathname,stat_buf,p)" ( identifier , identifier , identifier )))) ;) (if_statement "if (!_Var3) {\n    return false;\n  }" if (parenthesized_expression "(!_Var3)" ( (unary_expression "!_Var3" ! identifier) )) (compound_statement "{\n    return false;\n  }" { (return_statement "return false;" return false ;) })) (expression_statement "puVar1 = &(p->perf).successes;" (assignment_expression "puVar1 = &(p->perf).successes" identifier = (pointer_expression "&(p->perf).successes" & (field_expression "(p->perf).successes" (parenthesized_expression "(p->perf)" ( (field_expression "p->perf" identifier -> field_identifier) )) . field_identifier))) ;) (expression_statement "*puVar1 = *puVar1 + 1;" (assignment_expression "*puVar1 = *puVar1 + 1" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 + 1" (pointer_expression "*puVar1" * identifier) + number_literal)) ;) (return_statement "return _Var3;" return identifier ;) })))
(translation_unit "undefined4 FUN_000210a0(undefined4 param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int unaff_EBP;\n  \n  FUN_000213c8();\n  param_3[0x29] = param_3[0x29] + 1;\n  if (((*(short *)((int)param_3 + 0x12) != 0) || (*(char *)(param_3 + 5) != '\0')) &&\n     (((*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       ))))) {\n    iVar2 = FUN_0001fd40(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2);\n    if (iVar2 != 0) {\n      return 0;\n    }\n    if ((*(char *)((int)param_3 + 0x13) != '\0') && ((&DAT_0005ae1f)[unaff_EBP] == '\0')) {\n                    \n      __assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n    if ((*(char *)(param_3 + 5) != '\0') &&\n       (*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0)) {\n                    \n      __assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n  }\n  uVar1 = (*(code *)*param_3)(param_1,param_2,param_3);\n  if ((char)uVar1 == '\0') {\n    return 0;\n  }\n  param_3[0x2a] = param_3[0x2a] + 1;\n  return uVar1;\n}\n\n" (function_definition "undefined4 FUN_000210a0(undefined4 param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int unaff_EBP;\n  \n  FUN_000213c8();\n  param_3[0x29] = param_3[0x29] + 1;\n  if (((*(short *)((int)param_3 + 0x12) != 0) || (*(char *)(param_3 + 5) != '\0')) &&\n     (((*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       ))))) {\n    iVar2 = FUN_0001fd40(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2);\n    if (iVar2 != 0) {\n      return 0;\n    }\n    if ((*(char *)((int)param_3 + 0x13) != '\0') && ((&DAT_0005ae1f)[unaff_EBP] == '\0')) {\n                    \n      __assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n    if ((*(char *)(param_3 + 5) != '\0') &&\n       (*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0)) {\n                    \n      __assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n  }\n  uVar1 = (*(code *)*param_3)(param_1,param_2,param_3);\n  if ((char)uVar1 == '\0') {\n    return 0;\n  }\n  param_3[0x2a] = param_3[0x2a] + 1;\n  return uVar1;\n}" type_identifier (function_declarator "FUN_000210a0(undefined4 param_1,int param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 param_1,int param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int unaff_EBP;\n  \n  FUN_000213c8();\n  param_3[0x29] = param_3[0x29] + 1;\n  if (((*(short *)((int)param_3 + 0x12) != 0) || (*(char *)(param_3 + 5) != '\0')) &&\n     (((*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       ))))) {\n    iVar2 = FUN_0001fd40(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2);\n    if (iVar2 != 0) {\n      return 0;\n    }\n    if ((*(char *)((int)param_3 + 0x13) != '\0') && ((&DAT_0005ae1f)[unaff_EBP] == '\0')) {\n                    \n      __assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n    if ((*(char *)(param_3 + 5) != '\0') &&\n       (*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0)) {\n                    \n      __assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n  }\n  uVar1 = (*(code *)*param_3)(param_1,param_2,param_3);\n  if ((char)uVar1 == '\0') {\n    return 0;\n  }\n  param_3[0x2a] = param_3[0x2a] + 1;\n  return uVar1;\n}" { (declaration "undefined4 uVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int unaff_EBP;" primitive_type identifier ;) (expression_statement "FUN_000213c8();" (call_expression "FUN_000213c8()" identifier (argument_list "()" ( ))) ;) (expression_statement "param_3[0x29] = param_3[0x29] + 1;" (assignment_expression "param_3[0x29] = param_3[0x29] + 1" (subscript_expression "param_3[0x29]" identifier [ number_literal ]) = (binary_expression "param_3[0x29] + 1" (subscript_expression "param_3[0x29]" identifier [ number_literal ]) + number_literal)) ;) (if_statement "if (((*(short *)((int)param_3 + 0x12) != 0) || (*(char *)(param_3 + 5) != '\0')) &&\n     (((*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       ))))) {\n    iVar2 = FUN_0001fd40(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2);\n    if (iVar2 != 0) {\n      return 0;\n    }\n    if ((*(char *)((int)param_3 + 0x13) != '\0') && ((&DAT_0005ae1f)[unaff_EBP] == '\0')) {\n                    \n      __assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n    if ((*(char *)(param_3 + 5) != '\0') &&\n       (*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0)) {\n                    \n      __assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n  }" if (parenthesized_expression "(((*(short *)((int)param_3 + 0x12) != 0) || (*(char *)(param_3 + 5) != '\0')) &&\n     (((*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       )))))" ( (binary_expression "((*(short *)((int)param_3 + 0x12) != 0) || (*(char *)(param_3 + 5) != '\0')) &&\n     (((*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       ))))" (parenthesized_expression "((*(short *)((int)param_3 + 0x12) != 0) || (*(char *)(param_3 + 5) != '\0'))" ( (binary_expression "(*(short *)((int)param_3 + 0x12) != 0) || (*(char *)(param_3 + 5) != '\0')" (parenthesized_expression "(*(short *)((int)param_3 + 0x12) != 0)" ( (binary_expression "*(short *)((int)param_3 + 0x12) != 0" (pointer_expression "*(short *)((int)param_3 + 0x12)" * (cast_expression "(short *)((int)param_3 + 0x12)" ( (type_descriptor "short *" (sized_type_specifier "short" short) (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 + 0x12)" ( (binary_expression "(int)param_3 + 0x12" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != number_literal) )) || (parenthesized_expression "(*(char *)(param_3 + 5) != '\0')" ( (binary_expression "*(char *)(param_3 + 5) != '\0'" (pointer_expression "*(char *)(param_3 + 5)" * (cast_expression "(char *)(param_3 + 5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 5)" ( (binary_expression "param_3 + 5" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(((*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       ))))" ( (parenthesized_expression "((*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       )))" ( (binary_expression "(*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       ))" (parenthesized_expression "(*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0'))))" ( (binary_expression "*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))" (binary_expression "*(char *)((int)param_3 + 0x12) != '\0'" (pointer_expression "*(char *)((int)param_3 + 0x12)" * (cast_expression "(char *)((int)param_3 + 0x12)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 + 0x12)" ( (binary_expression "(int)param_3 + 0x12" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) || (parenthesized_expression "((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))" ( (parenthesized_expression "(*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0'))" ( (binary_expression "*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')" (binary_expression "*(char *)((int)param_3 + 0x13) != '\0'" (pointer_expression "*(char *)((int)param_3 + 0x13)" * (cast_expression "(char *)((int)param_3 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 + 0x13)" ( (binary_expression "(int)param_3 + 0x13" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "((&DAT_0005ae1f)[unaff_EBP] == '\0')" ( (binary_expression "(&DAT_0005ae1f)[unaff_EBP] == '\0'" (subscript_expression "(&DAT_0005ae1f)[unaff_EBP]" (parenthesized_expression "(&DAT_0005ae1f)" ( (pointer_expression "&DAT_0005ae1f" & identifier) )) [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) ))) )) || (parenthesized_expression "((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       ))" ( (parenthesized_expression "(*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       )" ( (binary_expression "*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))" (binary_expression "*(char *)(param_3 + 5) != '\0'" (pointer_expression "*(char *)(param_3 + 5)" * (cast_expression "(char *)(param_3 + 5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 5)" ( (binary_expression "param_3 + 5" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))" ( (parenthesized_expression "((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000))" ( (binary_expression "(*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)" (parenthesized_expression "(*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0'))" ( (binary_expression "*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')" (binary_expression "*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0" (binary_expression "*(int *)(param_2 + 0x5c) == 0" (pointer_expression "*(int *)(param_2 + 0x5c)" * (cast_expression "(int *)(param_2 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x5c)" ( (binary_expression "param_2 + 0x5c" identifier + number_literal) )))) == number_literal) && (binary_expression "*(int *)(param_2 + 0x58) == 0" (pointer_expression "*(int *)(param_2 + 0x58)" * (cast_expression "(int *)(param_2 + 0x58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x58)" ( (binary_expression "param_2 + 0x58" identifier + number_literal) )))) == number_literal)) || (parenthesized_expression "((&DAT_0005ae1f)[unaff_EBP] == '\0')" ( (binary_expression "(&DAT_0005ae1f)[unaff_EBP] == '\0'" (subscript_expression "(&DAT_0005ae1f)[unaff_EBP]" (parenthesized_expression "(&DAT_0005ae1f)" ( (pointer_expression "&DAT_0005ae1f" & identifier) )) [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) || (parenthesized_expression "((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)" ( (binary_expression "(*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000" (parenthesized_expression "(*(uint *)(param_2 + 0x10) & 0xf000)" ( (binary_expression "*(uint *)(param_2 + 0x10) & 0xf000" (pointer_expression "*(uint *)(param_2 + 0x10)" * (cast_expression "(uint *)(param_2 + 0x10)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x10)" ( (binary_expression "param_2 + 0x10" identifier + number_literal) )))) & number_literal) )) == number_literal) ))) )) ))) )) ))) )) ))) )) (compound_statement "{\n    iVar2 = FUN_0001fd40(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2);\n    if (iVar2 != 0) {\n      return 0;\n    }\n    if ((*(char *)((int)param_3 + 0x13) != '\0') && ((&DAT_0005ae1f)[unaff_EBP] == '\0')) {\n                    \n      __assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n    if ((*(char *)(param_3 + 5) != '\0') &&\n       (*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0)) {\n                    \n      __assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n  }" { (expression_statement "iVar2 = FUN_0001fd40(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2);" (assignment_expression "iVar2 = FUN_0001fd40(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2)" identifier = (call_expression "FUN_0001fd40(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2)" identifier (argument_list "(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2)" ( identifier , (pointer_expression "*(undefined4 *)(&DAT_0005ae26 + unaff_EBP)" * (cast_expression "(undefined4 *)(&DAT_0005ae26 + unaff_EBP)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&DAT_0005ae26 + unaff_EBP)" ( (binary_expression "&DAT_0005ae26 + unaff_EBP" (pointer_expression "&DAT_0005ae26" & identifier) + identifier) )))) , identifier )))) ;) (if_statement "if (iVar2 != 0) {\n      return 0;\n    }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n      return 0;\n    }" { (return_statement "return 0;" return number_literal ;) })) (if_statement "if ((*(char *)((int)param_3 + 0x13) != '\0') && ((&DAT_0005ae1f)[unaff_EBP] == '\0')) {\n                    \n      __assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP);\n    }" if (parenthesized_expression "((*(char *)((int)param_3 + 0x13) != '\0') && ((&DAT_0005ae1f)[unaff_EBP] == '\0'))" ( (binary_expression "(*(char *)((int)param_3 + 0x13) != '\0') && ((&DAT_0005ae1f)[unaff_EBP] == '\0')" (parenthesized_expression "(*(char *)((int)param_3 + 0x13) != '\0')" ( (binary_expression "*(char *)((int)param_3 + 0x13) != '\0'" (pointer_expression "*(char *)((int)param_3 + 0x13)" * (cast_expression "(char *)((int)param_3 + 0x13)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)param_3 + 0x13)" ( (binary_expression "(int)param_3 + 0x13" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "((&DAT_0005ae1f)[unaff_EBP] == '\0')" ( (binary_expression "(&DAT_0005ae1f)[unaff_EBP] == '\0'" (subscript_expression "(&DAT_0005ae1f)[unaff_EBP]" (parenthesized_expression "(&DAT_0005ae1f)" ( (pointer_expression "&DAT_0005ae1f" & identifier) )) [ identifier ]) == (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n                    \n      __assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP);\n    }" { (expression_statement "__assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP);" (call_expression "__assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP)" identifier (argument_list "(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP)" ( (binary_expression "&UNK_0003d3cb + unaff_EBP" (pointer_expression "&UNK_0003d3cb" & identifier) + identifier) , (cast_expression "(char *)(unaff_EBP + 0x3e3da)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x3e3da)" ( (binary_expression "unaff_EBP + 0x3e3da" identifier + number_literal) ))) , number_literal , (binary_expression "&UNK_0003f04e + unaff_EBP" (pointer_expression "&UNK_0003f04e" & identifier) + identifier) ))) ;) })) (if_statement "if ((*(char *)(param_3 + 5) != '\0') &&\n       (*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0)) {\n                    \n      __assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP);\n    }" if (parenthesized_expression "((*(char *)(param_3 + 5) != '\0') &&\n       (*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0))" ( (binary_expression "(*(char *)(param_3 + 5) != '\0') &&\n       (*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0)" (parenthesized_expression "(*(char *)(param_3 + 5) != '\0')" ( (binary_expression "*(char *)(param_3 + 5) != '\0'" (pointer_expression "*(char *)(param_3 + 5)" * (cast_expression "(char *)(param_3 + 5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_3 + 5)" ( (binary_expression "param_3 + 5" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0)" ( (binary_expression "*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0" (binary_expression "*(int *)(param_2 + 0x5c) == 0" (pointer_expression "*(int *)(param_2 + 0x5c)" * (cast_expression "(int *)(param_2 + 0x5c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x5c)" ( (binary_expression "param_2 + 0x5c" identifier + number_literal) )))) == number_literal) && (binary_expression "*(int *)(param_2 + 0x58) == 0" (pointer_expression "*(int *)(param_2 + 0x58)" * (cast_expression "(int *)(param_2 + 0x58)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x58)" ( (binary_expression "param_2 + 0x58" identifier + number_literal) )))) == number_literal)) ))) )) (compound_statement "{\n                    \n      __assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP);\n    }" { (expression_statement "__assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP);" (call_expression "__assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP)" identifier (argument_list "((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP)" ( (cast_expression "(char *)(unaff_EBP + 0x3e449)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x3e449)" ( (binary_expression "unaff_EBP + 0x3e449" identifier + number_literal) ))) , (cast_expression "(char *)(unaff_EBP + 0x3e3da)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EBP + 0x3e3da)" ( (binary_expression "unaff_EBP + 0x3e3da" identifier + number_literal) ))) , number_literal , (binary_expression "&UNK_0003f04e + unaff_EBP" (pointer_expression "&UNK_0003f04e" & identifier) + identifier) ))) ;) })) })) (expression_statement "uVar1 = (*(code *)*param_3)(param_1,param_2,param_3);" (assignment_expression "uVar1 = (*(code *)*param_3)(param_1,param_2,param_3)" identifier = (call_expression "(*(code *)*param_3)(param_1,param_2,param_3)" (parenthesized_expression "(*(code *)*param_3)" ( (pointer_expression "*(code *)*param_3" * (cast_expression "(code *)*param_3" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*param_3" * identifier))) )) (argument_list "(param_1,param_2,param_3)" ( identifier , identifier , identifier )))) ;) (if_statement "if ((char)uVar1 == '\0') {\n    return 0;\n  }" if (parenthesized_expression "((char)uVar1 == '\0')" ( (binary_expression "(char)uVar1 == '\0'" (cast_expression "(char)uVar1" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n    return 0;\n  }" { (return_statement "return 0;" return number_literal ;) })) (expression_statement "param_3[0x2a] = param_3[0x2a] + 1;" (assignment_expression "param_3[0x2a] = param_3[0x2a] + 1" (subscript_expression "param_3[0x2a]" identifier [ number_literal ]) = (binary_expression "param_3[0x2a] + 1" (subscript_expression "param_3[0x2a]" identifier [ number_literal ]) + number_literal)) ;) (return_statement "return uVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor (sized_type_specifier short) (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) != LIT) )) || (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) != (char_literal ' escape_sequence ')) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) != (char_literal ' escape_sequence ')) && (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) == (char_literal ' escape_sequence ')) ))) )) ))) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) && (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT)) || (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) == (char_literal ' escape_sequence ')) ))) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) == LIT) ))) )) ))) )) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + IDENT) )))) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (return_statement return LIT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) )))) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (subscript_expression (parenthesized_expression ( (pointer_expression & IDENT) )) [ IDENT ]) == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression (pointer_expression & IDENT) + IDENT) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , LIT , (binary_expression (pointer_expression & IDENT) + IDENT) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) && (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT)) ))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))) , LIT , (binary_expression (pointer_expression & IDENT) + IDENT) ))) ;) })) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) )) (argument_list ( IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) == (char_literal ' escape_sequence ')) )) (compound_statement { (return_statement return LIT ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression (subscript_expression IDENT [ LIT ]) + LIT)) ;) (return_statement return IDENT ;) })))
(function_definition "undefined4 FUN_000210a0(undefined4 param_1,int param_2,undefined4 *param_3)\n\n{\n  undefined4 uVar1;\n  int iVar2;\n  int unaff_EBP;\n  \n  FUN_000213c8();\n  param_3[0x29] = param_3[0x29] + 1;\n  if (((*(short *)((int)param_3 + 0x12) != 0) || (*(char *)(param_3 + 5) != '\0')) &&\n     (((*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       ))))) {\n    iVar2 = FUN_0001fd40(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2);\n    if (iVar2 != 0) {\n      return 0;\n    }\n    if ((*(char *)((int)param_3 + 0x13) != '\0') && ((&DAT_0005ae1f)[unaff_EBP] == '\0')) {\n                    \n      __assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n    if ((*(char *)(param_3 + 5) != '\0') &&\n       (*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0)) {\n                    \n      __assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n  }\n  uVar1 = (*(code *)*param_3)(param_1,param_2,param_3);\n  if ((char)uVar1 == '\0') {\n    return 0;\n  }\n  param_3[0x2a] = param_3[0x2a] + 1;\n  return uVar1;\n}" (type_identifier "undefined4") (function_declarator "FUN_000210a0(undefined4 param_1,int param_2,undefined4 *param_3)" (identifier "FUN_000210a0") (parameter_list "(undefined4 param_1,int param_2,undefined4 *param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  undefined4 uVar1;\n  int iVar2;\n  int unaff_EBP;\n  \n  FUN_000213c8();\n  param_3[0x29] = param_3[0x29] + 1;\n  if (((*(short *)((int)param_3 + 0x12) != 0) || (*(char *)(param_3 + 5) != '\0')) &&\n     (((*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       ))))) {\n    iVar2 = FUN_0001fd40(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2);\n    if (iVar2 != 0) {\n      return 0;\n    }\n    if ((*(char *)((int)param_3 + 0x13) != '\0') && ((&DAT_0005ae1f)[unaff_EBP] == '\0')) {\n                    \n      __assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n    if ((*(char *)(param_3 + 5) != '\0') &&\n       (*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0)) {\n                    \n      __assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n  }\n  uVar1 = (*(code *)*param_3)(param_1,param_2,param_3);\n  if ((char)uVar1 == '\0') {\n    return 0;\n  }\n  param_3[0x2a] = param_3[0x2a] + 1;\n  return uVar1;\n}" ({ "{") (declaration "undefined4 uVar1;" (type_identifier "undefined4") (identifier "uVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int unaff_EBP;" (primitive_type "int") (identifier "unaff_EBP") (; ";")) (expression_statement "FUN_000213c8();" (call_expression "FUN_000213c8()" (identifier "FUN_000213c8") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "param_3[0x29] = param_3[0x29] + 1;" (assignment_expression "param_3[0x29] = param_3[0x29] + 1" (subscript_expression "param_3[0x29]" (identifier "param_3") ([ "[") (number_literal "0x29") (] "]")) (= "=") (binary_expression "param_3[0x29] + 1" (subscript_expression "param_3[0x29]" (identifier "param_3") ([ "[") (number_literal "0x29") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (((*(short *)((int)param_3 + 0x12) != 0) || (*(char *)(param_3 + 5) != '\0')) &&\n     (((*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       ))))) {\n    iVar2 = FUN_0001fd40(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2);\n    if (iVar2 != 0) {\n      return 0;\n    }\n    if ((*(char *)((int)param_3 + 0x13) != '\0') && ((&DAT_0005ae1f)[unaff_EBP] == '\0')) {\n                    \n      __assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n    if ((*(char *)(param_3 + 5) != '\0') &&\n       (*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0)) {\n                    \n      __assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n  }" (if "if") (parenthesized_expression "(((*(short *)((int)param_3 + 0x12) != 0) || (*(char *)(param_3 + 5) != '\0')) &&\n     (((*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       )))))" (( "(") (binary_expression "((*(short *)((int)param_3 + 0x12) != 0) || (*(char *)(param_3 + 5) != '\0')) &&\n     (((*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       ))))" (parenthesized_expression "((*(short *)((int)param_3 + 0x12) != 0) || (*(char *)(param_3 + 5) != '\0'))" (( "(") (binary_expression "(*(short *)((int)param_3 + 0x12) != 0) || (*(char *)(param_3 + 5) != '\0')" (parenthesized_expression "(*(short *)((int)param_3 + 0x12) != 0)" (( "(") (binary_expression "*(short *)((int)param_3 + 0x12) != 0" (pointer_expression "*(short *)((int)param_3 + 0x12)" (* "*") (cast_expression "(short *)((int)param_3 + 0x12)" (( "(") (type_descriptor "short *" (sized_type_specifier "short" (short "short")) (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_3 + 0x12)" (( "(") (binary_expression "(int)param_3 + 0x12" (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (+ "+") (number_literal "0x12")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(*(char *)(param_3 + 5) != '\0')" (( "(") (binary_expression "*(char *)(param_3 + 5) != '\0'" (pointer_expression "*(char *)(param_3 + 5)" (* "*") (cast_expression "(char *)(param_3 + 5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 5)" (( "(") (binary_expression "param_3 + 5" (identifier "param_3") (+ "+") (number_literal "5")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(((*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       ))))" (( "(") (parenthesized_expression "((*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       )))" (( "(") (binary_expression "(*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||\n      ((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       ))" (parenthesized_expression "(*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0'))))" (( "(") (binary_expression "*(char *)((int)param_3 + 0x12) != '\0' ||\n       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))" (binary_expression "*(char *)((int)param_3 + 0x12) != '\0'" (pointer_expression "*(char *)((int)param_3 + 0x12)" (* "*") (cast_expression "(char *)((int)param_3 + 0x12)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_3 + 0x12)" (( "(") (binary_expression "(int)param_3 + 0x12" (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (+ "+") (number_literal "0x12")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (|| "||") (parenthesized_expression "((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))" (( "(") (parenthesized_expression "(*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0'))" (( "(") (binary_expression "*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')" (binary_expression "*(char *)((int)param_3 + 0x13) != '\0'" (pointer_expression "*(char *)((int)param_3 + 0x13)" (* "*") (cast_expression "(char *)((int)param_3 + 0x13)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_3 + 0x13)" (( "(") (binary_expression "(int)param_3 + 0x13" (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (+ "+") (number_literal "0x13")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (&& "&&") (parenthesized_expression "((&DAT_0005ae1f)[unaff_EBP] == '\0')" (( "(") (binary_expression "(&DAT_0005ae1f)[unaff_EBP] == '\0'" (subscript_expression "(&DAT_0005ae1f)[unaff_EBP]" (parenthesized_expression "(&DAT_0005ae1f)" (( "(") (pointer_expression "&DAT_0005ae1f" (& "&") (identifier "DAT_0005ae1f")) () ")")) ([ "[") (identifier "unaff_EBP") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) () ")"))) () ")")) (|| "||") (parenthesized_expression "((*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       ))" (( "(") (parenthesized_expression "(*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))\n       )" (( "(") (binary_expression "*(char *)(param_3 + 5) != '\0' &&\n       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))" (binary_expression "*(char *)(param_3 + 5) != '\0'" (pointer_expression "*(char *)(param_3 + 5)" (* "*") (cast_expression "(char *)(param_3 + 5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 5)" (( "(") (binary_expression "param_3 + 5" (identifier "param_3") (+ "+") (number_literal "5")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (&& "&&") (parenthesized_expression "(((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))" (( "(") (parenthesized_expression "((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000))" (( "(") (binary_expression "(*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)" (parenthesized_expression "(*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0'))" (( "(") (binary_expression "*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||\n         ((&DAT_0005ae1f)[unaff_EBP] == '\0')" (binary_expression "*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0" (binary_expression "*(int *)(param_2 + 0x5c) == 0" (pointer_expression "*(int *)(param_2 + 0x5c)" (* "*") (cast_expression "(int *)(param_2 + 0x5c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x5c)" (( "(") (binary_expression "param_2 + 0x5c" (identifier "param_2") (+ "+") (number_literal "0x5c")) () ")")))) (== "==") (number_literal "0")) (&& "&&") (binary_expression "*(int *)(param_2 + 0x58) == 0" (pointer_expression "*(int *)(param_2 + 0x58)" (* "*") (cast_expression "(int *)(param_2 + 0x58)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x58)" (( "(") (binary_expression "param_2 + 0x58" (identifier "param_2") (+ "+") (number_literal "0x58")) () ")")))) (== "==") (number_literal "0"))) (|| "||") (parenthesized_expression "((&DAT_0005ae1f)[unaff_EBP] == '\0')" (( "(") (binary_expression "(&DAT_0005ae1f)[unaff_EBP] == '\0'" (subscript_expression "(&DAT_0005ae1f)[unaff_EBP]" (parenthesized_expression "(&DAT_0005ae1f)" (( "(") (pointer_expression "&DAT_0005ae1f" (& "&") (identifier "DAT_0005ae1f")) () ")")) ([ "[") (identifier "unaff_EBP") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)" (( "(") (binary_expression "(*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000" (parenthesized_expression "(*(uint *)(param_2 + 0x10) & 0xf000)" (( "(") (binary_expression "*(uint *)(param_2 + 0x10) & 0xf000" (pointer_expression "*(uint *)(param_2 + 0x10)" (* "*") (cast_expression "(uint *)(param_2 + 0x10)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x10)" (( "(") (binary_expression "param_2 + 0x10" (identifier "param_2") (+ "+") (number_literal "0x10")) () ")")))) (& "&") (number_literal "0xf000")) () ")")) (== "==") (number_literal "0x4000")) () ")"))) () ")")) () ")"))) () ")")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n    iVar2 = FUN_0001fd40(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2);\n    if (iVar2 != 0) {\n      return 0;\n    }\n    if ((*(char *)((int)param_3 + 0x13) != '\0') && ((&DAT_0005ae1f)[unaff_EBP] == '\0')) {\n                    \n      __assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n    if ((*(char *)(param_3 + 5) != '\0') &&\n       (*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0)) {\n                    \n      __assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP);\n    }\n  }" ({ "{") (expression_statement "iVar2 = FUN_0001fd40(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2);" (assignment_expression "iVar2 = FUN_0001fd40(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2)" (identifier "iVar2") (= "=") (call_expression "FUN_0001fd40(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2)" (identifier "FUN_0001fd40") (argument_list "(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2)" (( "(") (identifier "param_1") (, ",") (pointer_expression "*(undefined4 *)(&DAT_0005ae26 + unaff_EBP)" (* "*") (cast_expression "(undefined4 *)(&DAT_0005ae26 + unaff_EBP)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&DAT_0005ae26 + unaff_EBP)" (( "(") (binary_expression "&DAT_0005ae26 + unaff_EBP" (pointer_expression "&DAT_0005ae26" (& "&") (identifier "DAT_0005ae26")) (+ "+") (identifier "unaff_EBP")) () ")")))) (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar2 != 0) {\n      return 0;\n    }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      return 0;\n    }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (if_statement "if ((*(char *)((int)param_3 + 0x13) != '\0') && ((&DAT_0005ae1f)[unaff_EBP] == '\0')) {\n                    \n      __assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP);\n    }" (if "if") (parenthesized_expression "((*(char *)((int)param_3 + 0x13) != '\0') && ((&DAT_0005ae1f)[unaff_EBP] == '\0'))" (( "(") (binary_expression "(*(char *)((int)param_3 + 0x13) != '\0') && ((&DAT_0005ae1f)[unaff_EBP] == '\0')" (parenthesized_expression "(*(char *)((int)param_3 + 0x13) != '\0')" (( "(") (binary_expression "*(char *)((int)param_3 + 0x13) != '\0'" (pointer_expression "*(char *)((int)param_3 + 0x13)" (* "*") (cast_expression "(char *)((int)param_3 + 0x13)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)param_3 + 0x13)" (( "(") (binary_expression "(int)param_3 + 0x13" (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (+ "+") (number_literal "0x13")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "((&DAT_0005ae1f)[unaff_EBP] == '\0')" (( "(") (binary_expression "(&DAT_0005ae1f)[unaff_EBP] == '\0'" (subscript_expression "(&DAT_0005ae1f)[unaff_EBP]" (parenthesized_expression "(&DAT_0005ae1f)" (( "(") (pointer_expression "&DAT_0005ae1f" (& "&") (identifier "DAT_0005ae1f")) () ")")) ([ "[") (identifier "unaff_EBP") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n                    \n      __assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP);\n    }" ({ "{") (expression_statement "__assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP);" (call_expression "__assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP)" (identifier "__assert_fail") (argument_list "(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,\n                    &UNK_0003f04e + unaff_EBP)" (( "(") (binary_expression "&UNK_0003d3cb + unaff_EBP" (pointer_expression "&UNK_0003d3cb" (& "&") (identifier "UNK_0003d3cb")) (+ "+") (identifier "unaff_EBP")) (, ",") (cast_expression "(char *)(unaff_EBP + 0x3e3da)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x3e3da)" (( "(") (binary_expression "unaff_EBP + 0x3e3da" (identifier "unaff_EBP") (+ "+") (number_literal "0x3e3da")) () ")"))) (, ",") (number_literal "0x146") (, ",") (binary_expression "&UNK_0003f04e + unaff_EBP" (pointer_expression "&UNK_0003f04e" (& "&") (identifier "UNK_0003f04e")) (+ "+") (identifier "unaff_EBP")) () ")"))) (; ";")) (} "}"))) (if_statement "if ((*(char *)(param_3 + 5) != '\0') &&\n       (*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0)) {\n                    \n      __assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP);\n    }" (if "if") (parenthesized_expression "((*(char *)(param_3 + 5) != '\0') &&\n       (*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0))" (( "(") (binary_expression "(*(char *)(param_3 + 5) != '\0') &&\n       (*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0)" (parenthesized_expression "(*(char *)(param_3 + 5) != '\0')" (( "(") (binary_expression "*(char *)(param_3 + 5) != '\0'" (pointer_expression "*(char *)(param_3 + 5)" (* "*") (cast_expression "(char *)(param_3 + 5)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_3 + 5)" (( "(") (binary_expression "param_3 + 5" (identifier "param_3") (+ "+") (number_literal "5")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0)" (( "(") (binary_expression "*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0" (binary_expression "*(int *)(param_2 + 0x5c) == 0" (pointer_expression "*(int *)(param_2 + 0x5c)" (* "*") (cast_expression "(int *)(param_2 + 0x5c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x5c)" (( "(") (binary_expression "param_2 + 0x5c" (identifier "param_2") (+ "+") (number_literal "0x5c")) () ")")))) (== "==") (number_literal "0")) (&& "&&") (binary_expression "*(int *)(param_2 + 0x58) == 0" (pointer_expression "*(int *)(param_2 + 0x58)" (* "*") (cast_expression "(int *)(param_2 + 0x58)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x58)" (( "(") (binary_expression "param_2 + 0x58" (identifier "param_2") (+ "+") (number_literal "0x58")) () ")")))) (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n                    \n      __assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP);\n    }" ({ "{") (expression_statement "__assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP);" (call_expression "__assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP)" (identifier "__assert_fail") (argument_list "((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,\n                    &UNK_0003f04e + unaff_EBP)" (( "(") (cast_expression "(char *)(unaff_EBP + 0x3e449)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x3e449)" (( "(") (binary_expression "unaff_EBP + 0x3e449" (identifier "unaff_EBP") (+ "+") (number_literal "0x3e449")) () ")"))) (, ",") (cast_expression "(char *)(unaff_EBP + 0x3e3da)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EBP + 0x3e3da)" (( "(") (binary_expression "unaff_EBP + 0x3e3da" (identifier "unaff_EBP") (+ "+") (number_literal "0x3e3da")) () ")"))) (, ",") (number_literal "0x14a") (, ",") (binary_expression "&UNK_0003f04e + unaff_EBP" (pointer_expression "&UNK_0003f04e" (& "&") (identifier "UNK_0003f04e")) (+ "+") (identifier "unaff_EBP")) () ")"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "uVar1 = (*(code *)*param_3)(param_1,param_2,param_3);" (assignment_expression "uVar1 = (*(code *)*param_3)(param_1,param_2,param_3)" (identifier "uVar1") (= "=") (call_expression "(*(code *)*param_3)(param_1,param_2,param_3)" (parenthesized_expression "(*(code *)*param_3)" (( "(") (pointer_expression "*(code *)*param_3" (* "*") (cast_expression "(code *)*param_3" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*param_3" (* "*") (identifier "param_3")))) () ")")) (argument_list "(param_1,param_2,param_3)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if ((char)uVar1 == '\0') {\n    return 0;\n  }" (if "if") (parenthesized_expression "((char)uVar1 == '\0')" (( "(") (binary_expression "(char)uVar1 == '\0'" (cast_expression "(char)uVar1" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar1")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n    return 0;\n  }" ({ "{") (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (expression_statement "param_3[0x2a] = param_3[0x2a] + 1;" (assignment_expression "param_3[0x2a] = param_3[0x2a] + 1" (subscript_expression "param_3[0x2a]" (identifier "param_3") ([ "[") (number_literal "0x2a") (] "]")) (= "=") (binary_expression "param_3[0x2a] + 1" (subscript_expression "param_3[0x2a]" (identifier "param_3") ([ "[") (number_literal "0x2a") (] "]")) (+ "+") (number_literal "1"))) (; ";")) (return_statement "return uVar1;" (return "return") (identifier "uVar1") (; ";")) (} "}")))

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

type_1 function_1(char *pathname,type_2 *stat_buf,type_3 *p)

{
  type_4 *puVar1;
  short var_1;
  type_1 _Var3;
  int var_3;
  
  (p->perf).visits = (p->perf).visits + 1;
  var_1._0_1_ = p->need_stat;
  var_1._1_1_ = p->need_type;
  if (((var_1 != 0) || (p->need_inum != false)) &&
     (((p->need_stat != false || ((p->need_type != false && (state.have_type == false)))) ||
      ((p->need_inum != false &&
       (((*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0 ||
         (state.have_type == false)) || ((stat_buf->st_mode & 0xf000) == 0x4000)))))))) {
    var_3 = var_2(pathname,state.rel_pathname,stat_buf);
    if (var_3 != 0) {
      return false;
    }
    if ((p->need_type != false) && (state.have_type == false)) {
                    /* WARNING: Subroutine does not return */
      var_4("state.have_type","util.c",0x146,"get_info");
    }
    if ((p->need_inum != false) &&
       (*(int *)((int)&stat_buf->st_ino + 4) == 0 && (int)stat_buf->st_ino == 0)) {
                    /* WARNING: Subroutine does not return */
      var_4("p->st_ino","util.c",0x14a,"get_info");
    }
  }
  _Var3 = (*p->pred_func)(pathname,stat_buf,p);
  if (!_Var3) {
    return false;
  }
  puVar1 = &(p->perf).successes;
  *puVar1 = *puVar1 + 1;
  return _Var3;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (sized_type_specifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (number_literal))) right: (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: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (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: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (char_literal (escape_sequence))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (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: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (char_literal (escape_sequence))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (identifier)) right: (char_literal (escape_sequence))))))))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (identifier)) right: (char_literal (escape_sequence)))))) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal)))))))))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (return_statement (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (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: (primitive_type)) value: (identifier)) right: (number_literal))))) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (parenthesized_expression (pointer_expression argument: (identifier))) index: (identifier)) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier)) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (number_literal) (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (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: (identifier) right: (number_literal))))) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (number_literal) (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) arguments: (argument_list (identifier) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (escape_sequence)))) consequence: (compound_statement (return_statement (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) (return_statement (identifier)))))

undefined4 MASKED(undefined4 param_1,int param_2,undefined4 *param_3)

{
  undefined4 uVar1;
  int iVar2;
  int unaff_EBP;
  
  FUN_000213c8();
  param_3[0x29] = param_3[0x29] + 1;
  if (((*(short *)((int)param_3 + 0x12) != 0) || (*(char *)(param_3 + 5) != '\0')) &&
     (((*(char *)((int)param_3 + 0x12) != '\0' ||
       ((*(char *)((int)param_3 + 0x13) != '\0' && ((&DAT_0005ae1f)[unaff_EBP] == '\0')))) ||
      ((*(char *)(param_3 + 5) != '\0' &&
       (((*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0 ||
         ((&DAT_0005ae1f)[unaff_EBP] == '\0')) || ((*(uint *)(param_2 + 0x10) & 0xf000) == 0x4000)))
       ))))) {
    iVar2 = FUN_0001fd40(param_1,*(undefined4 *)(&DAT_0005ae26 + unaff_EBP),param_2);
    if (iVar2 != 0) {
      return 0;
    }
    if ((*(char *)((int)param_3 + 0x13) != '\0') && ((&DAT_0005ae1f)[unaff_EBP] == '\0')) {
                    /* WARNING: Subroutine does not return */
      __assert_fail(&UNK_0003d3cb + unaff_EBP,(char *)(unaff_EBP + 0x3e3da),0x146,
                    &UNK_0003f04e + unaff_EBP);
    }
    if ((*(char *)(param_3 + 5) != '\0') &&
       (*(int *)(param_2 + 0x5c) == 0 && *(int *)(param_2 + 0x58) == 0)) {
                    /* WARNING: Subroutine does not return */
      __assert_fail((char *)(unaff_EBP + 0x3e449),(char *)(unaff_EBP + 0x3e3da),0x14a,
                    &UNK_0003f04e + unaff_EBP);
    }
  }
  uVar1 = (*(code *)*param_3)(param_1,param_2,param_3);
  if ((char)uVar1 == '\0') {
    return 0;
  }
  param_3[0x2a] = param_3[0x2a] + 1;
  return uVar1;
}

