
int AES_cbc_192_encrypt_loop(void *args)

{
  undefined *puVar1;
  loopargs_t **tempargs;
  undefined *puVar2;
  undefined *puVar3;
  int iVar4;
  undefined4 uVar5;
  
  puVar1 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388;
                    /* WARNING: Load size is inaccurate */
  iVar4 = *(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc);
  uVar5 = *(undefined4 *)(*args + 8);
  if (iVar4 != 0) {
    iVar4 = 0;
    puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;
    puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;
    do {
      iVar4 = iVar4 + 1;
      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)
                (uVar5,uVar5,
                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,
                 puVar3,1);
      if (*(int *)(puVar1 + 0x20dc) == 0) {
        return iVar4;
      }
    } while (iVar4 != 0x7fffffff);
  }
  return iVar4;
}



int FUN_00065778(int *param_1)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  int iVar4;
  undefined4 uVar5;
  
  puVar1 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388;
  iVar4 = *(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc);
  uVar5 = *(undefined4 *)(*param_1 + 8);
  if (iVar4 != 0) {
    iVar4 = 0;
    puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;
    puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;
    do {
      iVar4 = iVar4 + 1;
      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)
                (uVar5,uVar5,
                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,
                 puVar3,1);
      if (*(int *)(puVar1 + 0x20dc) == 0) {
        return iVar4;
      }
    } while (iVar4 != 0x7fffffff);
  }
  return iVar4;
}


lui gp,0x6
addiu gp,gp,0x1be8
addu gp,gp,t9
addiu sp,sp,-0x48
lw v0,0x0(a0)
sw s3,0x2c(sp)
sw s7,0x3c(sp)
lw s3,-0x7fd8(gp)
sw gp,0x18(sp)
sw s8,0x40(sp)
sw ra,0x44(sp)
sw s6,0x38(sp)
sw s5,0x34(sp)
sw s4,0x30(sp)
sw s2,0x28(sp)
sw s1,0x24(sp)
sw s0,0x20(sp)
lw s7,0x20dc(s3)
beq s7,zero,0x0006583c
_lw s8,0x8(v0)
lw s1,-0x7fd8(gp)
lui s2,0x7fff
lw s0,-0x7fd8(gp)
or s7,zero,zero
lw s6,-0x7fd8(gp)
li s5,0x1
lw s4,-0x7fd8(gp)
addiu s1,s1,0x1574
addiu s0,s0,0x138c
b 0x000657fc
_ori s2,s2,0xffff
beq s7,s2,0x00065840
_lw ra,0x44(sp)
lw a2,0x1820(s6)
or a3,s0,zero
lw v1,-0x1284(s4)
or a1,s8,zero
lw t9,-0x7724(gp)
or a0,s8,zero
sll a2,a2,0x2
addiu s7,s7,0x1
addu v1,v1,a2
lw a2,0x0(v1)
sw s5,0x14(sp)
jalr t9
_sw s1,0x10(sp)
lw v0,0x20dc(s3)
bne v0,zero,0x000657f4
_lw gp,0x18(sp)
lw ra,0x44(sp)
or v0,s7,zero
lw s8,0x40(sp)
lw s7,0x3c(sp)
lw s6,0x38(sp)
lw s5,0x34(sp)
lw s4,0x30(sp)
lw s3,0x2c(sp)
lw s2,0x28(sp)
lw s1,0x24(sp)
lw s0,0x20(sp)
jr ra
_addiu sp,sp,0x48
(translation_unit "int FUN_00065778(int *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  puVar1 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388;\n  iVar4 = *(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc);\n  uVar5 = *(undefined4 *)(*param_1 + 8);\n  if (iVar4 != 0) {\n    iVar4 = 0;\n    puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;\n    puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;\n    do {\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    } while (iVar4 != 0x7fffffff);\n  }\n  return iVar4;\n}\n\n" (function_definition "int FUN_00065778(int *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  puVar1 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388;\n  iVar4 = *(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc);\n  uVar5 = *(undefined4 *)(*param_1 + 8);\n  if (iVar4 != 0) {\n    iVar4 = 0;\n    puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;\n    puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;\n    do {\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    } while (iVar4 != 0x7fffffff);\n  }\n  return iVar4;\n}" primitive_type (function_declarator "FUN_00065778(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  puVar1 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388;\n  iVar4 = *(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc);\n  uVar5 = *(undefined4 *)(*param_1 + 8);\n  if (iVar4 != 0) {\n    iVar4 = 0;\n    puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;\n    puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;\n    do {\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    } while (iVar4 != 0x7fffffff);\n  }\n  return iVar4;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388;" (assignment_expression "puVar1 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388" identifier = identifier) ;) (expression_statement "iVar4 = *(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc);" (assignment_expression "iVar4 = *(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc)" identifier = (pointer_expression "*(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc)" * (cast_expression "(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc)" ( (binary_expression "PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined4 *)(*param_1 + 8);" (assignment_expression "uVar5 = *(undefined4 *)(*param_1 + 8)" identifier = (pointer_expression "*(undefined4 *)(*param_1 + 8)" * (cast_expression "(undefined4 *)(*param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (if_statement "if (iVar4 != 0) {\n    iVar4 = 0;\n    puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;\n    puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;\n    do {\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    } while (iVar4 != 0x7fffffff);\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar4 = 0;\n    puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;\n    puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;\n    do {\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    } while (iVar4 != 0x7fffffff);\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;" (assignment_expression "puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574" identifier = (binary_expression "PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574" identifier + number_literal)) ;) (expression_statement "puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;" (assignment_expression "puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c" identifier = (binary_expression "PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c" identifier + number_literal)) ;) (do_statement "do {\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    } while (iVar4 != 0x7fffffff);" do (compound_statement "{\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    }" { (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);" (call_expression "(*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1)" (parenthesized_expression "(*(code *)PTR_AES_cbc_encrypt_000bfc3c)" ( (pointer_expression "*(code *)PTR_AES_cbc_encrypt_000bfc3c" * (cast_expression "(code *)PTR_AES_cbc_encrypt_000bfc3c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1)" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4)" * (cast_expression "(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4)" ( (binary_expression "*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4" (pointer_expression "*(int *)(puVar1 + -0x1284)" * (cast_expression "(int *)(puVar1 + -0x1284)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x1284)" ( (binary_expression "puVar1 + -0x1284" identifier + number_literal) )))) + (binary_expression "*(int *)(puVar1 + 0x1820) * 4" (pointer_expression "*(int *)(puVar1 + 0x1820)" * (cast_expression "(int *)(puVar1 + 0x1820)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x1820)" ( (binary_expression "puVar1 + 0x1820" identifier + number_literal) )))) * number_literal)) )))) , identifier , identifier , number_literal ))) ;) (if_statement "if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }" if (parenthesized_expression "(*(int *)(puVar1 + 0x20dc) == 0)" ( (binary_expression "*(int *)(puVar1 + 0x20dc) == 0" (pointer_expression "*(int *)(puVar1 + 0x20dc)" * (cast_expression "(int *)(puVar1 + 0x20dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x20dc)" ( (binary_expression "puVar1 + 0x20dc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        return iVar4;\n      }" { (return_statement "return iVar4;" return identifier ;) })) }) while (parenthesized_expression "(iVar4 != 0x7fffffff)" ( (binary_expression "iVar4 != 0x7fffffff" identifier != number_literal) )) ;) })) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit "int AES_cbc_192_encrypt_loop(void *args)\n\n{\n  undefined *puVar1;\n  loopargs_t **tempargs;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  puVar1 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388;\n                    /* WARNING: Load size is inaccurate */\n  iVar4 = *(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc);\n  uVar5 = *(undefined4 *)(*args + 8);\n  if (iVar4 != 0) {\n    iVar4 = 0;\n    puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;\n    puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;\n    do {\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    } while (iVar4 != 0x7fffffff);\n  }\n  return iVar4;\n}\n\n" (function_definition "int AES_cbc_192_encrypt_loop(void *args)\n\n{\n  undefined *puVar1;\n  loopargs_t **tempargs;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  puVar1 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388;\n                    /* WARNING: Load size is inaccurate */\n  iVar4 = *(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc);\n  uVar5 = *(undefined4 *)(*args + 8);\n  if (iVar4 != 0) {\n    iVar4 = 0;\n    puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;\n    puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;\n    do {\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    } while (iVar4 != 0x7fffffff);\n  }\n  return iVar4;\n}" primitive_type (function_declarator "AES_cbc_192_encrypt_loop(void *args)" identifier (parameter_list "(void *args)" ( (parameter_declaration "void *args" primitive_type (pointer_declarator "*args" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  loopargs_t **tempargs;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  puVar1 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388;\n                    /* WARNING: Load size is inaccurate */\n  iVar4 = *(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc);\n  uVar5 = *(undefined4 *)(*args + 8);\n  if (iVar4 != 0) {\n    iVar4 = 0;\n    puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;\n    puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;\n    do {\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    } while (iVar4 != 0x7fffffff);\n  }\n  return iVar4;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "loopargs_t **tempargs;" type_identifier (pointer_declarator "**tempargs" * (pointer_declarator "*tempargs" * identifier)) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388;" (assignment_expression "puVar1 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388" identifier = identifier) ;) comment (expression_statement "iVar4 = *(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc);" (assignment_expression "iVar4 = *(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc)" identifier = (pointer_expression "*(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc)" * (cast_expression "(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc)" ( (binary_expression "PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined4 *)(*args + 8);" (assignment_expression "uVar5 = *(undefined4 *)(*args + 8)" identifier = (pointer_expression "*(undefined4 *)(*args + 8)" * (cast_expression "(undefined4 *)(*args + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*args + 8)" ( (binary_expression "*args + 8" (pointer_expression "*args" * identifier) + number_literal) ))))) ;) (if_statement "if (iVar4 != 0) {\n    iVar4 = 0;\n    puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;\n    puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;\n    do {\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    } while (iVar4 != 0x7fffffff);\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar4 = 0;\n    puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;\n    puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;\n    do {\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    } while (iVar4 != 0x7fffffff);\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;" (assignment_expression "puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574" identifier = (binary_expression "PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574" identifier + number_literal)) ;) (expression_statement "puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;" (assignment_expression "puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c" identifier = (binary_expression "PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c" identifier + number_literal)) ;) (do_statement "do {\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    } while (iVar4 != 0x7fffffff);" do (compound_statement "{\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    }" { (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);" (call_expression "(*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1)" (parenthesized_expression "(*(code *)PTR_AES_cbc_encrypt_000bfc3c)" ( (pointer_expression "*(code *)PTR_AES_cbc_encrypt_000bfc3c" * (cast_expression "(code *)PTR_AES_cbc_encrypt_000bfc3c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1)" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4)" * (cast_expression "(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4)" ( (binary_expression "*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4" (pointer_expression "*(int *)(puVar1 + -0x1284)" * (cast_expression "(int *)(puVar1 + -0x1284)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x1284)" ( (binary_expression "puVar1 + -0x1284" identifier + number_literal) )))) + (binary_expression "*(int *)(puVar1 + 0x1820) * 4" (pointer_expression "*(int *)(puVar1 + 0x1820)" * (cast_expression "(int *)(puVar1 + 0x1820)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x1820)" ( (binary_expression "puVar1 + 0x1820" identifier + number_literal) )))) * number_literal)) )))) , identifier , identifier , number_literal ))) ;) (if_statement "if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }" if (parenthesized_expression "(*(int *)(puVar1 + 0x20dc) == 0)" ( (binary_expression "*(int *)(puVar1 + 0x20dc) == 0" (pointer_expression "*(int *)(puVar1 + 0x20dc)" * (cast_expression "(int *)(puVar1 + 0x20dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x20dc)" ( (binary_expression "puVar1 + 0x20dc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        return iVar4;\n      }" { (return_statement "return iVar4;" return identifier ;) })) }) while (parenthesized_expression "(iVar4 != 0x7fffffff)" ( (binary_expression "iVar4 != 0x7fffffff" identifier != number_literal) )) ;) })) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit "int FUN_00065778(int *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  puVar1 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388;\n  iVar4 = *(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc);\n  uVar5 = *(undefined4 *)(*param_1 + 8);\n  if (iVar4 != 0) {\n    iVar4 = 0;\n    puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;\n    puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;\n    do {\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    } while (iVar4 != 0x7fffffff);\n  }\n  return iVar4;\n}\n\n" (function_definition "int FUN_00065778(int *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  puVar1 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388;\n  iVar4 = *(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc);\n  uVar5 = *(undefined4 *)(*param_1 + 8);\n  if (iVar4 != 0) {\n    iVar4 = 0;\n    puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;\n    puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;\n    do {\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    } while (iVar4 != 0x7fffffff);\n  }\n  return iVar4;\n}" primitive_type (function_declarator "FUN_00065778(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  puVar1 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388;\n  iVar4 = *(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc);\n  uVar5 = *(undefined4 *)(*param_1 + 8);\n  if (iVar4 != 0) {\n    iVar4 = 0;\n    puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;\n    puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;\n    do {\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    } while (iVar4 != 0x7fffffff);\n  }\n  return iVar4;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (expression_statement "puVar1 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388;" (assignment_expression "puVar1 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388" identifier = identifier) ;) (expression_statement "iVar4 = *(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc);" (assignment_expression "iVar4 = *(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc)" identifier = (pointer_expression "*(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc)" * (cast_expression "(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc)" ( (binary_expression "PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc" identifier + number_literal) ))))) ;) (expression_statement "uVar5 = *(undefined4 *)(*param_1 + 8);" (assignment_expression "uVar5 = *(undefined4 *)(*param_1 + 8)" identifier = (pointer_expression "*(undefined4 *)(*param_1 + 8)" * (cast_expression "(undefined4 *)(*param_1 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*param_1 + 8)" ( (binary_expression "*param_1 + 8" (pointer_expression "*param_1" * identifier) + number_literal) ))))) ;) (if_statement "if (iVar4 != 0) {\n    iVar4 = 0;\n    puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;\n    puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;\n    do {\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    } while (iVar4 != 0x7fffffff);\n  }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar4 = 0;\n    puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;\n    puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;\n    do {\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    } while (iVar4 != 0x7fffffff);\n  }" { (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" identifier = number_literal) ;) (expression_statement "puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;" (assignment_expression "puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574" identifier = (binary_expression "PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574" identifier + number_literal)) ;) (expression_statement "puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;" (assignment_expression "puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c" identifier = (binary_expression "PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c" identifier + number_literal)) ;) (do_statement "do {\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    } while (iVar4 != 0x7fffffff);" do (compound_statement "{\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    }" { (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" identifier = (binary_expression "iVar4 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);" (call_expression "(*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1)" (parenthesized_expression "(*(code *)PTR_AES_cbc_encrypt_000bfc3c)" ( (pointer_expression "*(code *)PTR_AES_cbc_encrypt_000bfc3c" * (cast_expression "(code *)PTR_AES_cbc_encrypt_000bfc3c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1)" ( identifier , identifier , (pointer_expression "*(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4)" * (cast_expression "(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4)" ( (binary_expression "*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4" (pointer_expression "*(int *)(puVar1 + -0x1284)" * (cast_expression "(int *)(puVar1 + -0x1284)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + -0x1284)" ( (binary_expression "puVar1 + -0x1284" identifier + number_literal) )))) + (binary_expression "*(int *)(puVar1 + 0x1820) * 4" (pointer_expression "*(int *)(puVar1 + 0x1820)" * (cast_expression "(int *)(puVar1 + 0x1820)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x1820)" ( (binary_expression "puVar1 + 0x1820" identifier + number_literal) )))) * number_literal)) )))) , identifier , identifier , number_literal ))) ;) (if_statement "if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }" if (parenthesized_expression "(*(int *)(puVar1 + 0x20dc) == 0)" ( (binary_expression "*(int *)(puVar1 + 0x20dc) == 0" (pointer_expression "*(int *)(puVar1 + 0x20dc)" * (cast_expression "(int *)(puVar1 + 0x20dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 0x20dc)" ( (binary_expression "puVar1 + 0x20dc" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        return iVar4;\n      }" { (return_statement "return iVar4;" return identifier ;) })) }) while (parenthesized_expression "(iVar4 != 0x7fffffff)" ( (binary_expression "iVar4 != 0x7fffffff" identifier != number_literal) )) ;) })) (return_statement "return iVar4;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) , IDENT , IDENT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (return_statement return IDENT ;) })) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_00065778(int *param_1)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  puVar1 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388;\n  iVar4 = *(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc);\n  uVar5 = *(undefined4 *)(*param_1 + 8);\n  if (iVar4 != 0) {\n    iVar4 = 0;\n    puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;\n    puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;\n    do {\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    } while (iVar4 != 0x7fffffff);\n  }\n  return iVar4;\n}" (primitive_type "int") (function_declarator "FUN_00065778(int *param_1)" (identifier "FUN_00065778") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  undefined4 uVar5;\n  \n  puVar1 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388;\n  iVar4 = *(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc);\n  uVar5 = *(undefined4 *)(*param_1 + 8);\n  if (iVar4 != 0) {\n    iVar4 = 0;\n    puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;\n    puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;\n    do {\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    } while (iVar4 != 0x7fffffff);\n  }\n  return iVar4;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (expression_statement "puVar1 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388;" (assignment_expression "puVar1 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388" (identifier "puVar1") (= "=") (identifier "PTR_PTR_EVP_PKEY_decrypt_init_000bf388")) (; ";")) (expression_statement "iVar4 = *(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc);" (assignment_expression "iVar4 = *(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc)" (identifier "iVar4") (= "=") (pointer_expression "*(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc)" (* "*") (cast_expression "(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc)" (( "(") (binary_expression "PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc" (identifier "PTR_PTR_EVP_PKEY_decrypt_init_000bf388") (+ "+") (number_literal "0x20dc")) () ")"))))) (; ";")) (expression_statement "uVar5 = *(undefined4 *)(*param_1 + 8);" (assignment_expression "uVar5 = *(undefined4 *)(*param_1 + 8)" (identifier "uVar5") (= "=") (pointer_expression "*(undefined4 *)(*param_1 + 8)" (* "*") (cast_expression "(undefined4 *)(*param_1 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*param_1 + 8)" (( "(") (binary_expression "*param_1 + 8" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (+ "+") (number_literal "8")) () ")"))))) (; ";")) (if_statement "if (iVar4 != 0) {\n    iVar4 = 0;\n    puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;\n    puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;\n    do {\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    } while (iVar4 != 0x7fffffff);\n  }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = 0;\n    puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;\n    puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;\n    do {\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    } while (iVar4 != 0x7fffffff);\n  }" ({ "{") (expression_statement "iVar4 = 0;" (assignment_expression "iVar4 = 0" (identifier "iVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;" (assignment_expression "puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574" (identifier "puVar3") (= "=") (binary_expression "PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574" (identifier "PTR_PTR_EVP_PKEY_decrypt_init_000bf388") (+ "+") (number_literal "0x1574"))) (; ";")) (expression_statement "puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;" (assignment_expression "puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c" (identifier "puVar2") (= "=") (binary_expression "PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c" (identifier "PTR_PTR_EVP_PKEY_decrypt_init_000bf388") (+ "+") (number_literal "0x138c"))) (; ";")) (do_statement "do {\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    } while (iVar4 != 0x7fffffff);" (do "do") (compound_statement "{\n      iVar4 = iVar4 + 1;\n      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);\n      if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }\n    }" ({ "{") (expression_statement "iVar4 = iVar4 + 1;" (assignment_expression "iVar4 = iVar4 + 1" (identifier "iVar4") (= "=") (binary_expression "iVar4 + 1" (identifier "iVar4") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1);" (call_expression "(*(code *)PTR_AES_cbc_encrypt_000bfc3c)\n                (uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1)" (parenthesized_expression "(*(code *)PTR_AES_cbc_encrypt_000bfc3c)" (( "(") (pointer_expression "*(code *)PTR_AES_cbc_encrypt_000bfc3c" (* "*") (cast_expression "(code *)PTR_AES_cbc_encrypt_000bfc3c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AES_cbc_encrypt_000bfc3c"))) () ")")) (argument_list "(uVar5,uVar5,\n                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,\n                 puVar3,1)" (( "(") (identifier "uVar5") (, ",") (identifier "uVar5") (, ",") (pointer_expression "*(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4)" (* "*") (cast_expression "(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4)" (( "(") (binary_expression "*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4" (pointer_expression "*(int *)(puVar1 + -0x1284)" (* "*") (cast_expression "(int *)(puVar1 + -0x1284)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + -0x1284)" (( "(") (binary_expression "puVar1 + -0x1284" (identifier "puVar1") (+ "+") (number_literal "-0x1284")) () ")")))) (+ "+") (binary_expression "*(int *)(puVar1 + 0x1820) * 4" (pointer_expression "*(int *)(puVar1 + 0x1820)" (* "*") (cast_expression "(int *)(puVar1 + 0x1820)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 0x1820)" (( "(") (binary_expression "puVar1 + 0x1820" (identifier "puVar1") (+ "+") (number_literal "0x1820")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (, ",") (identifier "puVar2") (, ",") (identifier "puVar3") (, ",") (number_literal "1") () ")"))) (; ";")) (if_statement "if (*(int *)(puVar1 + 0x20dc) == 0) {\n        return iVar4;\n      }" (if "if") (parenthesized_expression "(*(int *)(puVar1 + 0x20dc) == 0)" (( "(") (binary_expression "*(int *)(puVar1 + 0x20dc) == 0" (pointer_expression "*(int *)(puVar1 + 0x20dc)" (* "*") (cast_expression "(int *)(puVar1 + 0x20dc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 0x20dc)" (( "(") (binary_expression "puVar1 + 0x20dc" (identifier "puVar1") (+ "+") (number_literal "0x20dc")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        return iVar4;\n      }" ({ "{") (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}"))) (} "}")) (while "while") (parenthesized_expression "(iVar4 != 0x7fffffff)" (( "(") (binary_expression "iVar4 != 0x7fffffff" (identifier "iVar4") (!= "!=") (number_literal "0x7fffffff")) () ")")) (; ";")) (} "}"))) (return_statement "return iVar4;" (return "return") (identifier "iVar4") (; ";")) (} "}")))
(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) (identifier) (identifier) (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (return_statement (identifier))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (return_statement (identifier)))))

int MASKED(int *param_1)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  int iVar4;
  undefined4 uVar5;
  
  puVar1 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388;
  iVar4 = *(int *)(PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x20dc);
  uVar5 = *(undefined4 *)(*param_1 + 8);
  if (iVar4 != 0) {
    iVar4 = 0;
    puVar3 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x1574;
    puVar2 = PTR_PTR_EVP_PKEY_decrypt_init_000bf388 + 0x138c;
    do {
      iVar4 = iVar4 + 1;
      (*(code *)PTR_AES_cbc_encrypt_000bfc3c)
                (uVar5,uVar5,
                 *(undefined4 *)(*(int *)(puVar1 + -0x1284) + *(int *)(puVar1 + 0x1820) * 4),puVar2,
                 puVar3,1);
      if (*(int *)(puVar1 + 0x20dc) == 0) {
        return iVar4;
      }
    } while (iVar4 != 0x7fffffff);
  }
  return iVar4;
}

