
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

CURLcode pop3_disconnect(connectdata *conn,_Bool dead_connection)

{
  anon_union_188_10_26c073a1_for_proto *pp;
  size_t sVar1;
  CURLcode CVar2;
  
  pp = &conn->proto;
  if ((((!dead_connection) && (sVar1 = (conn->proto).smbc.sent, sVar1 != 0)) &&
      (*(char *)(sVar1 + 599) != '\0')) &&
     (CVar2 = Curl_pp_sendf(&(pp->ftpc).pp,"%s",&DAT_0008431d), CVar2 == CURLE_OK)) {
    (conn->proto).sshc.readdir_totalLen = 10;
    do {
      CVar2 = Curl_pp_statemach(&(pp->ftpc).pp,true,true);
      if ((conn->proto).ftpc.entrypath == (char *)0x0) break;
    } while (CVar2 == CURLE_OK);
  }
  Curl_pp_disconnect(&(pp->ftpc).pp);
  Curl_sasl_cleanup(conn,(conn->proto).imapc.preftype);
  (*Curl_cfree)((conn->proto).imapc.mailbox);
  (conn->proto).ftpc.count2 = 0;
  return CURLE_OK;
}



undefined4 __regparm2 FUN_0005a630(undefined4 param_1,undefined4 param_2,int param_3)

{
  int iVar1;
  int iVar2;
  int unaff_EBX;
  int iVar3;
  
  iVar3 = param_3;
  entry(param_2,0x5a63c);
  iVar1 = iVar3 + 0x4a4;
  if (((((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)) &&
      (*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0')) &&
     (iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1), iVar2 == 0)) {
    *(undefined4 *)(iVar3 + 0x4dc) = 10;
    do {
      iVar2 = FUN_0005e1a0(iVar1,1,1);
      if (*(int *)(iVar3 + 0x4dc) == 0) break;
    } while (iVar2 == 0);
  }
  FUN_0005e150(iVar1);
  FUN_00064970(iVar3,*(undefined4 *)(iVar3 + 0x4fc));
  (**(code **)(unaff_EBX + 0x5ca30))(*(undefined4 *)(iVar3 + 0x50c));
  *(undefined4 *)(iVar3 + 0x50c) = 0;
  return 0;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV ESI,dword ptr [ESP + 0x10]
CALL 0x00019ed0
ADD EBX,0x5c1a4
CMP byte ptr [ESP + 0x14],0x0
LEA EDI,[ESI + 0x4a4]
JNZ 0x0005a662
MOV EAX,dword ptr [ESI + 0x4d0]
TEST EAX,EAX
JZ 0x0005a662
CMP byte ptr [EAX + 0x257],0x0
JNZ 0x0005a6a0
SUB ESP,0xc
PUSH EDI
CALL 0x0005e150
POP EAX
POP EDX
PUSH dword ptr [ESI + 0x4fc]
PUSH ESI
CALL 0x00064970
POP ECX
PUSH dword ptr [ESI + 0x50c]
LEA EAX,[EBX + 0x88c]
CALL dword ptr [EAX]
ADD ESP,0x10
XOR EAX,EAX
MOV dword ptr [ESI + 0x50c],0x0
POP EBX
POP ESI
POP EDI
RET
SUB ESP,0x4
LEA EAX,[EBX + 0xfffcdb3d]
PUSH EAX
LEA EAX,[EBX + 0xfffcce1c]
PUSH EAX
PUSH EDI
CALL 0x0005dc30
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x0005a662
MOV dword ptr [ESI + 0x4dc],0xa
JMP 0x0005a6d4
TEST EAX,EAX
JNZ 0x0005a662
SUB ESP,0x4
PUSH 0x1
PUSH 0x1
PUSH EDI
CALL 0x0005e1a0
MOV EDX,dword ptr [ESI + 0x4dc]
ADD ESP,0x10
TEST EDX,EDX
JNZ 0x0005a6d0
JMP 0x0005a662
(translation_unit "undefined4 __regparm2 FUN_0005a630(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int unaff_EBX;\n  int iVar3;\n  \n  iVar3 = param_3;\n  entry(param_2,0x5a63c);\n  iVar1 = iVar3 + 0x4a4;\n  if (((((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)) &&\n      (*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0')) &&\n     (iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1), iVar2 == 0)) {\n    *(undefined4 *)(iVar3 + 0x4dc) = 10;\n    do {\n      iVar2 = FUN_0005e1a0(iVar1,1,1);\n      if (*(int *)(iVar3 + 0x4dc) == 0) break;\n    } while (iVar2 == 0);\n  }\n  FUN_0005e150(iVar1);\n  FUN_00064970(iVar3,*(undefined4 *)(iVar3 + 0x4fc));\n  (**(code **)(unaff_EBX + 0x5ca30))(*(undefined4 *)(iVar3 + 0x50c));\n  *(undefined4 *)(iVar3 + 0x50c) = 0;\n  return 0;\n}\n\n" (function_definition "undefined4 __regparm2 FUN_0005a630(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int unaff_EBX;\n  int iVar3;\n  \n  iVar3 = param_3;\n  entry(param_2,0x5a63c);\n  iVar1 = iVar3 + 0x4a4;\n  if (((((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)) &&\n      (*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0')) &&\n     (iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1), iVar2 == 0)) {\n    *(undefined4 *)(iVar3 + 0x4dc) = 10;\n    do {\n      iVar2 = FUN_0005e1a0(iVar1,1,1);\n      if (*(int *)(iVar3 + 0x4dc) == 0) break;\n    } while (iVar2 == 0);\n  }\n  FUN_0005e150(iVar1);\n  FUN_00064970(iVar3,*(undefined4 *)(iVar3 + 0x4fc));\n  (**(code **)(unaff_EBX + 0x5ca30))(*(undefined4 *)(iVar3 + 0x50c));\n  *(undefined4 *)(iVar3 + 0x50c) = 0;\n  return 0;\n}" type_identifier (ERROR "__regparm2" identifier) (function_declarator "FUN_0005a630(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int unaff_EBX;\n  int iVar3;\n  \n  iVar3 = param_3;\n  entry(param_2,0x5a63c);\n  iVar1 = iVar3 + 0x4a4;\n  if (((((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)) &&\n      (*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0')) &&\n     (iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1), iVar2 == 0)) {\n    *(undefined4 *)(iVar3 + 0x4dc) = 10;\n    do {\n      iVar2 = FUN_0005e1a0(iVar1,1,1);\n      if (*(int *)(iVar3 + 0x4dc) == 0) break;\n    } while (iVar2 == 0);\n  }\n  FUN_0005e150(iVar1);\n  FUN_00064970(iVar3,*(undefined4 *)(iVar3 + 0x4fc));\n  (**(code **)(unaff_EBX + 0x5ca30))(*(undefined4 *)(iVar3 + 0x50c));\n  *(undefined4 *)(iVar3 + 0x50c) = 0;\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int unaff_EBX;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar3 = param_3;" (assignment_expression "iVar3 = param_3" identifier = identifier) ;) (expression_statement "entry(param_2,0x5a63c);" (call_expression "entry(param_2,0x5a63c)" identifier (argument_list "(param_2,0x5a63c)" ( identifier , number_literal ))) ;) (expression_statement "iVar1 = iVar3 + 0x4a4;" (assignment_expression "iVar1 = iVar3 + 0x4a4" identifier = (binary_expression "iVar3 + 0x4a4" identifier + number_literal)) ;) (if_statement "if (((((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)) &&\n      (*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0')) &&\n     (iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1), iVar2 == 0)) {\n    *(undefined4 *)(iVar3 + 0x4dc) = 10;\n    do {\n      iVar2 = FUN_0005e1a0(iVar1,1,1);\n      if (*(int *)(iVar3 + 0x4dc) == 0) break;\n    } while (iVar2 == 0);\n  }" if (parenthesized_expression "(((((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)) &&\n      (*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0')) &&\n     (iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1), iVar2 == 0))" ( (binary_expression "((((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)) &&\n      (*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0')) &&\n     (iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1), iVar2 == 0)" (parenthesized_expression "((((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)) &&\n      (*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0'))" ( (binary_expression "(((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)) &&\n      (*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0')" (parenthesized_expression "(((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0))" ( (binary_expression "((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)" (parenthesized_expression "((char)param_3 == '\0')" ( (binary_expression "(char)param_3 == '\0'" (cast_expression "(char)param_3" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(int *)(iVar3 + 0x4d0) != 0)" ( (binary_expression "*(int *)(iVar3 + 0x4d0) != 0" (pointer_expression "*(int *)(iVar3 + 0x4d0)" * (cast_expression "(int *)(iVar3 + 0x4d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x4d0)" ( (binary_expression "iVar3 + 0x4d0" identifier + number_literal) )))) != number_literal) ))) )) && (parenthesized_expression "(*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0')" ( (binary_expression "*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0'" (pointer_expression "*(char *)(*(int *)(iVar3 + 0x4d0) + 599)" * (cast_expression "(char *)(*(int *)(iVar3 + 0x4d0) + 599)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x4d0) + 599)" ( (binary_expression "*(int *)(iVar3 + 0x4d0) + 599" (pointer_expression "*(int *)(iVar3 + 0x4d0)" * (cast_expression "(int *)(iVar3 + 0x4d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x4d0)" ( (binary_expression "iVar3 + 0x4d0" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1), iVar2 == 0" (assignment_expression "iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1)" identifier = (call_expression "FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1)" identifier (argument_list "(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1)" ( identifier , (binary_expression "unaff_EBX + 0x28fc0" identifier + number_literal) , (binary_expression "unaff_EBX + 0x29ce1" identifier + number_literal) )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    *(undefined4 *)(iVar3 + 0x4dc) = 10;\n    do {\n      iVar2 = FUN_0005e1a0(iVar1,1,1);\n      if (*(int *)(iVar3 + 0x4dc) == 0) break;\n    } while (iVar2 == 0);\n  }" { (expression_statement "*(undefined4 *)(iVar3 + 0x4dc) = 10;" (assignment_expression "*(undefined4 *)(iVar3 + 0x4dc) = 10" (pointer_expression "*(undefined4 *)(iVar3 + 0x4dc)" * (cast_expression "(undefined4 *)(iVar3 + 0x4dc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x4dc)" ( (binary_expression "iVar3 + 0x4dc" identifier + number_literal) )))) = number_literal) ;) (do_statement "do {\n      iVar2 = FUN_0005e1a0(iVar1,1,1);\n      if (*(int *)(iVar3 + 0x4dc) == 0) break;\n    } while (iVar2 == 0);" do (compound_statement "{\n      iVar2 = FUN_0005e1a0(iVar1,1,1);\n      if (*(int *)(iVar3 + 0x4dc) == 0) break;\n    }" { (expression_statement "iVar2 = FUN_0005e1a0(iVar1,1,1);" (assignment_expression "iVar2 = FUN_0005e1a0(iVar1,1,1)" identifier = (call_expression "FUN_0005e1a0(iVar1,1,1)" identifier (argument_list "(iVar1,1,1)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (*(int *)(iVar3 + 0x4dc) == 0) break;" if (parenthesized_expression "(*(int *)(iVar3 + 0x4dc) == 0)" ( (binary_expression "*(int *)(iVar3 + 0x4dc) == 0" (pointer_expression "*(int *)(iVar3 + 0x4dc)" * (cast_expression "(int *)(iVar3 + 0x4dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x4dc)" ( (binary_expression "iVar3 + 0x4dc" identifier + number_literal) )))) == number_literal) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) ;) })) (expression_statement "FUN_0005e150(iVar1);" (call_expression "FUN_0005e150(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "FUN_00064970(iVar3,*(undefined4 *)(iVar3 + 0x4fc));" (call_expression "FUN_00064970(iVar3,*(undefined4 *)(iVar3 + 0x4fc))" identifier (argument_list "(iVar3,*(undefined4 *)(iVar3 + 0x4fc))" ( identifier , (pointer_expression "*(undefined4 *)(iVar3 + 0x4fc)" * (cast_expression "(undefined4 *)(iVar3 + 0x4fc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x4fc)" ( (binary_expression "iVar3 + 0x4fc" identifier + number_literal) )))) ))) ;) (expression_statement "(**(code **)(unaff_EBX + 0x5ca30))(*(undefined4 *)(iVar3 + 0x50c));" (call_expression "(**(code **)(unaff_EBX + 0x5ca30))(*(undefined4 *)(iVar3 + 0x50c))" (parenthesized_expression "(**(code **)(unaff_EBX + 0x5ca30))" ( (pointer_expression "**(code **)(unaff_EBX + 0x5ca30)" * (pointer_expression "*(code **)(unaff_EBX + 0x5ca30)" * (cast_expression "(code **)(unaff_EBX + 0x5ca30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBX + 0x5ca30)" ( (binary_expression "unaff_EBX + 0x5ca30" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar3 + 0x50c))" ( (pointer_expression "*(undefined4 *)(iVar3 + 0x50c)" * (cast_expression "(undefined4 *)(iVar3 + 0x50c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x50c)" ( (binary_expression "iVar3 + 0x50c" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined4 *)(iVar3 + 0x50c) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x50c) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x50c)" * (cast_expression "(undefined4 *)(iVar3 + 0x50c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x50c)" ( (binary_expression "iVar3 + 0x50c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nCURLcode pop3_disconnect(connectdata *conn,_Bool dead_connection)\n\n{\n  anon_union_188_10_26c073a1_for_proto *pp;\n  size_t sVar1;\n  CURLcode CVar2;\n  \n  pp = &conn->proto;\n  if ((((!dead_connection) && (sVar1 = (conn->proto).smbc.sent, sVar1 != 0)) &&\n      (*(char *)(sVar1 + 599) != '\0')) &&\n     (CVar2 = Curl_pp_sendf(&(pp->ftpc).pp,"%s",&DAT_0008431d), CVar2 == CURLE_OK)) {\n    (conn->proto).sshc.readdir_totalLen = 10;\n    do {\n      CVar2 = Curl_pp_statemach(&(pp->ftpc).pp,true,true);\n      if ((conn->proto).ftpc.entrypath == (char *)0x0) break;\n    } while (CVar2 == CURLE_OK);\n  }\n  Curl_pp_disconnect(&(pp->ftpc).pp);\n  Curl_sasl_cleanup(conn,(conn->proto).imapc.preftype);\n  (*Curl_cfree)((conn->proto).imapc.mailbox);\n  (conn->proto).ftpc.count2 = 0;\n  return CURLE_OK;\n}\n\n" comment comment (function_definition "CURLcode pop3_disconnect(connectdata *conn,_Bool dead_connection)\n\n{\n  anon_union_188_10_26c073a1_for_proto *pp;\n  size_t sVar1;\n  CURLcode CVar2;\n  \n  pp = &conn->proto;\n  if ((((!dead_connection) && (sVar1 = (conn->proto).smbc.sent, sVar1 != 0)) &&\n      (*(char *)(sVar1 + 599) != '\0')) &&\n     (CVar2 = Curl_pp_sendf(&(pp->ftpc).pp,"%s",&DAT_0008431d), CVar2 == CURLE_OK)) {\n    (conn->proto).sshc.readdir_totalLen = 10;\n    do {\n      CVar2 = Curl_pp_statemach(&(pp->ftpc).pp,true,true);\n      if ((conn->proto).ftpc.entrypath == (char *)0x0) break;\n    } while (CVar2 == CURLE_OK);\n  }\n  Curl_pp_disconnect(&(pp->ftpc).pp);\n  Curl_sasl_cleanup(conn,(conn->proto).imapc.preftype);\n  (*Curl_cfree)((conn->proto).imapc.mailbox);\n  (conn->proto).ftpc.count2 = 0;\n  return CURLE_OK;\n}" type_identifier (function_declarator "pop3_disconnect(connectdata *conn,_Bool dead_connection)" identifier (parameter_list "(connectdata *conn,_Bool dead_connection)" ( (parameter_declaration "connectdata *conn" type_identifier (pointer_declarator "*conn" * identifier)) , (parameter_declaration "_Bool dead_connection" type_identifier identifier) ))) (compound_statement "{\n  anon_union_188_10_26c073a1_for_proto *pp;\n  size_t sVar1;\n  CURLcode CVar2;\n  \n  pp = &conn->proto;\n  if ((((!dead_connection) && (sVar1 = (conn->proto).smbc.sent, sVar1 != 0)) &&\n      (*(char *)(sVar1 + 599) != '\0')) &&\n     (CVar2 = Curl_pp_sendf(&(pp->ftpc).pp,"%s",&DAT_0008431d), CVar2 == CURLE_OK)) {\n    (conn->proto).sshc.readdir_totalLen = 10;\n    do {\n      CVar2 = Curl_pp_statemach(&(pp->ftpc).pp,true,true);\n      if ((conn->proto).ftpc.entrypath == (char *)0x0) break;\n    } while (CVar2 == CURLE_OK);\n  }\n  Curl_pp_disconnect(&(pp->ftpc).pp);\n  Curl_sasl_cleanup(conn,(conn->proto).imapc.preftype);\n  (*Curl_cfree)((conn->proto).imapc.mailbox);\n  (conn->proto).ftpc.count2 = 0;\n  return CURLE_OK;\n}" { (declaration "anon_union_188_10_26c073a1_for_proto *pp;" type_identifier (pointer_declarator "*pp" * identifier) ;) (declaration "size_t sVar1;" primitive_type identifier ;) (declaration "CURLcode CVar2;" type_identifier identifier ;) (expression_statement "pp = &conn->proto;" (assignment_expression "pp = &conn->proto" identifier = (pointer_expression "&conn->proto" & (field_expression "conn->proto" identifier -> field_identifier))) ;) (if_statement "if ((((!dead_connection) && (sVar1 = (conn->proto).smbc.sent, sVar1 != 0)) &&\n      (*(char *)(sVar1 + 599) != '\0')) &&\n     (CVar2 = Curl_pp_sendf(&(pp->ftpc).pp,"%s",&DAT_0008431d), CVar2 == CURLE_OK)) {\n    (conn->proto).sshc.readdir_totalLen = 10;\n    do {\n      CVar2 = Curl_pp_statemach(&(pp->ftpc).pp,true,true);\n      if ((conn->proto).ftpc.entrypath == (char *)0x0) break;\n    } while (CVar2 == CURLE_OK);\n  }" if (parenthesized_expression "((((!dead_connection) && (sVar1 = (conn->proto).smbc.sent, sVar1 != 0)) &&\n      (*(char *)(sVar1 + 599) != '\0')) &&\n     (CVar2 = Curl_pp_sendf(&(pp->ftpc).pp,"%s",&DAT_0008431d), CVar2 == CURLE_OK))" ( (binary_expression "(((!dead_connection) && (sVar1 = (conn->proto).smbc.sent, sVar1 != 0)) &&\n      (*(char *)(sVar1 + 599) != '\0')) &&\n     (CVar2 = Curl_pp_sendf(&(pp->ftpc).pp,"%s",&DAT_0008431d), CVar2 == CURLE_OK)" (parenthesized_expression "(((!dead_connection) && (sVar1 = (conn->proto).smbc.sent, sVar1 != 0)) &&\n      (*(char *)(sVar1 + 599) != '\0'))" ( (binary_expression "((!dead_connection) && (sVar1 = (conn->proto).smbc.sent, sVar1 != 0)) &&\n      (*(char *)(sVar1 + 599) != '\0')" (parenthesized_expression "((!dead_connection) && (sVar1 = (conn->proto).smbc.sent, sVar1 != 0))" ( (binary_expression "(!dead_connection) && (sVar1 = (conn->proto).smbc.sent, sVar1 != 0)" (parenthesized_expression "(!dead_connection)" ( (unary_expression "!dead_connection" ! identifier) )) && (parenthesized_expression "(sVar1 = (conn->proto).smbc.sent, sVar1 != 0)" ( (comma_expression "sVar1 = (conn->proto).smbc.sent, sVar1 != 0" (assignment_expression "sVar1 = (conn->proto).smbc.sent" identifier = (field_expression "(conn->proto).smbc.sent" (field_expression "(conn->proto).smbc" (parenthesized_expression "(conn->proto)" ( (field_expression "conn->proto" identifier -> field_identifier) )) . field_identifier) . field_identifier)) , (binary_expression "sVar1 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(*(char *)(sVar1 + 599) != '\0')" ( (binary_expression "*(char *)(sVar1 + 599) != '\0'" (pointer_expression "*(char *)(sVar1 + 599)" * (cast_expression "(char *)(sVar1 + 599)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(sVar1 + 599)" ( (binary_expression "sVar1 + 599" identifier + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(CVar2 = Curl_pp_sendf(&(pp->ftpc).pp,"%s",&DAT_0008431d), CVar2 == CURLE_OK)" ( (comma_expression "CVar2 = Curl_pp_sendf(&(pp->ftpc).pp,"%s",&DAT_0008431d), CVar2 == CURLE_OK" (assignment_expression "CVar2 = Curl_pp_sendf(&(pp->ftpc).pp,"%s",&DAT_0008431d)" identifier = (call_expression "Curl_pp_sendf(&(pp->ftpc).pp,"%s",&DAT_0008431d)" identifier (argument_list "(&(pp->ftpc).pp,"%s",&DAT_0008431d)" ( (pointer_expression "&(pp->ftpc).pp" & (field_expression "(pp->ftpc).pp" (parenthesized_expression "(pp->ftpc)" ( (field_expression "pp->ftpc" identifier -> field_identifier) )) . field_identifier)) , (string_literal ""%s"" " string_content ") , (pointer_expression "&DAT_0008431d" & identifier) )))) , (binary_expression "CVar2 == CURLE_OK" identifier == identifier)) ))) )) (compound_statement "{\n    (conn->proto).sshc.readdir_totalLen = 10;\n    do {\n      CVar2 = Curl_pp_statemach(&(pp->ftpc).pp,true,true);\n      if ((conn->proto).ftpc.entrypath == (char *)0x0) break;\n    } while (CVar2 == CURLE_OK);\n  }" { (expression_statement "(conn->proto).sshc.readdir_totalLen = 10;" (assignment_expression "(conn->proto).sshc.readdir_totalLen = 10" (field_expression "(conn->proto).sshc.readdir_totalLen" (field_expression "(conn->proto).sshc" (parenthesized_expression "(conn->proto)" ( (field_expression "conn->proto" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (do_statement "do {\n      CVar2 = Curl_pp_statemach(&(pp->ftpc).pp,true,true);\n      if ((conn->proto).ftpc.entrypath == (char *)0x0) break;\n    } while (CVar2 == CURLE_OK);" do (compound_statement "{\n      CVar2 = Curl_pp_statemach(&(pp->ftpc).pp,true,true);\n      if ((conn->proto).ftpc.entrypath == (char *)0x0) break;\n    }" { (expression_statement "CVar2 = Curl_pp_statemach(&(pp->ftpc).pp,true,true);" (assignment_expression "CVar2 = Curl_pp_statemach(&(pp->ftpc).pp,true,true)" identifier = (call_expression "Curl_pp_statemach(&(pp->ftpc).pp,true,true)" identifier (argument_list "(&(pp->ftpc).pp,true,true)" ( (pointer_expression "&(pp->ftpc).pp" & (field_expression "(pp->ftpc).pp" (parenthesized_expression "(pp->ftpc)" ( (field_expression "pp->ftpc" identifier -> field_identifier) )) . field_identifier)) , true , true )))) ;) (if_statement "if ((conn->proto).ftpc.entrypath == (char *)0x0) break;" if (parenthesized_expression "((conn->proto).ftpc.entrypath == (char *)0x0)" ( (binary_expression "(conn->proto).ftpc.entrypath == (char *)0x0" (field_expression "(conn->proto).ftpc.entrypath" (field_expression "(conn->proto).ftpc" (parenthesized_expression "(conn->proto)" ( (field_expression "conn->proto" identifier -> field_identifier) )) . field_identifier) . field_identifier) == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(CVar2 == CURLE_OK)" ( (binary_expression "CVar2 == CURLE_OK" identifier == identifier) )) ;) })) (expression_statement "Curl_pp_disconnect(&(pp->ftpc).pp);" (call_expression "Curl_pp_disconnect(&(pp->ftpc).pp)" identifier (argument_list "(&(pp->ftpc).pp)" ( (pointer_expression "&(pp->ftpc).pp" & (field_expression "(pp->ftpc).pp" (parenthesized_expression "(pp->ftpc)" ( (field_expression "pp->ftpc" identifier -> field_identifier) )) . field_identifier)) ))) ;) (expression_statement "Curl_sasl_cleanup(conn,(conn->proto).imapc.preftype);" (call_expression "Curl_sasl_cleanup(conn,(conn->proto).imapc.preftype)" identifier (argument_list "(conn,(conn->proto).imapc.preftype)" ( identifier , (field_expression "(conn->proto).imapc.preftype" (field_expression "(conn->proto).imapc" (parenthesized_expression "(conn->proto)" ( (field_expression "conn->proto" identifier -> field_identifier) )) . field_identifier) . field_identifier) ))) ;) (expression_statement "(*Curl_cfree)((conn->proto).imapc.mailbox);" (call_expression "(*Curl_cfree)((conn->proto).imapc.mailbox)" (parenthesized_expression "(*Curl_cfree)" ( (pointer_expression "*Curl_cfree" * identifier) )) (argument_list "((conn->proto).imapc.mailbox)" ( (field_expression "(conn->proto).imapc.mailbox" (field_expression "(conn->proto).imapc" (parenthesized_expression "(conn->proto)" ( (field_expression "conn->proto" identifier -> field_identifier) )) . field_identifier) . field_identifier) ))) ;) (expression_statement "(conn->proto).ftpc.count2 = 0;" (assignment_expression "(conn->proto).ftpc.count2 = 0" (field_expression "(conn->proto).ftpc.count2" (field_expression "(conn->proto).ftpc" (parenthesized_expression "(conn->proto)" ( (field_expression "conn->proto" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (return_statement "return CURLE_OK;" return identifier ;) })))
(translation_unit "undefined4 __regparm2 FUN_0005a630(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int unaff_EBX;\n  int iVar3;\n  \n  iVar3 = param_3;\n  entry(param_2,0x5a63c);\n  iVar1 = iVar3 + 0x4a4;\n  if (((((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)) &&\n      (*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0')) &&\n     (iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1), iVar2 == 0)) {\n    *(undefined4 *)(iVar3 + 0x4dc) = 10;\n    do {\n      iVar2 = FUN_0005e1a0(iVar1,1,1);\n      if (*(int *)(iVar3 + 0x4dc) == 0) break;\n    } while (iVar2 == 0);\n  }\n  FUN_0005e150(iVar1);\n  FUN_00064970(iVar3,*(undefined4 *)(iVar3 + 0x4fc));\n  (**(code **)(unaff_EBX + 0x5ca30))(*(undefined4 *)(iVar3 + 0x50c));\n  *(undefined4 *)(iVar3 + 0x50c) = 0;\n  return 0;\n}\n\n" (function_definition "undefined4 __regparm2 FUN_0005a630(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int unaff_EBX;\n  int iVar3;\n  \n  iVar3 = param_3;\n  entry(param_2,0x5a63c);\n  iVar1 = iVar3 + 0x4a4;\n  if (((((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)) &&\n      (*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0')) &&\n     (iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1), iVar2 == 0)) {\n    *(undefined4 *)(iVar3 + 0x4dc) = 10;\n    do {\n      iVar2 = FUN_0005e1a0(iVar1,1,1);\n      if (*(int *)(iVar3 + 0x4dc) == 0) break;\n    } while (iVar2 == 0);\n  }\n  FUN_0005e150(iVar1);\n  FUN_00064970(iVar3,*(undefined4 *)(iVar3 + 0x4fc));\n  (**(code **)(unaff_EBX + 0x5ca30))(*(undefined4 *)(iVar3 + 0x50c));\n  *(undefined4 *)(iVar3 + 0x50c) = 0;\n  return 0;\n}" type_identifier (ERROR "__regparm2" identifier) (function_declarator "FUN_0005a630(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int unaff_EBX;\n  int iVar3;\n  \n  iVar3 = param_3;\n  entry(param_2,0x5a63c);\n  iVar1 = iVar3 + 0x4a4;\n  if (((((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)) &&\n      (*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0')) &&\n     (iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1), iVar2 == 0)) {\n    *(undefined4 *)(iVar3 + 0x4dc) = 10;\n    do {\n      iVar2 = FUN_0005e1a0(iVar1,1,1);\n      if (*(int *)(iVar3 + 0x4dc) == 0) break;\n    } while (iVar2 == 0);\n  }\n  FUN_0005e150(iVar1);\n  FUN_00064970(iVar3,*(undefined4 *)(iVar3 + 0x4fc));\n  (**(code **)(unaff_EBX + 0x5ca30))(*(undefined4 *)(iVar3 + 0x50c));\n  *(undefined4 *)(iVar3 + 0x50c) = 0;\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int unaff_EBX;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (expression_statement "iVar3 = param_3;" (assignment_expression "iVar3 = param_3" identifier = identifier) ;) (expression_statement "entry(param_2,0x5a63c);" (call_expression "entry(param_2,0x5a63c)" identifier (argument_list "(param_2,0x5a63c)" ( identifier , number_literal ))) ;) (expression_statement "iVar1 = iVar3 + 0x4a4;" (assignment_expression "iVar1 = iVar3 + 0x4a4" identifier = (binary_expression "iVar3 + 0x4a4" identifier + number_literal)) ;) (if_statement "if (((((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)) &&\n      (*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0')) &&\n     (iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1), iVar2 == 0)) {\n    *(undefined4 *)(iVar3 + 0x4dc) = 10;\n    do {\n      iVar2 = FUN_0005e1a0(iVar1,1,1);\n      if (*(int *)(iVar3 + 0x4dc) == 0) break;\n    } while (iVar2 == 0);\n  }" if (parenthesized_expression "(((((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)) &&\n      (*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0')) &&\n     (iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1), iVar2 == 0))" ( (binary_expression "((((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)) &&\n      (*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0')) &&\n     (iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1), iVar2 == 0)" (parenthesized_expression "((((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)) &&\n      (*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0'))" ( (binary_expression "(((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)) &&\n      (*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0')" (parenthesized_expression "(((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0))" ( (binary_expression "((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)" (parenthesized_expression "((char)param_3 == '\0')" ( (binary_expression "(char)param_3 == '\0'" (cast_expression "(char)param_3" ( (type_descriptor "char" primitive_type) ) identifier) == (char_literal "'\0'" ' escape_sequence ')) )) && (parenthesized_expression "(*(int *)(iVar3 + 0x4d0) != 0)" ( (binary_expression "*(int *)(iVar3 + 0x4d0) != 0" (pointer_expression "*(int *)(iVar3 + 0x4d0)" * (cast_expression "(int *)(iVar3 + 0x4d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x4d0)" ( (binary_expression "iVar3 + 0x4d0" identifier + number_literal) )))) != number_literal) ))) )) && (parenthesized_expression "(*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0')" ( (binary_expression "*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0'" (pointer_expression "*(char *)(*(int *)(iVar3 + 0x4d0) + 599)" * (cast_expression "(char *)(*(int *)(iVar3 + 0x4d0) + 599)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(iVar3 + 0x4d0) + 599)" ( (binary_expression "*(int *)(iVar3 + 0x4d0) + 599" (pointer_expression "*(int *)(iVar3 + 0x4d0)" * (cast_expression "(int *)(iVar3 + 0x4d0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x4d0)" ( (binary_expression "iVar3 + 0x4d0" identifier + number_literal) )))) + number_literal) )))) != (char_literal "'\0'" ' escape_sequence ')) ))) )) && (parenthesized_expression "(iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1), iVar2 == 0)" ( (comma_expression "iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1), iVar2 == 0" (assignment_expression "iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1)" identifier = (call_expression "FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1)" identifier (argument_list "(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1)" ( identifier , (binary_expression "unaff_EBX + 0x28fc0" identifier + number_literal) , (binary_expression "unaff_EBX + 0x29ce1" identifier + number_literal) )))) , (binary_expression "iVar2 == 0" identifier == number_literal)) ))) )) (compound_statement "{\n    *(undefined4 *)(iVar3 + 0x4dc) = 10;\n    do {\n      iVar2 = FUN_0005e1a0(iVar1,1,1);\n      if (*(int *)(iVar3 + 0x4dc) == 0) break;\n    } while (iVar2 == 0);\n  }" { (expression_statement "*(undefined4 *)(iVar3 + 0x4dc) = 10;" (assignment_expression "*(undefined4 *)(iVar3 + 0x4dc) = 10" (pointer_expression "*(undefined4 *)(iVar3 + 0x4dc)" * (cast_expression "(undefined4 *)(iVar3 + 0x4dc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x4dc)" ( (binary_expression "iVar3 + 0x4dc" identifier + number_literal) )))) = number_literal) ;) (do_statement "do {\n      iVar2 = FUN_0005e1a0(iVar1,1,1);\n      if (*(int *)(iVar3 + 0x4dc) == 0) break;\n    } while (iVar2 == 0);" do (compound_statement "{\n      iVar2 = FUN_0005e1a0(iVar1,1,1);\n      if (*(int *)(iVar3 + 0x4dc) == 0) break;\n    }" { (expression_statement "iVar2 = FUN_0005e1a0(iVar1,1,1);" (assignment_expression "iVar2 = FUN_0005e1a0(iVar1,1,1)" identifier = (call_expression "FUN_0005e1a0(iVar1,1,1)" identifier (argument_list "(iVar1,1,1)" ( identifier , number_literal , number_literal )))) ;) (if_statement "if (*(int *)(iVar3 + 0x4dc) == 0) break;" if (parenthesized_expression "(*(int *)(iVar3 + 0x4dc) == 0)" ( (binary_expression "*(int *)(iVar3 + 0x4dc) == 0" (pointer_expression "*(int *)(iVar3 + 0x4dc)" * (cast_expression "(int *)(iVar3 + 0x4dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x4dc)" ( (binary_expression "iVar3 + 0x4dc" identifier + number_literal) )))) == number_literal) )) (break_statement "break;" break ;)) }) while (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) ;) })) (expression_statement "FUN_0005e150(iVar1);" (call_expression "FUN_0005e150(iVar1)" identifier (argument_list "(iVar1)" ( identifier ))) ;) (expression_statement "FUN_00064970(iVar3,*(undefined4 *)(iVar3 + 0x4fc));" (call_expression "FUN_00064970(iVar3,*(undefined4 *)(iVar3 + 0x4fc))" identifier (argument_list "(iVar3,*(undefined4 *)(iVar3 + 0x4fc))" ( identifier , (pointer_expression "*(undefined4 *)(iVar3 + 0x4fc)" * (cast_expression "(undefined4 *)(iVar3 + 0x4fc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x4fc)" ( (binary_expression "iVar3 + 0x4fc" identifier + number_literal) )))) ))) ;) (expression_statement "(**(code **)(unaff_EBX + 0x5ca30))(*(undefined4 *)(iVar3 + 0x50c));" (call_expression "(**(code **)(unaff_EBX + 0x5ca30))(*(undefined4 *)(iVar3 + 0x50c))" (parenthesized_expression "(**(code **)(unaff_EBX + 0x5ca30))" ( (pointer_expression "**(code **)(unaff_EBX + 0x5ca30)" * (pointer_expression "*(code **)(unaff_EBX + 0x5ca30)" * (cast_expression "(code **)(unaff_EBX + 0x5ca30)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBX + 0x5ca30)" ( (binary_expression "unaff_EBX + 0x5ca30" identifier + number_literal) ))))) )) (argument_list "(*(undefined4 *)(iVar3 + 0x50c))" ( (pointer_expression "*(undefined4 *)(iVar3 + 0x50c)" * (cast_expression "(undefined4 *)(iVar3 + 0x50c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x50c)" ( (binary_expression "iVar3 + 0x50c" identifier + number_literal) )))) ))) ;) (expression_statement "*(undefined4 *)(iVar3 + 0x50c) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x50c) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x50c)" * (cast_expression "(undefined4 *)(iVar3 + 0x50c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar3 + 0x50c)" ( (binary_expression "iVar3 + 0x50c" identifier + number_literal) )))) = number_literal) ;) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) == (char_literal ' escape_sequence ')) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) != (char_literal ' escape_sequence ')) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) )))) , (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) )))) = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , LIT , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (break_statement break ;)) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm2 FUN_0005a630(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  int iVar1;\n  int iVar2;\n  int unaff_EBX;\n  int iVar3;\n  \n  iVar3 = param_3;\n  entry(param_2,0x5a63c);\n  iVar1 = iVar3 + 0x4a4;\n  if (((((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)) &&\n      (*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0')) &&\n     (iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1), iVar2 == 0)) {\n    *(undefined4 *)(iVar3 + 0x4dc) = 10;\n    do {\n      iVar2 = FUN_0005e1a0(iVar1,1,1);\n      if (*(int *)(iVar3 + 0x4dc) == 0) break;\n    } while (iVar2 == 0);\n  }\n  FUN_0005e150(iVar1);\n  FUN_00064970(iVar3,*(undefined4 *)(iVar3 + 0x4fc));\n  (**(code **)(unaff_EBX + 0x5ca30))(*(undefined4 *)(iVar3 + 0x50c));\n  *(undefined4 *)(iVar3 + 0x50c) = 0;\n  return 0;\n}" (type_identifier "undefined4") (ERROR "__regparm2" (identifier "__regparm2")) (function_declarator "FUN_0005a630(undefined4 param_1,undefined4 param_2,int param_3)" (identifier "FUN_0005a630") (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int unaff_EBX;\n  int iVar3;\n  \n  iVar3 = param_3;\n  entry(param_2,0x5a63c);\n  iVar1 = iVar3 + 0x4a4;\n  if (((((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)) &&\n      (*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0')) &&\n     (iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1), iVar2 == 0)) {\n    *(undefined4 *)(iVar3 + 0x4dc) = 10;\n    do {\n      iVar2 = FUN_0005e1a0(iVar1,1,1);\n      if (*(int *)(iVar3 + 0x4dc) == 0) break;\n    } while (iVar2 == 0);\n  }\n  FUN_0005e150(iVar1);\n  FUN_00064970(iVar3,*(undefined4 *)(iVar3 + 0x4fc));\n  (**(code **)(unaff_EBX + 0x5ca30))(*(undefined4 *)(iVar3 + 0x50c));\n  *(undefined4 *)(iVar3 + 0x50c) = 0;\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int unaff_EBX;" (primitive_type "int") (identifier "unaff_EBX") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (expression_statement "iVar3 = param_3;" (assignment_expression "iVar3 = param_3" (identifier "iVar3") (= "=") (identifier "param_3")) (; ";")) (expression_statement "entry(param_2,0x5a63c);" (call_expression "entry(param_2,0x5a63c)" (identifier "entry") (argument_list "(param_2,0x5a63c)" (( "(") (identifier "param_2") (, ",") (number_literal "0x5a63c") () ")"))) (; ";")) (expression_statement "iVar1 = iVar3 + 0x4a4;" (assignment_expression "iVar1 = iVar3 + 0x4a4" (identifier "iVar1") (= "=") (binary_expression "iVar3 + 0x4a4" (identifier "iVar3") (+ "+") (number_literal "0x4a4"))) (; ";")) (if_statement "if (((((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)) &&\n      (*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0')) &&\n     (iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1), iVar2 == 0)) {\n    *(undefined4 *)(iVar3 + 0x4dc) = 10;\n    do {\n      iVar2 = FUN_0005e1a0(iVar1,1,1);\n      if (*(int *)(iVar3 + 0x4dc) == 0) break;\n    } while (iVar2 == 0);\n  }" (if "if") (parenthesized_expression "(((((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)) &&\n      (*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0')) &&\n     (iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1), iVar2 == 0))" (( "(") (binary_expression "((((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)) &&\n      (*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0')) &&\n     (iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1), iVar2 == 0)" (parenthesized_expression "((((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)) &&\n      (*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0'))" (( "(") (binary_expression "(((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)) &&\n      (*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0')" (parenthesized_expression "(((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0))" (( "(") (binary_expression "((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)" (parenthesized_expression "((char)param_3 == '\0')" (( "(") (binary_expression "(char)param_3 == '\0'" (cast_expression "(char)param_3" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "param_3")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(iVar3 + 0x4d0) != 0)" (( "(") (binary_expression "*(int *)(iVar3 + 0x4d0) != 0" (pointer_expression "*(int *)(iVar3 + 0x4d0)" (* "*") (cast_expression "(int *)(iVar3 + 0x4d0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x4d0)" (( "(") (binary_expression "iVar3 + 0x4d0" (identifier "iVar3") (+ "+") (number_literal "0x4d0")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0')" (( "(") (binary_expression "*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0'" (pointer_expression "*(char *)(*(int *)(iVar3 + 0x4d0) + 599)" (* "*") (cast_expression "(char *)(*(int *)(iVar3 + 0x4d0) + 599)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(iVar3 + 0x4d0) + 599)" (( "(") (binary_expression "*(int *)(iVar3 + 0x4d0) + 599" (pointer_expression "*(int *)(iVar3 + 0x4d0)" (* "*") (cast_expression "(int *)(iVar3 + 0x4d0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x4d0)" (( "(") (binary_expression "iVar3 + 0x4d0" (identifier "iVar3") (+ "+") (number_literal "0x4d0")) () ")")))) (+ "+") (number_literal "599")) () ")")))) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1), iVar2 == 0)" (( "(") (comma_expression "iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1), iVar2 == 0" (assignment_expression "iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1)" (identifier "iVar2") (= "=") (call_expression "FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1)" (identifier "FUN_0005dc30") (argument_list "(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1)" (( "(") (identifier "iVar1") (, ",") (binary_expression "unaff_EBX + 0x28fc0" (identifier "unaff_EBX") (+ "+") (number_literal "0x28fc0")) (, ",") (binary_expression "unaff_EBX + 0x29ce1" (identifier "unaff_EBX") (+ "+") (number_literal "0x29ce1")) () ")")))) (, ",") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n    *(undefined4 *)(iVar3 + 0x4dc) = 10;\n    do {\n      iVar2 = FUN_0005e1a0(iVar1,1,1);\n      if (*(int *)(iVar3 + 0x4dc) == 0) break;\n    } while (iVar2 == 0);\n  }" ({ "{") (expression_statement "*(undefined4 *)(iVar3 + 0x4dc) = 10;" (assignment_expression "*(undefined4 *)(iVar3 + 0x4dc) = 10" (pointer_expression "*(undefined4 *)(iVar3 + 0x4dc)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x4dc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x4dc)" (( "(") (binary_expression "iVar3 + 0x4dc" (identifier "iVar3") (+ "+") (number_literal "0x4dc")) () ")")))) (= "=") (number_literal "10")) (; ";")) (do_statement "do {\n      iVar2 = FUN_0005e1a0(iVar1,1,1);\n      if (*(int *)(iVar3 + 0x4dc) == 0) break;\n    } while (iVar2 == 0);" (do "do") (compound_statement "{\n      iVar2 = FUN_0005e1a0(iVar1,1,1);\n      if (*(int *)(iVar3 + 0x4dc) == 0) break;\n    }" ({ "{") (expression_statement "iVar2 = FUN_0005e1a0(iVar1,1,1);" (assignment_expression "iVar2 = FUN_0005e1a0(iVar1,1,1)" (identifier "iVar2") (= "=") (call_expression "FUN_0005e1a0(iVar1,1,1)" (identifier "FUN_0005e1a0") (argument_list "(iVar1,1,1)" (( "(") (identifier "iVar1") (, ",") (number_literal "1") (, ",") (number_literal "1") () ")")))) (; ";")) (if_statement "if (*(int *)(iVar3 + 0x4dc) == 0) break;" (if "if") (parenthesized_expression "(*(int *)(iVar3 + 0x4dc) == 0)" (( "(") (binary_expression "*(int *)(iVar3 + 0x4dc) == 0" (pointer_expression "*(int *)(iVar3 + 0x4dc)" (* "*") (cast_expression "(int *)(iVar3 + 0x4dc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x4dc)" (( "(") (binary_expression "iVar3 + 0x4dc" (identifier "iVar3") (+ "+") (number_literal "0x4dc")) () ")")))) (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (} "}")) (while "while") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (; ";")) (} "}"))) (expression_statement "FUN_0005e150(iVar1);" (call_expression "FUN_0005e150(iVar1)" (identifier "FUN_0005e150") (argument_list "(iVar1)" (( "(") (identifier "iVar1") () ")"))) (; ";")) (expression_statement "FUN_00064970(iVar3,*(undefined4 *)(iVar3 + 0x4fc));" (call_expression "FUN_00064970(iVar3,*(undefined4 *)(iVar3 + 0x4fc))" (identifier "FUN_00064970") (argument_list "(iVar3,*(undefined4 *)(iVar3 + 0x4fc))" (( "(") (identifier "iVar3") (, ",") (pointer_expression "*(undefined4 *)(iVar3 + 0x4fc)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x4fc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x4fc)" (( "(") (binary_expression "iVar3 + 0x4fc" (identifier "iVar3") (+ "+") (number_literal "0x4fc")) () ")")))) () ")"))) (; ";")) (expression_statement "(**(code **)(unaff_EBX + 0x5ca30))(*(undefined4 *)(iVar3 + 0x50c));" (call_expression "(**(code **)(unaff_EBX + 0x5ca30))(*(undefined4 *)(iVar3 + 0x50c))" (parenthesized_expression "(**(code **)(unaff_EBX + 0x5ca30))" (( "(") (pointer_expression "**(code **)(unaff_EBX + 0x5ca30)" (* "*") (pointer_expression "*(code **)(unaff_EBX + 0x5ca30)" (* "*") (cast_expression "(code **)(unaff_EBX + 0x5ca30)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EBX + 0x5ca30)" (( "(") (binary_expression "unaff_EBX + 0x5ca30" (identifier "unaff_EBX") (+ "+") (number_literal "0x5ca30")) () ")"))))) () ")")) (argument_list "(*(undefined4 *)(iVar3 + 0x50c))" (( "(") (pointer_expression "*(undefined4 *)(iVar3 + 0x50c)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x50c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x50c)" (( "(") (binary_expression "iVar3 + 0x50c" (identifier "iVar3") (+ "+") (number_literal "0x50c")) () ")")))) () ")"))) (; ";")) (expression_statement "*(undefined4 *)(iVar3 + 0x50c) = 0;" (assignment_expression "*(undefined4 *)(iVar3 + 0x50c) = 0" (pointer_expression "*(undefined4 *)(iVar3 + 0x50c)" (* "*") (cast_expression "(undefined4 *)(iVar3 + 0x50c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar3 + 0x50c)" (( "(") (binary_expression "iVar3 + 0x50c" (identifier "iVar3") (+ "+") (number_literal "0x50c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

type_1 function_1(type_2 *conn,type_3 dead_connection)

{
  type_4 *pp;
  size_t var_1;
  type_1 var_3;
  
  pp = &conn->proto;
  if ((((!dead_connection) && (var_1 = (conn->proto).smbc.sent, var_1 != 0)) &&
      (*(char *)(var_1 + 599) != '\0')) &&
     (var_3 = var_2(&(pp->ftpc).pp,"%s",&DAT_0008431d), var_3 == var_4)) {
    (conn->proto).sshc.readdir_totalLen = 10;
    do {
      var_3 = var_5(&(pp->ftpc).pp,true,true);
      if ((conn->proto).ftpc.entrypath == (char *)0x0) break;
    } while (var_3 == var_4);
  }
  var_6(&(pp->ftpc).pp);
  var_7(conn,(conn->proto).imapc.preftype);
  (*Curl_cfree)((conn->proto).imapc.mailbox);
  (conn->proto).ftpc.count2 = 0;
  return var_4;
}


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

undefined4 __regparm2 MASKED(undefined4 param_1,undefined4 param_2,int param_3)

{
  int iVar1;
  int iVar2;
  int unaff_EBX;
  int iVar3;
  
  iVar3 = param_3;
  entry(param_2,0x5a63c);
  iVar1 = iVar3 + 0x4a4;
  if (((((char)param_3 == '\0') && (*(int *)(iVar3 + 0x4d0) != 0)) &&
      (*(char *)(*(int *)(iVar3 + 0x4d0) + 599) != '\0')) &&
     (iVar2 = FUN_0005dc30(iVar1,unaff_EBX + 0x28fc0,unaff_EBX + 0x29ce1), iVar2 == 0)) {
    *(undefined4 *)(iVar3 + 0x4dc) = 10;
    do {
      iVar2 = FUN_0005e1a0(iVar1,1,1);
      if (*(int *)(iVar3 + 0x4dc) == 0) break;
    } while (iVar2 == 0);
  }
  FUN_0005e150(iVar1);
  FUN_00064970(iVar3,*(undefined4 *)(iVar3 + 0x4fc));
  (**(code **)(unaff_EBX + 0x5ca30))(*(undefined4 *)(iVar3 + 0x50c));
  *(undefined4 *)(iVar3 + 0x50c) = 0;
  return 0;
}

