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

CURLcode ftp_state_use_pasv(connectdata *conn)

{
  byte bVar1;
  CURLcode CVar2;
  
  if (((conn->bits).ftp_use_epsv == false) && ((conn->bits).ipv6 != false)) {
    (conn->bits).ftp_use_epsv = true;
  }
  bVar1 = (conn->bits).ftp_use_epsv ^ 1;
  CVar2 = Curl_pp_sendf(&(conn->proto).ftpc.pp,"%s",ftp_state_use_pasv::mode + bVar1);
  if (CVar2 == CURLE_OK) {
    *(uint *)((long)&conn->proto + 0xb0) = (uint)bVar1;
    (conn->proto).ftpc.state = FTP_PASV;
    Curl_infof(conn->data,"Connect data stream passively\n");
  }
  return CVar2;
}



int FUN_0011d79a(undefined8 *param_1)

{
  byte bVar1;
  int iVar2;
  
  if ((*(char *)((long)param_1 + 0x3ac) == '\0') && (*(char *)((long)param_1 + 0x3a3) != '\0')) {
    *(undefined1 *)((long)param_1 + 0x3ac) = 1;
  }
  bVar1 = *(byte *)((long)param_1 + 0x3ac) ^ 1;
  iVar2 = FUN_00149138(param_1 + 0xda,"%s",&DAT_0016f308 + (ulong)bVar1 * 5);
  if (iVar2 == 0) {
    *(uint *)(param_1 + 0xf0) = (uint)bVar1;
    *(undefined4 *)((long)param_1 + 0x78c) = 0x1e;
    FUN_0011a8d8(*param_1,"Connect data stream passively\n");
  }
  return iVar2;
}


PUSH R12
PUSH RBP
PUSH RBX
MOV RBX,RDI
CMP byte ptr [RDI + 0x3ac],0x0
JNZ 0x0011d7ba
CMP byte ptr [RDI + 0x3a3],0x0
JZ 0x0011d7ba
MOV byte ptr [RDI + 0x3ac],0x1
MOVZX EAX,byte ptr [RBX + 0x3ac]
XOR EAX,0x1
MOVZX EBP,AL
MOVZX EAX,AL
LEA RDX,[RAX + RAX*0x4]
LEA RAX,[0x16f308]
ADD RDX,RAX
LEA RDI,[RBX + 0x6d0]
LEA RSI,[0x16d5bb]
MOV EAX,0x0
CALL 0x00149138
MOV R12D,EAX
TEST EAX,EAX
JZ 0x0011d7ff
MOV EAX,R12D
POP RBX
POP RBP
POP R12
RET
MOV dword ptr [RBX + 0x780],EBP
MOV dword ptr [RBX + 0x78c],0x1e
LEA RSI,[0x16eb28]
MOV RDI,qword ptr [RBX]
MOV EAX,0x0
CALL 0x0011a8d8
JMP 0x0011d7f7
(translation_unit "int FUN_0011d79a(undefined8 *param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  \n  if ((*(char *)((long)param_1 + 0x3ac) == '\0') && (*(char *)((long)param_1 + 0x3a3) != '\0')) {\n    *(undefined1 *)((long)param_1 + 0x3ac) = 1;\n  }\n  bVar1 = *(byte *)((long)param_1 + 0x3ac) ^ 1;\n  iVar2 = FUN_00149138(param_1 + 0xda,"%s",&DAT_0016f308 + (ulong)bVar1 * 5);\n  if (iVar2 == 0) {\n    *(uint *)(param_1 + 0xf0) = (uint)bVar1;\n    *(undefined4 *)((long)param_1 + 0x78c) = 0x1e;\n    FUN_0011a8d8(*param_1,"Connect data stream passively\n");\n  }\n  return iVar2;\n}\n\n" (function_definition "int FUN_0011d79a(undefined8 *param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  \n  if ((*(char *)((long)param_1 + 0x3ac) == '\0') && (*(char *)((long)param_1 + 0x3a3) != '\0')) {\n    *(undefined1 *)((long)param_1 + 0x3ac) = 1;\n  }\n  bVar1 = *(byte *)((long)param_1 + 0x3ac) ^ 1;\n  iVar2 = FUN_00149138(param_1 + 0xda,"%s",&DAT_0016f308 + (ulong)bVar1 * 5);\n  if (iVar2 == 0) {\n    *(uint *)(param_1 + 0xf0) = (uint)bVar1;\n    *(undefined4 *)((long)param_1 + 0x78c) = 0x1e;\n    FUN_0011a8d8(*param_1,"Connect data stream passively\n");\n  }\n  return iVar2;\n}" primitive_type (function_declarator "FUN_0011d79a(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  \n  if ((*(char *)((long)param_1 + 0x3ac) == '\0') && (*(char *)((long)param_1 + 0x3a3) != '\0')) {\n    *(undefined1 *)((long)param_1 + 0x3ac) = 1;\n  }\n  bVar1 = *(byte *)((long)param_1 + 0x3ac) ^ 1;\n  iVar2 = FUN_00149138(param_1 + 0xda,"%s",&DAT_0016f308 + (ulong)bVar1 * 5);\n  if (iVar2 == 0) {\n    *(uint *)(param_1 + 0xf0) = (uint)bVar1;\n    *(undefined4 *)((long)param_1 + 0x78c) = 0x1e;\n    FUN_0011a8d8(*param_1,"Connect data stream passively\n");\n  }\n  return iVar2;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if ((*(char *)((long)param_1 + 0x3ac) == '\0') && (*(char *)((long)param_1 + 0x3a3) != '\0')) {\n    *(undefined1 *)((long)param_1 + 0x3ac) = 1;\n  }" if (parenthesized_expression "((*(char *)((long)param_1 + 0x3ac) == '\0') && (*(char *)((long)param_1 + 0x3a3) != '\0'))" ( (binary_expression "(*(char *)((long)param_1 + 0x3ac) == '\0') && (*(char *)((long)param_1 + 0x3a3) != '\0')" (parenthesized_expression "(*(char *)((long)param_1 + 0x3ac) == '\0')" ( (binary_expression "*(char *)((long)param_1 + 0x3ac) == '\0'" (pointer_expression "*(char *)((long)param_1 + 0x3ac)" * (cast_expression "(char *)((long)param_1 + 0x3ac)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x3ac)" ( (binary_expression "(long)param_1 + 0x3ac" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(char *)((long)param_1 + 0x3a3) != '\0')" ( (binary_expression "*(char *)((long)param_1 + 0x3a3) != '\0'" (pointer_expression "*(char *)((long)param_1 + 0x3a3)" * (cast_expression "(char *)((long)param_1 + 0x3a3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x3a3)" ( (binary_expression "(long)param_1 + 0x3a3" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    *(undefined1 *)((long)param_1 + 0x3ac) = 1;\n  }" { (expression_statement "*(undefined1 *)((long)param_1 + 0x3ac) = 1;" (assignment_expression "*(undefined1 *)((long)param_1 + 0x3ac) = 1" (pointer_expression "*(undefined1 *)((long)param_1 + 0x3ac)" * (cast_expression "(undefined1 *)((long)param_1 + 0x3ac)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x3ac)" ( (binary_expression "(long)param_1 + 0x3ac" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) })) (expression_statement "bVar1 = *(byte *)((long)param_1 + 0x3ac) ^ 1;" (assignment_expression "bVar1 = *(byte *)((long)param_1 + 0x3ac) ^ 1" identifier = (binary_expression "*(byte *)((long)param_1 + 0x3ac) ^ 1" (pointer_expression "*(byte *)((long)param_1 + 0x3ac)" * (cast_expression "(byte *)((long)param_1 + 0x3ac)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x3ac)" ( (binary_expression "(long)param_1 + 0x3ac" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ^ number_literal)) ;) (expression_statement "iVar2 = FUN_00149138(param_1 + 0xda,"%s",&DAT_0016f308 + (ulong)bVar1 * 5);" (assignment_expression "iVar2 = FUN_00149138(param_1 + 0xda,"%s",&DAT_0016f308 + (ulong)bVar1 * 5)" identifier = (call_expression "FUN_00149138(param_1 + 0xda,"%s",&DAT_0016f308 + (ulong)bVar1 * 5)" identifier (argument_list "(param_1 + 0xda,"%s",&DAT_0016f308 + (ulong)bVar1 * 5)" ( (binary_expression "param_1 + 0xda" identifier + number_literal) , (string_literal ""%s"" " string_content ") , (binary_expression "&DAT_0016f308 + (ulong)bVar1 * 5" (pointer_expression "&DAT_0016f308" & identifier) + (binary_expression "(ulong)bVar1 * 5" (cast_expression "(ulong)bVar1" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) )))) ;) (if_statement "if (iVar2 == 0) {\n    *(uint *)(param_1 + 0xf0) = (uint)bVar1;\n    *(undefined4 *)((long)param_1 + 0x78c) = 0x1e;\n    FUN_0011a8d8(*param_1,"Connect data stream passively\n");\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    *(uint *)(param_1 + 0xf0) = (uint)bVar1;\n    *(undefined4 *)((long)param_1 + 0x78c) = 0x1e;\n    FUN_0011a8d8(*param_1,"Connect data stream passively\n");\n  }" { (expression_statement "*(uint *)(param_1 + 0xf0) = (uint)bVar1;" (assignment_expression "*(uint *)(param_1 + 0xf0) = (uint)bVar1" (pointer_expression "*(uint *)(param_1 + 0xf0)" * (cast_expression "(uint *)(param_1 + 0xf0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf0)" ( (binary_expression "param_1 + 0xf0" identifier + number_literal) )))) = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "*(undefined4 *)((long)param_1 + 0x78c) = 0x1e;" (assignment_expression "*(undefined4 *)((long)param_1 + 0x78c) = 0x1e" (pointer_expression "*(undefined4 *)((long)param_1 + 0x78c)" * (cast_expression "(undefined4 *)((long)param_1 + 0x78c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x78c)" ( (binary_expression "(long)param_1 + 0x78c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0011a8d8(*param_1,"Connect data stream passively\n");" (call_expression "FUN_0011a8d8(*param_1,"Connect data stream passively\n")" identifier (argument_list "(*param_1,"Connect data stream passively\n")" ( (pointer_expression "*param_1" * identifier) , (string_literal ""Connect data stream passively\n"" " string_content escape_sequence ") ))) ;) })) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nCURLcode ftp_state_use_pasv(connectdata *conn)\n\n{\n  byte bVar1;\n  CURLcode CVar2;\n  \n  if (((conn->bits).ftp_use_epsv == false) && ((conn->bits).ipv6 != false)) {\n    (conn->bits).ftp_use_epsv = true;\n  }\n  bVar1 = (conn->bits).ftp_use_epsv ^ 1;\n  CVar2 = Curl_pp_sendf(&(conn->proto).ftpc.pp,"%s",ftp_state_use_pasv::mode + bVar1);\n  if (CVar2 == CURLE_OK) {\n    *(uint *)((long)&conn->proto + 0xb0) = (uint)bVar1;\n    (conn->proto).ftpc.state = FTP_PASV;\n    Curl_infof(conn->data,"Connect data stream passively\n");\n  }\n  return CVar2;\n}\n\n" comment (function_definition "CURLcode ftp_state_use_pasv(connectdata *conn)\n\n{\n  byte bVar1;\n  CURLcode CVar2;\n  \n  if (((conn->bits).ftp_use_epsv == false) && ((conn->bits).ipv6 != false)) {\n    (conn->bits).ftp_use_epsv = true;\n  }\n  bVar1 = (conn->bits).ftp_use_epsv ^ 1;\n  CVar2 = Curl_pp_sendf(&(conn->proto).ftpc.pp,"%s",ftp_state_use_pasv::mode + bVar1);\n  if (CVar2 == CURLE_OK) {\n    *(uint *)((long)&conn->proto + 0xb0) = (uint)bVar1;\n    (conn->proto).ftpc.state = FTP_PASV;\n    Curl_infof(conn->data,"Connect data stream passively\n");\n  }\n  return CVar2;\n}" type_identifier (function_declarator "ftp_state_use_pasv(connectdata *conn)" identifier (parameter_list "(connectdata *conn)" ( (parameter_declaration "connectdata *conn" type_identifier (pointer_declarator "*conn" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  CURLcode CVar2;\n  \n  if (((conn->bits).ftp_use_epsv == false) && ((conn->bits).ipv6 != false)) {\n    (conn->bits).ftp_use_epsv = true;\n  }\n  bVar1 = (conn->bits).ftp_use_epsv ^ 1;\n  CVar2 = Curl_pp_sendf(&(conn->proto).ftpc.pp,"%s",ftp_state_use_pasv::mode + bVar1);\n  if (CVar2 == CURLE_OK) {\n    *(uint *)((long)&conn->proto + 0xb0) = (uint)bVar1;\n    (conn->proto).ftpc.state = FTP_PASV;\n    Curl_infof(conn->data,"Connect data stream passively\n");\n  }\n  return CVar2;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "CURLcode CVar2;" type_identifier identifier ;) (if_statement "if (((conn->bits).ftp_use_epsv == false) && ((conn->bits).ipv6 != false)) {\n    (conn->bits).ftp_use_epsv = true;\n  }" if (parenthesized_expression "(((conn->bits).ftp_use_epsv == false) && ((conn->bits).ipv6 != false))" ( (binary_expression "((conn->bits).ftp_use_epsv == false) && ((conn->bits).ipv6 != false)" (parenthesized_expression "((conn->bits).ftp_use_epsv == false)" ( (binary_expression "(conn->bits).ftp_use_epsv == false" (field_expression "(conn->bits).ftp_use_epsv" (parenthesized_expression "(conn->bits)" ( (field_expression "conn->bits" identifier -> field_identifier) )) . field_identifier) == false) )) && (parenthesized_expression "((conn->bits).ipv6 != false)" ( (binary_expression "(conn->bits).ipv6 != false" (field_expression "(conn->bits).ipv6" (parenthesized_expression "(conn->bits)" ( (field_expression "conn->bits" identifier -> field_identifier) )) . field_identifier) != false) ))) )) (compound_statement "{\n    (conn->bits).ftp_use_epsv = true;\n  }" { (expression_statement "(conn->bits).ftp_use_epsv = true;" (assignment_expression "(conn->bits).ftp_use_epsv = true" (field_expression "(conn->bits).ftp_use_epsv" (parenthesized_expression "(conn->bits)" ( (field_expression "conn->bits" identifier -> field_identifier) )) . field_identifier) = true) ;) })) (expression_statement "bVar1 = (conn->bits).ftp_use_epsv ^ 1;" (assignment_expression "bVar1 = (conn->bits).ftp_use_epsv ^ 1" identifier = (binary_expression "(conn->bits).ftp_use_epsv ^ 1" (field_expression "(conn->bits).ftp_use_epsv" (parenthesized_expression "(conn->bits)" ( (field_expression "conn->bits" identifier -> field_identifier) )) . field_identifier) ^ number_literal)) ;) (expression_statement "CVar2 = Curl_pp_sendf(&(conn->proto).ftpc.pp,"%s",ftp_state_use_pasv::mode + bVar1);" (assignment_expression "CVar2 = Curl_pp_sendf(&(conn->proto).ftpc.pp,"%s",ftp_state_use_pasv::mode + bVar1)" identifier = (call_expression "Curl_pp_sendf(&(conn->proto).ftpc.pp,"%s",ftp_state_use_pasv::mode + bVar1)" identifier (argument_list "(&(conn->proto).ftpc.pp,"%s",ftp_state_use_pasv::mode + bVar1)" ( (pointer_expression "&(conn->proto).ftpc.pp" & (field_expression "(conn->proto).ftpc.pp" (field_expression "(conn->proto).ftpc" (parenthesized_expression "(conn->proto)" ( (field_expression "conn->proto" identifier -> field_identifier) )) . field_identifier) . field_identifier)) , (string_literal ""%s"" " string_content ") , (binary_expression "ftp_state_use_pasv::mode + bVar1" identifier (ERROR "::mode" : : identifier) + identifier) )))) ;) (if_statement "if (CVar2 == CURLE_OK) {\n    *(uint *)((long)&conn->proto + 0xb0) = (uint)bVar1;\n    (conn->proto).ftpc.state = FTP_PASV;\n    Curl_infof(conn->data,"Connect data stream passively\n");\n  }" if (parenthesized_expression "(CVar2 == CURLE_OK)" ( (binary_expression "CVar2 == CURLE_OK" identifier == identifier) )) (compound_statement "{\n    *(uint *)((long)&conn->proto + 0xb0) = (uint)bVar1;\n    (conn->proto).ftpc.state = FTP_PASV;\n    Curl_infof(conn->data,"Connect data stream passively\n");\n  }" { (expression_statement "*(uint *)((long)&conn->proto + 0xb0) = (uint)bVar1;" (assignment_expression "*(uint *)((long)&conn->proto + 0xb0) = (uint)bVar1" (pointer_expression "*(uint *)((long)&conn->proto + 0xb0)" * (cast_expression "(uint *)((long)&conn->proto + 0xb0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)&conn->proto + 0xb0)" ( (binary_expression "(long)&conn->proto + 0xb0" (cast_expression "(long)&conn->proto" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) (pointer_expression "&conn->proto" & (field_expression "conn->proto" identifier -> field_identifier))) + number_literal) )))) = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "(conn->proto).ftpc.state = FTP_PASV;" (assignment_expression "(conn->proto).ftpc.state = FTP_PASV" (field_expression "(conn->proto).ftpc.state" (field_expression "(conn->proto).ftpc" (parenthesized_expression "(conn->proto)" ( (field_expression "conn->proto" identifier -> field_identifier) )) . field_identifier) . field_identifier) = identifier) ;) (expression_statement "Curl_infof(conn->data,"Connect data stream passively\n");" (call_expression "Curl_infof(conn->data,"Connect data stream passively\n")" identifier (argument_list "(conn->data,"Connect data stream passively\n")" ( (field_expression "conn->data" identifier -> field_identifier) , (string_literal ""Connect data stream passively\n"" " string_content escape_sequence ") ))) ;) })) (return_statement "return CVar2;" return identifier ;) })))
(translation_unit "int FUN_0011d79a(undefined8 *param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  \n  if ((*(char *)((long)param_1 + 0x3ac) == '\0') && (*(char *)((long)param_1 + 0x3a3) != '\0')) {\n    *(undefined1 *)((long)param_1 + 0x3ac) = 1;\n  }\n  bVar1 = *(byte *)((long)param_1 + 0x3ac) ^ 1;\n  iVar2 = FUN_00149138(param_1 + 0xda,"%s",&DAT_0016f308 + (ulong)bVar1 * 5);\n  if (iVar2 == 0) {\n    *(uint *)(param_1 + 0xf0) = (uint)bVar1;\n    *(undefined4 *)((long)param_1 + 0x78c) = 0x1e;\n    FUN_0011a8d8(*param_1,"Connect data stream passively\n");\n  }\n  return iVar2;\n}\n\n" (function_definition "int FUN_0011d79a(undefined8 *param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  \n  if ((*(char *)((long)param_1 + 0x3ac) == '\0') && (*(char *)((long)param_1 + 0x3a3) != '\0')) {\n    *(undefined1 *)((long)param_1 + 0x3ac) = 1;\n  }\n  bVar1 = *(byte *)((long)param_1 + 0x3ac) ^ 1;\n  iVar2 = FUN_00149138(param_1 + 0xda,"%s",&DAT_0016f308 + (ulong)bVar1 * 5);\n  if (iVar2 == 0) {\n    *(uint *)(param_1 + 0xf0) = (uint)bVar1;\n    *(undefined4 *)((long)param_1 + 0x78c) = 0x1e;\n    FUN_0011a8d8(*param_1,"Connect data stream passively\n");\n  }\n  return iVar2;\n}" primitive_type (function_declarator "FUN_0011d79a(undefined8 *param_1)" identifier (parameter_list "(undefined8 *param_1)" ( (parameter_declaration "undefined8 *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  \n  if ((*(char *)((long)param_1 + 0x3ac) == '\0') && (*(char *)((long)param_1 + 0x3a3) != '\0')) {\n    *(undefined1 *)((long)param_1 + 0x3ac) = 1;\n  }\n  bVar1 = *(byte *)((long)param_1 + 0x3ac) ^ 1;\n  iVar2 = FUN_00149138(param_1 + 0xda,"%s",&DAT_0016f308 + (ulong)bVar1 * 5);\n  if (iVar2 == 0) {\n    *(uint *)(param_1 + 0xf0) = (uint)bVar1;\n    *(undefined4 *)((long)param_1 + 0x78c) = 0x1e;\n    FUN_0011a8d8(*param_1,"Connect data stream passively\n");\n  }\n  return iVar2;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if ((*(char *)((long)param_1 + 0x3ac) == '\0') && (*(char *)((long)param_1 + 0x3a3) != '\0')) {\n    *(undefined1 *)((long)param_1 + 0x3ac) = 1;\n  }" if (parenthesized_expression "((*(char *)((long)param_1 + 0x3ac) == '\0') && (*(char *)((long)param_1 + 0x3a3) != '\0'))" ( (binary_expression "(*(char *)((long)param_1 + 0x3ac) == '\0') && (*(char *)((long)param_1 + 0x3a3) != '\0')" (parenthesized_expression "(*(char *)((long)param_1 + 0x3ac) == '\0')" ( (binary_expression "*(char *)((long)param_1 + 0x3ac) == '\0'" (pointer_expression "*(char *)((long)param_1 + 0x3ac)" * (cast_expression "(char *)((long)param_1 + 0x3ac)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x3ac)" ( (binary_expression "(long)param_1 + 0x3ac" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(char *)((long)param_1 + 0x3a3) != '\0')" ( (binary_expression "*(char *)((long)param_1 + 0x3a3) != '\0'" (pointer_expression "*(char *)((long)param_1 + 0x3a3)" * (cast_expression "(char *)((long)param_1 + 0x3a3)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x3a3)" ( (binary_expression "(long)param_1 + 0x3a3" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    *(undefined1 *)((long)param_1 + 0x3ac) = 1;\n  }" { (expression_statement "*(undefined1 *)((long)param_1 + 0x3ac) = 1;" (assignment_expression "*(undefined1 *)((long)param_1 + 0x3ac) = 1" (pointer_expression "*(undefined1 *)((long)param_1 + 0x3ac)" * (cast_expression "(undefined1 *)((long)param_1 + 0x3ac)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x3ac)" ( (binary_expression "(long)param_1 + 0x3ac" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) })) (expression_statement "bVar1 = *(byte *)((long)param_1 + 0x3ac) ^ 1;" (assignment_expression "bVar1 = *(byte *)((long)param_1 + 0x3ac) ^ 1" identifier = (binary_expression "*(byte *)((long)param_1 + 0x3ac) ^ 1" (pointer_expression "*(byte *)((long)param_1 + 0x3ac)" * (cast_expression "(byte *)((long)param_1 + 0x3ac)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x3ac)" ( (binary_expression "(long)param_1 + 0x3ac" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) ^ number_literal)) ;) (expression_statement "iVar2 = FUN_00149138(param_1 + 0xda,"%s",&DAT_0016f308 + (ulong)bVar1 * 5);" (assignment_expression "iVar2 = FUN_00149138(param_1 + 0xda,"%s",&DAT_0016f308 + (ulong)bVar1 * 5)" identifier = (call_expression "FUN_00149138(param_1 + 0xda,"%s",&DAT_0016f308 + (ulong)bVar1 * 5)" identifier (argument_list "(param_1 + 0xda,"%s",&DAT_0016f308 + (ulong)bVar1 * 5)" ( (binary_expression "param_1 + 0xda" identifier + number_literal) , (string_literal ""%s"" " string_content ") , (binary_expression "&DAT_0016f308 + (ulong)bVar1 * 5" (pointer_expression "&DAT_0016f308" & identifier) + (binary_expression "(ulong)bVar1 * 5" (cast_expression "(ulong)bVar1" ( (type_descriptor "ulong" type_identifier) ) identifier) * number_literal)) )))) ;) (if_statement "if (iVar2 == 0) {\n    *(uint *)(param_1 + 0xf0) = (uint)bVar1;\n    *(undefined4 *)((long)param_1 + 0x78c) = 0x1e;\n    FUN_0011a8d8(*param_1,"Connect data stream passively\n");\n  }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n    *(uint *)(param_1 + 0xf0) = (uint)bVar1;\n    *(undefined4 *)((long)param_1 + 0x78c) = 0x1e;\n    FUN_0011a8d8(*param_1,"Connect data stream passively\n");\n  }" { (expression_statement "*(uint *)(param_1 + 0xf0) = (uint)bVar1;" (assignment_expression "*(uint *)(param_1 + 0xf0) = (uint)bVar1" (pointer_expression "*(uint *)(param_1 + 0xf0)" * (cast_expression "(uint *)(param_1 + 0xf0)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0xf0)" ( (binary_expression "param_1 + 0xf0" identifier + number_literal) )))) = (cast_expression "(uint)bVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "*(undefined4 *)((long)param_1 + 0x78c) = 0x1e;" (assignment_expression "*(undefined4 *)((long)param_1 + 0x78c) = 0x1e" (pointer_expression "*(undefined4 *)((long)param_1 + 0x78c)" * (cast_expression "(undefined4 *)((long)param_1 + 0x78c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((long)param_1 + 0x78c)" ( (binary_expression "(long)param_1 + 0x78c" (cast_expression "(long)param_1" ( (type_descriptor "long" (sized_type_specifier "long" long)) ) identifier) + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0011a8d8(*param_1,"Connect data stream passively\n");" (call_expression "FUN_0011a8d8(*param_1,"Connect data stream passively\n")" identifier (argument_list "(*param_1,"Connect data stream passively\n")" ( (pointer_expression "*param_1" * identifier) , (string_literal ""Connect data stream passively\n"" " string_content escape_sequence ") ))) ;) })) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) == (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = LIT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) ^ LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (string_literal " string_content ") , (binary_expression (pointer_expression & IDENT) + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor (sized_type_specifier long)) ) IDENT) + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( (pointer_expression * IDENT) , (string_literal " string_content escape_sequence ") ))) ;) })) (return_statement return IDENT ;) })))
(function_definition "int FUN_0011d79a(undefined8 *param_1)\n\n{\n  byte bVar1;\n  int iVar2;\n  \n  if ((*(char *)((long)param_1 + 0x3ac) == '\0') && (*(char *)((long)param_1 + 0x3a3) != '\0')) {\n    *(undefined1 *)((long)param_1 + 0x3ac) = 1;\n  }\n  bVar1 = *(byte *)((long)param_1 + 0x3ac) ^ 1;\n  iVar2 = FUN_00149138(param_1 + 0xda,"%s",&DAT_0016f308 + (ulong)bVar1 * 5);\n  if (iVar2 == 0) {\n    *(uint *)(param_1 + 0xf0) = (uint)bVar1;\n    *(undefined4 *)((long)param_1 + 0x78c) = 0x1e;\n    FUN_0011a8d8(*param_1,"Connect data stream passively\n");\n  }\n  return iVar2;\n}" (primitive_type "int") (function_declarator "FUN_0011d79a(undefined8 *param_1)" (identifier "FUN_0011d79a") (parameter_list "(undefined8 *param_1)" (( "(") (parameter_declaration "undefined8 *param_1" (type_identifier "undefined8") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  int iVar2;\n  \n  if ((*(char *)((long)param_1 + 0x3ac) == '\0') && (*(char *)((long)param_1 + 0x3a3) != '\0')) {\n    *(undefined1 *)((long)param_1 + 0x3ac) = 1;\n  }\n  bVar1 = *(byte *)((long)param_1 + 0x3ac) ^ 1;\n  iVar2 = FUN_00149138(param_1 + 0xda,"%s",&DAT_0016f308 + (ulong)bVar1 * 5);\n  if (iVar2 == 0) {\n    *(uint *)(param_1 + 0xf0) = (uint)bVar1;\n    *(undefined4 *)((long)param_1 + 0x78c) = 0x1e;\n    FUN_0011a8d8(*param_1,"Connect data stream passively\n");\n  }\n  return iVar2;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (if_statement "if ((*(char *)((long)param_1 + 0x3ac) == '\0') && (*(char *)((long)param_1 + 0x3a3) != '\0')) {\n    *(undefined1 *)((long)param_1 + 0x3ac) = 1;\n  }" (if "if") (parenthesized_expression "((*(char *)((long)param_1 + 0x3ac) == '\0') && (*(char *)((long)param_1 + 0x3a3) != '\0'))" (( "(") (binary_expression "(*(char *)((long)param_1 + 0x3ac) == '\0') && (*(char *)((long)param_1 + 0x3a3) != '\0')" (parenthesized_expression "(*(char *)((long)param_1 + 0x3ac) == '\0')" (( "(") (binary_expression "*(char *)((long)param_1 + 0x3ac) == '\0'" (pointer_expression "*(char *)((long)param_1 + 0x3ac)" (* "*") (cast_expression "(char *)((long)param_1 + 0x3ac)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x3ac)" (( "(") (binary_expression "(long)param_1 + 0x3ac" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x3ac")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(*(char *)((long)param_1 + 0x3a3) != '\0')" (( "(") (binary_expression "*(char *)((long)param_1 + 0x3a3) != '\0'" (pointer_expression "*(char *)((long)param_1 + 0x3a3)" (* "*") (cast_expression "(char *)((long)param_1 + 0x3a3)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x3a3)" (( "(") (binary_expression "(long)param_1 + 0x3a3" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x3a3")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    *(undefined1 *)((long)param_1 + 0x3ac) = 1;\n  }" ({ "{") (expression_statement "*(undefined1 *)((long)param_1 + 0x3ac) = 1;" (assignment_expression "*(undefined1 *)((long)param_1 + 0x3ac) = 1" (pointer_expression "*(undefined1 *)((long)param_1 + 0x3ac)" (* "*") (cast_expression "(undefined1 *)((long)param_1 + 0x3ac)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x3ac)" (( "(") (binary_expression "(long)param_1 + 0x3ac" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x3ac")) () ")")))) (= "=") (number_literal "1")) (; ";")) (} "}"))) (expression_statement "bVar1 = *(byte *)((long)param_1 + 0x3ac) ^ 1;" (assignment_expression "bVar1 = *(byte *)((long)param_1 + 0x3ac) ^ 1" (identifier "bVar1") (= "=") (binary_expression "*(byte *)((long)param_1 + 0x3ac) ^ 1" (pointer_expression "*(byte *)((long)param_1 + 0x3ac)" (* "*") (cast_expression "(byte *)((long)param_1 + 0x3ac)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x3ac)" (( "(") (binary_expression "(long)param_1 + 0x3ac" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x3ac")) () ")")))) (^ "^") (number_literal "1"))) (; ";")) (expression_statement "iVar2 = FUN_00149138(param_1 + 0xda,"%s",&DAT_0016f308 + (ulong)bVar1 * 5);" (assignment_expression "iVar2 = FUN_00149138(param_1 + 0xda,"%s",&DAT_0016f308 + (ulong)bVar1 * 5)" (identifier "iVar2") (= "=") (call_expression "FUN_00149138(param_1 + 0xda,"%s",&DAT_0016f308 + (ulong)bVar1 * 5)" (identifier "FUN_00149138") (argument_list "(param_1 + 0xda,"%s",&DAT_0016f308 + (ulong)bVar1 * 5)" (( "(") (binary_expression "param_1 + 0xda" (identifier "param_1") (+ "+") (number_literal "0xda")) (, ",") (string_literal ""%s"" (" """) (string_content "%s") (" """)) (, ",") (binary_expression "&DAT_0016f308 + (ulong)bVar1 * 5" (pointer_expression "&DAT_0016f308" (& "&") (identifier "DAT_0016f308")) (+ "+") (binary_expression "(ulong)bVar1 * 5" (cast_expression "(ulong)bVar1" (( "(") (type_descriptor "ulong" (type_identifier "ulong")) () ")") (identifier "bVar1")) (* "*") (number_literal "5"))) () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n    *(uint *)(param_1 + 0xf0) = (uint)bVar1;\n    *(undefined4 *)((long)param_1 + 0x78c) = 0x1e;\n    FUN_0011a8d8(*param_1,"Connect data stream passively\n");\n  }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(uint *)(param_1 + 0xf0) = (uint)bVar1;\n    *(undefined4 *)((long)param_1 + 0x78c) = 0x1e;\n    FUN_0011a8d8(*param_1,"Connect data stream passively\n");\n  }" ({ "{") (expression_statement "*(uint *)(param_1 + 0xf0) = (uint)bVar1;" (assignment_expression "*(uint *)(param_1 + 0xf0) = (uint)bVar1" (pointer_expression "*(uint *)(param_1 + 0xf0)" (* "*") (cast_expression "(uint *)(param_1 + 0xf0)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0xf0)" (( "(") (binary_expression "param_1 + 0xf0" (identifier "param_1") (+ "+") (number_literal "0xf0")) () ")")))) (= "=") (cast_expression "(uint)bVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar1"))) (; ";")) (expression_statement "*(undefined4 *)((long)param_1 + 0x78c) = 0x1e;" (assignment_expression "*(undefined4 *)((long)param_1 + 0x78c) = 0x1e" (pointer_expression "*(undefined4 *)((long)param_1 + 0x78c)" (* "*") (cast_expression "(undefined4 *)((long)param_1 + 0x78c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((long)param_1 + 0x78c)" (( "(") (binary_expression "(long)param_1 + 0x78c" (cast_expression "(long)param_1" (( "(") (type_descriptor "long" (sized_type_specifier "long" (long "long"))) () ")") (identifier "param_1")) (+ "+") (number_literal "0x78c")) () ")")))) (= "=") (number_literal "0x1e")) (; ";")) (expression_statement "FUN_0011a8d8(*param_1,"Connect data stream passively\n");" (call_expression "FUN_0011a8d8(*param_1,"Connect data stream passively\n")" (identifier "FUN_0011a8d8") (argument_list "(*param_1,"Connect data stream passively\n")" (( "(") (pointer_expression "*param_1" (* "*") (identifier "param_1")) (, ",") (string_literal ""Connect data stream passively\n"" (" """) (string_content "Connect data stream passively") (escape_sequence "\n") (" """)) () ")"))) (; ";")) (} "}"))) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}")))

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

type_1 function_1(type_2 *conn)

{
  type_3 var_2;
  type_1 var_3;
  
  if (((conn->bits).ftp_use_epsv == false) && ((conn->bits).ipv6 != false)) {
    (conn->bits).ftp_use_epsv = true;
  }
  var_2 = (conn->bits).ftp_use_epsv ^ 1;
  var_3 = var_1(&(conn->proto).ftpc.pp,"%s",function_1::mode + var_2);
  if (var_3 == var_4) {
    *(type_4 *)((long)&conn->proto + 0xb0) = (type_4)var_2;
    (conn->proto).ftpc.state = FTP_PASV;
    var_5(conn->data,"Connect data stream passively\n");
  }
  return var_3;
}


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

int MASKED(undefined8 *param_1)

{
  byte bVar1;
  int iVar2;
  
  if ((*(char *)((long)param_1 + 0x3ac) == '\0') && (*(char *)((long)param_1 + 0x3a3) != '\0')) {
    *(undefined1 *)((long)param_1 + 0x3ac) = 1;
  }
  bVar1 = *(byte *)((long)param_1 + 0x3ac) ^ 1;
  iVar2 = FUN_00149138(param_1 + 0xda,"%s",&DAT_0016f308 + (ulong)bVar1 * 5);
  if (iVar2 == 0) {
    *(uint *)(param_1 + 0xf0) = (uint)bVar1;
    *(undefined4 *)((long)param_1 + 0x78c) = 0x1e;
    FUN_0011a8d8(*param_1,"Connect data stream passively\n");
  }
  return iVar2;
}

