
int rc4_start(prng_state *prng)

{
  ulong uVar1;
  undefined8 *puVar2;
  
  if (prng != (prng_state *)0x0) {
    (prng->field_0).yarrow.cipher = 0;
    puVar2 = (undefined8 *)((ulong)((long)&prng->field_0 + 0x10U) & 0xfffffffffffffff8);
    prng->ready = 0;
    *(undefined8 *)((long)&prng->field_0 + 8) = 0;
    *(undefined8 *)((long)&prng->field_0 + 0x100) = 0;
    uVar1 = (ulong)(((int)prng - (int)puVar2) + 0x108U >> 3);
    for (; uVar1 != 0; uVar1 = uVar1 - 1) {
      *puVar2 = 0;
      puVar2 = puVar2 + 1;
    }
    return 0;
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("prng != NULL","src/prngs/rc4.c",0x27);
}



void rc4_start(undefined4 *param_1)

{
  ulong uVar1;
  undefined8 *puVar2;
  
  if (param_1 != (undefined4 *)0x0) {
    *param_1 = 0;
    *(undefined2 *)(param_1 + 0x113c) = 0;
    *(undefined8 *)(param_1 + 2) = 0;
    *(undefined8 *)(param_1 + 0x40) = 0;
    puVar2 = (undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8);
    for (uVar1 = (ulong)(((int)param_1 -
                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>
                        3); uVar1 != 0; uVar1 = uVar1 - 1) {
      *puVar2 = 0;
      puVar2 = puVar2 + 1;
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("prng != NULL","src/prngs/rc4.c",0x27);
}


TEST RDI,RDI
JZ 0x001964b3
LEA RDX,[RDI + 0x10]
XOR EAX,EAX
MOV dword ptr [RDI],0x0
AND RDX,-0x8
MOV word ptr [RDI + 0x44f0],AX
XOR EAX,EAX
MOV qword ptr [RDI + 0x8],0x0
MOV qword ptr [RDI + 0x100],0x0
SUB EDI,EDX
LEA ECX,[RDI + 0x108]
MOV RDI,RDX
SHR ECX,0x3
STOSQ.REP RDI
RET
PUSH RDX
LEA RSI,[0x1d671c]
MOV EDX,0x27
LEA RDI,[0x1cf12d]
CALL 0x00114270
(translation_unit "void rc4_start(undefined4 *param_1)\n\n{\n  ulong uVar1;\n  undefined8 *puVar2;\n  \n  if (param_1 != (undefined4 *)0x0) {\n    *param_1 = 0;\n    *(undefined2 *)(param_1 + 0x113c) = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    *(undefined8 *)(param_1 + 0x40) = 0;\n    puVar2 = (undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8);\n    for (uVar1 = (ulong)(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3); uVar1 != 0; uVar1 = uVar1 - 1) {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("prng != NULL","src/prngs/rc4.c",0x27);\n}\n\n" (function_definition "void rc4_start(undefined4 *param_1)\n\n{\n  ulong uVar1;\n  undefined8 *puVar2;\n  \n  if (param_1 != (undefined4 *)0x0) {\n    *param_1 = 0;\n    *(undefined2 *)(param_1 + 0x113c) = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    *(undefined8 *)(param_1 + 0x40) = 0;\n    puVar2 = (undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8);\n    for (uVar1 = (ulong)(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3); uVar1 != 0; uVar1 = uVar1 - 1) {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("prng != NULL","src/prngs/rc4.c",0x27);\n}" primitive_type (function_declarator "rc4_start(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  ulong uVar1;\n  undefined8 *puVar2;\n  \n  if (param_1 != (undefined4 *)0x0) {\n    *param_1 = 0;\n    *(undefined2 *)(param_1 + 0x113c) = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    *(undefined8 *)(param_1 + 0x40) = 0;\n    puVar2 = (undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8);\n    for (uVar1 = (ulong)(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3); uVar1 != 0; uVar1 = uVar1 - 1) {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }\n    return;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("prng != NULL","src/prngs/rc4.c",0x27);\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "undefined8 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (if_statement "if (param_1 != (undefined4 *)0x0) {\n    *param_1 = 0;\n    *(undefined2 *)(param_1 + 0x113c) = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    *(undefined8 *)(param_1 + 0x40) = 0;\n    puVar2 = (undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8);\n    for (uVar1 = (ulong)(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3); uVar1 != 0; uVar1 = uVar1 - 1) {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }\n    return;\n  }" if (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_1 = 0;\n    *(undefined2 *)(param_1 + 0x113c) = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    *(undefined8 *)(param_1 + 0x40) = 0;\n    puVar2 = (undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8);\n    for (uVar1 = (ulong)(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3); uVar1 != 0; uVar1 = uVar1 - 1) {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }\n    return;\n  }" { (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "*(undefined2 *)(param_1 + 0x113c) = 0;" (assignment_expression "*(undefined2 *)(param_1 + 0x113c) = 0" (pointer_expression "*(undefined2 *)(param_1 + 0x113c)" * (cast_expression "(undefined2 *)(param_1 + 0x113c)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x113c)" ( (binary_expression "param_1 + 0x113c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 2) = 0" (pointer_expression "*(undefined8 *)(param_1 + 2)" * (cast_expression "(undefined8 *)(param_1 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(param_1 + 0x40) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 0x40) = 0" (pointer_expression "*(undefined8 *)(param_1 + 0x40)" * (cast_expression "(undefined8 *)(param_1 + 0x40)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar2 = (undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8);" (assignment_expression "puVar2 = (undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)" identifier = (cast_expression "(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(param_1 + 4) & 0xfffffffffffffff8)" ( (binary_expression "(ulong)(param_1 + 4) & 0xfffffffffffffff8" (call_expression "(ulong)(param_1 + 4)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar1 = (ulong)(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3); uVar1 != 0; uVar1 = uVar1 - 1) {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }" for ( (assignment_expression "uVar1 = (ulong)(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3)" identifier = (call_expression "(ulong)(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3)" ( (binary_expression "((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3" (binary_expression "((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U" (parenthesized_expression "((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8))" ( (binary_expression "(int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)" ( (type_descriptor "int" primitive_type) ) (cast_expression "(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(param_1 + 4) & 0xfffffffffffffff8)" ( (binary_expression "(ulong)(param_1 + 4) & 0xfffffffffffffff8" (call_expression "(ulong)(param_1 + 4)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))) & number_literal) ))))) )) + number_literal) >> number_literal) )))) ; (binary_expression "uVar1 != 0" identifier != number_literal) ; (assignment_expression "uVar1 = uVar1 - 1" identifier = (binary_expression "uVar1 - 1" identifier - number_literal)) ) (compound_statement "{\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }" { (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) })) (return_statement "return;" return ;) })) comment (expression_statement "crypt_argchk("prng != NULL","src/prngs/rc4.c",0x27);" (call_expression "crypt_argchk("prng != NULL","src/prngs/rc4.c",0x27)" identifier (argument_list "("prng != NULL","src/prngs/rc4.c",0x27)" ( (string_literal ""prng != NULL"" " string_content ") , (string_literal ""src/prngs/rc4.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit "int rc4_start(prng_state *prng)\n\n{\n  ulong uVar1;\n  undefined8 *puVar2;\n  \n  if (prng != (prng_state *)0x0) {\n    (prng->field_0).yarrow.cipher = 0;\n    puVar2 = (undefined8 *)((ulong)((long)&prng->field_0 + 0x10U) & 0xfffffffffffffff8);\n    prng->ready = 0;\n    *(undefined8 *)((long)&prng->field_0 + 8) = 0;\n    *(undefined8 *)((long)&prng->field_0 + 0x100) = 0;\n    uVar1 = (ulong)(((int)prng - (int)puVar2) + 0x108U >> 3);\n    for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }\n    return 0;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("prng != NULL","src/prngs/rc4.c",0x27);\n}\n\n" (function_definition "int rc4_start(prng_state *prng)\n\n{\n  ulong uVar1;\n  undefined8 *puVar2;\n  \n  if (prng != (prng_state *)0x0) {\n    (prng->field_0).yarrow.cipher = 0;\n    puVar2 = (undefined8 *)((ulong)((long)&prng->field_0 + 0x10U) & 0xfffffffffffffff8);\n    prng->ready = 0;\n    *(undefined8 *)((long)&prng->field_0 + 8) = 0;\n    *(undefined8 *)((long)&prng->field_0 + 0x100) = 0;\n    uVar1 = (ulong)(((int)prng - (int)puVar2) + 0x108U >> 3);\n    for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }\n    return 0;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("prng != NULL","src/prngs/rc4.c",0x27);\n}" primitive_type (function_declarator "rc4_start(prng_state *prng)" identifier (parameter_list "(prng_state *prng)" ( (parameter_declaration "prng_state *prng" type_identifier (pointer_declarator "*prng" * identifier)) ))) (compound_statement "{\n  ulong uVar1;\n  undefined8 *puVar2;\n  \n  if (prng != (prng_state *)0x0) {\n    (prng->field_0).yarrow.cipher = 0;\n    puVar2 = (undefined8 *)((ulong)((long)&prng->field_0 + 0x10U) & 0xfffffffffffffff8);\n    prng->ready = 0;\n    *(undefined8 *)((long)&prng->field_0 + 8) = 0;\n    *(undefined8 *)((long)&prng->field_0 + 0x100) = 0;\n    uVar1 = (ulong)(((int)prng - (int)puVar2) + 0x108U >> 3);\n    for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }\n    return 0;\n  }\n                    /* WARNING: Subroutine does not return */\n  crypt_argchk("prng != NULL","src/prngs/rc4.c",0x27);\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "undefined8 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (if_statement "if (prng != (prng_state *)0x0) {\n    (prng->field_0).yarrow.cipher = 0;\n    puVar2 = (undefined8 *)((ulong)((long)&prng->field_0 + 0x10U) & 0xfffffffffffffff8);\n    prng->ready = 0;\n    *(undefined8 *)((long)&prng->field_0 + 8) = 0;\n    *(undefined8 *)((long)&prng->field_0 + 0x100) = 0;\n    uVar1 = (ulong)(((int)prng - (int)puVar2) + 0x108U >> 3);\n    for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }\n    return 0;\n  }" if (parenthesized_expression "(prng != (prng_state *)0x0)" ( (binary_expression "prng != (prng_state *)0x0" identifier != (cast_expression "(prng_state *)0x0" ( (type_descriptor "prng_state *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (prng->field_0).yarrow.cipher = 0;\n    puVar2 = (undefined8 *)((ulong)((long)&prng->field_0 + 0x10U) & 0xfffffffffffffff8);\n    prng->ready = 0;\n    *(undefined8 *)((long)&prng->field_0 + 8) = 0;\n    *(undefined8 *)((long)&prng->field_0 + 0x100) = 0;\n    uVar1 = (ulong)(((int)prng - (int)puVar2) + 0x108U >> 3);\n    for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }\n    return 0;\n  }" { (expression_statement "(prng->field_0).yarrow.cipher = 0;" (assignment_expression "(prng->field_0).yarrow.cipher = 0" (field_expression "(prng->field_0).yarrow.cipher" (field_expression "(prng->field_0).yarrow" (parenthesized_expression "(prng->field_0)" ( (field_expression "prng->field_0" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "puVar2 = (undefined8 *)((ulong)((long)&prng->field_0 + 0x10U) & 0xfffffffffffffff8);" (assignment_expression "puVar2 = (undefined8 *)((ulong)((long)&prng->field_0 + 0x10U) & 0xfffffffffffffff8)" identifier = (cast_expression "(undefined8 *)((ulong)((long)&prng->field_0 + 0x10U) & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)((long)&prng->field_0 + 0x10U) & 0xfffffffffffffff8)" ( (binary_expression "(ulong)((long)&prng->field_0 + 0x10U) & 0xfffffffffffffff8" (call_expression "(ulong)((long)&prng->field_0 + 0x10U)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "((long)&prng->field_0 + 0x10U)" ( (binary_expression "(long)&prng->field_0 + 0x10U" (cast_expression "(long)&prng->field_0" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&prng->field_0" & (field_expression "prng->field_0" identifier -> field_identifier))) + number_literal) ))) & number_literal) )))) ;) (expression_statement "prng->ready = 0;" (assignment_expression "prng->ready = 0" (field_expression "prng->ready" identifier -> field_identifier) = number_literal) ;) (expression_statement "*(undefined8 *)((long)&prng->field_0 + 8) = 0;" (assignment_expression "*(undefined8 *)((long)&prng->field_0 + 8) = 0" (pointer_expression "*(undefined8 *)((long)&prng->field_0 + 8)" * (cast_expression "(undefined8 *)((long)&prng->field_0 + 8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&prng->field_0 + 8)" ( (binary_expression "(long)&prng->field_0 + 8" (cast_expression "(long)&prng->field_0" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&prng->field_0" & (field_expression "prng->field_0" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)((long)&prng->field_0 + 0x100) = 0;" (assignment_expression "*(undefined8 *)((long)&prng->field_0 + 0x100) = 0" (pointer_expression "*(undefined8 *)((long)&prng->field_0 + 0x100)" * (cast_expression "(undefined8 *)((long)&prng->field_0 + 0x100)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&prng->field_0 + 0x100)" ( (binary_expression "(long)&prng->field_0 + 0x100" (cast_expression "(long)&prng->field_0" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&prng->field_0" & (field_expression "prng->field_0" identifier -> field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "uVar1 = (ulong)(((int)prng - (int)puVar2) + 0x108U >> 3);" (assignment_expression "uVar1 = (ulong)(((int)prng - (int)puVar2) + 0x108U >> 3)" identifier = (call_expression "(ulong)(((int)prng - (int)puVar2) + 0x108U >> 3)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(((int)prng - (int)puVar2) + 0x108U >> 3)" ( (binary_expression "((int)prng - (int)puVar2) + 0x108U >> 3" (binary_expression "((int)prng - (int)puVar2) + 0x108U" (parenthesized_expression "((int)prng - (int)puVar2)" ( (binary_expression "(int)prng - (int)puVar2" (cast_expression "(int)prng" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)puVar2" ( (type_descriptor "int" primitive_type) ) identifier)) )) + number_literal) >> number_literal) )))) ;) (for_statement "for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }" for ( ; (binary_expression "uVar1 != 0" identifier != number_literal) ; (assignment_expression "uVar1 = uVar1 - 1" identifier = (binary_expression "uVar1 - 1" identifier - number_literal)) ) (compound_statement "{\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }" { (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) })) (return_statement "return 0;" return number_literal ;) })) comment (expression_statement "crypt_argchk("prng != NULL","src/prngs/rc4.c",0x27);" (call_expression "crypt_argchk("prng != NULL","src/prngs/rc4.c",0x27)" identifier (argument_list "("prng != NULL","src/prngs/rc4.c",0x27)" ( (string_literal ""prng != NULL"" " string_content ") , (string_literal ""src/prngs/rc4.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit "void rc4_start(undefined4 *param_1)\n\n{\n  ulong uVar1;\n  undefined8 *puVar2;\n  \n  if (param_1 != (undefined4 *)0x0) {\n    *param_1 = 0;\n    *(undefined2 *)(param_1 + 0x113c) = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    *(undefined8 *)(param_1 + 0x40) = 0;\n    puVar2 = (undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8);\n    for (uVar1 = (ulong)(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3); uVar1 != 0; uVar1 = uVar1 - 1) {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }\n    return;\n  }\n                    \n  crypt_argchk("prng != NULL","src/prngs/rc4.c",0x27);\n}\n\n" (function_definition "void rc4_start(undefined4 *param_1)\n\n{\n  ulong uVar1;\n  undefined8 *puVar2;\n  \n  if (param_1 != (undefined4 *)0x0) {\n    *param_1 = 0;\n    *(undefined2 *)(param_1 + 0x113c) = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    *(undefined8 *)(param_1 + 0x40) = 0;\n    puVar2 = (undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8);\n    for (uVar1 = (ulong)(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3); uVar1 != 0; uVar1 = uVar1 - 1) {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }\n    return;\n  }\n                    \n  crypt_argchk("prng != NULL","src/prngs/rc4.c",0x27);\n}" primitive_type (function_declarator "rc4_start(undefined4 *param_1)" identifier (parameter_list "(undefined4 *param_1)" ( (parameter_declaration "undefined4 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  ulong uVar1;\n  undefined8 *puVar2;\n  \n  if (param_1 != (undefined4 *)0x0) {\n    *param_1 = 0;\n    *(undefined2 *)(param_1 + 0x113c) = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    *(undefined8 *)(param_1 + 0x40) = 0;\n    puVar2 = (undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8);\n    for (uVar1 = (ulong)(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3); uVar1 != 0; uVar1 = uVar1 - 1) {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }\n    return;\n  }\n                    \n  crypt_argchk("prng != NULL","src/prngs/rc4.c",0x27);\n}" { (declaration "ulong uVar1;" type_identifier identifier ;) (declaration "undefined8 *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (if_statement "if (param_1 != (undefined4 *)0x0) {\n    *param_1 = 0;\n    *(undefined2 *)(param_1 + 0x113c) = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    *(undefined8 *)(param_1 + 0x40) = 0;\n    puVar2 = (undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8);\n    for (uVar1 = (ulong)(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3); uVar1 != 0; uVar1 = uVar1 - 1) {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }\n    return;\n  }" if (parenthesized_expression "(param_1 != (undefined4 *)0x0)" ( (binary_expression "param_1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *param_1 = 0;\n    *(undefined2 *)(param_1 + 0x113c) = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    *(undefined8 *)(param_1 + 0x40) = 0;\n    puVar2 = (undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8);\n    for (uVar1 = (ulong)(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3); uVar1 != 0; uVar1 = uVar1 - 1) {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }\n    return;\n  }" { (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" * identifier) = number_literal) ;) (expression_statement "*(undefined2 *)(param_1 + 0x113c) = 0;" (assignment_expression "*(undefined2 *)(param_1 + 0x113c) = 0" (pointer_expression "*(undefined2 *)(param_1 + 0x113c)" * (cast_expression "(undefined2 *)(param_1 + 0x113c)" ( (type_descriptor "undefined2 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x113c)" ( (binary_expression "param_1 + 0x113c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 2) = 0" (pointer_expression "*(undefined8 *)(param_1 + 2)" * (cast_expression "(undefined8 *)(param_1 + 2)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 2)" ( (binary_expression "param_1 + 2" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined8 *)(param_1 + 0x40) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 0x40) = 0" (pointer_expression "*(undefined8 *)(param_1 + 0x40)" * (cast_expression "(undefined8 *)(param_1 + 0x40)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x40)" ( (binary_expression "param_1 + 0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar2 = (undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8);" (assignment_expression "puVar2 = (undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)" identifier = (cast_expression "(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(param_1 + 4) & 0xfffffffffffffff8)" ( (binary_expression "(ulong)(param_1 + 4) & 0xfffffffffffffff8" (call_expression "(ulong)(param_1 + 4)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))) & number_literal) )))) ;) (for_statement "for (uVar1 = (ulong)(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3); uVar1 != 0; uVar1 = uVar1 - 1) {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }" for ( (assignment_expression "uVar1 = (ulong)(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3)" identifier = (call_expression "(ulong)(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3)" ( (binary_expression "((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3" (binary_expression "((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U" (parenthesized_expression "((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8))" ( (binary_expression "(int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)" (cast_expression "(int)param_1" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)" ( (type_descriptor "int" primitive_type) ) (cast_expression "(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((ulong)(param_1 + 4) & 0xfffffffffffffff8)" ( (binary_expression "(ulong)(param_1 + 4) & 0xfffffffffffffff8" (call_expression "(ulong)(param_1 + 4)" (parenthesized_expression "(ulong)" ( identifier )) (argument_list "(param_1 + 4)" ( (binary_expression "param_1 + 4" identifier + number_literal) ))) & number_literal) ))))) )) + number_literal) >> number_literal) )))) ; (binary_expression "uVar1 != 0" identifier != number_literal) ; (assignment_expression "uVar1 = uVar1 - 1" identifier = (binary_expression "uVar1 - 1" identifier - number_literal)) ) (compound_statement "{\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }" { (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" * identifier) = number_literal) ;) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" identifier = (binary_expression "puVar2 + 1" identifier + number_literal)) ;) })) (return_statement "return;" return ;) })) (expression_statement "crypt_argchk("prng != NULL","src/prngs/rc4.c",0x27);" (call_expression "crypt_argchk("prng != NULL","src/prngs/rc4.c",0x27)" identifier (argument_list "("prng != NULL","src/prngs/rc4.c",0x27)" ( (string_literal ""prng != NULL"" " string_content ") , (string_literal ""src/prngs/rc4.c"" " string_content ") , number_literal ))) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) )))) ;) (for_statement for ( (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT + LIT) ))) & LIT) ))))) )) + LIT) >> LIT) )))) ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( (string_literal " string_content ") , (string_literal " string_content ") , LIT ))) ;) })))
(function_definition "void rc4_start(undefined4 *param_1)\n\n{\n  ulong uVar1;\n  undefined8 *puVar2;\n  \n  if (param_1 != (undefined4 *)0x0) {\n    *param_1 = 0;\n    *(undefined2 *)(param_1 + 0x113c) = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    *(undefined8 *)(param_1 + 0x40) = 0;\n    puVar2 = (undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8);\n    for (uVar1 = (ulong)(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3); uVar1 != 0; uVar1 = uVar1 - 1) {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }\n    return;\n  }\n                    \n  crypt_argchk("prng != NULL","src/prngs/rc4.c",0x27);\n}" (primitive_type "void") (function_declarator "rc4_start(undefined4 *param_1)" (identifier "rc4_start") (parameter_list "(undefined4 *param_1)" (( "(") (parameter_declaration "undefined4 *param_1" (type_identifier "undefined4") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  ulong uVar1;\n  undefined8 *puVar2;\n  \n  if (param_1 != (undefined4 *)0x0) {\n    *param_1 = 0;\n    *(undefined2 *)(param_1 + 0x113c) = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    *(undefined8 *)(param_1 + 0x40) = 0;\n    puVar2 = (undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8);\n    for (uVar1 = (ulong)(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3); uVar1 != 0; uVar1 = uVar1 - 1) {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }\n    return;\n  }\n                    \n  crypt_argchk("prng != NULL","src/prngs/rc4.c",0x27);\n}" ({ "{") (declaration "ulong uVar1;" (type_identifier "ulong") (identifier "uVar1") (; ";")) (declaration "undefined8 *puVar2;" (type_identifier "undefined8") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (if_statement "if (param_1 != (undefined4 *)0x0) {\n    *param_1 = 0;\n    *(undefined2 *)(param_1 + 0x113c) = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    *(undefined8 *)(param_1 + 0x40) = 0;\n    puVar2 = (undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8);\n    for (uVar1 = (ulong)(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3); uVar1 != 0; uVar1 = uVar1 - 1) {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }\n    return;\n  }" (if "if") (parenthesized_expression "(param_1 != (undefined4 *)0x0)" (( "(") (binary_expression "param_1 != (undefined4 *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *param_1 = 0;\n    *(undefined2 *)(param_1 + 0x113c) = 0;\n    *(undefined8 *)(param_1 + 2) = 0;\n    *(undefined8 *)(param_1 + 0x40) = 0;\n    puVar2 = (undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8);\n    for (uVar1 = (ulong)(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3); uVar1 != 0; uVar1 = uVar1 - 1) {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }\n    return;\n  }" ({ "{") (expression_statement "*param_1 = 0;" (assignment_expression "*param_1 = 0" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined2 *)(param_1 + 0x113c) = 0;" (assignment_expression "*(undefined2 *)(param_1 + 0x113c) = 0" (pointer_expression "*(undefined2 *)(param_1 + 0x113c)" (* "*") (cast_expression "(undefined2 *)(param_1 + 0x113c)" (( "(") (type_descriptor "undefined2 *" (type_identifier "undefined2") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x113c)" (( "(") (binary_expression "param_1 + 0x113c" (identifier "param_1") (+ "+") (number_literal "0x113c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 2) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 2) = 0" (pointer_expression "*(undefined8 *)(param_1 + 2)" (* "*") (cast_expression "(undefined8 *)(param_1 + 2)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 2)" (( "(") (binary_expression "param_1 + 2" (identifier "param_1") (+ "+") (number_literal "2")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined8 *)(param_1 + 0x40) = 0;" (assignment_expression "*(undefined8 *)(param_1 + 0x40) = 0" (pointer_expression "*(undefined8 *)(param_1 + 0x40)" (* "*") (cast_expression "(undefined8 *)(param_1 + 0x40)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x40)" (( "(") (binary_expression "param_1 + 0x40" (identifier "param_1") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2 = (undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8);" (assignment_expression "puVar2 = (undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)" (identifier "puVar2") (= "=") (cast_expression "(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((ulong)(param_1 + 4) & 0xfffffffffffffff8)" (( "(") (binary_expression "(ulong)(param_1 + 4) & 0xfffffffffffffff8" (call_expression "(ulong)(param_1 + 4)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))) (& "&") (number_literal "0xfffffffffffffff8")) () ")")))) (; ";")) (for_statement "for (uVar1 = (ulong)(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3); uVar1 != 0; uVar1 = uVar1 - 1) {\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }" (for "for") (( "(") (assignment_expression "uVar1 = (ulong)(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3)" (identifier "uVar1") (= "=") (call_expression "(ulong)(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3)" (( "(") (binary_expression "((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>\n                        3" (binary_expression "((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U" (parenthesized_expression "((int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8))" (( "(") (binary_expression "(int)param_1 -\n                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)" (cast_expression "(int)param_1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_1")) (- "-") (cast_expression "(int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((ulong)(param_1 + 4) & 0xfffffffffffffff8)" (( "(") (binary_expression "(ulong)(param_1 + 4) & 0xfffffffffffffff8" (call_expression "(ulong)(param_1 + 4)" (parenthesized_expression "(ulong)" (( "(") (identifier "ulong") () ")")) (argument_list "(param_1 + 4)" (( "(") (binary_expression "param_1 + 4" (identifier "param_1") (+ "+") (number_literal "4")) () ")"))) (& "&") (number_literal "0xfffffffffffffff8")) () ")"))))) () ")")) (+ "+") (number_literal "0x108U")) (>> ">>") (number_literal "3")) () ")")))) (; ";") (binary_expression "uVar1 != 0" (identifier "uVar1") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar1 = uVar1 - 1" (identifier "uVar1") (= "=") (binary_expression "uVar1 - 1" (identifier "uVar1") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n      *puVar2 = 0;\n      puVar2 = puVar2 + 1;\n    }" ({ "{") (expression_statement "*puVar2 = 0;" (assignment_expression "*puVar2 = 0" (pointer_expression "*puVar2" (* "*") (identifier "puVar2")) (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar2 = puVar2 + 1;" (assignment_expression "puVar2 = puVar2 + 1" (identifier "puVar2") (= "=") (binary_expression "puVar2 + 1" (identifier "puVar2") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "crypt_argchk("prng != NULL","src/prngs/rc4.c",0x27);" (call_expression "crypt_argchk("prng != NULL","src/prngs/rc4.c",0x27)" (identifier "crypt_argchk") (argument_list "("prng != NULL","src/prngs/rc4.c",0x27)" (( "(") (string_literal ""prng != NULL"" (" """) (string_content "prng != NULL") (" """)) (, ",") (string_literal ""src/prngs/rc4.c"" (" """) (string_content "src/prngs/rc4.c") (" """)) (, ",") (number_literal "0x27") () ")"))) (; ";")) (} "}")))

int function_1(type_1 *var_1)

{
  type_2 var_2;
  type_3 *var_3;
  
  if (var_1 != (type_1 *)0x0) {
    (var_1->field_0).yarrow.cipher = 0;
    var_3 = (type_3 *)((type_2)((long)&var_1->field_0 + 0x10U) & 0xfffffffffffffff8);
    var_1->ready = 0;
    *(type_3 *)((long)&var_1->field_0 + 8) = 0;
    *(type_3 *)((long)&var_1->field_0 + 0x100) = 0;
    var_2 = (type_2)(((int)var_1 - (int)var_3) + 0x108U >> 3);
    for (; var_2 != 0; var_2 = var_2 - 1) {
      *var_3 = 0;
      var_3 = var_3 + 1;
    }
    return 0;
  }
                    /* WARNING: Subroutine does not return */
  var_4("prng != NULL","src/prngs/rc4.c",0x27);
}


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

void MASKED(undefined4 *param_1)

{
  ulong uVar1;
  undefined8 *puVar2;
  
  if (param_1 != (undefined4 *)0x0) {
    *param_1 = 0;
    *(undefined2 *)(param_1 + 0x113c) = 0;
    *(undefined8 *)(param_1 + 2) = 0;
    *(undefined8 *)(param_1 + 0x40) = 0;
    puVar2 = (undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8);
    for (uVar1 = (ulong)(((int)param_1 -
                         (int)(undefined8 *)((ulong)(param_1 + 4) & 0xfffffffffffffff8)) + 0x108U >>
                        3); uVar1 != 0; uVar1 = uVar1 - 1) {
      *puVar2 = 0;
      puVar2 = puVar2 + 1;
    }
    return;
  }
                    /* WARNING: Subroutine does not return */
  crypt_argchk("prng != NULL","src/prngs/rc4.c",0x27);
}

