
/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void free_trap_strings(void)

{
  uint *puVar1;
  int sig;
  int unaff_EDI;
  
  __x86_get_pc_thunk_di();
  sig = 0;
  do {
    if (*(int *)(unaff_EDI + 0xdaaa9 + sig * 4) != 1) {
      change_signal(sig,(char *)0x0);
      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + sig * 4);
      *puVar1 = *puVar1 & 0xfffffffe;
    }
    sig = sig + 1;
  } while (sig != 0x41);
  do {
    if ((*(byte *)(unaff_EDI + 0xd4a69 + sig * 4) & 1) == 0) {
      change_signal(sig,(char *)0x0);
      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + sig * 4);
      *puVar1 = *puVar1 & 0xfffffffe;
      *(undefined4 *)(unaff_EDI + 0xdaaa9 + sig * 4) = 0;
    }
    sig = sig + 1;
  } while (sig != 0x44);
  return;
}



void free_trap_strings(void)

{
  uint *puVar1;
  int iVar2;
  int unaff_EDI;
  
  FUN_00042933();
  iVar2 = 0;
  do {
    if (*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) != 1) {
      FUN_0007b000();
      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);
      *puVar1 = *puVar1 & 0xfffffffe;
    }
    iVar2 = iVar2 + 1;
  } while (iVar2 != 0x41);
  do {
    if ((*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1) == 0) {
      FUN_0007b000();
      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);
      *puVar1 = *puVar1 & 0xfffffffe;
      *(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0;
    }
    iVar2 = iVar2 + 1;
  } while (iVar2 != 0x44);
  return;
}


PUSH EBP
PUSH EDI
CALL 0x00042933
ADD EDI,0xcd989
PUSH ESI
PUSH EBX
XOR EBX,EBX
SUB ESP,0xc
LEA EBP,[EDI + 0xd120]
LEA ESI,[ESI]
CMP dword ptr [EBP + EBX*0x4],0x1
LEA ESI,[EBX*0x4 + 0x0]
JZ 0x0007c6af
XOR EDX,EDX
MOV EAX,EBX
CALL 0x0007b000
AND dword ptr [EDI + ESI*0x1 + 0x70e0],0xfffffffe
ADD EBX,0x1
CMP EBX,0x41
JNZ 0x0007c690
LEA ESI,[EBX*0x4 + 0x0]
TEST byte ptr [EDI + ESI*0x1 + 0x70e0],0x1
JZ 0x0007c6e0
ADD EBX,0x1
CMP EBX,0x44
JNZ 0x0007c6b7
ADD ESP,0xc
POP EBX
POP ESI
POP EDI
POP EBP
RET
XOR EDX,EDX
MOV EAX,EBX
CALL 0x0007b000
AND dword ptr [EDI + ESI*0x1 + 0x70e0],0xfffffffe
MOV dword ptr [EBP + EBX*0x4],0x0
JMP 0x0007c6c8
(translation_unit "void free_trap_strings(void)\n\n{\n  uint *puVar1;\n  int iVar2;\n  int unaff_EDI;\n  \n  FUN_00042933();\n  iVar2 = 0;\n  do {\n    if (*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) != 1) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }\n    iVar2 = iVar2 + 1;\n  } while (iVar2 != 0x41);\n  do {\n    if ((*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1) == 0) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0;\n    }\n    iVar2 = iVar2 + 1;\n  } while (iVar2 != 0x44);\n  return;\n}\n\n" (function_definition "void free_trap_strings(void)\n\n{\n  uint *puVar1;\n  int iVar2;\n  int unaff_EDI;\n  \n  FUN_00042933();\n  iVar2 = 0;\n  do {\n    if (*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) != 1) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }\n    iVar2 = iVar2 + 1;\n  } while (iVar2 != 0x41);\n  do {\n    if ((*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1) == 0) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0;\n    }\n    iVar2 = iVar2 + 1;\n  } while (iVar2 != 0x44);\n  return;\n}" primitive_type (function_declarator "free_trap_strings(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint *puVar1;\n  int iVar2;\n  int unaff_EDI;\n  \n  FUN_00042933();\n  iVar2 = 0;\n  do {\n    if (*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) != 1) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }\n    iVar2 = iVar2 + 1;\n  } while (iVar2 != 0x41);\n  do {\n    if ((*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1) == 0) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0;\n    }\n    iVar2 = iVar2 + 1;\n  } while (iVar2 != 0x44);\n  return;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "FUN_00042933();" (call_expression "FUN_00042933()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n    if (*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) != 1) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }\n    iVar2 = iVar2 + 1;\n  } while (iVar2 != 0x41);" do (compound_statement "{\n    if (*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) != 1) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }\n    iVar2 = iVar2 + 1;\n  }" { (if_statement "if (*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) != 1) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }" if (parenthesized_expression "(*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) != 1)" ( (binary_expression "*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) != 1" (pointer_expression "*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4)" * (cast_expression "(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xdaaa9 + iVar2 * 4)" ( (binary_expression "unaff_EDI + 0xdaaa9 + iVar2 * 4" (binary_expression "unaff_EDI + 0xdaaa9" identifier + number_literal) + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) != number_literal) )) (compound_statement "{\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }" { (expression_statement "FUN_0007b000();" (call_expression "FUN_0007b000()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);" (assignment_expression "puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4)" identifier = (cast_expression "(uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xd4a69 + iVar2 * 4)" ( (binary_expression "unaff_EDI + 0xd4a69 + iVar2 * 4" (binary_expression "unaff_EDI + 0xd4a69" identifier + number_literal) + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) ;) (expression_statement "*puVar1 = *puVar1 & 0xfffffffe;" (assignment_expression "*puVar1 = *puVar1 & 0xfffffffe" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 & 0xfffffffe" (pointer_expression "*puVar1" * identifier) & number_literal)) ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 != 0x41)" ( (binary_expression "iVar2 != 0x41" identifier != number_literal) )) ;) (do_statement "do {\n    if ((*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1) == 0) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0;\n    }\n    iVar2 = iVar2 + 1;\n  } while (iVar2 != 0x44);" do (compound_statement "{\n    if ((*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1) == 0) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0;\n    }\n    iVar2 = iVar2 + 1;\n  }" { (if_statement "if ((*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1) == 0) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0;\n    }" if (parenthesized_expression "((*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1) == 0)" ( (binary_expression "(*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1) == 0" (parenthesized_expression "(*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1)" ( (binary_expression "*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1" (pointer_expression "*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4)" * (cast_expression "(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xd4a69 + iVar2 * 4)" ( (binary_expression "unaff_EDI + 0xd4a69 + iVar2 * 4" (binary_expression "unaff_EDI + 0xd4a69" identifier + number_literal) + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0;\n    }" { (expression_statement "FUN_0007b000();" (call_expression "FUN_0007b000()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);" (assignment_expression "puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4)" identifier = (cast_expression "(uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xd4a69 + iVar2 * 4)" ( (binary_expression "unaff_EDI + 0xd4a69 + iVar2 * 4" (binary_expression "unaff_EDI + 0xd4a69" identifier + number_literal) + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) ;) (expression_statement "*puVar1 = *puVar1 & 0xfffffffe;" (assignment_expression "*puVar1 = *puVar1 & 0xfffffffe" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 & 0xfffffffe" (pointer_expression "*puVar1" * identifier) & number_literal)) ;) (expression_statement "*(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0;" (assignment_expression "*(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0" (pointer_expression "*(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4)" * (cast_expression "(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xdaaa9 + iVar2 * 4)" ( (binary_expression "unaff_EDI + 0xdaaa9 + iVar2 * 4" (binary_expression "unaff_EDI + 0xdaaa9" identifier + number_literal) + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) = number_literal) ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 != 0x44)" ( (binary_expression "iVar2 != 0x44" identifier != number_literal) )) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Unknown calling convention -- yet parameter storage is locked */\n\nvoid free_trap_strings(void)\n\n{\n  uint *puVar1;\n  int sig;\n  int unaff_EDI;\n  \n  __x86_get_pc_thunk_di();\n  sig = 0;\n  do {\n    if (*(int *)(unaff_EDI + 0xdaaa9 + sig * 4) != 1) {\n      change_signal(sig,(char *)0x0);\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + sig * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }\n    sig = sig + 1;\n  } while (sig != 0x41);\n  do {\n    if ((*(byte *)(unaff_EDI + 0xd4a69 + sig * 4) & 1) == 0) {\n      change_signal(sig,(char *)0x0);\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + sig * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + sig * 4) = 0;\n    }\n    sig = sig + 1;\n  } while (sig != 0x44);\n  return;\n}\n\n" comment (function_definition "void free_trap_strings(void)\n\n{\n  uint *puVar1;\n  int sig;\n  int unaff_EDI;\n  \n  __x86_get_pc_thunk_di();\n  sig = 0;\n  do {\n    if (*(int *)(unaff_EDI + 0xdaaa9 + sig * 4) != 1) {\n      change_signal(sig,(char *)0x0);\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + sig * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }\n    sig = sig + 1;\n  } while (sig != 0x41);\n  do {\n    if ((*(byte *)(unaff_EDI + 0xd4a69 + sig * 4) & 1) == 0) {\n      change_signal(sig,(char *)0x0);\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + sig * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + sig * 4) = 0;\n    }\n    sig = sig + 1;\n  } while (sig != 0x44);\n  return;\n}" primitive_type (function_declarator "free_trap_strings(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint *puVar1;\n  int sig;\n  int unaff_EDI;\n  \n  __x86_get_pc_thunk_di();\n  sig = 0;\n  do {\n    if (*(int *)(unaff_EDI + 0xdaaa9 + sig * 4) != 1) {\n      change_signal(sig,(char *)0x0);\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + sig * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }\n    sig = sig + 1;\n  } while (sig != 0x41);\n  do {\n    if ((*(byte *)(unaff_EDI + 0xd4a69 + sig * 4) & 1) == 0) {\n      change_signal(sig,(char *)0x0);\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + sig * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + sig * 4) = 0;\n    }\n    sig = sig + 1;\n  } while (sig != 0x44);\n  return;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int sig;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "__x86_get_pc_thunk_di();" (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))) ;) (expression_statement "sig = 0;" (assignment_expression "sig = 0" identifier = number_literal) ;) (do_statement "do {\n    if (*(int *)(unaff_EDI + 0xdaaa9 + sig * 4) != 1) {\n      change_signal(sig,(char *)0x0);\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + sig * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }\n    sig = sig + 1;\n  } while (sig != 0x41);" do (compound_statement "{\n    if (*(int *)(unaff_EDI + 0xdaaa9 + sig * 4) != 1) {\n      change_signal(sig,(char *)0x0);\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + sig * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }\n    sig = sig + 1;\n  }" { (if_statement "if (*(int *)(unaff_EDI + 0xdaaa9 + sig * 4) != 1) {\n      change_signal(sig,(char *)0x0);\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + sig * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }" if (parenthesized_expression "(*(int *)(unaff_EDI + 0xdaaa9 + sig * 4) != 1)" ( (binary_expression "*(int *)(unaff_EDI + 0xdaaa9 + sig * 4) != 1" (pointer_expression "*(int *)(unaff_EDI + 0xdaaa9 + sig * 4)" * (cast_expression "(int *)(unaff_EDI + 0xdaaa9 + sig * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xdaaa9 + sig * 4)" ( (binary_expression "unaff_EDI + 0xdaaa9 + sig * 4" (binary_expression "unaff_EDI + 0xdaaa9" identifier + number_literal) + (binary_expression "sig * 4" identifier * number_literal)) )))) != number_literal) )) (compound_statement "{\n      change_signal(sig,(char *)0x0);\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + sig * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }" { (expression_statement "change_signal(sig,(char *)0x0);" (call_expression "change_signal(sig,(char *)0x0)" identifier (argument_list "(sig,(char *)0x0)" ( identifier , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) (expression_statement "puVar1 = (uint *)(unaff_EDI + 0xd4a69 + sig * 4);" (assignment_expression "puVar1 = (uint *)(unaff_EDI + 0xd4a69 + sig * 4)" identifier = (cast_expression "(uint *)(unaff_EDI + 0xd4a69 + sig * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xd4a69 + sig * 4)" ( (binary_expression "unaff_EDI + 0xd4a69 + sig * 4" (binary_expression "unaff_EDI + 0xd4a69" identifier + number_literal) + (binary_expression "sig * 4" identifier * number_literal)) )))) ;) (expression_statement "*puVar1 = *puVar1 & 0xfffffffe;" (assignment_expression "*puVar1 = *puVar1 & 0xfffffffe" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 & 0xfffffffe" (pointer_expression "*puVar1" * identifier) & number_literal)) ;) })) (expression_statement "sig = sig + 1;" (assignment_expression "sig = sig + 1" identifier = (binary_expression "sig + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(sig != 0x41)" ( (binary_expression "sig != 0x41" identifier != number_literal) )) ;) (do_statement "do {\n    if ((*(byte *)(unaff_EDI + 0xd4a69 + sig * 4) & 1) == 0) {\n      change_signal(sig,(char *)0x0);\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + sig * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + sig * 4) = 0;\n    }\n    sig = sig + 1;\n  } while (sig != 0x44);" do (compound_statement "{\n    if ((*(byte *)(unaff_EDI + 0xd4a69 + sig * 4) & 1) == 0) {\n      change_signal(sig,(char *)0x0);\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + sig * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + sig * 4) = 0;\n    }\n    sig = sig + 1;\n  }" { (if_statement "if ((*(byte *)(unaff_EDI + 0xd4a69 + sig * 4) & 1) == 0) {\n      change_signal(sig,(char *)0x0);\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + sig * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + sig * 4) = 0;\n    }" if (parenthesized_expression "((*(byte *)(unaff_EDI + 0xd4a69 + sig * 4) & 1) == 0)" ( (binary_expression "(*(byte *)(unaff_EDI + 0xd4a69 + sig * 4) & 1) == 0" (parenthesized_expression "(*(byte *)(unaff_EDI + 0xd4a69 + sig * 4) & 1)" ( (binary_expression "*(byte *)(unaff_EDI + 0xd4a69 + sig * 4) & 1" (pointer_expression "*(byte *)(unaff_EDI + 0xd4a69 + sig * 4)" * (cast_expression "(byte *)(unaff_EDI + 0xd4a69 + sig * 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xd4a69 + sig * 4)" ( (binary_expression "unaff_EDI + 0xd4a69 + sig * 4" (binary_expression "unaff_EDI + 0xd4a69" identifier + number_literal) + (binary_expression "sig * 4" identifier * number_literal)) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      change_signal(sig,(char *)0x0);\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + sig * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + sig * 4) = 0;\n    }" { (expression_statement "change_signal(sig,(char *)0x0);" (call_expression "change_signal(sig,(char *)0x0)" identifier (argument_list "(sig,(char *)0x0)" ( identifier , (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) (expression_statement "puVar1 = (uint *)(unaff_EDI + 0xd4a69 + sig * 4);" (assignment_expression "puVar1 = (uint *)(unaff_EDI + 0xd4a69 + sig * 4)" identifier = (cast_expression "(uint *)(unaff_EDI + 0xd4a69 + sig * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xd4a69 + sig * 4)" ( (binary_expression "unaff_EDI + 0xd4a69 + sig * 4" (binary_expression "unaff_EDI + 0xd4a69" identifier + number_literal) + (binary_expression "sig * 4" identifier * number_literal)) )))) ;) (expression_statement "*puVar1 = *puVar1 & 0xfffffffe;" (assignment_expression "*puVar1 = *puVar1 & 0xfffffffe" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 & 0xfffffffe" (pointer_expression "*puVar1" * identifier) & number_literal)) ;) (expression_statement "*(undefined4 *)(unaff_EDI + 0xdaaa9 + sig * 4) = 0;" (assignment_expression "*(undefined4 *)(unaff_EDI + 0xdaaa9 + sig * 4) = 0" (pointer_expression "*(undefined4 *)(unaff_EDI + 0xdaaa9 + sig * 4)" * (cast_expression "(undefined4 *)(unaff_EDI + 0xdaaa9 + sig * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xdaaa9 + sig * 4)" ( (binary_expression "unaff_EDI + 0xdaaa9 + sig * 4" (binary_expression "unaff_EDI + 0xdaaa9" identifier + number_literal) + (binary_expression "sig * 4" identifier * number_literal)) )))) = number_literal) ;) })) (expression_statement "sig = sig + 1;" (assignment_expression "sig = sig + 1" identifier = (binary_expression "sig + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(sig != 0x44)" ( (binary_expression "sig != 0x44" identifier != number_literal) )) ;) (return_statement "return;" return ;) })))
(translation_unit "void free_trap_strings(void)\n\n{\n  uint *puVar1;\n  int iVar2;\n  int unaff_EDI;\n  \n  FUN_00042933();\n  iVar2 = 0;\n  do {\n    if (*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) != 1) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }\n    iVar2 = iVar2 + 1;\n  } while (iVar2 != 0x41);\n  do {\n    if ((*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1) == 0) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0;\n    }\n    iVar2 = iVar2 + 1;\n  } while (iVar2 != 0x44);\n  return;\n}\n\n" (function_definition "void free_trap_strings(void)\n\n{\n  uint *puVar1;\n  int iVar2;\n  int unaff_EDI;\n  \n  FUN_00042933();\n  iVar2 = 0;\n  do {\n    if (*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) != 1) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }\n    iVar2 = iVar2 + 1;\n  } while (iVar2 != 0x41);\n  do {\n    if ((*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1) == 0) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0;\n    }\n    iVar2 = iVar2 + 1;\n  } while (iVar2 != 0x44);\n  return;\n}" primitive_type (function_declarator "free_trap_strings(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  uint *puVar1;\n  int iVar2;\n  int unaff_EDI;\n  \n  FUN_00042933();\n  iVar2 = 0;\n  do {\n    if (*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) != 1) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }\n    iVar2 = iVar2 + 1;\n  } while (iVar2 != 0x41);\n  do {\n    if ((*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1) == 0) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0;\n    }\n    iVar2 = iVar2 + 1;\n  } while (iVar2 != 0x44);\n  return;\n}" { (declaration "uint *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "FUN_00042933();" (call_expression "FUN_00042933()" identifier (argument_list "()" ( ))) ;) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" identifier = number_literal) ;) (do_statement "do {\n    if (*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) != 1) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }\n    iVar2 = iVar2 + 1;\n  } while (iVar2 != 0x41);" do (compound_statement "{\n    if (*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) != 1) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }\n    iVar2 = iVar2 + 1;\n  }" { (if_statement "if (*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) != 1) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }" if (parenthesized_expression "(*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) != 1)" ( (binary_expression "*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) != 1" (pointer_expression "*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4)" * (cast_expression "(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xdaaa9 + iVar2 * 4)" ( (binary_expression "unaff_EDI + 0xdaaa9 + iVar2 * 4" (binary_expression "unaff_EDI + 0xdaaa9" identifier + number_literal) + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) != number_literal) )) (compound_statement "{\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }" { (expression_statement "FUN_0007b000();" (call_expression "FUN_0007b000()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);" (assignment_expression "puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4)" identifier = (cast_expression "(uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xd4a69 + iVar2 * 4)" ( (binary_expression "unaff_EDI + 0xd4a69 + iVar2 * 4" (binary_expression "unaff_EDI + 0xd4a69" identifier + number_literal) + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) ;) (expression_statement "*puVar1 = *puVar1 & 0xfffffffe;" (assignment_expression "*puVar1 = *puVar1 & 0xfffffffe" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 & 0xfffffffe" (pointer_expression "*puVar1" * identifier) & number_literal)) ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 != 0x41)" ( (binary_expression "iVar2 != 0x41" identifier != number_literal) )) ;) (do_statement "do {\n    if ((*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1) == 0) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0;\n    }\n    iVar2 = iVar2 + 1;\n  } while (iVar2 != 0x44);" do (compound_statement "{\n    if ((*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1) == 0) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0;\n    }\n    iVar2 = iVar2 + 1;\n  }" { (if_statement "if ((*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1) == 0) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0;\n    }" if (parenthesized_expression "((*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1) == 0)" ( (binary_expression "(*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1) == 0" (parenthesized_expression "(*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1)" ( (binary_expression "*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1" (pointer_expression "*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4)" * (cast_expression "(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xd4a69 + iVar2 * 4)" ( (binary_expression "unaff_EDI + 0xd4a69 + iVar2 * 4" (binary_expression "unaff_EDI + 0xd4a69" identifier + number_literal) + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) & number_literal) )) == number_literal) )) (compound_statement "{\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0;\n    }" { (expression_statement "FUN_0007b000();" (call_expression "FUN_0007b000()" identifier (argument_list "()" ( ))) ;) (expression_statement "puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);" (assignment_expression "puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4)" identifier = (cast_expression "(uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xd4a69 + iVar2 * 4)" ( (binary_expression "unaff_EDI + 0xd4a69 + iVar2 * 4" (binary_expression "unaff_EDI + 0xd4a69" identifier + number_literal) + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) ;) (expression_statement "*puVar1 = *puVar1 & 0xfffffffe;" (assignment_expression "*puVar1 = *puVar1 & 0xfffffffe" (pointer_expression "*puVar1" * identifier) = (binary_expression "*puVar1 & 0xfffffffe" (pointer_expression "*puVar1" * identifier) & number_literal)) ;) (expression_statement "*(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0;" (assignment_expression "*(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0" (pointer_expression "*(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4)" * (cast_expression "(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0xdaaa9 + iVar2 * 4)" ( (binary_expression "unaff_EDI + 0xdaaa9 + iVar2 * 4" (binary_expression "unaff_EDI + 0xdaaa9" identifier + number_literal) + (binary_expression "iVar2 * 4" identifier * number_literal)) )))) = number_literal) ;) })) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" identifier = (binary_expression "iVar2 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar2 != 0x44)" ( (binary_expression "iVar2 != 0x44" identifier != number_literal) )) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) != LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) & LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (do_statement do (compound_statement { (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 (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) & LIT) )) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (binary_expression (pointer_expression * IDENT) & LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) + (binary_expression IDENT * LIT)) )))) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (return_statement return ;) })))
(function_definition "void free_trap_strings(void)\n\n{\n  uint *puVar1;\n  int iVar2;\n  int unaff_EDI;\n  \n  FUN_00042933();\n  iVar2 = 0;\n  do {\n    if (*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) != 1) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }\n    iVar2 = iVar2 + 1;\n  } while (iVar2 != 0x41);\n  do {\n    if ((*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1) == 0) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0;\n    }\n    iVar2 = iVar2 + 1;\n  } while (iVar2 != 0x44);\n  return;\n}" (primitive_type "void") (function_declarator "free_trap_strings(void)" (identifier "free_trap_strings") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  uint *puVar1;\n  int iVar2;\n  int unaff_EDI;\n  \n  FUN_00042933();\n  iVar2 = 0;\n  do {\n    if (*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) != 1) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }\n    iVar2 = iVar2 + 1;\n  } while (iVar2 != 0x41);\n  do {\n    if ((*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1) == 0) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0;\n    }\n    iVar2 = iVar2 + 1;\n  } while (iVar2 != 0x44);\n  return;\n}" ({ "{") (declaration "uint *puVar1;" (type_identifier "uint") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (expression_statement "FUN_00042933();" (call_expression "FUN_00042933()" (identifier "FUN_00042933") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "iVar2 = 0;" (assignment_expression "iVar2 = 0" (identifier "iVar2") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n    if (*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) != 1) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }\n    iVar2 = iVar2 + 1;\n  } while (iVar2 != 0x41);" (do "do") (compound_statement "{\n    if (*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) != 1) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }\n    iVar2 = iVar2 + 1;\n  }" ({ "{") (if_statement "if (*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) != 1) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }" (if "if") (parenthesized_expression "(*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) != 1)" (( "(") (binary_expression "*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) != 1" (pointer_expression "*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4)" (* "*") (cast_expression "(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0xdaaa9 + iVar2 * 4)" (( "(") (binary_expression "unaff_EDI + 0xdaaa9 + iVar2 * 4" (binary_expression "unaff_EDI + 0xdaaa9" (identifier "unaff_EDI") (+ "+") (number_literal "0xdaaa9")) (+ "+") (binary_expression "iVar2 * 4" (identifier "iVar2") (* "*") (number_literal "4"))) () ")")))) (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n    }" ({ "{") (expression_statement "FUN_0007b000();" (call_expression "FUN_0007b000()" (identifier "FUN_0007b000") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);" (assignment_expression "puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4)" (identifier "puVar1") (= "=") (cast_expression "(uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0xd4a69 + iVar2 * 4)" (( "(") (binary_expression "unaff_EDI + 0xd4a69 + iVar2 * 4" (binary_expression "unaff_EDI + 0xd4a69" (identifier "unaff_EDI") (+ "+") (number_literal "0xd4a69")) (+ "+") (binary_expression "iVar2 * 4" (identifier "iVar2") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "*puVar1 = *puVar1 & 0xfffffffe;" (assignment_expression "*puVar1 = *puVar1 & 0xfffffffe" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (binary_expression "*puVar1 & 0xfffffffe" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (& "&") (number_literal "0xfffffffe"))) (; ";")) (} "}"))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar2 != 0x41)" (( "(") (binary_expression "iVar2 != 0x41" (identifier "iVar2") (!= "!=") (number_literal "0x41")) () ")")) (; ";")) (do_statement "do {\n    if ((*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1) == 0) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0;\n    }\n    iVar2 = iVar2 + 1;\n  } while (iVar2 != 0x44);" (do "do") (compound_statement "{\n    if ((*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1) == 0) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0;\n    }\n    iVar2 = iVar2 + 1;\n  }" ({ "{") (if_statement "if ((*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1) == 0) {\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0;\n    }" (if "if") (parenthesized_expression "((*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1) == 0)" (( "(") (binary_expression "(*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1) == 0" (parenthesized_expression "(*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1)" (( "(") (binary_expression "*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1" (pointer_expression "*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4)" (* "*") (cast_expression "(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0xd4a69 + iVar2 * 4)" (( "(") (binary_expression "unaff_EDI + 0xd4a69 + iVar2 * 4" (binary_expression "unaff_EDI + 0xd4a69" (identifier "unaff_EDI") (+ "+") (number_literal "0xd4a69")) (+ "+") (binary_expression "iVar2 * 4" (identifier "iVar2") (* "*") (number_literal "4"))) () ")")))) (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_0007b000();\n      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);\n      *puVar1 = *puVar1 & 0xfffffffe;\n      *(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0;\n    }" ({ "{") (expression_statement "FUN_0007b000();" (call_expression "FUN_0007b000()" (identifier "FUN_0007b000") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);" (assignment_expression "puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4)" (identifier "puVar1") (= "=") (cast_expression "(uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0xd4a69 + iVar2 * 4)" (( "(") (binary_expression "unaff_EDI + 0xd4a69 + iVar2 * 4" (binary_expression "unaff_EDI + 0xd4a69" (identifier "unaff_EDI") (+ "+") (number_literal "0xd4a69")) (+ "+") (binary_expression "iVar2 * 4" (identifier "iVar2") (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "*puVar1 = *puVar1 & 0xfffffffe;" (assignment_expression "*puVar1 = *puVar1 & 0xfffffffe" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (binary_expression "*puVar1 & 0xfffffffe" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (& "&") (number_literal "0xfffffffe"))) (; ";")) (expression_statement "*(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0;" (assignment_expression "*(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0" (pointer_expression "*(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4)" (* "*") (cast_expression "(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_EDI + 0xdaaa9 + iVar2 * 4)" (( "(") (binary_expression "unaff_EDI + 0xdaaa9 + iVar2 * 4" (binary_expression "unaff_EDI + 0xdaaa9" (identifier "unaff_EDI") (+ "+") (number_literal "0xdaaa9")) (+ "+") (binary_expression "iVar2 * 4" (identifier "iVar2") (* "*") (number_literal "4"))) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "iVar2 = iVar2 + 1;" (assignment_expression "iVar2 = iVar2 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar2 + 1" (identifier "iVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar2 != 0x44)" (( "(") (binary_expression "iVar2 != 0x44" (identifier "iVar2") (!= "!=") (number_literal "0x44")) () ")")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Unknown calling convention -- yet parameter storage is locked */

void function_1(void)

{
  type_1 *puVar1;
  int var_3;
  int var_2;
  
  var_1();
  var_3 = 0;
  do {
    if (*(int *)(var_2 + 0xdaaa9 + var_3 * 4) != 1) {
      var_4(var_3,(char *)0x0);
      puVar1 = (type_1 *)(var_2 + 0xd4a69 + var_3 * 4);
      *puVar1 = *puVar1 & 0xfffffffe;
    }
    var_3 = var_3 + 1;
  } while (var_3 != 0x41);
  do {
    if ((*(type_2 *)(var_2 + 0xd4a69 + var_3 * 4) & 1) == 0) {
      var_4(var_3,(char *)0x0);
      puVar1 = (type_1 *)(var_2 + 0xd4a69 + var_3 * 4);
      *puVar1 = *puVar1 & 0xfffffffe;
      *(type_3 *)(var_2 + 0xdaaa9 + var_3 * 4) = 0;
    }
    var_3 = var_3 + 1;
  } while (var_3 != 0x44);
  return;
}


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

void MASKED(void)

{
  uint *puVar1;
  int iVar2;
  int unaff_EDI;
  
  FUN_00042933();
  iVar2 = 0;
  do {
    if (*(int *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) != 1) {
      FUN_0007b000();
      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);
      *puVar1 = *puVar1 & 0xfffffffe;
    }
    iVar2 = iVar2 + 1;
  } while (iVar2 != 0x41);
  do {
    if ((*(byte *)(unaff_EDI + 0xd4a69 + iVar2 * 4) & 1) == 0) {
      FUN_0007b000();
      puVar1 = (uint *)(unaff_EDI + 0xd4a69 + iVar2 * 4);
      *puVar1 = *puVar1 & 0xfffffffe;
      *(undefined4 *)(unaff_EDI + 0xdaaa9 + iVar2 * 4) = 0;
    }
    iVar2 = iVar2 + 1;
  } while (iVar2 != 0x44);
  return;
}

