
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

CURLcode Curl_auth_create_plain_message
                   (Curl_easy *data,char *userp,char *passwdp,char **outptr,size_t *outlen)

{
  undefined *puVar1;
  uint uVar2;
  int iVar3;
  int iVar4;
  CURLcode CVar5;
  int iVar6;
  int iVar7;
  
  puVar1 = PTR_strlen_000a6ea8;
  *outlen = 0;
  *outptr = (char *)0x0;
  uVar2 = (*(code *)puVar1)(userp);
  if (uVar2 < 0x40000000) {
    iVar3 = (*(code *)PTR_strlen_000a6ea8)(passwdp);
    iVar7 = uVar2 * 2 + 2;
    iVar6 = iVar3 + iVar7;
    iVar4 = (**(code **)PTR_Curl_cmalloc_000a6198)(iVar6);
    if (iVar4 != 0) {
      (*(code *)PTR_memcpy_000a6eec)(iVar4,userp,uVar2);
      *(undefined1 *)(iVar4 + uVar2) = 0;
      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,userp,uVar2);
      puVar1 = PTR_memcpy_000a6eec;
      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;
      (*(code *)puVar1)(iVar4 + iVar7,passwdp,iVar3);
      CVar5 = (*(code *)PTR_Curl_base64_encode_000a62b8)(data,iVar4,iVar6,outptr,outlen);
      (**(code **)PTR_Curl_cfree_000a6144)(iVar4);
      return CVar5;
    }
  }
  return CURLE_OUT_OF_MEMORY;
}



undefined4
FUN_000786e0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4,
            undefined4 *param_5)

{
  undefined *puVar1;
  uint uVar2;
  int iVar3;
  int iVar4;
  undefined4 uVar5;
  int iVar6;
  int iVar7;
  
  puVar1 = PTR_strlen_000a6ea8;
  *param_5 = 0;
  *param_4 = 0;
  uVar2 = (*(code *)puVar1)(param_2);
  if (uVar2 < 0x40000000) {
    iVar3 = (*(code *)PTR_strlen_000a6ea8)(param_3);
    iVar7 = uVar2 * 2 + 2;
    iVar6 = iVar3 + iVar7;
    iVar4 = (**(code **)PTR_PTR_malloc_000a6198)(iVar6);
    if (iVar4 != 0) {
      (*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2);
      *(undefined1 *)(iVar4 + uVar2) = 0;
      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2);
      puVar1 = PTR_memcpy_000a6eec;
      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;
      (*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3);
      uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5);
      (**(code **)PTR_PTR_free_000a6144)(iVar4);
      return uVar5;
    }
  }
  return 0x1b;
}


lui gp,0x3
addiu gp,gp,0x5a30
addu gp,gp,t9
addiu sp,sp,-0x50
lw t9,-0x7268(gp)
lw v0,0x60(sp)
sw gp,0x18(sp)
sw s8,0x48(sp)
sw s4,0x38(sp)
or s4,a2,zero
sw s3,0x34(sp)
or s3,a3,zero
sw s1,0x2c(sp)
or s1,a1,zero
sw ra,0x4c(sp)
sw s7,0x44(sp)
sw s6,0x40(sp)
sw s5,0x3c(sp)
sw s2,0x30(sp)
sw s0,0x28(sp)
sw a0,0x50(sp)
or a0,a1,zero
sw zero,0x0(v0)
jalr t9
_sw zero,0x0(a3)
or s8,v0,zero
lui v0,0x4000
sltu v0,s8,v0
beq v0,zero,0x0007885c
_lw gp,0x18(sp)
lw t9,-0x7268(gp)
or a0,s4,zero
jalr t9
_sll s0,s8,0x1
addiu s7,s0,0x2
lw gp,0x18(sp)
or s6,v0,zero
addu s5,v0,s7
lw v0,-0x7f78(gp)
lw t9,0x0(v0)
jalr t9
_or a0,s5,zero
lw gp,0x18(sp)
beq v0,zero,0x0007885c
_or s2,v0,zero
lw t9,-0x7224(gp)
or a2,s8,zero
or a1,s1,zero
jalr t9
_or a0,v0,zero
addu v0,s2,s8
lw gp,0x18(sp)
addiu a0,s8,0x1
or a2,s8,zero
addu a0,s2,a0
sb zero,0x0(v0)
or a1,s1,zero
lw t9,-0x7224(gp)
jalr t9
_addu s0,s2,s0
addu a0,s2,s7
lw gp,0x18(sp)
or a2,s6,zero
or a1,s4,zero
lw t9,-0x7224(gp)
jalr t9
_sb zero,0x1(s0)
or a3,s3,zero
lw gp,0x18(sp)
or a2,s5,zero
lw v0,0x60(sp)
or a1,s2,zero
lw a0,0x50(sp)
lw t9,-0x7e58(gp)
jalr t9
_sw v0,0x10(sp)
lw gp,0x18(sp)
sw v0,0x24(sp)
lw v1,-0x7fcc(gp)
lw t9,0x0(v1)
jalr t9
_or a0,s2,zero
lw ra,0x4c(sp)
lw v0,0x24(sp)
lw s8,0x48(sp)
lw s7,0x44(sp)
lw s6,0x40(sp)
lw s5,0x3c(sp)
lw s4,0x38(sp)
lw s3,0x34(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x50
lw ra,0x4c(sp)
li v0,0x1b
lw s8,0x48(sp)
lw s7,0x44(sp)
lw s6,0x40(sp)
lw s5,0x3c(sp)
lw s4,0x38(sp)
lw s3,0x34(sp)
lw s2,0x30(sp)
lw s1,0x2c(sp)
lw s0,0x28(sp)
jr ra
_addiu sp,sp,0x50
(translation_unit "undefined4\nFUN_000786e0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4,\n            undefined4 *param_5)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  \n  puVar1 = PTR_strlen_000a6ea8;\n  *param_5 = 0;\n  *param_4 = 0;\n  uVar2 = (*(code *)puVar1)(param_2);\n  if (uVar2 < 0x40000000) {\n    iVar3 = (*(code *)PTR_strlen_000a6ea8)(param_3);\n    iVar7 = uVar2 * 2 + 2;\n    iVar6 = iVar3 + iVar7;\n    iVar4 = (**(code **)PTR_PTR_malloc_000a6198)(iVar6);\n    if (iVar4 != 0) {\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3);\n      uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5);\n      (**(code **)PTR_PTR_free_000a6144)(iVar4);\n      return uVar5;\n    }\n  }\n  return 0x1b;\n}\n\n" (function_definition "undefined4\nFUN_000786e0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4,\n            undefined4 *param_5)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  \n  puVar1 = PTR_strlen_000a6ea8;\n  *param_5 = 0;\n  *param_4 = 0;\n  uVar2 = (*(code *)puVar1)(param_2);\n  if (uVar2 < 0x40000000) {\n    iVar3 = (*(code *)PTR_strlen_000a6ea8)(param_3);\n    iVar7 = uVar2 * 2 + 2;\n    iVar6 = iVar3 + iVar7;\n    iVar4 = (**(code **)PTR_PTR_malloc_000a6198)(iVar6);\n    if (iVar4 != 0) {\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3);\n      uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5);\n      (**(code **)PTR_PTR_free_000a6144)(iVar4);\n      return uVar5;\n    }\n  }\n  return 0x1b;\n}" type_identifier (function_declarator "FUN_000786e0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4,\n            undefined4 *param_5)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4,\n            undefined4 *param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "undefined4 *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  \n  puVar1 = PTR_strlen_000a6ea8;\n  *param_5 = 0;\n  *param_4 = 0;\n  uVar2 = (*(code *)puVar1)(param_2);\n  if (uVar2 < 0x40000000) {\n    iVar3 = (*(code *)PTR_strlen_000a6ea8)(param_3);\n    iVar7 = uVar2 * 2 + 2;\n    iVar6 = iVar3 + iVar7;\n    iVar4 = (**(code **)PTR_PTR_malloc_000a6198)(iVar6);\n    if (iVar4 != 0) {\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3);\n      uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5);\n      (**(code **)PTR_PTR_free_000a6144)(iVar4);\n      return uVar5;\n    }\n  }\n  return 0x1b;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_strlen_000a6ea8;" (assignment_expression "puVar1 = PTR_strlen_000a6ea8" identifier = identifier) ;) (expression_statement "*param_5 = 0;" (assignment_expression "*param_5 = 0" (pointer_expression "*param_5" * identifier) = number_literal) ;) (expression_statement "*param_4 = 0;" (assignment_expression "*param_4 = 0" (pointer_expression "*param_4" * identifier) = number_literal) ;) (expression_statement "uVar2 = (*(code *)puVar1)(param_2);" (assignment_expression "uVar2 = (*(code *)puVar1)(param_2)" identifier = (call_expression "(*(code *)puVar1)(param_2)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (uVar2 < 0x40000000) {\n    iVar3 = (*(code *)PTR_strlen_000a6ea8)(param_3);\n    iVar7 = uVar2 * 2 + 2;\n    iVar6 = iVar3 + iVar7;\n    iVar4 = (**(code **)PTR_PTR_malloc_000a6198)(iVar6);\n    if (iVar4 != 0) {\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3);\n      uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5);\n      (**(code **)PTR_PTR_free_000a6144)(iVar4);\n      return uVar5;\n    }\n  }" if (parenthesized_expression "(uVar2 < 0x40000000)" ( (binary_expression "uVar2 < 0x40000000" identifier < number_literal) )) (compound_statement "{\n    iVar3 = (*(code *)PTR_strlen_000a6ea8)(param_3);\n    iVar7 = uVar2 * 2 + 2;\n    iVar6 = iVar3 + iVar7;\n    iVar4 = (**(code **)PTR_PTR_malloc_000a6198)(iVar6);\n    if (iVar4 != 0) {\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3);\n      uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5);\n      (**(code **)PTR_PTR_free_000a6144)(iVar4);\n      return uVar5;\n    }\n  }" { (expression_statement "iVar3 = (*(code *)PTR_strlen_000a6ea8)(param_3);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_000a6ea8)(param_3)" identifier = (call_expression "(*(code *)PTR_strlen_000a6ea8)(param_3)" (parenthesized_expression "(*(code *)PTR_strlen_000a6ea8)" ( (pointer_expression "*(code *)PTR_strlen_000a6ea8" * (cast_expression "(code *)PTR_strlen_000a6ea8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3)" ( identifier )))) ;) (expression_statement "iVar7 = uVar2 * 2 + 2;" (assignment_expression "iVar7 = uVar2 * 2 + 2" identifier = (binary_expression "uVar2 * 2 + 2" (binary_expression "uVar2 * 2" identifier * number_literal) + number_literal)) ;) (expression_statement "iVar6 = iVar3 + iVar7;" (assignment_expression "iVar6 = iVar3 + iVar7" identifier = (binary_expression "iVar3 + iVar7" identifier + identifier)) ;) (expression_statement "iVar4 = (**(code **)PTR_PTR_malloc_000a6198)(iVar6);" (assignment_expression "iVar4 = (**(code **)PTR_PTR_malloc_000a6198)(iVar6)" identifier = (call_expression "(**(code **)PTR_PTR_malloc_000a6198)(iVar6)" (parenthesized_expression "(**(code **)PTR_PTR_malloc_000a6198)" ( (pointer_expression "**(code **)PTR_PTR_malloc_000a6198" * (pointer_expression "*(code **)PTR_PTR_malloc_000a6198" * (cast_expression "(code **)PTR_PTR_malloc_000a6198" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(iVar6)" ( identifier )))) ;) (if_statement "if (iVar4 != 0) {\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3);\n      uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5);\n      (**(code **)PTR_PTR_free_000a6144)(iVar4);\n      return uVar5;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3);\n      uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5);\n      (**(code **)PTR_PTR_free_000a6144)(iVar4);\n      return uVar5;\n    }" { (expression_statement "(*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2);" (call_expression "(*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2)" (parenthesized_expression "(*(code *)PTR_memcpy_000a6eec)" ( (pointer_expression "*(code *)PTR_memcpy_000a6eec" * (cast_expression "(code *)PTR_memcpy_000a6eec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,param_2,uVar2)" ( identifier , identifier , identifier ))) ;) (expression_statement "*(undefined1 *)(iVar4 + uVar2) = 0;" (assignment_expression "*(undefined1 *)(iVar4 + uVar2) = 0" (pointer_expression "*(undefined1 *)(iVar4 + uVar2)" * (cast_expression "(undefined1 *)(iVar4 + uVar2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar2)" ( (binary_expression "iVar4 + uVar2" identifier + identifier) )))) = number_literal) ;) (expression_statement "(*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2);" (call_expression "(*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2)" (parenthesized_expression "(*(code *)PTR_memcpy_000a6eec)" ( (pointer_expression "*(code *)PTR_memcpy_000a6eec" * (cast_expression "(code *)PTR_memcpy_000a6eec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4 + uVar2 + 1,param_2,uVar2)" ( (binary_expression "iVar4 + uVar2 + 1" (binary_expression "iVar4 + uVar2" identifier + identifier) + number_literal) , identifier , identifier ))) ;) (expression_statement "puVar1 = PTR_memcpy_000a6eec;" (assignment_expression "puVar1 = PTR_memcpy_000a6eec" identifier = identifier) ;) (expression_statement "*(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;" (assignment_expression "*(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0" (pointer_expression "*(undefined1 *)(iVar4 + uVar2 * 2 + 1)" * (cast_expression "(undefined1 *)(iVar4 + uVar2 * 2 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar2 * 2 + 1)" ( (binary_expression "iVar4 + uVar2 * 2 + 1" (binary_expression "iVar4 + uVar2 * 2" identifier + (binary_expression "uVar2 * 2" identifier * number_literal)) + number_literal) )))) = number_literal) ;) (expression_statement "(*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3);" (call_expression "(*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4 + iVar7,param_3,iVar3)" ( (binary_expression "iVar4 + iVar7" identifier + identifier) , identifier , identifier ))) ;) (expression_statement "uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5);" (assignment_expression "uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5)" identifier = (call_expression "(*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5)" (parenthesized_expression "(*(code *)PTR_FUN_000a62b8)" ( (pointer_expression "*(code *)PTR_FUN_000a62b8" * (cast_expression "(code *)PTR_FUN_000a62b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,iVar4,iVar6,param_4,param_5)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (expression_statement "(**(code **)PTR_PTR_free_000a6144)(iVar4);" (call_expression "(**(code **)PTR_PTR_free_000a6144)(iVar4)" (parenthesized_expression "(**(code **)PTR_PTR_free_000a6144)" ( (pointer_expression "**(code **)PTR_PTR_free_000a6144" * (pointer_expression "*(code **)PTR_PTR_free_000a6144" * (cast_expression "(code **)PTR_PTR_free_000a6144" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(iVar4)" ( identifier ))) ;) (return_statement "return uVar5;" return identifier ;) })) })) (return_statement "return 0x1b;" return number_literal ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nCURLcode Curl_auth_create_plain_message\n                   (Curl_easy *data,char *userp,char *passwdp,char **outptr,size_t *outlen)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  CURLcode CVar5;\n  int iVar6;\n  int iVar7;\n  \n  puVar1 = PTR_strlen_000a6ea8;\n  *outlen = 0;\n  *outptr = (char *)0x0;\n  uVar2 = (*(code *)puVar1)(userp);\n  if (uVar2 < 0x40000000) {\n    iVar3 = (*(code *)PTR_strlen_000a6ea8)(passwdp);\n    iVar7 = uVar2 * 2 + 2;\n    iVar6 = iVar3 + iVar7;\n    iVar4 = (**(code **)PTR_Curl_cmalloc_000a6198)(iVar6);\n    if (iVar4 != 0) {\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,userp,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,userp,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,passwdp,iVar3);\n      CVar5 = (*(code *)PTR_Curl_base64_encode_000a62b8)(data,iVar4,iVar6,outptr,outlen);\n      (**(code **)PTR_Curl_cfree_000a6144)(iVar4);\n      return CVar5;\n    }\n  }\n  return CURLE_OUT_OF_MEMORY;\n}\n\n" comment (function_definition "CURLcode Curl_auth_create_plain_message\n                   (Curl_easy *data,char *userp,char *passwdp,char **outptr,size_t *outlen)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  CURLcode CVar5;\n  int iVar6;\n  int iVar7;\n  \n  puVar1 = PTR_strlen_000a6ea8;\n  *outlen = 0;\n  *outptr = (char *)0x0;\n  uVar2 = (*(code *)puVar1)(userp);\n  if (uVar2 < 0x40000000) {\n    iVar3 = (*(code *)PTR_strlen_000a6ea8)(passwdp);\n    iVar7 = uVar2 * 2 + 2;\n    iVar6 = iVar3 + iVar7;\n    iVar4 = (**(code **)PTR_Curl_cmalloc_000a6198)(iVar6);\n    if (iVar4 != 0) {\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,userp,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,userp,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,passwdp,iVar3);\n      CVar5 = (*(code *)PTR_Curl_base64_encode_000a62b8)(data,iVar4,iVar6,outptr,outlen);\n      (**(code **)PTR_Curl_cfree_000a6144)(iVar4);\n      return CVar5;\n    }\n  }\n  return CURLE_OUT_OF_MEMORY;\n}" type_identifier (function_declarator "Curl_auth_create_plain_message\n                   (Curl_easy *data,char *userp,char *passwdp,char **outptr,size_t *outlen)" identifier (parameter_list "(Curl_easy *data,char *userp,char *passwdp,char **outptr,size_t *outlen)" ( (parameter_declaration "Curl_easy *data" type_identifier (pointer_declarator "*data" * identifier)) , (parameter_declaration "char *userp" primitive_type (pointer_declarator "*userp" * identifier)) , (parameter_declaration "char *passwdp" primitive_type (pointer_declarator "*passwdp" * identifier)) , (parameter_declaration "char **outptr" primitive_type (pointer_declarator "**outptr" * (pointer_declarator "*outptr" * identifier))) , (parameter_declaration "size_t *outlen" primitive_type (pointer_declarator "*outlen" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  CURLcode CVar5;\n  int iVar6;\n  int iVar7;\n  \n  puVar1 = PTR_strlen_000a6ea8;\n  *outlen = 0;\n  *outptr = (char *)0x0;\n  uVar2 = (*(code *)puVar1)(userp);\n  if (uVar2 < 0x40000000) {\n    iVar3 = (*(code *)PTR_strlen_000a6ea8)(passwdp);\n    iVar7 = uVar2 * 2 + 2;\n    iVar6 = iVar3 + iVar7;\n    iVar4 = (**(code **)PTR_Curl_cmalloc_000a6198)(iVar6);\n    if (iVar4 != 0) {\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,userp,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,userp,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,passwdp,iVar3);\n      CVar5 = (*(code *)PTR_Curl_base64_encode_000a62b8)(data,iVar4,iVar6,outptr,outlen);\n      (**(code **)PTR_Curl_cfree_000a6144)(iVar4);\n      return CVar5;\n    }\n  }\n  return CURLE_OUT_OF_MEMORY;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "CURLcode CVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_strlen_000a6ea8;" (assignment_expression "puVar1 = PTR_strlen_000a6ea8" identifier = identifier) ;) (expression_statement "*outlen = 0;" (assignment_expression "*outlen = 0" (pointer_expression "*outlen" * identifier) = number_literal) ;) (expression_statement "*outptr = (char *)0x0;" (assignment_expression "*outptr = (char *)0x0" (pointer_expression "*outptr" * identifier) = (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar2 = (*(code *)puVar1)(userp);" (assignment_expression "uVar2 = (*(code *)puVar1)(userp)" identifier = (call_expression "(*(code *)puVar1)(userp)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(userp)" ( identifier )))) ;) (if_statement "if (uVar2 < 0x40000000) {\n    iVar3 = (*(code *)PTR_strlen_000a6ea8)(passwdp);\n    iVar7 = uVar2 * 2 + 2;\n    iVar6 = iVar3 + iVar7;\n    iVar4 = (**(code **)PTR_Curl_cmalloc_000a6198)(iVar6);\n    if (iVar4 != 0) {\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,userp,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,userp,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,passwdp,iVar3);\n      CVar5 = (*(code *)PTR_Curl_base64_encode_000a62b8)(data,iVar4,iVar6,outptr,outlen);\n      (**(code **)PTR_Curl_cfree_000a6144)(iVar4);\n      return CVar5;\n    }\n  }" if (parenthesized_expression "(uVar2 < 0x40000000)" ( (binary_expression "uVar2 < 0x40000000" identifier < number_literal) )) (compound_statement "{\n    iVar3 = (*(code *)PTR_strlen_000a6ea8)(passwdp);\n    iVar7 = uVar2 * 2 + 2;\n    iVar6 = iVar3 + iVar7;\n    iVar4 = (**(code **)PTR_Curl_cmalloc_000a6198)(iVar6);\n    if (iVar4 != 0) {\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,userp,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,userp,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,passwdp,iVar3);\n      CVar5 = (*(code *)PTR_Curl_base64_encode_000a62b8)(data,iVar4,iVar6,outptr,outlen);\n      (**(code **)PTR_Curl_cfree_000a6144)(iVar4);\n      return CVar5;\n    }\n  }" { (expression_statement "iVar3 = (*(code *)PTR_strlen_000a6ea8)(passwdp);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_000a6ea8)(passwdp)" identifier = (call_expression "(*(code *)PTR_strlen_000a6ea8)(passwdp)" (parenthesized_expression "(*(code *)PTR_strlen_000a6ea8)" ( (pointer_expression "*(code *)PTR_strlen_000a6ea8" * (cast_expression "(code *)PTR_strlen_000a6ea8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(passwdp)" ( identifier )))) ;) (expression_statement "iVar7 = uVar2 * 2 + 2;" (assignment_expression "iVar7 = uVar2 * 2 + 2" identifier = (binary_expression "uVar2 * 2 + 2" (binary_expression "uVar2 * 2" identifier * number_literal) + number_literal)) ;) (expression_statement "iVar6 = iVar3 + iVar7;" (assignment_expression "iVar6 = iVar3 + iVar7" identifier = (binary_expression "iVar3 + iVar7" identifier + identifier)) ;) (expression_statement "iVar4 = (**(code **)PTR_Curl_cmalloc_000a6198)(iVar6);" (assignment_expression "iVar4 = (**(code **)PTR_Curl_cmalloc_000a6198)(iVar6)" identifier = (call_expression "(**(code **)PTR_Curl_cmalloc_000a6198)(iVar6)" (parenthesized_expression "(**(code **)PTR_Curl_cmalloc_000a6198)" ( (pointer_expression "**(code **)PTR_Curl_cmalloc_000a6198" * (pointer_expression "*(code **)PTR_Curl_cmalloc_000a6198" * (cast_expression "(code **)PTR_Curl_cmalloc_000a6198" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(iVar6)" ( identifier )))) ;) (if_statement "if (iVar4 != 0) {\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,userp,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,userp,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,passwdp,iVar3);\n      CVar5 = (*(code *)PTR_Curl_base64_encode_000a62b8)(data,iVar4,iVar6,outptr,outlen);\n      (**(code **)PTR_Curl_cfree_000a6144)(iVar4);\n      return CVar5;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,userp,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,userp,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,passwdp,iVar3);\n      CVar5 = (*(code *)PTR_Curl_base64_encode_000a62b8)(data,iVar4,iVar6,outptr,outlen);\n      (**(code **)PTR_Curl_cfree_000a6144)(iVar4);\n      return CVar5;\n    }" { (expression_statement "(*(code *)PTR_memcpy_000a6eec)(iVar4,userp,uVar2);" (call_expression "(*(code *)PTR_memcpy_000a6eec)(iVar4,userp,uVar2)" (parenthesized_expression "(*(code *)PTR_memcpy_000a6eec)" ( (pointer_expression "*(code *)PTR_memcpy_000a6eec" * (cast_expression "(code *)PTR_memcpy_000a6eec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,userp,uVar2)" ( identifier , identifier , identifier ))) ;) (expression_statement "*(undefined1 *)(iVar4 + uVar2) = 0;" (assignment_expression "*(undefined1 *)(iVar4 + uVar2) = 0" (pointer_expression "*(undefined1 *)(iVar4 + uVar2)" * (cast_expression "(undefined1 *)(iVar4 + uVar2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar2)" ( (binary_expression "iVar4 + uVar2" identifier + identifier) )))) = number_literal) ;) (expression_statement "(*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,userp,uVar2);" (call_expression "(*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,userp,uVar2)" (parenthesized_expression "(*(code *)PTR_memcpy_000a6eec)" ( (pointer_expression "*(code *)PTR_memcpy_000a6eec" * (cast_expression "(code *)PTR_memcpy_000a6eec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4 + uVar2 + 1,userp,uVar2)" ( (binary_expression "iVar4 + uVar2 + 1" (binary_expression "iVar4 + uVar2" identifier + identifier) + number_literal) , identifier , identifier ))) ;) (expression_statement "puVar1 = PTR_memcpy_000a6eec;" (assignment_expression "puVar1 = PTR_memcpy_000a6eec" identifier = identifier) ;) (expression_statement "*(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;" (assignment_expression "*(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0" (pointer_expression "*(undefined1 *)(iVar4 + uVar2 * 2 + 1)" * (cast_expression "(undefined1 *)(iVar4 + uVar2 * 2 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar2 * 2 + 1)" ( (binary_expression "iVar4 + uVar2 * 2 + 1" (binary_expression "iVar4 + uVar2 * 2" identifier + (binary_expression "uVar2 * 2" identifier * number_literal)) + number_literal) )))) = number_literal) ;) (expression_statement "(*(code *)puVar1)(iVar4 + iVar7,passwdp,iVar3);" (call_expression "(*(code *)puVar1)(iVar4 + iVar7,passwdp,iVar3)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4 + iVar7,passwdp,iVar3)" ( (binary_expression "iVar4 + iVar7" identifier + identifier) , identifier , identifier ))) ;) (expression_statement "CVar5 = (*(code *)PTR_Curl_base64_encode_000a62b8)(data,iVar4,iVar6,outptr,outlen);" (assignment_expression "CVar5 = (*(code *)PTR_Curl_base64_encode_000a62b8)(data,iVar4,iVar6,outptr,outlen)" identifier = (call_expression "(*(code *)PTR_Curl_base64_encode_000a62b8)(data,iVar4,iVar6,outptr,outlen)" (parenthesized_expression "(*(code *)PTR_Curl_base64_encode_000a62b8)" ( (pointer_expression "*(code *)PTR_Curl_base64_encode_000a62b8" * (cast_expression "(code *)PTR_Curl_base64_encode_000a62b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(data,iVar4,iVar6,outptr,outlen)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (expression_statement "(**(code **)PTR_Curl_cfree_000a6144)(iVar4);" (call_expression "(**(code **)PTR_Curl_cfree_000a6144)(iVar4)" (parenthesized_expression "(**(code **)PTR_Curl_cfree_000a6144)" ( (pointer_expression "**(code **)PTR_Curl_cfree_000a6144" * (pointer_expression "*(code **)PTR_Curl_cfree_000a6144" * (cast_expression "(code **)PTR_Curl_cfree_000a6144" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(iVar4)" ( identifier ))) ;) (return_statement "return CVar5;" return identifier ;) })) })) (return_statement "return CURLE_OUT_OF_MEMORY;" return identifier ;) })))
(translation_unit "undefined4\nFUN_000786e0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4,\n            undefined4 *param_5)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  \n  puVar1 = PTR_strlen_000a6ea8;\n  *param_5 = 0;\n  *param_4 = 0;\n  uVar2 = (*(code *)puVar1)(param_2);\n  if (uVar2 < 0x40000000) {\n    iVar3 = (*(code *)PTR_strlen_000a6ea8)(param_3);\n    iVar7 = uVar2 * 2 + 2;\n    iVar6 = iVar3 + iVar7;\n    iVar4 = (**(code **)PTR_PTR_malloc_000a6198)(iVar6);\n    if (iVar4 != 0) {\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3);\n      uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5);\n      (**(code **)PTR_PTR_free_000a6144)(iVar4);\n      return uVar5;\n    }\n  }\n  return 0x1b;\n}\n\n" (function_definition "undefined4\nFUN_000786e0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4,\n            undefined4 *param_5)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  \n  puVar1 = PTR_strlen_000a6ea8;\n  *param_5 = 0;\n  *param_4 = 0;\n  uVar2 = (*(code *)puVar1)(param_2);\n  if (uVar2 < 0x40000000) {\n    iVar3 = (*(code *)PTR_strlen_000a6ea8)(param_3);\n    iVar7 = uVar2 * 2 + 2;\n    iVar6 = iVar3 + iVar7;\n    iVar4 = (**(code **)PTR_PTR_malloc_000a6198)(iVar6);\n    if (iVar4 != 0) {\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3);\n      uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5);\n      (**(code **)PTR_PTR_free_000a6144)(iVar4);\n      return uVar5;\n    }\n  }\n  return 0x1b;\n}" type_identifier (function_declarator "FUN_000786e0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4,\n            undefined4 *param_5)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4,\n            undefined4 *param_5)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 *param_4" type_identifier (pointer_declarator "*param_4" * identifier)) , (parameter_declaration "undefined4 *param_5" type_identifier (pointer_declarator "*param_5" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  \n  puVar1 = PTR_strlen_000a6ea8;\n  *param_5 = 0;\n  *param_4 = 0;\n  uVar2 = (*(code *)puVar1)(param_2);\n  if (uVar2 < 0x40000000) {\n    iVar3 = (*(code *)PTR_strlen_000a6ea8)(param_3);\n    iVar7 = uVar2 * 2 + 2;\n    iVar6 = iVar3 + iVar7;\n    iVar4 = (**(code **)PTR_PTR_malloc_000a6198)(iVar6);\n    if (iVar4 != 0) {\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3);\n      uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5);\n      (**(code **)PTR_PTR_free_000a6144)(iVar4);\n      return uVar5;\n    }\n  }\n  return 0x1b;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (expression_statement "puVar1 = PTR_strlen_000a6ea8;" (assignment_expression "puVar1 = PTR_strlen_000a6ea8" identifier = identifier) ;) (expression_statement "*param_5 = 0;" (assignment_expression "*param_5 = 0" (pointer_expression "*param_5" * identifier) = number_literal) ;) (expression_statement "*param_4 = 0;" (assignment_expression "*param_4 = 0" (pointer_expression "*param_4" * identifier) = number_literal) ;) (expression_statement "uVar2 = (*(code *)puVar1)(param_2);" (assignment_expression "uVar2 = (*(code *)puVar1)(param_2)" identifier = (call_expression "(*(code *)puVar1)(param_2)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2)" ( identifier )))) ;) (if_statement "if (uVar2 < 0x40000000) {\n    iVar3 = (*(code *)PTR_strlen_000a6ea8)(param_3);\n    iVar7 = uVar2 * 2 + 2;\n    iVar6 = iVar3 + iVar7;\n    iVar4 = (**(code **)PTR_PTR_malloc_000a6198)(iVar6);\n    if (iVar4 != 0) {\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3);\n      uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5);\n      (**(code **)PTR_PTR_free_000a6144)(iVar4);\n      return uVar5;\n    }\n  }" if (parenthesized_expression "(uVar2 < 0x40000000)" ( (binary_expression "uVar2 < 0x40000000" identifier < number_literal) )) (compound_statement "{\n    iVar3 = (*(code *)PTR_strlen_000a6ea8)(param_3);\n    iVar7 = uVar2 * 2 + 2;\n    iVar6 = iVar3 + iVar7;\n    iVar4 = (**(code **)PTR_PTR_malloc_000a6198)(iVar6);\n    if (iVar4 != 0) {\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3);\n      uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5);\n      (**(code **)PTR_PTR_free_000a6144)(iVar4);\n      return uVar5;\n    }\n  }" { (expression_statement "iVar3 = (*(code *)PTR_strlen_000a6ea8)(param_3);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_000a6ea8)(param_3)" identifier = (call_expression "(*(code *)PTR_strlen_000a6ea8)(param_3)" (parenthesized_expression "(*(code *)PTR_strlen_000a6ea8)" ( (pointer_expression "*(code *)PTR_strlen_000a6ea8" * (cast_expression "(code *)PTR_strlen_000a6ea8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3)" ( identifier )))) ;) (expression_statement "iVar7 = uVar2 * 2 + 2;" (assignment_expression "iVar7 = uVar2 * 2 + 2" identifier = (binary_expression "uVar2 * 2 + 2" (binary_expression "uVar2 * 2" identifier * number_literal) + number_literal)) ;) (expression_statement "iVar6 = iVar3 + iVar7;" (assignment_expression "iVar6 = iVar3 + iVar7" identifier = (binary_expression "iVar3 + iVar7" identifier + identifier)) ;) (expression_statement "iVar4 = (**(code **)PTR_PTR_malloc_000a6198)(iVar6);" (assignment_expression "iVar4 = (**(code **)PTR_PTR_malloc_000a6198)(iVar6)" identifier = (call_expression "(**(code **)PTR_PTR_malloc_000a6198)(iVar6)" (parenthesized_expression "(**(code **)PTR_PTR_malloc_000a6198)" ( (pointer_expression "**(code **)PTR_PTR_malloc_000a6198" * (pointer_expression "*(code **)PTR_PTR_malloc_000a6198" * (cast_expression "(code **)PTR_PTR_malloc_000a6198" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(iVar6)" ( identifier )))) ;) (if_statement "if (iVar4 != 0) {\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3);\n      uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5);\n      (**(code **)PTR_PTR_free_000a6144)(iVar4);\n      return uVar5;\n    }" if (parenthesized_expression "(iVar4 != 0)" ( (binary_expression "iVar4 != 0" identifier != number_literal) )) (compound_statement "{\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3);\n      uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5);\n      (**(code **)PTR_PTR_free_000a6144)(iVar4);\n      return uVar5;\n    }" { (expression_statement "(*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2);" (call_expression "(*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2)" (parenthesized_expression "(*(code *)PTR_memcpy_000a6eec)" ( (pointer_expression "*(code *)PTR_memcpy_000a6eec" * (cast_expression "(code *)PTR_memcpy_000a6eec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4,param_2,uVar2)" ( identifier , identifier , identifier ))) ;) (expression_statement "*(undefined1 *)(iVar4 + uVar2) = 0;" (assignment_expression "*(undefined1 *)(iVar4 + uVar2) = 0" (pointer_expression "*(undefined1 *)(iVar4 + uVar2)" * (cast_expression "(undefined1 *)(iVar4 + uVar2)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar2)" ( (binary_expression "iVar4 + uVar2" identifier + identifier) )))) = number_literal) ;) (expression_statement "(*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2);" (call_expression "(*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2)" (parenthesized_expression "(*(code *)PTR_memcpy_000a6eec)" ( (pointer_expression "*(code *)PTR_memcpy_000a6eec" * (cast_expression "(code *)PTR_memcpy_000a6eec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4 + uVar2 + 1,param_2,uVar2)" ( (binary_expression "iVar4 + uVar2 + 1" (binary_expression "iVar4 + uVar2" identifier + identifier) + number_literal) , identifier , identifier ))) ;) (expression_statement "puVar1 = PTR_memcpy_000a6eec;" (assignment_expression "puVar1 = PTR_memcpy_000a6eec" identifier = identifier) ;) (expression_statement "*(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;" (assignment_expression "*(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0" (pointer_expression "*(undefined1 *)(iVar4 + uVar2 * 2 + 1)" * (cast_expression "(undefined1 *)(iVar4 + uVar2 * 2 + 1)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar4 + uVar2 * 2 + 1)" ( (binary_expression "iVar4 + uVar2 * 2 + 1" (binary_expression "iVar4 + uVar2 * 2" identifier + (binary_expression "uVar2 * 2" identifier * number_literal)) + number_literal) )))) = number_literal) ;) (expression_statement "(*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3);" (call_expression "(*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar4 + iVar7,param_3,iVar3)" ( (binary_expression "iVar4 + iVar7" identifier + identifier) , identifier , identifier ))) ;) (expression_statement "uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5);" (assignment_expression "uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5)" identifier = (call_expression "(*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5)" (parenthesized_expression "(*(code *)PTR_FUN_000a62b8)" ( (pointer_expression "*(code *)PTR_FUN_000a62b8" * (cast_expression "(code *)PTR_FUN_000a62b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,iVar4,iVar6,param_4,param_5)" ( identifier , identifier , identifier , identifier , identifier )))) ;) (expression_statement "(**(code **)PTR_PTR_free_000a6144)(iVar4);" (call_expression "(**(code **)PTR_PTR_free_000a6144)(iVar4)" (parenthesized_expression "(**(code **)PTR_PTR_free_000a6144)" ( (pointer_expression "**(code **)PTR_PTR_free_000a6144" * (pointer_expression "*(code **)PTR_PTR_free_000a6144" * (cast_expression "(code **)PTR_PTR_free_000a6144" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) identifier))) )) (argument_list "(iVar4)" ( identifier ))) ;) (return_statement "return uVar5;" return identifier ;) })) })) (return_statement "return 0x1b;" return number_literal ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * LIT) + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + IDENT) )))) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression (binary_expression IDENT + IDENT) + LIT) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) )))) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + IDENT) , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) IDENT))) )) (argument_list ( IDENT ))) ;) (return_statement return IDENT ;) })) })) (return_statement return LIT ;) })))
(function_definition "undefined4\nFUN_000786e0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4,\n            undefined4 *param_5)\n\n{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  \n  puVar1 = PTR_strlen_000a6ea8;\n  *param_5 = 0;\n  *param_4 = 0;\n  uVar2 = (*(code *)puVar1)(param_2);\n  if (uVar2 < 0x40000000) {\n    iVar3 = (*(code *)PTR_strlen_000a6ea8)(param_3);\n    iVar7 = uVar2 * 2 + 2;\n    iVar6 = iVar3 + iVar7;\n    iVar4 = (**(code **)PTR_PTR_malloc_000a6198)(iVar6);\n    if (iVar4 != 0) {\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3);\n      uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5);\n      (**(code **)PTR_PTR_free_000a6144)(iVar4);\n      return uVar5;\n    }\n  }\n  return 0x1b;\n}" (type_identifier "undefined4") (function_declarator "FUN_000786e0(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4,\n            undefined4 *param_5)" (identifier "FUN_000786e0") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4,\n            undefined4 *param_5)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 *param_4" (type_identifier "undefined4") (pointer_declarator "*param_4" (* "*") (identifier "param_4"))) (, ",") (parameter_declaration "undefined4 *param_5" (type_identifier "undefined4") (pointer_declarator "*param_5" (* "*") (identifier "param_5"))) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  uint uVar2;\n  int iVar3;\n  int iVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  \n  puVar1 = PTR_strlen_000a6ea8;\n  *param_5 = 0;\n  *param_4 = 0;\n  uVar2 = (*(code *)puVar1)(param_2);\n  if (uVar2 < 0x40000000) {\n    iVar3 = (*(code *)PTR_strlen_000a6ea8)(param_3);\n    iVar7 = uVar2 * 2 + 2;\n    iVar6 = iVar3 + iVar7;\n    iVar4 = (**(code **)PTR_PTR_malloc_000a6198)(iVar6);\n    if (iVar4 != 0) {\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3);\n      uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5);\n      (**(code **)PTR_PTR_free_000a6144)(iVar4);\n      return uVar5;\n    }\n  }\n  return 0x1b;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "uint uVar2;" (type_identifier "uint") (identifier "uVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (expression_statement "puVar1 = PTR_strlen_000a6ea8;" (assignment_expression "puVar1 = PTR_strlen_000a6ea8" (identifier "puVar1") (= "=") (identifier "PTR_strlen_000a6ea8")) (; ";")) (expression_statement "*param_5 = 0;" (assignment_expression "*param_5 = 0" (pointer_expression "*param_5" (* "*") (identifier "param_5")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*param_4 = 0;" (assignment_expression "*param_4 = 0" (pointer_expression "*param_4" (* "*") (identifier "param_4")) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar2 = (*(code *)puVar1)(param_2);" (assignment_expression "uVar2 = (*(code *)puVar1)(param_2)" (identifier "uVar2") (= "=") (call_expression "(*(code *)puVar1)(param_2)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (uVar2 < 0x40000000) {\n    iVar3 = (*(code *)PTR_strlen_000a6ea8)(param_3);\n    iVar7 = uVar2 * 2 + 2;\n    iVar6 = iVar3 + iVar7;\n    iVar4 = (**(code **)PTR_PTR_malloc_000a6198)(iVar6);\n    if (iVar4 != 0) {\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3);\n      uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5);\n      (**(code **)PTR_PTR_free_000a6144)(iVar4);\n      return uVar5;\n    }\n  }" (if "if") (parenthesized_expression "(uVar2 < 0x40000000)" (( "(") (binary_expression "uVar2 < 0x40000000" (identifier "uVar2") (< "<") (number_literal "0x40000000")) () ")")) (compound_statement "{\n    iVar3 = (*(code *)PTR_strlen_000a6ea8)(param_3);\n    iVar7 = uVar2 * 2 + 2;\n    iVar6 = iVar3 + iVar7;\n    iVar4 = (**(code **)PTR_PTR_malloc_000a6198)(iVar6);\n    if (iVar4 != 0) {\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3);\n      uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5);\n      (**(code **)PTR_PTR_free_000a6144)(iVar4);\n      return uVar5;\n    }\n  }" ({ "{") (expression_statement "iVar3 = (*(code *)PTR_strlen_000a6ea8)(param_3);" (assignment_expression "iVar3 = (*(code *)PTR_strlen_000a6ea8)(param_3)" (identifier "iVar3") (= "=") (call_expression "(*(code *)PTR_strlen_000a6ea8)(param_3)" (parenthesized_expression "(*(code *)PTR_strlen_000a6ea8)" (( "(") (pointer_expression "*(code *)PTR_strlen_000a6ea8" (* "*") (cast_expression "(code *)PTR_strlen_000a6ea8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strlen_000a6ea8"))) () ")")) (argument_list "(param_3)" (( "(") (identifier "param_3") () ")")))) (; ";")) (expression_statement "iVar7 = uVar2 * 2 + 2;" (assignment_expression "iVar7 = uVar2 * 2 + 2" (identifier "iVar7") (= "=") (binary_expression "uVar2 * 2 + 2" (binary_expression "uVar2 * 2" (identifier "uVar2") (* "*") (number_literal "2")) (+ "+") (number_literal "2"))) (; ";")) (expression_statement "iVar6 = iVar3 + iVar7;" (assignment_expression "iVar6 = iVar3 + iVar7" (identifier "iVar6") (= "=") (binary_expression "iVar3 + iVar7" (identifier "iVar3") (+ "+") (identifier "iVar7"))) (; ";")) (expression_statement "iVar4 = (**(code **)PTR_PTR_malloc_000a6198)(iVar6);" (assignment_expression "iVar4 = (**(code **)PTR_PTR_malloc_000a6198)(iVar6)" (identifier "iVar4") (= "=") (call_expression "(**(code **)PTR_PTR_malloc_000a6198)(iVar6)" (parenthesized_expression "(**(code **)PTR_PTR_malloc_000a6198)" (( "(") (pointer_expression "**(code **)PTR_PTR_malloc_000a6198" (* "*") (pointer_expression "*(code **)PTR_PTR_malloc_000a6198" (* "*") (cast_expression "(code **)PTR_PTR_malloc_000a6198" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_PTR_malloc_000a6198")))) () ")")) (argument_list "(iVar6)" (( "(") (identifier "iVar6") () ")")))) (; ";")) (if_statement "if (iVar4 != 0) {\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3);\n      uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5);\n      (**(code **)PTR_PTR_free_000a6144)(iVar4);\n      return uVar5;\n    }" (if "if") (parenthesized_expression "(iVar4 != 0)" (( "(") (binary_expression "iVar4 != 0" (identifier "iVar4") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      (*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2);\n      *(undefined1 *)(iVar4 + uVar2) = 0;\n      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2);\n      puVar1 = PTR_memcpy_000a6eec;\n      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;\n      (*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3);\n      uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5);\n      (**(code **)PTR_PTR_free_000a6144)(iVar4);\n      return uVar5;\n    }" ({ "{") (expression_statement "(*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2);" (call_expression "(*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2)" (parenthesized_expression "(*(code *)PTR_memcpy_000a6eec)" (( "(") (pointer_expression "*(code *)PTR_memcpy_000a6eec" (* "*") (cast_expression "(code *)PTR_memcpy_000a6eec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcpy_000a6eec"))) () ")")) (argument_list "(iVar4,param_2,uVar2)" (( "(") (identifier "iVar4") (, ",") (identifier "param_2") (, ",") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "*(undefined1 *)(iVar4 + uVar2) = 0;" (assignment_expression "*(undefined1 *)(iVar4 + uVar2) = 0" (pointer_expression "*(undefined1 *)(iVar4 + uVar2)" (* "*") (cast_expression "(undefined1 *)(iVar4 + uVar2)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + uVar2)" (( "(") (binary_expression "iVar4 + uVar2" (identifier "iVar4") (+ "+") (identifier "uVar2")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2);" (call_expression "(*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2)" (parenthesized_expression "(*(code *)PTR_memcpy_000a6eec)" (( "(") (pointer_expression "*(code *)PTR_memcpy_000a6eec" (* "*") (cast_expression "(code *)PTR_memcpy_000a6eec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memcpy_000a6eec"))) () ")")) (argument_list "(iVar4 + uVar2 + 1,param_2,uVar2)" (( "(") (binary_expression "iVar4 + uVar2 + 1" (binary_expression "iVar4 + uVar2" (identifier "iVar4") (+ "+") (identifier "uVar2")) (+ "+") (number_literal "1")) (, ",") (identifier "param_2") (, ",") (identifier "uVar2") () ")"))) (; ";")) (expression_statement "puVar1 = PTR_memcpy_000a6eec;" (assignment_expression "puVar1 = PTR_memcpy_000a6eec" (identifier "puVar1") (= "=") (identifier "PTR_memcpy_000a6eec")) (; ";")) (expression_statement "*(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;" (assignment_expression "*(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0" (pointer_expression "*(undefined1 *)(iVar4 + uVar2 * 2 + 1)" (* "*") (cast_expression "(undefined1 *)(iVar4 + uVar2 * 2 + 1)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar4 + uVar2 * 2 + 1)" (( "(") (binary_expression "iVar4 + uVar2 * 2 + 1" (binary_expression "iVar4 + uVar2 * 2" (identifier "iVar4") (+ "+") (binary_expression "uVar2 * 2" (identifier "uVar2") (* "*") (number_literal "2"))) (+ "+") (number_literal "1")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3);" (call_expression "(*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3)" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(iVar4 + iVar7,param_3,iVar3)" (( "(") (binary_expression "iVar4 + iVar7" (identifier "iVar4") (+ "+") (identifier "iVar7")) (, ",") (identifier "param_3") (, ",") (identifier "iVar3") () ")"))) (; ";")) (expression_statement "uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5);" (assignment_expression "uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5)" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5)" (parenthesized_expression "(*(code *)PTR_FUN_000a62b8)" (( "(") (pointer_expression "*(code *)PTR_FUN_000a62b8" (* "*") (cast_expression "(code *)PTR_FUN_000a62b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_000a62b8"))) () ")")) (argument_list "(param_1,iVar4,iVar6,param_4,param_5)" (( "(") (identifier "param_1") (, ",") (identifier "iVar4") (, ",") (identifier "iVar6") (, ",") (identifier "param_4") (, ",") (identifier "param_5") () ")")))) (; ";")) (expression_statement "(**(code **)PTR_PTR_free_000a6144)(iVar4);" (call_expression "(**(code **)PTR_PTR_free_000a6144)(iVar4)" (parenthesized_expression "(**(code **)PTR_PTR_free_000a6144)" (( "(") (pointer_expression "**(code **)PTR_PTR_free_000a6144" (* "*") (pointer_expression "*(code **)PTR_PTR_free_000a6144" (* "*") (cast_expression "(code **)PTR_PTR_free_000a6144" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (identifier "PTR_PTR_free_000a6144")))) () ")")) (argument_list "(iVar4)" (( "(") (identifier "iVar4") () ")"))) (; ";")) (return_statement "return uVar5;" (return "return") (identifier "uVar5") (; ";")) (} "}"))) (} "}"))) (return_statement "return 0x1b;" (return "return") (number_literal "0x1b") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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) (identifier)))) (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: (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 (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))) 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 (binary_expression left: (identifier) right: (identifier)) (identifier) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (identifier))))) arguments: (argument_list (identifier)))) (return_statement (identifier)))))) (return_statement (number_literal)))))

undefined4
MASKED(undefined4 param_1,undefined4 param_2,undefined4 param_3,undefined4 *param_4,
            undefined4 *param_5)

{
  undefined *puVar1;
  uint uVar2;
  int iVar3;
  int iVar4;
  undefined4 uVar5;
  int iVar6;
  int iVar7;
  
  puVar1 = PTR_strlen_000a6ea8;
  *param_5 = 0;
  *param_4 = 0;
  uVar2 = (*(code *)puVar1)(param_2);
  if (uVar2 < 0x40000000) {
    iVar3 = (*(code *)PTR_strlen_000a6ea8)(param_3);
    iVar7 = uVar2 * 2 + 2;
    iVar6 = iVar3 + iVar7;
    iVar4 = (**(code **)PTR_PTR_malloc_000a6198)(iVar6);
    if (iVar4 != 0) {
      (*(code *)PTR_memcpy_000a6eec)(iVar4,param_2,uVar2);
      *(undefined1 *)(iVar4 + uVar2) = 0;
      (*(code *)PTR_memcpy_000a6eec)(iVar4 + uVar2 + 1,param_2,uVar2);
      puVar1 = PTR_memcpy_000a6eec;
      *(undefined1 *)(iVar4 + uVar2 * 2 + 1) = 0;
      (*(code *)puVar1)(iVar4 + iVar7,param_3,iVar3);
      uVar5 = (*(code *)PTR_FUN_000a62b8)(param_1,iVar4,iVar6,param_4,param_5);
      (**(code **)PTR_PTR_free_000a6144)(iVar4);
      return uVar5;
    }
  }
  return 0x1b;
}

