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

void setsignal(int signo)

{
  sigaction act;
  
}



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

void __regparm3 FUN_00053137(int param_1)

{
  char *pcVar1;
  int iVar2;
  char cVar3;
  int iVar4;
  char cVar5;
  int in_GS_OFFSET;
  _union_1051 local_ac;
  sigset_t local_a8;
  undefined4 local_28;
  int local_20;
  
  iVar2 = DAT_000d1708;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  pcVar1 = *(char **)(DAT_000d1708 + 0xc0 + param_1 * 4);
  if (pcVar1 == (char *)0x0) {
    if (*(int *)(DAT_000d1708 + 8) != 0) {
switchD_0005327e_caseD_0:
      cVar5 = '\x01';
      goto LAB_00053189;
    }
    switch(param_1) {
    default:
      goto switchD_0005327e_caseD_0;
    case 2:
      cVar5 = '\x02';
      if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {
        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;
        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);
        goto joined_r0x000532a6;
      }
      goto LAB_00053190;
    case 3:
      cVar5 = '\x03';
      cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);
      goto joined_r0x000532b8;
    case 0xf:
      goto switchD_0005327e_caseD_f;
    case 0x14:
    case 0x16:
      cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;
      goto LAB_00053189;
    }
  }
  cVar5 = ~-(*pcVar1 == '\0') + 3;
LAB_00053189:
  if (param_1 == 0x11) {
    cVar5 = '\x02';
  }
LAB_00053190:
  cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);
joined_r0x000532b8:
  if (cVar3 != '\0') goto LAB_0005323b;
LAB_0005319f:
  iVar4 = sigaction(param_1,(sigaction *)0x0,(sigaction *)&local_ac);
  if (iVar4 != 0) goto LAB_00053220;
  if (local_ac.sa_handler == (__sighandler_t)0x1) {
    if (((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)) || (cVar5 == '\x03'))
    goto LAB_00053220;
  }
  else if ((local_ac.sa_handler == (__sighandler_t)0x0) && (cVar5 == '\x01')) {
    *(undefined1 *)(iVar2 + param_1 + 0x3b) = 1;
    goto LAB_00053220;
  }
  goto LAB_000531e9;
switchD_0005327e_caseD_f:
  cVar5 = (-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU) + 3;
  cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);
joined_r0x000532a6:
  if (cVar3 == '\0') goto LAB_0005319f;
LAB_0005323b:
  if ((cVar3 == '\x04') || (cVar5 == cVar3)) goto LAB_00053220;
LAB_000531e9:
  *(char *)(iVar2 + param_1 + 0x3b) = cVar5;
  if (cVar5 == '\x02') {
    local_ac.sa_handler = (__sighandler_t)&LAB_00052d9a;
  }
  else {
    local_ac._1_3_ = 0;
    local_ac._0_1_ = cVar5 == '\x03';
  }
  local_28 = 0;
  sigfillset(&local_a8);
  FUN_0001ada5();
LAB_00053220:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_00017e10();
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
SUB ESP,0xac
CALL 0x00017640
ADD EBX,0x7d8da
MOV EDI,EAX
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0x9c],EAX
XOR EAX,EAX
LEA EAX,[EBX + 0xce8]
MOV ESI,dword ptr [EAX]
MOV EAX,dword ptr [ESI + EDI*0x4 + 0xc0]
TEST EAX,EAX
JZ 0x0005317c
CMP byte ptr [EAX],0x1
SBB ECX,ECX
NOT ECX
ADD ECX,0x3
JMP 0x00053189
MOV ECX,dword ptr [ESI + 0x8]
TEST ECX,ECX
JZ 0x0005326c
MOV CL,0x1
CMP EDI,0x11
JNZ 0x00053190
MOV CL,0x2
LEA EDX,[EDI + -0x1]
MOV AL,byte ptr [ESI + EDX*0x1 + 0x3c]
TEST AL,AL
JNZ 0x0005323b
MOV byte ptr [ESP + 0xf],CL
MOV dword ptr [ESP + 0x8],EDX
PUSH EAX
LEA EBP,[ESP + 0x14]
PUSH EBP
PUSH 0x0
PUSH EDI
CALL 0x00017380
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00053220
MOV EAX,dword ptr [ESP + 0x10]
CMP EAX,0x1
MOV EDX,dword ptr [ESP + 0x8]
MOV CL,byte ptr [ESP + 0xf]
JNZ 0x0005325c
CMP byte ptr [ESI + 0x31],0x0
JZ 0x00053220
LEA EAX,[EDI + -0x14]
CMP EAX,0x2
JA 0x00053220
MOV AL,0x3
LEA EBP,[ESP + 0x10]
CMP CL,AL
JZ 0x00053220
MOV byte ptr [ESI + EDX*0x1 + 0x3c],CL
CMP CL,0x2
JNZ 0x0005324e
LEA EAX,[EBX + 0xfff8237a]
MOV dword ptr [ESP + 0x10],EAX
MOV dword ptr [ESP + 0x94],0x0
SUB ESP,0xc
LEA EAX,[ESP + 0x20]
PUSH EAX
CALL 0x00016ce0
MOV EDX,EBP
MOV EAX,EDI
CALL 0x0001ada5
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0x9c]
XOR EAX,dword ptr GS:[0x14]
JNZ 0x00053249
ADD ESP,0xac
POP EBX
POP ESI
POP EDI
POP EBP
RET
CMP AL,0x4
JZ 0x00053220
LEA EBP,[ESP + 0x10]
CMP CL,AL
JNZ 0x000531e9
JMP 0x00053220
CALL 0x00017e10
XOR EAX,EAX
CMP CL,0x3
SETZ AL
MOV dword ptr [ESP + 0x10],EAX
JMP 0x000531fc
TEST EAX,EAX
JNZ 0x000531e9
CMP CL,0x1
JNZ 0x000531e9
MOV byte ptr [ESI + EDX*0x1 + 0x3c],0x1
JMP 0x00053220
CMP EDI,0x16
JA 0x00053187
MOV EAX,dword ptr [EBX + EDI*0x4 + 0xfffe96ac]
ADD EAX,EBX
JMP EAX
CMP byte ptr [ESI + 0x31],0x1
SBB ECX,ECX
AND ECX,0xfffffffe
ADD ECX,0x3
JMP 0x00053189
CMP byte ptr [ESI + 0x30],0x1
SBB ECX,ECX
AND ECX,0xfffffffe
ADD ECX,0x3
LEA EDX,[EDI + -0x1]
MOV AL,byte ptr [ESI + EDX*0x1 + 0x3c]
TEST AL,AL
JNZ 0x0005323b
JMP 0x0005319f
MOV CL,0x3
LEA EDX,[EDI + -0x1]
MOV AL,byte ptr [ESI + EDX*0x1 + 0x3c]
TEST AL,AL
JNZ 0x0005323b
JMP 0x0005319f
MOV CL,0x2
CMP byte ptr [ESI + 0x30],0x0
JNZ 0x00053190
MOV EDX,dword ptr [ESI + 0x10]
TEST EDX,EDX
JNZ 0x00053190
CMP byte ptr [ESI + 0x33],0x1
SBB ECX,ECX
NOT ECX
ADD ECX,0x2
LEA EDX,[EDI + -0x1]
MOV AL,byte ptr [ESI + EDX*0x1 + 0x3c]
TEST AL,AL
JNZ 0x0005323b
JMP 0x0005319f
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid __regparm3 FUN_00053137(int param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  int iVar4;\n  char cVar5;\n  int in_GS_OFFSET;\n  _union_1051 local_ac;\n  sigset_t local_a8;\n  undefined4 local_28;\n  int local_20;\n  \n  iVar2 = DAT_000d1708;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pcVar1 = *(char **)(DAT_000d1708 + 0xc0 + param_1 * 4);\n  if (pcVar1 == (char *)0x0) {\n    if (*(int *)(DAT_000d1708 + 8) != 0) {\nswitchD_0005327e_caseD_0:\n      cVar5 = '\x01';\n      goto LAB_00053189;\n    }\n    switch(param_1) {\n    default:\n      goto switchD_0005327e_caseD_0;\n    case 2:\n      cVar5 = '\x02';\n      if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }\n      goto LAB_00053190;\n    case 3:\n      cVar5 = '\x03';\n      cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n      goto joined_r0x000532b8;\n    case 0xf:\n      goto switchD_0005327e_caseD_f;\n    case 0x14:\n    case 0x16:\n      cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;\n      goto LAB_00053189;\n    }\n  }\n  cVar5 = ~-(*pcVar1 == '\0') + 3;\nLAB_00053189:\n  if (param_1 == 0x11) {\n    cVar5 = '\x02';\n  }\nLAB_00053190:\n  cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\njoined_r0x000532b8:\n  if (cVar3 != '\0') goto LAB_0005323b;\nLAB_0005319f:\n  iVar4 = sigaction(param_1,(sigaction *)0x0,(sigaction *)&local_ac);\n  if (iVar4 != 0) goto LAB_00053220;\n  if (local_ac.sa_handler == (__sighandler_t)0x1) {\n    if (((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)) || (cVar5 == '\x03'))\n    goto LAB_00053220;\n  }\n  else if ((local_ac.sa_handler == (__sighandler_t)0x0) && (cVar5 == '\x01')) {\n    *(undefined1 *)(iVar2 + param_1 + 0x3b) = 1;\n    goto LAB_00053220;\n  }\n  goto LAB_000531e9;\nswitchD_0005327e_caseD_f:\n  cVar5 = (-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU) + 3;\n  cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\njoined_r0x000532a6:\n  if (cVar3 == '\0') goto LAB_0005319f;\nLAB_0005323b:\n  if ((cVar3 == '\x04') || (cVar5 == cVar3)) goto LAB_00053220;\nLAB_000531e9:\n  *(char *)(iVar2 + param_1 + 0x3b) = cVar5;\n  if (cVar5 == '\x02') {\n    local_ac.sa_handler = (__sighandler_t)&LAB_00052d9a;\n  }\n  else {\n    local_ac._1_3_ = 0;\n    local_ac._0_1_ = cVar5 == '\x03';\n  }\n  local_28 = 0;\n  sigfillset(&local_a8);\n  FUN_0001ada5();\nLAB_00053220:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00017e10();\n  }\n  return;\n}\n\n" comment (function_definition "void __regparm3 FUN_00053137(int param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  int iVar4;\n  char cVar5;\n  int in_GS_OFFSET;\n  _union_1051 local_ac;\n  sigset_t local_a8;\n  undefined4 local_28;\n  int local_20;\n  \n  iVar2 = DAT_000d1708;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pcVar1 = *(char **)(DAT_000d1708 + 0xc0 + param_1 * 4);\n  if (pcVar1 == (char *)0x0) {\n    if (*(int *)(DAT_000d1708 + 8) != 0) {\nswitchD_0005327e_caseD_0:\n      cVar5 = '\x01';\n      goto LAB_00053189;\n    }\n    switch(param_1) {\n    default:\n      goto switchD_0005327e_caseD_0;\n    case 2:\n      cVar5 = '\x02';\n      if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }\n      goto LAB_00053190;\n    case 3:\n      cVar5 = '\x03';\n      cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n      goto joined_r0x000532b8;\n    case 0xf:\n      goto switchD_0005327e_caseD_f;\n    case 0x14:\n    case 0x16:\n      cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;\n      goto LAB_00053189;\n    }\n  }\n  cVar5 = ~-(*pcVar1 == '\0') + 3;\nLAB_00053189:\n  if (param_1 == 0x11) {\n    cVar5 = '\x02';\n  }\nLAB_00053190:\n  cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\njoined_r0x000532b8:\n  if (cVar3 != '\0') goto LAB_0005323b;\nLAB_0005319f:\n  iVar4 = sigaction(param_1,(sigaction *)0x0,(sigaction *)&local_ac);\n  if (iVar4 != 0) goto LAB_00053220;\n  if (local_ac.sa_handler == (__sighandler_t)0x1) {\n    if (((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)) || (cVar5 == '\x03'))\n    goto LAB_00053220;\n  }\n  else if ((local_ac.sa_handler == (__sighandler_t)0x0) && (cVar5 == '\x01')) {\n    *(undefined1 *)(iVar2 + param_1 + 0x3b) = 1;\n    goto LAB_00053220;\n  }\n  goto LAB_000531e9;\nswitchD_0005327e_caseD_f:\n  cVar5 = (-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU) + 3;\n  cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\njoined_r0x000532a6:\n  if (cVar3 == '\0') goto LAB_0005319f;\nLAB_0005323b:\n  if ((cVar3 == '\x04') || (cVar5 == cVar3)) goto LAB_00053220;\nLAB_000531e9:\n  *(char *)(iVar2 + param_1 + 0x3b) = cVar5;\n  if (cVar5 == '\x02') {\n    local_ac.sa_handler = (__sighandler_t)&LAB_00052d9a;\n  }\n  else {\n    local_ac._1_3_ = 0;\n    local_ac._0_1_ = cVar5 == '\x03';\n  }\n  local_28 = 0;\n  sigfillset(&local_a8);\n  FUN_0001ada5();\nLAB_00053220:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00017e10();\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00053137(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  int iVar4;\n  char cVar5;\n  int in_GS_OFFSET;\n  _union_1051 local_ac;\n  sigset_t local_a8;\n  undefined4 local_28;\n  int local_20;\n  \n  iVar2 = DAT_000d1708;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pcVar1 = *(char **)(DAT_000d1708 + 0xc0 + param_1 * 4);\n  if (pcVar1 == (char *)0x0) {\n    if (*(int *)(DAT_000d1708 + 8) != 0) {\nswitchD_0005327e_caseD_0:\n      cVar5 = '\x01';\n      goto LAB_00053189;\n    }\n    switch(param_1) {\n    default:\n      goto switchD_0005327e_caseD_0;\n    case 2:\n      cVar5 = '\x02';\n      if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }\n      goto LAB_00053190;\n    case 3:\n      cVar5 = '\x03';\n      cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n      goto joined_r0x000532b8;\n    case 0xf:\n      goto switchD_0005327e_caseD_f;\n    case 0x14:\n    case 0x16:\n      cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;\n      goto LAB_00053189;\n    }\n  }\n  cVar5 = ~-(*pcVar1 == '\0') + 3;\nLAB_00053189:\n  if (param_1 == 0x11) {\n    cVar5 = '\x02';\n  }\nLAB_00053190:\n  cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\njoined_r0x000532b8:\n  if (cVar3 != '\0') goto LAB_0005323b;\nLAB_0005319f:\n  iVar4 = sigaction(param_1,(sigaction *)0x0,(sigaction *)&local_ac);\n  if (iVar4 != 0) goto LAB_00053220;\n  if (local_ac.sa_handler == (__sighandler_t)0x1) {\n    if (((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)) || (cVar5 == '\x03'))\n    goto LAB_00053220;\n  }\n  else if ((local_ac.sa_handler == (__sighandler_t)0x0) && (cVar5 == '\x01')) {\n    *(undefined1 *)(iVar2 + param_1 + 0x3b) = 1;\n    goto LAB_00053220;\n  }\n  goto LAB_000531e9;\nswitchD_0005327e_caseD_f:\n  cVar5 = (-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU) + 3;\n  cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\njoined_r0x000532a6:\n  if (cVar3 == '\0') goto LAB_0005319f;\nLAB_0005323b:\n  if ((cVar3 == '\x04') || (cVar5 == cVar3)) goto LAB_00053220;\nLAB_000531e9:\n  *(char *)(iVar2 + param_1 + 0x3b) = cVar5;\n  if (cVar5 == '\x02') {\n    local_ac.sa_handler = (__sighandler_t)&LAB_00052d9a;\n  }\n  else {\n    local_ac._1_3_ = 0;\n    local_ac._0_1_ = cVar5 == '\x03';\n  }\n  local_28 = 0;\n  sigfillset(&local_a8);\n  FUN_0001ada5();\nLAB_00053220:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00017e10();\n  }\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char cVar5;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "_union_1051 local_ac;" type_identifier identifier ;) (declaration "sigset_t local_a8;" type_identifier identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "iVar2 = DAT_000d1708;" (assignment_expression "iVar2 = DAT_000d1708" identifier = identifier) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "pcVar1 = *(char **)(DAT_000d1708 + 0xc0 + param_1 * 4);" (assignment_expression "pcVar1 = *(char **)(DAT_000d1708 + 0xc0 + param_1 * 4)" identifier = (pointer_expression "*(char **)(DAT_000d1708 + 0xc0 + param_1 * 4)" * (cast_expression "(char **)(DAT_000d1708 + 0xc0 + param_1 * 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_000d1708 + 0xc0 + param_1 * 4)" ( (binary_expression "DAT_000d1708 + 0xc0 + param_1 * 4" (binary_expression "DAT_000d1708 + 0xc0" identifier + number_literal) + (binary_expression "param_1 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (pcVar1 == (char *)0x0) {\n    if (*(int *)(DAT_000d1708 + 8) != 0) {\nswitchD_0005327e_caseD_0:\n      cVar5 = '\x01';\n      goto LAB_00053189;\n    }\n    switch(param_1) {\n    default:\n      goto switchD_0005327e_caseD_0;\n    case 2:\n      cVar5 = '\x02';\n      if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }\n      goto LAB_00053190;\n    case 3:\n      cVar5 = '\x03';\n      cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n      goto joined_r0x000532b8;\n    case 0xf:\n      goto switchD_0005327e_caseD_f;\n    case 0x14:\n    case 0x16:\n      cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;\n      goto LAB_00053189;\n    }\n  }" if (parenthesized_expression "(pcVar1 == (char *)0x0)" ( (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*(int *)(DAT_000d1708 + 8) != 0) {\nswitchD_0005327e_caseD_0:\n      cVar5 = '\x01';\n      goto LAB_00053189;\n    }\n    switch(param_1) {\n    default:\n      goto switchD_0005327e_caseD_0;\n    case 2:\n      cVar5 = '\x02';\n      if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }\n      goto LAB_00053190;\n    case 3:\n      cVar5 = '\x03';\n      cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n      goto joined_r0x000532b8;\n    case 0xf:\n      goto switchD_0005327e_caseD_f;\n    case 0x14:\n    case 0x16:\n      cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;\n      goto LAB_00053189;\n    }\n  }" { (if_statement "if (*(int *)(DAT_000d1708 + 8) != 0) {\nswitchD_0005327e_caseD_0:\n      cVar5 = '\x01';\n      goto LAB_00053189;\n    }" if (parenthesized_expression "(*(int *)(DAT_000d1708 + 8) != 0)" ( (binary_expression "*(int *)(DAT_000d1708 + 8) != 0" (pointer_expression "*(int *)(DAT_000d1708 + 8)" * (cast_expression "(int *)(DAT_000d1708 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + 8)" ( (binary_expression "DAT_000d1708 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\nswitchD_0005327e_caseD_0:\n      cVar5 = '\x01';\n      goto LAB_00053189;\n    }" { (labeled_statement "switchD_0005327e_caseD_0:\n      cVar5 = '\x01';" statement_identifier : (expression_statement "cVar5 = '\x01';" (assignment_expression "cVar5 = '\x01'" identifier = (char_literal "'\x01'" ' escape_sequence ')) ;)) (goto_statement "goto LAB_00053189;" goto statement_identifier ;) })) (switch_statement "switch(param_1) {\n    default:\n      goto switchD_0005327e_caseD_0;\n    case 2:\n      cVar5 = '\x02';\n      if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }\n      goto LAB_00053190;\n    case 3:\n      cVar5 = '\x03';\n      cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n      goto joined_r0x000532b8;\n    case 0xf:\n      goto switchD_0005327e_caseD_f;\n    case 0x14:\n    case 0x16:\n      cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;\n      goto LAB_00053189;\n    }" switch (parenthesized_expression "(param_1)" ( identifier )) (compound_statement "{\n    default:\n      goto switchD_0005327e_caseD_0;\n    case 2:\n      cVar5 = '\x02';\n      if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }\n      goto LAB_00053190;\n    case 3:\n      cVar5 = '\x03';\n      cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n      goto joined_r0x000532b8;\n    case 0xf:\n      goto switchD_0005327e_caseD_f;\n    case 0x14:\n    case 0x16:\n      cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;\n      goto LAB_00053189;\n    }" { (case_statement "default:\n      goto switchD_0005327e_caseD_0;" default : (goto_statement "goto switchD_0005327e_caseD_0;" goto statement_identifier ;)) (case_statement "case 2:\n      cVar5 = '\x02';\n      if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }\n      goto LAB_00053190;" case number_literal : (expression_statement "cVar5 = '\x02';" (assignment_expression "cVar5 = '\x02'" identifier = (char_literal "'\x02'" ' escape_sequence ')) ;) (if_statement "if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }" if (parenthesized_expression "((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0))" ( (binary_expression "(*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)" (parenthesized_expression "(*(char *)(DAT_000d1708 + 0x30) == '\0')" ( (binary_expression "*(char *)(DAT_000d1708 + 0x30) == '\0'" (pointer_expression "*(char *)(DAT_000d1708 + 0x30)" * (cast_expression "(char *)(DAT_000d1708 + 0x30)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + 0x30)" ( (binary_expression "DAT_000d1708 + 0x30" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(int *)(DAT_000d1708 + 0x10) == 0)" ( (binary_expression "*(int *)(DAT_000d1708 + 0x10) == 0" (pointer_expression "*(int *)(DAT_000d1708 + 0x10)" * (cast_expression "(int *)(DAT_000d1708 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + 0x10)" ( (binary_expression "DAT_000d1708 + 0x10" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }" { (expression_statement "cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;" (assignment_expression "cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2" identifier = (binary_expression "~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2" (unary_expression "~-(*(char *)(DAT_000d1708 + 0x33) == '\0')" ~ (unary_expression "-(*(char *)(DAT_000d1708 + 0x33) == '\0')" - (parenthesized_expression "(*(char *)(DAT_000d1708 + 0x33) == '\0')" ( (binary_expression "*(char *)(DAT_000d1708 + 0x33) == '\0'" (pointer_expression "*(char *)(DAT_000d1708 + 0x33)" * (cast_expression "(char *)(DAT_000d1708 + 0x33)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + 0x33)" ( (binary_expression "DAT_000d1708 + 0x33" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )))) + number_literal)) ;) (expression_statement "cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);" (assignment_expression "cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b)" identifier = (pointer_expression "*(char *)(DAT_000d1708 + param_1 + 0x3b)" * (cast_expression "(char *)(DAT_000d1708 + param_1 + 0x3b)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + param_1 + 0x3b)" ( (binary_expression "DAT_000d1708 + param_1 + 0x3b" (binary_expression "DAT_000d1708 + param_1" identifier + identifier) + number_literal) ))))) ;) (goto_statement "goto joined_r0x000532a6;" goto statement_identifier ;) })) (goto_statement "goto LAB_00053190;" goto statement_identifier ;)) (case_statement "case 3:\n      cVar5 = '\x03';\n      cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n      goto joined_r0x000532b8;" case number_literal : (expression_statement "cVar5 = '\x03';" (assignment_expression "cVar5 = '\x03'" identifier = (char_literal "'\x03'" ' escape_sequence ')) ;) (expression_statement "cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);" (assignment_expression "cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b)" identifier = (pointer_expression "*(char *)(DAT_000d1708 + param_1 + 0x3b)" * (cast_expression "(char *)(DAT_000d1708 + param_1 + 0x3b)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + param_1 + 0x3b)" ( (binary_expression "DAT_000d1708 + param_1 + 0x3b" (binary_expression "DAT_000d1708 + param_1" identifier + identifier) + number_literal) ))))) ;) (goto_statement "goto joined_r0x000532b8;" goto statement_identifier ;)) (case_statement "case 0xf:\n      goto switchD_0005327e_caseD_f;" case number_literal : (goto_statement "goto switchD_0005327e_caseD_f;" goto statement_identifier ;)) (case_statement "case 0x14:" case number_literal :) (case_statement "case 0x16:\n      cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;\n      goto LAB_00053189;" case number_literal : (expression_statement "cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;" (assignment_expression "cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3" identifier = (binary_expression "(-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3" (parenthesized_expression "(-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU)" ( (binary_expression "-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU" (unary_expression "-(*(char *)(DAT_000d1708 + 0x31) == '\0')" - (parenthesized_expression "(*(char *)(DAT_000d1708 + 0x31) == '\0')" ( (binary_expression "*(char *)(DAT_000d1708 + 0x31) == '\0'" (pointer_expression "*(char *)(DAT_000d1708 + 0x31)" * (cast_expression "(char *)(DAT_000d1708 + 0x31)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + 0x31)" ( (binary_expression "DAT_000d1708 + 0x31" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) & number_literal) )) + number_literal)) ;) (goto_statement "goto LAB_00053189;" goto statement_identifier ;)) })) })) (expression_statement "cVar5 = ~-(*pcVar1 == '\0') + 3;" (assignment_expression "cVar5 = ~-(*pcVar1 == '\0') + 3" identifier = (binary_expression "~-(*pcVar1 == '\0') + 3" (unary_expression "~-(*pcVar1 == '\0')" ~ (unary_expression "-(*pcVar1 == '\0')" - (parenthesized_expression "(*pcVar1 == '\0')" ( (binary_expression "*pcVar1 == '\0'" (pointer_expression "*pcVar1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )))) + number_literal)) ;) (labeled_statement "LAB_00053189:\n  if (param_1 == 0x11) {\n    cVar5 = '\x02';\n  }" statement_identifier : (if_statement "if (param_1 == 0x11) {\n    cVar5 = '\x02';\n  }" if (parenthesized_expression "(param_1 == 0x11)" ( (binary_expression "param_1 == 0x11" identifier == number_literal) )) (compound_statement "{\n    cVar5 = '\x02';\n  }" { (expression_statement "cVar5 = '\x02';" (assignment_expression "cVar5 = '\x02'" identifier = (char_literal "'\x02'" ' escape_sequence ')) ;) }))) (labeled_statement "LAB_00053190:\n  cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);" statement_identifier : (expression_statement "cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);" (assignment_expression "cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b)" identifier = (pointer_expression "*(char *)(DAT_000d1708 + param_1 + 0x3b)" * (cast_expression "(char *)(DAT_000d1708 + param_1 + 0x3b)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + param_1 + 0x3b)" ( (binary_expression "DAT_000d1708 + param_1 + 0x3b" (binary_expression "DAT_000d1708 + param_1" identifier + identifier) + number_literal) ))))) ;)) (labeled_statement "joined_r0x000532b8:\n  if (cVar3 != '\0') goto LAB_0005323b;" statement_identifier : (if_statement "if (cVar3 != '\0') goto LAB_0005323b;" if (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0005323b;" goto statement_identifier ;))) (labeled_statement "LAB_0005319f:\n  iVar4 = sigaction(param_1,(sigaction *)0x0,(sigaction *)&local_ac);" statement_identifier : (expression_statement "iVar4 = sigaction(param_1,(sigaction *)0x0,(sigaction *)&local_ac);" (assignment_expression "iVar4 = sigaction(param_1,(sigaction *)0x0,(sigaction *)&local_ac)" identifier = (call_expression "sigaction(param_1,(sigaction *)0x0,(sigaction *)&local_ac)" identifier (argument_list "(param_1,(sigaction *)0x0,(sigaction *)&local_ac)" ( identifier , (cast_expression "(sigaction *)0x0" ( (type_descriptor "sigaction *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(sigaction *)&local_ac" ( (type_descriptor "sigaction *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_ac" & identifier)) )))) ;)) (if_statement "if (iVar4 != 0) goto LAB_00053220;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00053220;" goto statement_identifier ;)) (if_statement "if (local_ac.sa_handler == (__sighandler_t)0x1) {\n    if (((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)) || (cVar5 == '\x03'))\n    goto LAB_00053220;\n  }\n  else if ((local_ac.sa_handler == (__sighandler_t)0x0) && (cVar5 == '\x01')) {\n    *(undefined1 *)(iVar2 + param_1 + 0x3b) = 1;\n    goto LAB_00053220;\n  }" if (parenthesized_expression "(local_ac.sa_handler == (__sighandler_t)0x1)" ( (binary_expression "local_ac.sa_handler == (__sighandler_t)0x1" (field_expression "local_ac.sa_handler" identifier . field_identifier) == (cast_expression "(__sighandler_t)0x1" ( (type_descriptor "__sighandler_t" type_identifier) ) number_literal)) )) (compound_statement "{\n    if (((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)) || (cVar5 == '\x03'))\n    goto LAB_00053220;\n  }" { (if_statement "if (((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)) || (cVar5 == '\x03'))\n    goto LAB_00053220;" if (parenthesized_expression "(((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)) || (cVar5 == '\x03'))" ( (binary_expression "((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)) || (cVar5 == '\x03')" (parenthesized_expression "((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U))" ( (binary_expression "(*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)" (parenthesized_expression "(*(char *)(iVar2 + 0x31) == '\0')" ( (binary_expression "*(char *)(iVar2 + 0x31) == '\0'" (pointer_expression "*(char *)(iVar2 + 0x31)" * (cast_expression "(char *)(iVar2 + 0x31)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x31)" ( (binary_expression "iVar2 + 0x31" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(2 < param_1 - 0x14U)" ( (binary_expression "2 < param_1 - 0x14U" number_literal < (binary_expression "param_1 - 0x14U" identifier - number_literal)) ))) )) || (parenthesized_expression "(cVar5 == '\x03')" ( (binary_expression "cVar5 == '\x03'" identifier == (char_literal "'\x03'" ' escape_sequence ')) ))) )) (goto_statement "goto LAB_00053220;" goto statement_identifier ;)) }) (else_clause "else if ((local_ac.sa_handler == (__sighandler_t)0x0) && (cVar5 == '\x01')) {\n    *(undefined1 *)(iVar2 + param_1 + 0x3b) = 1;\n    goto LAB_00053220;\n  }" else (if_statement "if ((local_ac.sa_handler == (__sighandler_t)0x0) && (cVar5 == '\x01')) {\n    *(undefined1 *)(iVar2 + param_1 + 0x3b) = 1;\n    goto LAB_00053220;\n  }" if (parenthesized_expression "((local_ac.sa_handler == (__sighandler_t)0x0) && (cVar5 == '\x01'))" ( (binary_expression "(local_ac.sa_handler == (__sighandler_t)0x0) && (cVar5 == '\x01')" (parenthesized_expression "(local_ac.sa_handler == (__sighandler_t)0x0)" ( (binary_expression "local_ac.sa_handler == (__sighandler_t)0x0" (field_expression "local_ac.sa_handler" identifier . field_identifier) == (cast_expression "(__sighandler_t)0x0" ( (type_descriptor "__sighandler_t" type_identifier) ) number_literal)) )) && (parenthesized_expression "(cVar5 == '\x01')" ( (binary_expression "cVar5 == '\x01'" identifier == (char_literal "'\x01'" ' escape_sequence ')) ))) )) (compound_statement "{\n    *(undefined1 *)(iVar2 + param_1 + 0x3b) = 1;\n    goto LAB_00053220;\n  }" { (expression_statement "*(undefined1 *)(iVar2 + param_1 + 0x3b) = 1;" (assignment_expression "*(undefined1 *)(iVar2 + param_1 + 0x3b) = 1" (pointer_expression "*(undefined1 *)(iVar2 + param_1 + 0x3b)" * (cast_expression "(undefined1 *)(iVar2 + param_1 + 0x3b)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + param_1 + 0x3b)" ( (binary_expression "iVar2 + param_1 + 0x3b" (binary_expression "iVar2 + param_1" identifier + identifier) + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_00053220;" goto statement_identifier ;) })))) (goto_statement "goto LAB_000531e9;" goto statement_identifier ;) (labeled_statement "switchD_0005327e_caseD_f:\n  cVar5 = (-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU) + 3;" statement_identifier : (expression_statement "cVar5 = (-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU) + 3;" (assignment_expression "cVar5 = (-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU) + 3" identifier = (binary_expression "(-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU) + 3" (parenthesized_expression "(-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU)" ( (binary_expression "-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU" (unary_expression "-(*(char *)(DAT_000d1708 + 0x30) == '\0')" - (parenthesized_expression "(*(char *)(DAT_000d1708 + 0x30) == '\0')" ( (binary_expression "*(char *)(DAT_000d1708 + 0x30) == '\0'" (pointer_expression "*(char *)(DAT_000d1708 + 0x30)" * (cast_expression "(char *)(DAT_000d1708 + 0x30)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + 0x30)" ( (binary_expression "DAT_000d1708 + 0x30" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) & number_literal) )) + number_literal)) ;)) (expression_statement "cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);" (assignment_expression "cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b)" identifier = (pointer_expression "*(char *)(DAT_000d1708 + param_1 + 0x3b)" * (cast_expression "(char *)(DAT_000d1708 + param_1 + 0x3b)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + param_1 + 0x3b)" ( (binary_expression "DAT_000d1708 + param_1 + 0x3b" (binary_expression "DAT_000d1708 + param_1" identifier + identifier) + number_literal) ))))) ;) (labeled_statement "joined_r0x000532a6:\n  if (cVar3 == '\0') goto LAB_0005319f;" statement_identifier : (if_statement "if (cVar3 == '\0') goto LAB_0005319f;" if (parenthesized_expression "(cVar3 == '\0')" ( (binary_expression "cVar3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0005319f;" goto statement_identifier ;))) (labeled_statement "LAB_0005323b:\n  if ((cVar3 == '\x04') || (cVar5 == cVar3)) goto LAB_00053220;" statement_identifier : (if_statement "if ((cVar3 == '\x04') || (cVar5 == cVar3)) goto LAB_00053220;" if (parenthesized_expression "((cVar3 == '\x04') || (cVar5 == cVar3))" ( (binary_expression "(cVar3 == '\x04') || (cVar5 == cVar3)" (parenthesized_expression "(cVar3 == '\x04')" ( (binary_expression "cVar3 == '\x04'" identifier == (char_literal "'\x04'" ' escape_sequence ')) )) || (parenthesized_expression "(cVar5 == cVar3)" ( (binary_expression "cVar5 == cVar3" identifier == identifier) ))) )) (goto_statement "goto LAB_00053220;" goto statement_identifier ;))) (labeled_statement "LAB_000531e9:\n  *(char *)(iVar2 + param_1 + 0x3b) = cVar5;" statement_identifier : (expression_statement "*(char *)(iVar2 + param_1 + 0x3b) = cVar5;" (assignment_expression "*(char *)(iVar2 + param_1 + 0x3b) = cVar5" (pointer_expression "*(char *)(iVar2 + param_1 + 0x3b)" * (cast_expression "(char *)(iVar2 + param_1 + 0x3b)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + param_1 + 0x3b)" ( (binary_expression "iVar2 + param_1 + 0x3b" (binary_expression "iVar2 + param_1" identifier + identifier) + number_literal) )))) = identifier) ;)) (if_statement "if (cVar5 == '\x02') {\n    local_ac.sa_handler = (__sighandler_t)&LAB_00052d9a;\n  }\n  else {\n    local_ac._1_3_ = 0;\n    local_ac._0_1_ = cVar5 == '\x03';\n  }" if (parenthesized_expression "(cVar5 == '\x02')" ( (binary_expression "cVar5 == '\x02'" identifier == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n    local_ac.sa_handler = (__sighandler_t)&LAB_00052d9a;\n  }" { (expression_statement "local_ac.sa_handler = (__sighandler_t)&LAB_00052d9a;" (assignment_expression "local_ac.sa_handler = (__sighandler_t)&LAB_00052d9a" (field_expression "local_ac.sa_handler" identifier . field_identifier) = (binary_expression "(__sighandler_t)&LAB_00052d9a" (parenthesized_expression "(__sighandler_t)" ( identifier )) & identifier)) ;) }) (else_clause "else {\n    local_ac._1_3_ = 0;\n    local_ac._0_1_ = cVar5 == '\x03';\n  }" else (compound_statement "{\n    local_ac._1_3_ = 0;\n    local_ac._0_1_ = cVar5 == '\x03';\n  }" { (expression_statement "local_ac._1_3_ = 0;" (assignment_expression "local_ac._1_3_ = 0" (field_expression "local_ac._1_3_" identifier . field_identifier) = number_literal) ;) (expression_statement "local_ac._0_1_ = cVar5 == '\x03';" (assignment_expression "local_ac._0_1_ = cVar5 == '\x03'" (field_expression "local_ac._0_1_" identifier . field_identifier) = (binary_expression "cVar5 == '\x03'" identifier == (char_literal "'\x03'" ' escape_sequence '))) ;) }))) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "sigfillset(&local_a8);" (call_expression "sigfillset(&local_a8)" identifier (argument_list "(&local_a8)" ( (pointer_expression "&local_a8" & identifier) ))) ;) (expression_statement "FUN_0001ada5();" (call_expression "FUN_0001ada5()" identifier (argument_list "()" ( ))) ;) (labeled_statement "LAB_00053220:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00017e10();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00017e10();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00017e10();\n  }" { comment (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid setsignal(int signo)\n\n{\n  sigaction act;\n  \n}\n\n" comment (function_definition "void setsignal(int signo)\n\n{\n  sigaction act;\n  \n}" primitive_type (function_declarator "setsignal(int signo)" identifier (parameter_list "(int signo)" ( (parameter_declaration "int signo" primitive_type identifier) ))) (compound_statement "{\n  sigaction act;\n  \n}" { (declaration "sigaction act;" type_identifier identifier ;) })))
(translation_unit "void __regparm3 FUN_00053137(int param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  int iVar4;\n  char cVar5;\n  int in_GS_OFFSET;\n  _union_1051 local_ac;\n  sigset_t local_a8;\n  undefined4 local_28;\n  int local_20;\n  \n  iVar2 = DAT_000d1708;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pcVar1 = *(char **)(DAT_000d1708 + 0xc0 + param_1 * 4);\n  if (pcVar1 == (char *)0x0) {\n    if (*(int *)(DAT_000d1708 + 8) != 0) {\nswitchD_0005327e_caseD_0:\n      cVar5 = '\x01';\n      goto LAB_00053189;\n    }\n    switch(param_1) {\n    default:\n      goto switchD_0005327e_caseD_0;\n    case 2:\n      cVar5 = '\x02';\n      if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }\n      goto LAB_00053190;\n    case 3:\n      cVar5 = '\x03';\n      cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n      goto joined_r0x000532b8;\n    case 0xf:\n      goto switchD_0005327e_caseD_f;\n    case 0x14:\n    case 0x16:\n      cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;\n      goto LAB_00053189;\n    }\n  }\n  cVar5 = ~-(*pcVar1 == '\0') + 3;\nLAB_00053189:\n  if (param_1 == 0x11) {\n    cVar5 = '\x02';\n  }\nLAB_00053190:\n  cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\njoined_r0x000532b8:\n  if (cVar3 != '\0') goto LAB_0005323b;\nLAB_0005319f:\n  iVar4 = sigaction(param_1,(sigaction *)0x0,(sigaction *)&local_ac);\n  if (iVar4 != 0) goto LAB_00053220;\n  if (local_ac.sa_handler == (__sighandler_t)0x1) {\n    if (((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)) || (cVar5 == '\x03'))\n    goto LAB_00053220;\n  }\n  else if ((local_ac.sa_handler == (__sighandler_t)0x0) && (cVar5 == '\x01')) {\n    *(undefined1 *)(iVar2 + param_1 + 0x3b) = 1;\n    goto LAB_00053220;\n  }\n  goto LAB_000531e9;\nswitchD_0005327e_caseD_f:\n  cVar5 = (-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU) + 3;\n  cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\njoined_r0x000532a6:\n  if (cVar3 == '\0') goto LAB_0005319f;\nLAB_0005323b:\n  if ((cVar3 == '\x04') || (cVar5 == cVar3)) goto LAB_00053220;\nLAB_000531e9:\n  *(char *)(iVar2 + param_1 + 0x3b) = cVar5;\n  if (cVar5 == '\x02') {\n    local_ac.sa_handler = (__sighandler_t)&LAB_00052d9a;\n  }\n  else {\n    local_ac._1_3_ = 0;\n    local_ac._0_1_ = cVar5 == '\x03';\n  }\n  local_28 = 0;\n  sigfillset(&local_a8);\n  FUN_0001ada5();\nLAB_00053220:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00017e10();\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_00053137(int param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  int iVar4;\n  char cVar5;\n  int in_GS_OFFSET;\n  _union_1051 local_ac;\n  sigset_t local_a8;\n  undefined4 local_28;\n  int local_20;\n  \n  iVar2 = DAT_000d1708;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pcVar1 = *(char **)(DAT_000d1708 + 0xc0 + param_1 * 4);\n  if (pcVar1 == (char *)0x0) {\n    if (*(int *)(DAT_000d1708 + 8) != 0) {\nswitchD_0005327e_caseD_0:\n      cVar5 = '\x01';\n      goto LAB_00053189;\n    }\n    switch(param_1) {\n    default:\n      goto switchD_0005327e_caseD_0;\n    case 2:\n      cVar5 = '\x02';\n      if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }\n      goto LAB_00053190;\n    case 3:\n      cVar5 = '\x03';\n      cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n      goto joined_r0x000532b8;\n    case 0xf:\n      goto switchD_0005327e_caseD_f;\n    case 0x14:\n    case 0x16:\n      cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;\n      goto LAB_00053189;\n    }\n  }\n  cVar5 = ~-(*pcVar1 == '\0') + 3;\nLAB_00053189:\n  if (param_1 == 0x11) {\n    cVar5 = '\x02';\n  }\nLAB_00053190:\n  cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\njoined_r0x000532b8:\n  if (cVar3 != '\0') goto LAB_0005323b;\nLAB_0005319f:\n  iVar4 = sigaction(param_1,(sigaction *)0x0,(sigaction *)&local_ac);\n  if (iVar4 != 0) goto LAB_00053220;\n  if (local_ac.sa_handler == (__sighandler_t)0x1) {\n    if (((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)) || (cVar5 == '\x03'))\n    goto LAB_00053220;\n  }\n  else if ((local_ac.sa_handler == (__sighandler_t)0x0) && (cVar5 == '\x01')) {\n    *(undefined1 *)(iVar2 + param_1 + 0x3b) = 1;\n    goto LAB_00053220;\n  }\n  goto LAB_000531e9;\nswitchD_0005327e_caseD_f:\n  cVar5 = (-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU) + 3;\n  cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\njoined_r0x000532a6:\n  if (cVar3 == '\0') goto LAB_0005319f;\nLAB_0005323b:\n  if ((cVar3 == '\x04') || (cVar5 == cVar3)) goto LAB_00053220;\nLAB_000531e9:\n  *(char *)(iVar2 + param_1 + 0x3b) = cVar5;\n  if (cVar5 == '\x02') {\n    local_ac.sa_handler = (__sighandler_t)&LAB_00052d9a;\n  }\n  else {\n    local_ac._1_3_ = 0;\n    local_ac._0_1_ = cVar5 == '\x03';\n  }\n  local_28 = 0;\n  sigfillset(&local_a8);\n  FUN_0001ada5();\nLAB_00053220:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00017e10();\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_00053137(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  int iVar4;\n  char cVar5;\n  int in_GS_OFFSET;\n  _union_1051 local_ac;\n  sigset_t local_a8;\n  undefined4 local_28;\n  int local_20;\n  \n  iVar2 = DAT_000d1708;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pcVar1 = *(char **)(DAT_000d1708 + 0xc0 + param_1 * 4);\n  if (pcVar1 == (char *)0x0) {\n    if (*(int *)(DAT_000d1708 + 8) != 0) {\nswitchD_0005327e_caseD_0:\n      cVar5 = '\x01';\n      goto LAB_00053189;\n    }\n    switch(param_1) {\n    default:\n      goto switchD_0005327e_caseD_0;\n    case 2:\n      cVar5 = '\x02';\n      if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }\n      goto LAB_00053190;\n    case 3:\n      cVar5 = '\x03';\n      cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n      goto joined_r0x000532b8;\n    case 0xf:\n      goto switchD_0005327e_caseD_f;\n    case 0x14:\n    case 0x16:\n      cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;\n      goto LAB_00053189;\n    }\n  }\n  cVar5 = ~-(*pcVar1 == '\0') + 3;\nLAB_00053189:\n  if (param_1 == 0x11) {\n    cVar5 = '\x02';\n  }\nLAB_00053190:\n  cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\njoined_r0x000532b8:\n  if (cVar3 != '\0') goto LAB_0005323b;\nLAB_0005319f:\n  iVar4 = sigaction(param_1,(sigaction *)0x0,(sigaction *)&local_ac);\n  if (iVar4 != 0) goto LAB_00053220;\n  if (local_ac.sa_handler == (__sighandler_t)0x1) {\n    if (((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)) || (cVar5 == '\x03'))\n    goto LAB_00053220;\n  }\n  else if ((local_ac.sa_handler == (__sighandler_t)0x0) && (cVar5 == '\x01')) {\n    *(undefined1 *)(iVar2 + param_1 + 0x3b) = 1;\n    goto LAB_00053220;\n  }\n  goto LAB_000531e9;\nswitchD_0005327e_caseD_f:\n  cVar5 = (-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU) + 3;\n  cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\njoined_r0x000532a6:\n  if (cVar3 == '\0') goto LAB_0005319f;\nLAB_0005323b:\n  if ((cVar3 == '\x04') || (cVar5 == cVar3)) goto LAB_00053220;\nLAB_000531e9:\n  *(char *)(iVar2 + param_1 + 0x3b) = cVar5;\n  if (cVar5 == '\x02') {\n    local_ac.sa_handler = (__sighandler_t)&LAB_00052d9a;\n  }\n  else {\n    local_ac._1_3_ = 0;\n    local_ac._0_1_ = cVar5 == '\x03';\n  }\n  local_28 = 0;\n  sigfillset(&local_a8);\n  FUN_0001ada5();\nLAB_00053220:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00017e10();\n  }\n  return;\n}" { (declaration "char *pcVar1;" primitive_type (pointer_declarator "*pcVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "char cVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "char cVar5;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "_union_1051 local_ac;" type_identifier identifier ;) (declaration "sigset_t local_a8;" type_identifier identifier ;) (declaration "undefined4 local_28;" type_identifier identifier ;) (declaration "int local_20;" primitive_type identifier ;) (expression_statement "iVar2 = DAT_000d1708;" (assignment_expression "iVar2 = DAT_000d1708" identifier = identifier) ;) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "pcVar1 = *(char **)(DAT_000d1708 + 0xc0 + param_1 * 4);" (assignment_expression "pcVar1 = *(char **)(DAT_000d1708 + 0xc0 + param_1 * 4)" identifier = (pointer_expression "*(char **)(DAT_000d1708 + 0xc0 + param_1 * 4)" * (cast_expression "(char **)(DAT_000d1708 + 0xc0 + param_1 * 4)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(DAT_000d1708 + 0xc0 + param_1 * 4)" ( (binary_expression "DAT_000d1708 + 0xc0 + param_1 * 4" (binary_expression "DAT_000d1708 + 0xc0" identifier + number_literal) + (binary_expression "param_1 * 4" identifier * number_literal)) ))))) ;) (if_statement "if (pcVar1 == (char *)0x0) {\n    if (*(int *)(DAT_000d1708 + 8) != 0) {\nswitchD_0005327e_caseD_0:\n      cVar5 = '\x01';\n      goto LAB_00053189;\n    }\n    switch(param_1) {\n    default:\n      goto switchD_0005327e_caseD_0;\n    case 2:\n      cVar5 = '\x02';\n      if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }\n      goto LAB_00053190;\n    case 3:\n      cVar5 = '\x03';\n      cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n      goto joined_r0x000532b8;\n    case 0xf:\n      goto switchD_0005327e_caseD_f;\n    case 0x14:\n    case 0x16:\n      cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;\n      goto LAB_00053189;\n    }\n  }" if (parenthesized_expression "(pcVar1 == (char *)0x0)" ( (binary_expression "pcVar1 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (*(int *)(DAT_000d1708 + 8) != 0) {\nswitchD_0005327e_caseD_0:\n      cVar5 = '\x01';\n      goto LAB_00053189;\n    }\n    switch(param_1) {\n    default:\n      goto switchD_0005327e_caseD_0;\n    case 2:\n      cVar5 = '\x02';\n      if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }\n      goto LAB_00053190;\n    case 3:\n      cVar5 = '\x03';\n      cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n      goto joined_r0x000532b8;\n    case 0xf:\n      goto switchD_0005327e_caseD_f;\n    case 0x14:\n    case 0x16:\n      cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;\n      goto LAB_00053189;\n    }\n  }" { (if_statement "if (*(int *)(DAT_000d1708 + 8) != 0) {\nswitchD_0005327e_caseD_0:\n      cVar5 = '\x01';\n      goto LAB_00053189;\n    }" if (parenthesized_expression "(*(int *)(DAT_000d1708 + 8) != 0)" ( (binary_expression "*(int *)(DAT_000d1708 + 8) != 0" (pointer_expression "*(int *)(DAT_000d1708 + 8)" * (cast_expression "(int *)(DAT_000d1708 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + 8)" ( (binary_expression "DAT_000d1708 + 8" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\nswitchD_0005327e_caseD_0:\n      cVar5 = '\x01';\n      goto LAB_00053189;\n    }" { (labeled_statement "switchD_0005327e_caseD_0:\n      cVar5 = '\x01';" statement_identifier : (expression_statement "cVar5 = '\x01';" (assignment_expression "cVar5 = '\x01'" identifier = (char_literal "'\x01'" ' escape_sequence ')) ;)) (goto_statement "goto LAB_00053189;" goto statement_identifier ;) })) (switch_statement "switch(param_1) {\n    default:\n      goto switchD_0005327e_caseD_0;\n    case 2:\n      cVar5 = '\x02';\n      if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }\n      goto LAB_00053190;\n    case 3:\n      cVar5 = '\x03';\n      cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n      goto joined_r0x000532b8;\n    case 0xf:\n      goto switchD_0005327e_caseD_f;\n    case 0x14:\n    case 0x16:\n      cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;\n      goto LAB_00053189;\n    }" switch (parenthesized_expression "(param_1)" ( identifier )) (compound_statement "{\n    default:\n      goto switchD_0005327e_caseD_0;\n    case 2:\n      cVar5 = '\x02';\n      if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }\n      goto LAB_00053190;\n    case 3:\n      cVar5 = '\x03';\n      cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n      goto joined_r0x000532b8;\n    case 0xf:\n      goto switchD_0005327e_caseD_f;\n    case 0x14:\n    case 0x16:\n      cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;\n      goto LAB_00053189;\n    }" { (case_statement "default:\n      goto switchD_0005327e_caseD_0;" default : (goto_statement "goto switchD_0005327e_caseD_0;" goto statement_identifier ;)) (case_statement "case 2:\n      cVar5 = '\x02';\n      if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }\n      goto LAB_00053190;" case number_literal : (expression_statement "cVar5 = '\x02';" (assignment_expression "cVar5 = '\x02'" identifier = (char_literal "'\x02'" ' escape_sequence ')) ;) (if_statement "if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }" if (parenthesized_expression "((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0))" ( (binary_expression "(*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)" (parenthesized_expression "(*(char *)(DAT_000d1708 + 0x30) == '\0')" ( (binary_expression "*(char *)(DAT_000d1708 + 0x30) == '\0'" (pointer_expression "*(char *)(DAT_000d1708 + 0x30)" * (cast_expression "(char *)(DAT_000d1708 + 0x30)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + 0x30)" ( (binary_expression "DAT_000d1708 + 0x30" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(int *)(DAT_000d1708 + 0x10) == 0)" ( (binary_expression "*(int *)(DAT_000d1708 + 0x10) == 0" (pointer_expression "*(int *)(DAT_000d1708 + 0x10)" * (cast_expression "(int *)(DAT_000d1708 + 0x10)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + 0x10)" ( (binary_expression "DAT_000d1708 + 0x10" identifier + number_literal) )))) == number_literal) ))) )) (compound_statement "{\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }" { (expression_statement "cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;" (assignment_expression "cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2" identifier = (binary_expression "~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2" (unary_expression "~-(*(char *)(DAT_000d1708 + 0x33) == '\0')" ~ (unary_expression "-(*(char *)(DAT_000d1708 + 0x33) == '\0')" - (parenthesized_expression "(*(char *)(DAT_000d1708 + 0x33) == '\0')" ( (binary_expression "*(char *)(DAT_000d1708 + 0x33) == '\0'" (pointer_expression "*(char *)(DAT_000d1708 + 0x33)" * (cast_expression "(char *)(DAT_000d1708 + 0x33)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + 0x33)" ( (binary_expression "DAT_000d1708 + 0x33" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )))) + number_literal)) ;) (expression_statement "cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);" (assignment_expression "cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b)" identifier = (pointer_expression "*(char *)(DAT_000d1708 + param_1 + 0x3b)" * (cast_expression "(char *)(DAT_000d1708 + param_1 + 0x3b)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + param_1 + 0x3b)" ( (binary_expression "DAT_000d1708 + param_1 + 0x3b" (binary_expression "DAT_000d1708 + param_1" identifier + identifier) + number_literal) ))))) ;) (goto_statement "goto joined_r0x000532a6;" goto statement_identifier ;) })) (goto_statement "goto LAB_00053190;" goto statement_identifier ;)) (case_statement "case 3:\n      cVar5 = '\x03';\n      cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n      goto joined_r0x000532b8;" case number_literal : (expression_statement "cVar5 = '\x03';" (assignment_expression "cVar5 = '\x03'" identifier = (char_literal "'\x03'" ' escape_sequence ')) ;) (expression_statement "cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);" (assignment_expression "cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b)" identifier = (pointer_expression "*(char *)(DAT_000d1708 + param_1 + 0x3b)" * (cast_expression "(char *)(DAT_000d1708 + param_1 + 0x3b)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + param_1 + 0x3b)" ( (binary_expression "DAT_000d1708 + param_1 + 0x3b" (binary_expression "DAT_000d1708 + param_1" identifier + identifier) + number_literal) ))))) ;) (goto_statement "goto joined_r0x000532b8;" goto statement_identifier ;)) (case_statement "case 0xf:\n      goto switchD_0005327e_caseD_f;" case number_literal : (goto_statement "goto switchD_0005327e_caseD_f;" goto statement_identifier ;)) (case_statement "case 0x14:" case number_literal :) (case_statement "case 0x16:\n      cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;\n      goto LAB_00053189;" case number_literal : (expression_statement "cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;" (assignment_expression "cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3" identifier = (binary_expression "(-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3" (parenthesized_expression "(-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU)" ( (binary_expression "-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU" (unary_expression "-(*(char *)(DAT_000d1708 + 0x31) == '\0')" - (parenthesized_expression "(*(char *)(DAT_000d1708 + 0x31) == '\0')" ( (binary_expression "*(char *)(DAT_000d1708 + 0x31) == '\0'" (pointer_expression "*(char *)(DAT_000d1708 + 0x31)" * (cast_expression "(char *)(DAT_000d1708 + 0x31)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + 0x31)" ( (binary_expression "DAT_000d1708 + 0x31" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) & number_literal) )) + number_literal)) ;) (goto_statement "goto LAB_00053189;" goto statement_identifier ;)) })) })) (expression_statement "cVar5 = ~-(*pcVar1 == '\0') + 3;" (assignment_expression "cVar5 = ~-(*pcVar1 == '\0') + 3" identifier = (binary_expression "~-(*pcVar1 == '\0') + 3" (unary_expression "~-(*pcVar1 == '\0')" ~ (unary_expression "-(*pcVar1 == '\0')" - (parenthesized_expression "(*pcVar1 == '\0')" ( (binary_expression "*pcVar1 == '\0'" (pointer_expression "*pcVar1" * identifier) == (char_literal "'\0'" ' escape_sequence ')) )))) + number_literal)) ;) (labeled_statement "LAB_00053189:\n  if (param_1 == 0x11) {\n    cVar5 = '\x02';\n  }" statement_identifier : (if_statement "if (param_1 == 0x11) {\n    cVar5 = '\x02';\n  }" if (parenthesized_expression "(param_1 == 0x11)" ( (binary_expression "param_1 == 0x11" identifier == number_literal) )) (compound_statement "{\n    cVar5 = '\x02';\n  }" { (expression_statement "cVar5 = '\x02';" (assignment_expression "cVar5 = '\x02'" identifier = (char_literal "'\x02'" ' escape_sequence ')) ;) }))) (labeled_statement "LAB_00053190:\n  cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);" statement_identifier : (expression_statement "cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);" (assignment_expression "cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b)" identifier = (pointer_expression "*(char *)(DAT_000d1708 + param_1 + 0x3b)" * (cast_expression "(char *)(DAT_000d1708 + param_1 + 0x3b)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + param_1 + 0x3b)" ( (binary_expression "DAT_000d1708 + param_1 + 0x3b" (binary_expression "DAT_000d1708 + param_1" identifier + identifier) + number_literal) ))))) ;)) (labeled_statement "joined_r0x000532b8:\n  if (cVar3 != '\0') goto LAB_0005323b;" statement_identifier : (if_statement "if (cVar3 != '\0') goto LAB_0005323b;" if (parenthesized_expression "(cVar3 != '\0')" ( (binary_expression "cVar3 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0005323b;" goto statement_identifier ;))) (labeled_statement "LAB_0005319f:\n  iVar4 = sigaction(param_1,(sigaction *)0x0,(sigaction *)&local_ac);" statement_identifier : (expression_statement "iVar4 = sigaction(param_1,(sigaction *)0x0,(sigaction *)&local_ac);" (assignment_expression "iVar4 = sigaction(param_1,(sigaction *)0x0,(sigaction *)&local_ac)" identifier = (call_expression "sigaction(param_1,(sigaction *)0x0,(sigaction *)&local_ac)" identifier (argument_list "(param_1,(sigaction *)0x0,(sigaction *)&local_ac)" ( identifier , (cast_expression "(sigaction *)0x0" ( (type_descriptor "sigaction *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) , (cast_expression "(sigaction *)&local_ac" ( (type_descriptor "sigaction *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&local_ac" & identifier)) )))) ;)) (if_statement "if (iVar4 != 0) goto LAB_00053220;" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (goto_statement "goto LAB_00053220;" goto statement_identifier ;)) (if_statement "if (local_ac.sa_handler == (__sighandler_t)0x1) {\n    if (((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)) || (cVar5 == '\x03'))\n    goto LAB_00053220;\n  }\n  else if ((local_ac.sa_handler == (__sighandler_t)0x0) && (cVar5 == '\x01')) {\n    *(undefined1 *)(iVar2 + param_1 + 0x3b) = 1;\n    goto LAB_00053220;\n  }" if (parenthesized_expression "(local_ac.sa_handler == (__sighandler_t)0x1)" ( (binary_expression "local_ac.sa_handler == (__sighandler_t)0x1" (field_expression "local_ac.sa_handler" identifier . field_identifier) == (cast_expression "(__sighandler_t)0x1" ( (type_descriptor "__sighandler_t" type_identifier) ) number_literal)) )) (compound_statement "{\n    if (((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)) || (cVar5 == '\x03'))\n    goto LAB_00053220;\n  }" { (if_statement "if (((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)) || (cVar5 == '\x03'))\n    goto LAB_00053220;" if (parenthesized_expression "(((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)) || (cVar5 == '\x03'))" ( (binary_expression "((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)) || (cVar5 == '\x03')" (parenthesized_expression "((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U))" ( (binary_expression "(*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)" (parenthesized_expression "(*(char *)(iVar2 + 0x31) == '\0')" ( (binary_expression "*(char *)(iVar2 + 0x31) == '\0'" (pointer_expression "*(char *)(iVar2 + 0x31)" * (cast_expression "(char *)(iVar2 + 0x31)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + 0x31)" ( (binary_expression "iVar2 + 0x31" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) || (parenthesized_expression "(2 < param_1 - 0x14U)" ( (binary_expression "2 < param_1 - 0x14U" number_literal < (binary_expression "param_1 - 0x14U" identifier - number_literal)) ))) )) || (parenthesized_expression "(cVar5 == '\x03')" ( (binary_expression "cVar5 == '\x03'" identifier == (char_literal "'\x03'" ' escape_sequence ')) ))) )) (goto_statement "goto LAB_00053220;" goto statement_identifier ;)) }) (else_clause "else if ((local_ac.sa_handler == (__sighandler_t)0x0) && (cVar5 == '\x01')) {\n    *(undefined1 *)(iVar2 + param_1 + 0x3b) = 1;\n    goto LAB_00053220;\n  }" else (if_statement "if ((local_ac.sa_handler == (__sighandler_t)0x0) && (cVar5 == '\x01')) {\n    *(undefined1 *)(iVar2 + param_1 + 0x3b) = 1;\n    goto LAB_00053220;\n  }" if (parenthesized_expression "((local_ac.sa_handler == (__sighandler_t)0x0) && (cVar5 == '\x01'))" ( (binary_expression "(local_ac.sa_handler == (__sighandler_t)0x0) && (cVar5 == '\x01')" (parenthesized_expression "(local_ac.sa_handler == (__sighandler_t)0x0)" ( (binary_expression "local_ac.sa_handler == (__sighandler_t)0x0" (field_expression "local_ac.sa_handler" identifier . field_identifier) == (cast_expression "(__sighandler_t)0x0" ( (type_descriptor "__sighandler_t" type_identifier) ) number_literal)) )) && (parenthesized_expression "(cVar5 == '\x01')" ( (binary_expression "cVar5 == '\x01'" identifier == (char_literal "'\x01'" ' escape_sequence ')) ))) )) (compound_statement "{\n    *(undefined1 *)(iVar2 + param_1 + 0x3b) = 1;\n    goto LAB_00053220;\n  }" { (expression_statement "*(undefined1 *)(iVar2 + param_1 + 0x3b) = 1;" (assignment_expression "*(undefined1 *)(iVar2 + param_1 + 0x3b) = 1" (pointer_expression "*(undefined1 *)(iVar2 + param_1 + 0x3b)" * (cast_expression "(undefined1 *)(iVar2 + param_1 + 0x3b)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + param_1 + 0x3b)" ( (binary_expression "iVar2 + param_1 + 0x3b" (binary_expression "iVar2 + param_1" identifier + identifier) + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_00053220;" goto statement_identifier ;) })))) (goto_statement "goto LAB_000531e9;" goto statement_identifier ;) (labeled_statement "switchD_0005327e_caseD_f:\n  cVar5 = (-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU) + 3;" statement_identifier : (expression_statement "cVar5 = (-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU) + 3;" (assignment_expression "cVar5 = (-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU) + 3" identifier = (binary_expression "(-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU) + 3" (parenthesized_expression "(-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU)" ( (binary_expression "-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU" (unary_expression "-(*(char *)(DAT_000d1708 + 0x30) == '\0')" - (parenthesized_expression "(*(char *)(DAT_000d1708 + 0x30) == '\0')" ( (binary_expression "*(char *)(DAT_000d1708 + 0x30) == '\0'" (pointer_expression "*(char *)(DAT_000d1708 + 0x30)" * (cast_expression "(char *)(DAT_000d1708 + 0x30)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + 0x30)" ( (binary_expression "DAT_000d1708 + 0x30" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) ))) & number_literal) )) + number_literal)) ;)) (expression_statement "cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);" (assignment_expression "cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b)" identifier = (pointer_expression "*(char *)(DAT_000d1708 + param_1 + 0x3b)" * (cast_expression "(char *)(DAT_000d1708 + param_1 + 0x3b)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(DAT_000d1708 + param_1 + 0x3b)" ( (binary_expression "DAT_000d1708 + param_1 + 0x3b" (binary_expression "DAT_000d1708 + param_1" identifier + identifier) + number_literal) ))))) ;) (labeled_statement "joined_r0x000532a6:\n  if (cVar3 == '\0') goto LAB_0005319f;" statement_identifier : (if_statement "if (cVar3 == '\0') goto LAB_0005319f;" if (parenthesized_expression "(cVar3 == '\0')" ( (binary_expression "cVar3 == '\0'" identifier == (char_literal "'\0'" ' escape_sequence ')) )) (goto_statement "goto LAB_0005319f;" goto statement_identifier ;))) (labeled_statement "LAB_0005323b:\n  if ((cVar3 == '\x04') || (cVar5 == cVar3)) goto LAB_00053220;" statement_identifier : (if_statement "if ((cVar3 == '\x04') || (cVar5 == cVar3)) goto LAB_00053220;" if (parenthesized_expression "((cVar3 == '\x04') || (cVar5 == cVar3))" ( (binary_expression "(cVar3 == '\x04') || (cVar5 == cVar3)" (parenthesized_expression "(cVar3 == '\x04')" ( (binary_expression "cVar3 == '\x04'" identifier == (char_literal "'\x04'" ' escape_sequence ')) )) || (parenthesized_expression "(cVar5 == cVar3)" ( (binary_expression "cVar5 == cVar3" identifier == identifier) ))) )) (goto_statement "goto LAB_00053220;" goto statement_identifier ;))) (labeled_statement "LAB_000531e9:\n  *(char *)(iVar2 + param_1 + 0x3b) = cVar5;" statement_identifier : (expression_statement "*(char *)(iVar2 + param_1 + 0x3b) = cVar5;" (assignment_expression "*(char *)(iVar2 + param_1 + 0x3b) = cVar5" (pointer_expression "*(char *)(iVar2 + param_1 + 0x3b)" * (cast_expression "(char *)(iVar2 + param_1 + 0x3b)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar2 + param_1 + 0x3b)" ( (binary_expression "iVar2 + param_1 + 0x3b" (binary_expression "iVar2 + param_1" identifier + identifier) + number_literal) )))) = identifier) ;)) (if_statement "if (cVar5 == '\x02') {\n    local_ac.sa_handler = (__sighandler_t)&LAB_00052d9a;\n  }\n  else {\n    local_ac._1_3_ = 0;\n    local_ac._0_1_ = cVar5 == '\x03';\n  }" if (parenthesized_expression "(cVar5 == '\x02')" ( (binary_expression "cVar5 == '\x02'" identifier == (char_literal "'\x02'" ' escape_sequence ')) )) (compound_statement "{\n    local_ac.sa_handler = (__sighandler_t)&LAB_00052d9a;\n  }" { (expression_statement "local_ac.sa_handler = (__sighandler_t)&LAB_00052d9a;" (assignment_expression "local_ac.sa_handler = (__sighandler_t)&LAB_00052d9a" (field_expression "local_ac.sa_handler" identifier . field_identifier) = (binary_expression "(__sighandler_t)&LAB_00052d9a" (parenthesized_expression "(__sighandler_t)" ( identifier )) & identifier)) ;) }) (else_clause "else {\n    local_ac._1_3_ = 0;\n    local_ac._0_1_ = cVar5 == '\x03';\n  }" else (compound_statement "{\n    local_ac._1_3_ = 0;\n    local_ac._0_1_ = cVar5 == '\x03';\n  }" { (expression_statement "local_ac._1_3_ = 0;" (assignment_expression "local_ac._1_3_ = 0" (field_expression "local_ac._1_3_" identifier . field_identifier) = number_literal) ;) (expression_statement "local_ac._0_1_ = cVar5 == '\x03';" (assignment_expression "local_ac._0_1_ = cVar5 == '\x03'" (field_expression "local_ac._0_1_" identifier . field_identifier) = (binary_expression "cVar5 == '\x03'" identifier == (char_literal "'\x03'" ' escape_sequence '))) ;) }))) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" identifier = number_literal) ;) (expression_statement "sigfillset(&local_a8);" (call_expression "sigfillset(&local_a8)" identifier (argument_list "(&local_a8)" ( (pointer_expression "&local_a8" & identifier) ))) ;) (expression_statement "FUN_0001ada5();" (call_expression "FUN_0001ada5()" identifier (argument_list "()" ( ))) ;) (labeled_statement "LAB_00053220:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00017e10();\n  }" statement_identifier : (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00017e10();\n  }" if (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    FUN_00017e10();\n  }" { (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;)) (goto_statement goto statement_identifier ;) })) (switch_statement switch (parenthesized_expression ( IDENT )) (compound_statement { (case_statement default : (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (unary_expression ~ (unary_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 ')) )))) + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) ))))) ;) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) ))))) ;) (goto_statement goto statement_identifier ;)) (case_statement case LIT : (goto_statement goto statement_identifier ;)) (case_statement case LIT :) (case_statement case LIT : (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (unary_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 ')) ))) & LIT) )) + LIT)) ;) (goto_statement goto statement_identifier ;)) })) })) (expression_statement (assignment_expression IDENT = (binary_expression (unary_expression ~ (unary_expression - (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == (char_literal ' escape_sequence ')) )))) + LIT)) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) ))))) ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT)) )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) == (cast_expression ( (type_descriptor TYPE) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (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 LIT < (binary_expression IDENT - LIT)) ))) )) || (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) ))) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (field_expression IDENT . field_identifier) == (cast_expression ( (type_descriptor TYPE) ) LIT)) )) && (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) = LIT) ;) (goto_statement goto statement_identifier ;) })))) (goto_statement goto statement_identifier ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression (parenthesized_expression ( (binary_expression (unary_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 ')) ))) & LIT) )) + LIT)) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) ))))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (goto_statement goto statement_identifier ;))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) || (parenthesized_expression ( (binary_expression IDENT == IDENT) ))) )) (goto_statement goto statement_identifier ;))) (labeled_statement statement_identifier : (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))) = IDENT) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (char_literal ' escape_sequence ')) )) (compound_statement { (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (binary_expression (parenthesized_expression ( IDENT )) & IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = LIT) ;) (expression_statement (assignment_expression (field_expression IDENT . field_identifier) = (binary_expression IDENT == (char_literal ' escape_sequence '))) ;) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression & IDENT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_00053137(int param_1)\n\n{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  int iVar4;\n  char cVar5;\n  int in_GS_OFFSET;\n  _union_1051 local_ac;\n  sigset_t local_a8;\n  undefined4 local_28;\n  int local_20;\n  \n  iVar2 = DAT_000d1708;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pcVar1 = *(char **)(DAT_000d1708 + 0xc0 + param_1 * 4);\n  if (pcVar1 == (char *)0x0) {\n    if (*(int *)(DAT_000d1708 + 8) != 0) {\nswitchD_0005327e_caseD_0:\n      cVar5 = '\x01';\n      goto LAB_00053189;\n    }\n    switch(param_1) {\n    default:\n      goto switchD_0005327e_caseD_0;\n    case 2:\n      cVar5 = '\x02';\n      if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }\n      goto LAB_00053190;\n    case 3:\n      cVar5 = '\x03';\n      cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n      goto joined_r0x000532b8;\n    case 0xf:\n      goto switchD_0005327e_caseD_f;\n    case 0x14:\n    case 0x16:\n      cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;\n      goto LAB_00053189;\n    }\n  }\n  cVar5 = ~-(*pcVar1 == '\0') + 3;\nLAB_00053189:\n  if (param_1 == 0x11) {\n    cVar5 = '\x02';\n  }\nLAB_00053190:\n  cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\njoined_r0x000532b8:\n  if (cVar3 != '\0') goto LAB_0005323b;\nLAB_0005319f:\n  iVar4 = sigaction(param_1,(sigaction *)0x0,(sigaction *)&local_ac);\n  if (iVar4 != 0) goto LAB_00053220;\n  if (local_ac.sa_handler == (__sighandler_t)0x1) {\n    if (((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)) || (cVar5 == '\x03'))\n    goto LAB_00053220;\n  }\n  else if ((local_ac.sa_handler == (__sighandler_t)0x0) && (cVar5 == '\x01')) {\n    *(undefined1 *)(iVar2 + param_1 + 0x3b) = 1;\n    goto LAB_00053220;\n  }\n  goto LAB_000531e9;\nswitchD_0005327e_caseD_f:\n  cVar5 = (-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU) + 3;\n  cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\njoined_r0x000532a6:\n  if (cVar3 == '\0') goto LAB_0005319f;\nLAB_0005323b:\n  if ((cVar3 == '\x04') || (cVar5 == cVar3)) goto LAB_00053220;\nLAB_000531e9:\n  *(char *)(iVar2 + param_1 + 0x3b) = cVar5;\n  if (cVar5 == '\x02') {\n    local_ac.sa_handler = (__sighandler_t)&LAB_00052d9a;\n  }\n  else {\n    local_ac._1_3_ = 0;\n    local_ac._0_1_ = cVar5 == '\x03';\n  }\n  local_28 = 0;\n  sigfillset(&local_a8);\n  FUN_0001ada5();\nLAB_00053220:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00017e10();\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00053137(int param_1)" (identifier "FUN_00053137") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  char *pcVar1;\n  int iVar2;\n  char cVar3;\n  int iVar4;\n  char cVar5;\n  int in_GS_OFFSET;\n  _union_1051 local_ac;\n  sigset_t local_a8;\n  undefined4 local_28;\n  int local_20;\n  \n  iVar2 = DAT_000d1708;\n  local_20 = *(int *)(in_GS_OFFSET + 0x14);\n  pcVar1 = *(char **)(DAT_000d1708 + 0xc0 + param_1 * 4);\n  if (pcVar1 == (char *)0x0) {\n    if (*(int *)(DAT_000d1708 + 8) != 0) {\nswitchD_0005327e_caseD_0:\n      cVar5 = '\x01';\n      goto LAB_00053189;\n    }\n    switch(param_1) {\n    default:\n      goto switchD_0005327e_caseD_0;\n    case 2:\n      cVar5 = '\x02';\n      if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }\n      goto LAB_00053190;\n    case 3:\n      cVar5 = '\x03';\n      cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n      goto joined_r0x000532b8;\n    case 0xf:\n      goto switchD_0005327e_caseD_f;\n    case 0x14:\n    case 0x16:\n      cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;\n      goto LAB_00053189;\n    }\n  }\n  cVar5 = ~-(*pcVar1 == '\0') + 3;\nLAB_00053189:\n  if (param_1 == 0x11) {\n    cVar5 = '\x02';\n  }\nLAB_00053190:\n  cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\njoined_r0x000532b8:\n  if (cVar3 != '\0') goto LAB_0005323b;\nLAB_0005319f:\n  iVar4 = sigaction(param_1,(sigaction *)0x0,(sigaction *)&local_ac);\n  if (iVar4 != 0) goto LAB_00053220;\n  if (local_ac.sa_handler == (__sighandler_t)0x1) {\n    if (((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)) || (cVar5 == '\x03'))\n    goto LAB_00053220;\n  }\n  else if ((local_ac.sa_handler == (__sighandler_t)0x0) && (cVar5 == '\x01')) {\n    *(undefined1 *)(iVar2 + param_1 + 0x3b) = 1;\n    goto LAB_00053220;\n  }\n  goto LAB_000531e9;\nswitchD_0005327e_caseD_f:\n  cVar5 = (-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU) + 3;\n  cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\njoined_r0x000532a6:\n  if (cVar3 == '\0') goto LAB_0005319f;\nLAB_0005323b:\n  if ((cVar3 == '\x04') || (cVar5 == cVar3)) goto LAB_00053220;\nLAB_000531e9:\n  *(char *)(iVar2 + param_1 + 0x3b) = cVar5;\n  if (cVar5 == '\x02') {\n    local_ac.sa_handler = (__sighandler_t)&LAB_00052d9a;\n  }\n  else {\n    local_ac._1_3_ = 0;\n    local_ac._0_1_ = cVar5 == '\x03';\n  }\n  local_28 = 0;\n  sigfillset(&local_a8);\n  FUN_0001ada5();\nLAB_00053220:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00017e10();\n  }\n  return;\n}" ({ "{") (declaration "char *pcVar1;" (primitive_type "char") (pointer_declarator "*pcVar1" (* "*") (identifier "pcVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "char cVar3;" (primitive_type "char") (identifier "cVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "char cVar5;" (primitive_type "char") (identifier "cVar5") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "_union_1051 local_ac;" (type_identifier "_union_1051") (identifier "local_ac") (; ";")) (declaration "sigset_t local_a8;" (type_identifier "sigset_t") (identifier "local_a8") (; ";")) (declaration "undefined4 local_28;" (type_identifier "undefined4") (identifier "local_28") (; ";")) (declaration "int local_20;" (primitive_type "int") (identifier "local_20") (; ";")) (expression_statement "iVar2 = DAT_000d1708;" (assignment_expression "iVar2 = DAT_000d1708" (identifier "iVar2") (= "=") (identifier "DAT_000d1708")) (; ";")) (expression_statement "local_20 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_20 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "pcVar1 = *(char **)(DAT_000d1708 + 0xc0 + param_1 * 4);" (assignment_expression "pcVar1 = *(char **)(DAT_000d1708 + 0xc0 + param_1 * 4)" (identifier "pcVar1") (= "=") (pointer_expression "*(char **)(DAT_000d1708 + 0xc0 + param_1 * 4)" (* "*") (cast_expression "(char **)(DAT_000d1708 + 0xc0 + param_1 * 4)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(DAT_000d1708 + 0xc0 + param_1 * 4)" (( "(") (binary_expression "DAT_000d1708 + 0xc0 + param_1 * 4" (binary_expression "DAT_000d1708 + 0xc0" (identifier "DAT_000d1708") (+ "+") (number_literal "0xc0")) (+ "+") (binary_expression "param_1 * 4" (identifier "param_1") (* "*") (number_literal "4"))) () ")"))))) (; ";")) (if_statement "if (pcVar1 == (char *)0x0) {\n    if (*(int *)(DAT_000d1708 + 8) != 0) {\nswitchD_0005327e_caseD_0:\n      cVar5 = '\x01';\n      goto LAB_00053189;\n    }\n    switch(param_1) {\n    default:\n      goto switchD_0005327e_caseD_0;\n    case 2:\n      cVar5 = '\x02';\n      if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }\n      goto LAB_00053190;\n    case 3:\n      cVar5 = '\x03';\n      cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n      goto joined_r0x000532b8;\n    case 0xf:\n      goto switchD_0005327e_caseD_f;\n    case 0x14:\n    case 0x16:\n      cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;\n      goto LAB_00053189;\n    }\n  }" (if "if") (parenthesized_expression "(pcVar1 == (char *)0x0)" (( "(") (binary_expression "pcVar1 == (char *)0x0" (identifier "pcVar1") (== "==") (cast_expression "(char *)0x0" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    if (*(int *)(DAT_000d1708 + 8) != 0) {\nswitchD_0005327e_caseD_0:\n      cVar5 = '\x01';\n      goto LAB_00053189;\n    }\n    switch(param_1) {\n    default:\n      goto switchD_0005327e_caseD_0;\n    case 2:\n      cVar5 = '\x02';\n      if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }\n      goto LAB_00053190;\n    case 3:\n      cVar5 = '\x03';\n      cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n      goto joined_r0x000532b8;\n    case 0xf:\n      goto switchD_0005327e_caseD_f;\n    case 0x14:\n    case 0x16:\n      cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;\n      goto LAB_00053189;\n    }\n  }" ({ "{") (if_statement "if (*(int *)(DAT_000d1708 + 8) != 0) {\nswitchD_0005327e_caseD_0:\n      cVar5 = '\x01';\n      goto LAB_00053189;\n    }" (if "if") (parenthesized_expression "(*(int *)(DAT_000d1708 + 8) != 0)" (( "(") (binary_expression "*(int *)(DAT_000d1708 + 8) != 0" (pointer_expression "*(int *)(DAT_000d1708 + 8)" (* "*") (cast_expression "(int *)(DAT_000d1708 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000d1708 + 8)" (( "(") (binary_expression "DAT_000d1708 + 8" (identifier "DAT_000d1708") (+ "+") (number_literal "8")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\nswitchD_0005327e_caseD_0:\n      cVar5 = '\x01';\n      goto LAB_00053189;\n    }" ({ "{") (labeled_statement "switchD_0005327e_caseD_0:\n      cVar5 = '\x01';" (statement_identifier "switchD_0005327e_caseD_0") (: ":") (expression_statement "cVar5 = '\x01';" (assignment_expression "cVar5 = '\x01'" (identifier "cVar5") (= "=") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) (; ";"))) (goto_statement "goto LAB_00053189;" (goto "goto") (statement_identifier "LAB_00053189") (; ";")) (} "}"))) (switch_statement "switch(param_1) {\n    default:\n      goto switchD_0005327e_caseD_0;\n    case 2:\n      cVar5 = '\x02';\n      if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }\n      goto LAB_00053190;\n    case 3:\n      cVar5 = '\x03';\n      cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n      goto joined_r0x000532b8;\n    case 0xf:\n      goto switchD_0005327e_caseD_f;\n    case 0x14:\n    case 0x16:\n      cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;\n      goto LAB_00053189;\n    }" (switch "switch") (parenthesized_expression "(param_1)" (( "(") (identifier "param_1") () ")")) (compound_statement "{\n    default:\n      goto switchD_0005327e_caseD_0;\n    case 2:\n      cVar5 = '\x02';\n      if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }\n      goto LAB_00053190;\n    case 3:\n      cVar5 = '\x03';\n      cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n      goto joined_r0x000532b8;\n    case 0xf:\n      goto switchD_0005327e_caseD_f;\n    case 0x14:\n    case 0x16:\n      cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;\n      goto LAB_00053189;\n    }" ({ "{") (case_statement "default:\n      goto switchD_0005327e_caseD_0;" (default "default") (: ":") (goto_statement "goto switchD_0005327e_caseD_0;" (goto "goto") (statement_identifier "switchD_0005327e_caseD_0") (; ";"))) (case_statement "case 2:\n      cVar5 = '\x02';\n      if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }\n      goto LAB_00053190;" (case "case") (number_literal "2") (: ":") (expression_statement "cVar5 = '\x02';" (assignment_expression "cVar5 = '\x02'" (identifier "cVar5") (= "=") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) (; ";")) (if_statement "if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }" (if "if") (parenthesized_expression "((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0))" (( "(") (binary_expression "(*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)" (parenthesized_expression "(*(char *)(DAT_000d1708 + 0x30) == '\0')" (( "(") (binary_expression "*(char *)(DAT_000d1708 + 0x30) == '\0'" (pointer_expression "*(char *)(DAT_000d1708 + 0x30)" (* "*") (cast_expression "(char *)(DAT_000d1708 + 0x30)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000d1708 + 0x30)" (( "(") (binary_expression "DAT_000d1708 + 0x30" (identifier "DAT_000d1708") (+ "+") (number_literal "0x30")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(DAT_000d1708 + 0x10) == 0)" (( "(") (binary_expression "*(int *)(DAT_000d1708 + 0x10) == 0" (pointer_expression "*(int *)(DAT_000d1708 + 0x10)" (* "*") (cast_expression "(int *)(DAT_000d1708 + 0x10)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000d1708 + 0x10)" (( "(") (binary_expression "DAT_000d1708 + 0x10" (identifier "DAT_000d1708") (+ "+") (number_literal "0x10")) () ")")))) (== "==") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;\n        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n        goto joined_r0x000532a6;\n      }" ({ "{") (expression_statement "cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;" (assignment_expression "cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2" (identifier "cVar5") (= "=") (binary_expression "~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2" (unary_expression "~-(*(char *)(DAT_000d1708 + 0x33) == '\0')" (~ "~") (unary_expression "-(*(char *)(DAT_000d1708 + 0x33) == '\0')" (- "-") (parenthesized_expression "(*(char *)(DAT_000d1708 + 0x33) == '\0')" (( "(") (binary_expression "*(char *)(DAT_000d1708 + 0x33) == '\0'" (pointer_expression "*(char *)(DAT_000d1708 + 0x33)" (* "*") (cast_expression "(char *)(DAT_000d1708 + 0x33)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000d1708 + 0x33)" (( "(") (binary_expression "DAT_000d1708 + 0x33" (identifier "DAT_000d1708") (+ "+") (number_literal "0x33")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")))) (+ "+") (number_literal "2"))) (; ";")) (expression_statement "cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);" (assignment_expression "cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b)" (identifier "cVar3") (= "=") (pointer_expression "*(char *)(DAT_000d1708 + param_1 + 0x3b)" (* "*") (cast_expression "(char *)(DAT_000d1708 + param_1 + 0x3b)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000d1708 + param_1 + 0x3b)" (( "(") (binary_expression "DAT_000d1708 + param_1 + 0x3b" (binary_expression "DAT_000d1708 + param_1" (identifier "DAT_000d1708") (+ "+") (identifier "param_1")) (+ "+") (number_literal "0x3b")) () ")"))))) (; ";")) (goto_statement "goto joined_r0x000532a6;" (goto "goto") (statement_identifier "joined_r0x000532a6") (; ";")) (} "}"))) (goto_statement "goto LAB_00053190;" (goto "goto") (statement_identifier "LAB_00053190") (; ";"))) (case_statement "case 3:\n      cVar5 = '\x03';\n      cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);\n      goto joined_r0x000532b8;" (case "case") (number_literal "3") (: ":") (expression_statement "cVar5 = '\x03';" (assignment_expression "cVar5 = '\x03'" (identifier "cVar5") (= "=") (char_literal "'\x03'" (' "'") (escape_sequence "\x03") (' "'"))) (; ";")) (expression_statement "cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);" (assignment_expression "cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b)" (identifier "cVar3") (= "=") (pointer_expression "*(char *)(DAT_000d1708 + param_1 + 0x3b)" (* "*") (cast_expression "(char *)(DAT_000d1708 + param_1 + 0x3b)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000d1708 + param_1 + 0x3b)" (( "(") (binary_expression "DAT_000d1708 + param_1 + 0x3b" (binary_expression "DAT_000d1708 + param_1" (identifier "DAT_000d1708") (+ "+") (identifier "param_1")) (+ "+") (number_literal "0x3b")) () ")"))))) (; ";")) (goto_statement "goto joined_r0x000532b8;" (goto "goto") (statement_identifier "joined_r0x000532b8") (; ";"))) (case_statement "case 0xf:\n      goto switchD_0005327e_caseD_f;" (case "case") (number_literal "0xf") (: ":") (goto_statement "goto switchD_0005327e_caseD_f;" (goto "goto") (statement_identifier "switchD_0005327e_caseD_f") (; ";"))) (case_statement "case 0x14:" (case "case") (number_literal "0x14") (: ":")) (case_statement "case 0x16:\n      cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;\n      goto LAB_00053189;" (case "case") (number_literal "0x16") (: ":") (expression_statement "cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;" (assignment_expression "cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3" (identifier "cVar5") (= "=") (binary_expression "(-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3" (parenthesized_expression "(-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU)" (( "(") (binary_expression "-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU" (unary_expression "-(*(char *)(DAT_000d1708 + 0x31) == '\0')" (- "-") (parenthesized_expression "(*(char *)(DAT_000d1708 + 0x31) == '\0')" (( "(") (binary_expression "*(char *)(DAT_000d1708 + 0x31) == '\0'" (pointer_expression "*(char *)(DAT_000d1708 + 0x31)" (* "*") (cast_expression "(char *)(DAT_000d1708 + 0x31)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000d1708 + 0x31)" (( "(") (binary_expression "DAT_000d1708 + 0x31" (identifier "DAT_000d1708") (+ "+") (number_literal "0x31")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) (& "&") (number_literal "0xfeU")) () ")")) (+ "+") (number_literal "3"))) (; ";")) (goto_statement "goto LAB_00053189;" (goto "goto") (statement_identifier "LAB_00053189") (; ";"))) (} "}"))) (} "}"))) (expression_statement "cVar5 = ~-(*pcVar1 == '\0') + 3;" (assignment_expression "cVar5 = ~-(*pcVar1 == '\0') + 3" (identifier "cVar5") (= "=") (binary_expression "~-(*pcVar1 == '\0') + 3" (unary_expression "~-(*pcVar1 == '\0')" (~ "~") (unary_expression "-(*pcVar1 == '\0')" (- "-") (parenthesized_expression "(*pcVar1 == '\0')" (( "(") (binary_expression "*pcVar1 == '\0'" (pointer_expression "*pcVar1" (* "*") (identifier "pcVar1")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")))) (+ "+") (number_literal "3"))) (; ";")) (labeled_statement "LAB_00053189:\n  if (param_1 == 0x11) {\n    cVar5 = '\x02';\n  }" (statement_identifier "LAB_00053189") (: ":") (if_statement "if (param_1 == 0x11) {\n    cVar5 = '\x02';\n  }" (if "if") (parenthesized_expression "(param_1 == 0x11)" (( "(") (binary_expression "param_1 == 0x11" (identifier "param_1") (== "==") (number_literal "0x11")) () ")")) (compound_statement "{\n    cVar5 = '\x02';\n  }" ({ "{") (expression_statement "cVar5 = '\x02';" (assignment_expression "cVar5 = '\x02'" (identifier "cVar5") (= "=") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) (; ";")) (} "}")))) (labeled_statement "LAB_00053190:\n  cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);" (statement_identifier "LAB_00053190") (: ":") (expression_statement "cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);" (assignment_expression "cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b)" (identifier "cVar3") (= "=") (pointer_expression "*(char *)(DAT_000d1708 + param_1 + 0x3b)" (* "*") (cast_expression "(char *)(DAT_000d1708 + param_1 + 0x3b)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000d1708 + param_1 + 0x3b)" (( "(") (binary_expression "DAT_000d1708 + param_1 + 0x3b" (binary_expression "DAT_000d1708 + param_1" (identifier "DAT_000d1708") (+ "+") (identifier "param_1")) (+ "+") (number_literal "0x3b")) () ")"))))) (; ";"))) (labeled_statement "joined_r0x000532b8:\n  if (cVar3 != '\0') goto LAB_0005323b;" (statement_identifier "joined_r0x000532b8") (: ":") (if_statement "if (cVar3 != '\0') goto LAB_0005323b;" (if "if") (parenthesized_expression "(cVar3 != '\0')" (( "(") (binary_expression "cVar3 != '\0'" (identifier "cVar3") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_0005323b;" (goto "goto") (statement_identifier "LAB_0005323b") (; ";")))) (labeled_statement "LAB_0005319f:\n  iVar4 = sigaction(param_1,(sigaction *)0x0,(sigaction *)&local_ac);" (statement_identifier "LAB_0005319f") (: ":") (expression_statement "iVar4 = sigaction(param_1,(sigaction *)0x0,(sigaction *)&local_ac);" (assignment_expression "iVar4 = sigaction(param_1,(sigaction *)0x0,(sigaction *)&local_ac)" (identifier "iVar4") (= "=") (call_expression "sigaction(param_1,(sigaction *)0x0,(sigaction *)&local_ac)" (identifier "sigaction") (argument_list "(param_1,(sigaction *)0x0,(sigaction *)&local_ac)" (( "(") (identifier "param_1") (, ",") (cast_expression "(sigaction *)0x0" (( "(") (type_descriptor "sigaction *" (type_identifier "sigaction") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0")) (, ",") (cast_expression "(sigaction *)&local_ac" (( "(") (type_descriptor "sigaction *" (type_identifier "sigaction") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&local_ac" (& "&") (identifier "local_ac"))) () ")")))) (; ";"))) (if_statement "if (iVar4 != 0) goto LAB_00053220;" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_00053220;" (goto "goto") (statement_identifier "LAB_00053220") (; ";"))) (if_statement "if (local_ac.sa_handler == (__sighandler_t)0x1) {\n    if (((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)) || (cVar5 == '\x03'))\n    goto LAB_00053220;\n  }\n  else if ((local_ac.sa_handler == (__sighandler_t)0x0) && (cVar5 == '\x01')) {\n    *(undefined1 *)(iVar2 + param_1 + 0x3b) = 1;\n    goto LAB_00053220;\n  }" (if "if") (parenthesized_expression "(local_ac.sa_handler == (__sighandler_t)0x1)" (( "(") (binary_expression "local_ac.sa_handler == (__sighandler_t)0x1" (field_expression "local_ac.sa_handler" (identifier "local_ac") (. ".") (field_identifier "sa_handler")) (== "==") (cast_expression "(__sighandler_t)0x1" (( "(") (type_descriptor "__sighandler_t" (type_identifier "__sighandler_t")) () ")") (number_literal "0x1"))) () ")")) (compound_statement "{\n    if (((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)) || (cVar5 == '\x03'))\n    goto LAB_00053220;\n  }" ({ "{") (if_statement "if (((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)) || (cVar5 == '\x03'))\n    goto LAB_00053220;" (if "if") (parenthesized_expression "(((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)) || (cVar5 == '\x03'))" (( "(") (binary_expression "((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)) || (cVar5 == '\x03')" (parenthesized_expression "((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U))" (( "(") (binary_expression "(*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)" (parenthesized_expression "(*(char *)(iVar2 + 0x31) == '\0')" (( "(") (binary_expression "*(char *)(iVar2 + 0x31) == '\0'" (pointer_expression "*(char *)(iVar2 + 0x31)" (* "*") (cast_expression "(char *)(iVar2 + 0x31)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + 0x31)" (( "(") (binary_expression "iVar2 + 0x31" (identifier "iVar2") (+ "+") (number_literal "0x31")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(2 < param_1 - 0x14U)" (( "(") (binary_expression "2 < param_1 - 0x14U" (number_literal "2") (< "<") (binary_expression "param_1 - 0x14U" (identifier "param_1") (- "-") (number_literal "0x14U"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(cVar5 == '\x03')" (( "(") (binary_expression "cVar5 == '\x03'" (identifier "cVar5") (== "==") (char_literal "'\x03'" (' "'") (escape_sequence "\x03") (' "'"))) () ")"))) () ")")) (goto_statement "goto LAB_00053220;" (goto "goto") (statement_identifier "LAB_00053220") (; ";"))) (} "}")) (else_clause "else if ((local_ac.sa_handler == (__sighandler_t)0x0) && (cVar5 == '\x01')) {\n    *(undefined1 *)(iVar2 + param_1 + 0x3b) = 1;\n    goto LAB_00053220;\n  }" (else "else") (if_statement "if ((local_ac.sa_handler == (__sighandler_t)0x0) && (cVar5 == '\x01')) {\n    *(undefined1 *)(iVar2 + param_1 + 0x3b) = 1;\n    goto LAB_00053220;\n  }" (if "if") (parenthesized_expression "((local_ac.sa_handler == (__sighandler_t)0x0) && (cVar5 == '\x01'))" (( "(") (binary_expression "(local_ac.sa_handler == (__sighandler_t)0x0) && (cVar5 == '\x01')" (parenthesized_expression "(local_ac.sa_handler == (__sighandler_t)0x0)" (( "(") (binary_expression "local_ac.sa_handler == (__sighandler_t)0x0" (field_expression "local_ac.sa_handler" (identifier "local_ac") (. ".") (field_identifier "sa_handler")) (== "==") (cast_expression "(__sighandler_t)0x0" (( "(") (type_descriptor "__sighandler_t" (type_identifier "__sighandler_t")) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(cVar5 == '\x01')" (( "(") (binary_expression "cVar5 == '\x01'" (identifier "cVar5") (== "==") (char_literal "'\x01'" (' "'") (escape_sequence "\x01") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    *(undefined1 *)(iVar2 + param_1 + 0x3b) = 1;\n    goto LAB_00053220;\n  }" ({ "{") (expression_statement "*(undefined1 *)(iVar2 + param_1 + 0x3b) = 1;" (assignment_expression "*(undefined1 *)(iVar2 + param_1 + 0x3b) = 1" (pointer_expression "*(undefined1 *)(iVar2 + param_1 + 0x3b)" (* "*") (cast_expression "(undefined1 *)(iVar2 + param_1 + 0x3b)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + param_1 + 0x3b)" (( "(") (binary_expression "iVar2 + param_1 + 0x3b" (binary_expression "iVar2 + param_1" (identifier "iVar2") (+ "+") (identifier "param_1")) (+ "+") (number_literal "0x3b")) () ")")))) (= "=") (number_literal "1")) (; ";")) (goto_statement "goto LAB_00053220;" (goto "goto") (statement_identifier "LAB_00053220") (; ";")) (} "}"))))) (goto_statement "goto LAB_000531e9;" (goto "goto") (statement_identifier "LAB_000531e9") (; ";")) (labeled_statement "switchD_0005327e_caseD_f:\n  cVar5 = (-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU) + 3;" (statement_identifier "switchD_0005327e_caseD_f") (: ":") (expression_statement "cVar5 = (-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU) + 3;" (assignment_expression "cVar5 = (-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU) + 3" (identifier "cVar5") (= "=") (binary_expression "(-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU) + 3" (parenthesized_expression "(-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU)" (( "(") (binary_expression "-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU" (unary_expression "-(*(char *)(DAT_000d1708 + 0x30) == '\0')" (- "-") (parenthesized_expression "(*(char *)(DAT_000d1708 + 0x30) == '\0')" (( "(") (binary_expression "*(char *)(DAT_000d1708 + 0x30) == '\0'" (pointer_expression "*(char *)(DAT_000d1708 + 0x30)" (* "*") (cast_expression "(char *)(DAT_000d1708 + 0x30)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000d1708 + 0x30)" (( "(") (binary_expression "DAT_000d1708 + 0x30" (identifier "DAT_000d1708") (+ "+") (number_literal "0x30")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) (& "&") (number_literal "0xfeU")) () ")")) (+ "+") (number_literal "3"))) (; ";"))) (expression_statement "cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);" (assignment_expression "cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b)" (identifier "cVar3") (= "=") (pointer_expression "*(char *)(DAT_000d1708 + param_1 + 0x3b)" (* "*") (cast_expression "(char *)(DAT_000d1708 + param_1 + 0x3b)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(DAT_000d1708 + param_1 + 0x3b)" (( "(") (binary_expression "DAT_000d1708 + param_1 + 0x3b" (binary_expression "DAT_000d1708 + param_1" (identifier "DAT_000d1708") (+ "+") (identifier "param_1")) (+ "+") (number_literal "0x3b")) () ")"))))) (; ";")) (labeled_statement "joined_r0x000532a6:\n  if (cVar3 == '\0') goto LAB_0005319f;" (statement_identifier "joined_r0x000532a6") (: ":") (if_statement "if (cVar3 == '\0') goto LAB_0005319f;" (if "if") (parenthesized_expression "(cVar3 == '\0')" (( "(") (binary_expression "cVar3 == '\0'" (identifier "cVar3") (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (goto_statement "goto LAB_0005319f;" (goto "goto") (statement_identifier "LAB_0005319f") (; ";")))) (labeled_statement "LAB_0005323b:\n  if ((cVar3 == '\x04') || (cVar5 == cVar3)) goto LAB_00053220;" (statement_identifier "LAB_0005323b") (: ":") (if_statement "if ((cVar3 == '\x04') || (cVar5 == cVar3)) goto LAB_00053220;" (if "if") (parenthesized_expression "((cVar3 == '\x04') || (cVar5 == cVar3))" (( "(") (binary_expression "(cVar3 == '\x04') || (cVar5 == cVar3)" (parenthesized_expression "(cVar3 == '\x04')" (( "(") (binary_expression "cVar3 == '\x04'" (identifier "cVar3") (== "==") (char_literal "'\x04'" (' "'") (escape_sequence "\x04") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(cVar5 == cVar3)" (( "(") (binary_expression "cVar5 == cVar3" (identifier "cVar5") (== "==") (identifier "cVar3")) () ")"))) () ")")) (goto_statement "goto LAB_00053220;" (goto "goto") (statement_identifier "LAB_00053220") (; ";")))) (labeled_statement "LAB_000531e9:\n  *(char *)(iVar2 + param_1 + 0x3b) = cVar5;" (statement_identifier "LAB_000531e9") (: ":") (expression_statement "*(char *)(iVar2 + param_1 + 0x3b) = cVar5;" (assignment_expression "*(char *)(iVar2 + param_1 + 0x3b) = cVar5" (pointer_expression "*(char *)(iVar2 + param_1 + 0x3b)" (* "*") (cast_expression "(char *)(iVar2 + param_1 + 0x3b)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar2 + param_1 + 0x3b)" (( "(") (binary_expression "iVar2 + param_1 + 0x3b" (binary_expression "iVar2 + param_1" (identifier "iVar2") (+ "+") (identifier "param_1")) (+ "+") (number_literal "0x3b")) () ")")))) (= "=") (identifier "cVar5")) (; ";"))) (if_statement "if (cVar5 == '\x02') {\n    local_ac.sa_handler = (__sighandler_t)&LAB_00052d9a;\n  }\n  else {\n    local_ac._1_3_ = 0;\n    local_ac._0_1_ = cVar5 == '\x03';\n  }" (if "if") (parenthesized_expression "(cVar5 == '\x02')" (( "(") (binary_expression "cVar5 == '\x02'" (identifier "cVar5") (== "==") (char_literal "'\x02'" (' "'") (escape_sequence "\x02") (' "'"))) () ")")) (compound_statement "{\n    local_ac.sa_handler = (__sighandler_t)&LAB_00052d9a;\n  }" ({ "{") (expression_statement "local_ac.sa_handler = (__sighandler_t)&LAB_00052d9a;" (assignment_expression "local_ac.sa_handler = (__sighandler_t)&LAB_00052d9a" (field_expression "local_ac.sa_handler" (identifier "local_ac") (. ".") (field_identifier "sa_handler")) (= "=") (binary_expression "(__sighandler_t)&LAB_00052d9a" (parenthesized_expression "(__sighandler_t)" (( "(") (identifier "__sighandler_t") () ")")) (& "&") (identifier "LAB_00052d9a"))) (; ";")) (} "}")) (else_clause "else {\n    local_ac._1_3_ = 0;\n    local_ac._0_1_ = cVar5 == '\x03';\n  }" (else "else") (compound_statement "{\n    local_ac._1_3_ = 0;\n    local_ac._0_1_ = cVar5 == '\x03';\n  }" ({ "{") (expression_statement "local_ac._1_3_ = 0;" (assignment_expression "local_ac._1_3_ = 0" (field_expression "local_ac._1_3_" (identifier "local_ac") (. ".") (field_identifier "_1_3_")) (= "=") (number_literal "0")) (; ";")) (expression_statement "local_ac._0_1_ = cVar5 == '\x03';" (assignment_expression "local_ac._0_1_ = cVar5 == '\x03'" (field_expression "local_ac._0_1_" (identifier "local_ac") (. ".") (field_identifier "_0_1_")) (= "=") (binary_expression "cVar5 == '\x03'" (identifier "cVar5") (== "==") (char_literal "'\x03'" (' "'") (escape_sequence "\x03") (' "'")))) (; ";")) (} "}")))) (expression_statement "local_28 = 0;" (assignment_expression "local_28 = 0" (identifier "local_28") (= "=") (number_literal "0")) (; ";")) (expression_statement "sigfillset(&local_a8);" (call_expression "sigfillset(&local_a8)" (identifier "sigfillset") (argument_list "(&local_a8)" (( "(") (pointer_expression "&local_a8" (& "&") (identifier "local_a8")) () ")"))) (; ";")) (expression_statement "FUN_0001ada5();" (call_expression "FUN_0001ada5()" (identifier "FUN_0001ada5") (argument_list "()" (( "(") () ")"))) (; ";")) (labeled_statement "LAB_00053220:\n  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00017e10();\n  }" (statement_identifier "LAB_00053220") (: ":") (if_statement "if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00017e10();\n  }" (if "if") (parenthesized_expression "(local_20 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_20 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_20") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n    FUN_00017e10();\n  }" ({ "{") (expression_statement "FUN_00017e10();" (call_expression "FUN_00017e10()" (identifier "FUN_00017e10") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(int signo)

{
  type_1 act;
  
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (char_literal (escape_sequence))))) (goto_statement label: (statement_identifier)))) (switch_statement condition: (parenthesized_expression (identifier)) body: (compound_statement (case_statement (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (char_literal (escape_sequence)))) (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: (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 (assignment_expression left: (identifier) right: (binary_expression left: (unary_expression argument: (unary_expression argument: (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: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))))) (goto_statement label: (statement_identifier)))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))))) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal) (goto_statement label: (statement_identifier))) (case_statement value: (number_literal)) (case_statement value: (number_literal) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (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: (number_literal))) right: (number_literal)))) (goto_statement label: (statement_identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (unary_expression argument: (unary_expression argument: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))))) right: (number_literal)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (char_literal (escape_sequence))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (goto_statement label: (statement_identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)) (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (number_literal)))) consequence: (compound_statement (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: (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: (number_literal) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))) right: (number_literal))) (goto_statement label: (statement_identifier)))))) (goto_statement label: (statement_identifier)) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (unary_expression argument: (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: (number_literal))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (goto_statement label: (statement_identifier)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) consequence: (goto_statement label: (statement_identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal))))) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (field_expression argument: (identifier) field: (field_identifier)) right: (binary_expression left: (identifier) right: (char_literal (escape_sequence)))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (pointer_expression argument: (identifier))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (return_statement))))

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

void __regparm3 MASKED(int param_1)

{
  char *pcVar1;
  int iVar2;
  char cVar3;
  int iVar4;
  char cVar5;
  int in_GS_OFFSET;
  _union_1051 local_ac;
  sigset_t local_a8;
  undefined4 local_28;
  int local_20;
  
  iVar2 = DAT_000d1708;
  local_20 = *(int *)(in_GS_OFFSET + 0x14);
  pcVar1 = *(char **)(DAT_000d1708 + 0xc0 + param_1 * 4);
  if (pcVar1 == (char *)0x0) {
    if (*(int *)(DAT_000d1708 + 8) != 0) {
switchD_0005327e_caseD_0:
      cVar5 = '\x01';
      goto LAB_00053189;
    }
    switch(param_1) {
    default:
      goto switchD_0005327e_caseD_0;
    case 2:
      cVar5 = '\x02';
      if ((*(char *)(DAT_000d1708 + 0x30) == '\0') && (*(int *)(DAT_000d1708 + 0x10) == 0)) {
        cVar5 = ~-(*(char *)(DAT_000d1708 + 0x33) == '\0') + 2;
        cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);
        goto joined_r0x000532a6;
      }
      goto LAB_00053190;
    case 3:
      cVar5 = '\x03';
      cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);
      goto joined_r0x000532b8;
    case 0xf:
      goto switchD_0005327e_caseD_f;
    case 0x14:
    case 0x16:
      cVar5 = (-(*(char *)(DAT_000d1708 + 0x31) == '\0') & 0xfeU) + 3;
      goto LAB_00053189;
    }
  }
  cVar5 = ~-(*pcVar1 == '\0') + 3;
LAB_00053189:
  if (param_1 == 0x11) {
    cVar5 = '\x02';
  }
LAB_00053190:
  cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);
joined_r0x000532b8:
  if (cVar3 != '\0') goto LAB_0005323b;
LAB_0005319f:
  iVar4 = sigaction(param_1,(sigaction *)0x0,(sigaction *)&local_ac);
  if (iVar4 != 0) goto LAB_00053220;
  if (local_ac.sa_handler == (__sighandler_t)0x1) {
    if (((*(char *)(iVar2 + 0x31) == '\0') || (2 < param_1 - 0x14U)) || (cVar5 == '\x03'))
    goto LAB_00053220;
  }
  else if ((local_ac.sa_handler == (__sighandler_t)0x0) && (cVar5 == '\x01')) {
    *(undefined1 *)(iVar2 + param_1 + 0x3b) = 1;
    goto LAB_00053220;
  }
  goto LAB_000531e9;
switchD_0005327e_caseD_f:
  cVar5 = (-(*(char *)(DAT_000d1708 + 0x30) == '\0') & 0xfeU) + 3;
  cVar3 = *(char *)(DAT_000d1708 + param_1 + 0x3b);
joined_r0x000532a6:
  if (cVar3 == '\0') goto LAB_0005319f;
LAB_0005323b:
  if ((cVar3 == '\x04') || (cVar5 == cVar3)) goto LAB_00053220;
LAB_000531e9:
  *(char *)(iVar2 + param_1 + 0x3b) = cVar5;
  if (cVar5 == '\x02') {
    local_ac.sa_handler = (__sighandler_t)&LAB_00052d9a;
  }
  else {
    local_ac._1_3_ = 0;
    local_ac._0_1_ = cVar5 == '\x03';
  }
  local_28 = 0;
  sigfillset(&local_a8);
  FUN_0001ada5();
LAB_00053220:
  if (local_20 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_00017e10();
  }
  return;
}

