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

CURLcode imap_perform_login(connectdata *conn)

{
  connectdata *conn_00;
  code *pcVar1;
  code *pcVar2;
  code *pcVar3;
  CURLcode CVar4;
  code *pcVar5;
  int unaff_EDI;
  char *in_stack_ffffffd4;
  undefined1 in_stack_ffffffd8;
  
  conn_00 = (connectdata *)__x86_get_pc_thunk_di();
  pcVar1 = (code *)imap_atom(in_stack_ffffffd4,(_Bool)in_stack_ffffffd8);
  pcVar2 = (code *)imap_atom(in_stack_ffffffd4,(_Bool)in_stack_ffffffd8);
  pcVar5 = pcVar2;
  if (pcVar2 == (code *)0x0) {
    pcVar5 = curl_easy_escape + unaff_EDI + 7;
  }
  pcVar3 = curl_easy_escape + unaff_EDI + 7;
  if (pcVar1 != (code *)0x0) {
    pcVar3 = pcVar1;
  }
  CVar4 = imap_sendf(conn_00,(char *)(unaff_EDI + 0x31798),pcVar3,pcVar5);
  (**(code **)(unaff_EDI + 0x5d663))(pcVar1);
  (**(code **)(unaff_EDI + 0x5d663))(pcVar2);
  if (CVar4 == CURLE_OK) {
    (conn_00->proto).sshc.readdir_totalLen = 6;
  }
  return CVar4;
}



void FUN_00053a00(void)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int unaff_EDI;
  
  iVar1 = FUN_00020d67();
  iVar2 = FUN_00052e20();
  iVar3 = FUN_00052e20();
  iVar5 = iVar3;
  if (iVar3 == 0) {
    iVar5 = unaff_EDI + 0x34367;
  }
  iVar4 = unaff_EDI + 0x34367;
  if (iVar2 != 0) {
    iVar4 = iVar2;
  }
  iVar5 = FUN_00052b30(iVar1,unaff_EDI + 0x31798,iVar4,iVar5);
  (**(code **)(unaff_EDI + 0x5d663))(iVar2);
  (**(code **)(unaff_EDI + 0x5d663))(iVar3);
  if (iVar5 == 0) {
    *(undefined4 *)(iVar1 + 0x4dc) = 6;
  }
  return;
}


PUSH EBP
XOR EDX,EDX
PUSH EDI
CALL 0x00020d67
ADD EDI,0x5cdd7
PUSH ESI
PUSH EBX
MOV EBX,EAX
SUB ESP,0x1c
MOV EAX,dword ptr [EAX + 0x168]
CALL 0x00052e20
XOR EDX,EDX
MOV ESI,EAX
MOV EAX,dword ptr [EBX + 0x16c]
CALL 0x00052e20
MOV EBP,EAX
LEA EAX,[EDI + 0xfffd7590]
TEST EBP,EBP
MOV EDX,EBP
CMOVZ EDX,EAX
TEST ESI,ESI
CMOVNZ EAX,ESI
PUSH EDX
PUSH EAX
LEA EAX,[EDI + 0xfffd49c1]
PUSH EAX
PUSH EBX
CALL 0x00052b30
LEA EDI,[EDI + 0x88c]
MOV dword ptr [ESP],ESI
MOV dword ptr [ESP + 0x1c],EAX
CALL dword ptr [EDI]
MOV dword ptr [ESP],EBP
CALL dword ptr [EDI]
ADD ESP,0x10
MOV EAX,dword ptr [ESP + 0xc]
TEST EAX,EAX
JNZ 0x00053a7c
MOV dword ptr [EBX + 0x4dc],0x6
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "void FUN_00053a00(void)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int unaff_EDI;\n  \n  iVar1 = FUN_00020d67();\n  iVar2 = FUN_00052e20();\n  iVar3 = FUN_00052e20();\n  iVar5 = iVar3;\n  if (iVar3 == 0) {\n    iVar5 = unaff_EDI + 0x34367;\n  }\n  iVar4 = unaff_EDI + 0x34367;\n  if (iVar2 != 0) {\n    iVar4 = iVar2;\n  }\n  iVar5 = FUN_00052b30(iVar1,unaff_EDI + 0x31798,iVar4,iVar5);\n  (**(code **)(unaff_EDI + 0x5d663))(iVar2);\n  (**(code **)(unaff_EDI + 0x5d663))(iVar3);\n  if (iVar5 == 0) {\n    *(undefined4 *)(iVar1 + 0x4dc) = 6;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00053a00(void)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int unaff_EDI;\n  \n  iVar1 = FUN_00020d67();\n  iVar2 = FUN_00052e20();\n  iVar3 = FUN_00052e20();\n  iVar5 = iVar3;\n  if (iVar3 == 0) {\n    iVar5 = unaff_EDI + 0x34367;\n  }\n  iVar4 = unaff_EDI + 0x34367;\n  if (iVar2 != 0) {\n    iVar4 = iVar2;\n  }\n  iVar5 = FUN_00052b30(iVar1,unaff_EDI + 0x31798,iVar4,iVar5);\n  (**(code **)(unaff_EDI + 0x5d663))(iVar2);\n  (**(code **)(unaff_EDI + 0x5d663))(iVar3);\n  if (iVar5 == 0) {\n    *(undefined4 *)(iVar1 + 0x4dc) = 6;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00053a00(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int unaff_EDI;\n  \n  iVar1 = FUN_00020d67();\n  iVar2 = FUN_00052e20();\n  iVar3 = FUN_00052e20();\n  iVar5 = iVar3;\n  if (iVar3 == 0) {\n    iVar5 = unaff_EDI + 0x34367;\n  }\n  iVar4 = unaff_EDI + 0x34367;\n  if (iVar2 != 0) {\n    iVar4 = iVar2;\n  }\n  iVar5 = FUN_00052b30(iVar1,unaff_EDI + 0x31798,iVar4,iVar5);\n  (**(code **)(unaff_EDI + 0x5d663))(iVar2);\n  (**(code **)(unaff_EDI + 0x5d663))(iVar3);\n  if (iVar5 == 0) {\n    *(undefined4 *)(iVar1 + 0x4dc) = 6;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00020d67();" (assignment_expression "iVar1 = FUN_00020d67()" identifier = (call_expression "FUN_00020d67()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar2 = FUN_00052e20();" (assignment_expression "iVar2 = FUN_00052e20()" identifier = (call_expression "FUN_00052e20()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar3 = FUN_00052e20();" (assignment_expression "iVar3 = FUN_00052e20()" identifier = (call_expression "FUN_00052e20()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar5 = iVar3;" (assignment_expression "iVar5 = iVar3" identifier = identifier) ;) (if_statement "if (iVar3 == 0) {\n    iVar5 = unaff_EDI + 0x34367;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar5 = unaff_EDI + 0x34367;\n  }" { (expression_statement "iVar5 = unaff_EDI + 0x34367;" (assignment_expression "iVar5 = unaff_EDI + 0x34367" identifier = (binary_expression "unaff_EDI + 0x34367" identifier + number_literal)) ;) })) (expression_statement "iVar4 = unaff_EDI + 0x34367;" (assignment_expression "iVar4 = unaff_EDI + 0x34367" identifier = (binary_expression "unaff_EDI + 0x34367" identifier + number_literal)) ;) (if_statement "if (iVar2 != 0) {\n    iVar4 = iVar2;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar4 = iVar2;\n  }" { (expression_statement "iVar4 = iVar2;" (assignment_expression "iVar4 = iVar2" identifier = identifier) ;) })) (expression_statement "iVar5 = FUN_00052b30(iVar1,unaff_EDI + 0x31798,iVar4,iVar5);" (assignment_expression "iVar5 = FUN_00052b30(iVar1,unaff_EDI + 0x31798,iVar4,iVar5)" identifier = (call_expression "FUN_00052b30(iVar1,unaff_EDI + 0x31798,iVar4,iVar5)" identifier (argument_list "(iVar1,unaff_EDI + 0x31798,iVar4,iVar5)" ( identifier , (binary_expression "unaff_EDI + 0x31798" identifier + number_literal) , identifier , identifier )))) ;) (expression_statement "(**(code **)(unaff_EDI + 0x5d663))(iVar2);" (call_expression "(**(code **)(unaff_EDI + 0x5d663))(iVar2)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x5d663))" ( (pointer_expression "**(code **)(unaff_EDI + 0x5d663)" * (pointer_expression "*(code **)(unaff_EDI + 0x5d663)" * (cast_expression "(code **)(unaff_EDI + 0x5d663)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x5d663)" ( (binary_expression "unaff_EDI + 0x5d663" identifier + number_literal) ))))) )) (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "(**(code **)(unaff_EDI + 0x5d663))(iVar3);" (call_expression "(**(code **)(unaff_EDI + 0x5d663))(iVar3)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x5d663))" ( (pointer_expression "**(code **)(unaff_EDI + 0x5d663)" * (pointer_expression "*(code **)(unaff_EDI + 0x5d663)" * (cast_expression "(code **)(unaff_EDI + 0x5d663)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x5d663)" ( (binary_expression "unaff_EDI + 0x5d663" identifier + number_literal) ))))) )) (argument_list "(iVar3)" ( identifier ))) ;) (if_statement "if (iVar5 == 0) {\n    *(undefined4 *)(iVar1 + 0x4dc) = 6;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    *(undefined4 *)(iVar1 + 0x4dc) = 6;\n  }" { (expression_statement "*(undefined4 *)(iVar1 + 0x4dc) = 6;" (assignment_expression "*(undefined4 *)(iVar1 + 0x4dc) = 6" (pointer_expression "*(undefined4 *)(iVar1 + 0x4dc)" * (cast_expression "(undefined4 *)(iVar1 + 0x4dc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x4dc)" ( (binary_expression "iVar1 + 0x4dc" identifier + number_literal) )))) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nCURLcode imap_perform_login(connectdata *conn)\n\n{\n  connectdata *conn_00;\n  code *pcVar1;\n  code *pcVar2;\n  code *pcVar3;\n  CURLcode CVar4;\n  code *pcVar5;\n  int unaff_EDI;\n  char *in_stack_ffffffd4;\n  undefined1 in_stack_ffffffd8;\n  \n  conn_00 = (connectdata *)__x86_get_pc_thunk_di();\n  pcVar1 = (code *)imap_atom(in_stack_ffffffd4,(_Bool)in_stack_ffffffd8);\n  pcVar2 = (code *)imap_atom(in_stack_ffffffd4,(_Bool)in_stack_ffffffd8);\n  pcVar5 = pcVar2;\n  if (pcVar2 == (code *)0x0) {\n    pcVar5 = curl_easy_escape + unaff_EDI + 7;\n  }\n  pcVar3 = curl_easy_escape + unaff_EDI + 7;\n  if (pcVar1 != (code *)0x0) {\n    pcVar3 = pcVar1;\n  }\n  CVar4 = imap_sendf(conn_00,(char *)(unaff_EDI + 0x31798),pcVar3,pcVar5);\n  (**(code **)(unaff_EDI + 0x5d663))(pcVar1);\n  (**(code **)(unaff_EDI + 0x5d663))(pcVar2);\n  if (CVar4 == CURLE_OK) {\n    (conn_00->proto).sshc.readdir_totalLen = 6;\n  }\n  return CVar4;\n}\n\n" comment (function_definition "CURLcode imap_perform_login(connectdata *conn)\n\n{\n  connectdata *conn_00;\n  code *pcVar1;\n  code *pcVar2;\n  code *pcVar3;\n  CURLcode CVar4;\n  code *pcVar5;\n  int unaff_EDI;\n  char *in_stack_ffffffd4;\n  undefined1 in_stack_ffffffd8;\n  \n  conn_00 = (connectdata *)__x86_get_pc_thunk_di();\n  pcVar1 = (code *)imap_atom(in_stack_ffffffd4,(_Bool)in_stack_ffffffd8);\n  pcVar2 = (code *)imap_atom(in_stack_ffffffd4,(_Bool)in_stack_ffffffd8);\n  pcVar5 = pcVar2;\n  if (pcVar2 == (code *)0x0) {\n    pcVar5 = curl_easy_escape + unaff_EDI + 7;\n  }\n  pcVar3 = curl_easy_escape + unaff_EDI + 7;\n  if (pcVar1 != (code *)0x0) {\n    pcVar3 = pcVar1;\n  }\n  CVar4 = imap_sendf(conn_00,(char *)(unaff_EDI + 0x31798),pcVar3,pcVar5);\n  (**(code **)(unaff_EDI + 0x5d663))(pcVar1);\n  (**(code **)(unaff_EDI + 0x5d663))(pcVar2);\n  if (CVar4 == CURLE_OK) {\n    (conn_00->proto).sshc.readdir_totalLen = 6;\n  }\n  return CVar4;\n}" type_identifier (function_declarator "imap_perform_login(connectdata *conn)" identifier (parameter_list "(connectdata *conn)" ( (parameter_declaration "connectdata *conn" type_identifier (pointer_declarator "*conn" * identifier)) ))) (compound_statement "{\n  connectdata *conn_00;\n  code *pcVar1;\n  code *pcVar2;\n  code *pcVar3;\n  CURLcode CVar4;\n  code *pcVar5;\n  int unaff_EDI;\n  char *in_stack_ffffffd4;\n  undefined1 in_stack_ffffffd8;\n  \n  conn_00 = (connectdata *)__x86_get_pc_thunk_di();\n  pcVar1 = (code *)imap_atom(in_stack_ffffffd4,(_Bool)in_stack_ffffffd8);\n  pcVar2 = (code *)imap_atom(in_stack_ffffffd4,(_Bool)in_stack_ffffffd8);\n  pcVar5 = pcVar2;\n  if (pcVar2 == (code *)0x0) {\n    pcVar5 = curl_easy_escape + unaff_EDI + 7;\n  }\n  pcVar3 = curl_easy_escape + unaff_EDI + 7;\n  if (pcVar1 != (code *)0x0) {\n    pcVar3 = pcVar1;\n  }\n  CVar4 = imap_sendf(conn_00,(char *)(unaff_EDI + 0x31798),pcVar3,pcVar5);\n  (**(code **)(unaff_EDI + 0x5d663))(pcVar1);\n  (**(code **)(unaff_EDI + 0x5d663))(pcVar2);\n  if (CVar4 == CURLE_OK) {\n    (conn_00->proto).sshc.readdir_totalLen = 6;\n  }\n  return CVar4;\n}" { (declaration "connectdata *conn_00;" type_identifier (pointer_declarator "*conn_00" * identifier) ;) (declaration "code *pcVar1;" type_identifier (pointer_declarator "*pcVar1" * identifier) ;) (declaration "code *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "code *pcVar3;" type_identifier (pointer_declarator "*pcVar3" * identifier) ;) (declaration "CURLcode CVar4;" type_identifier identifier ;) (declaration "code *pcVar5;" type_identifier (pointer_declarator "*pcVar5" * identifier) ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (declaration "char *in_stack_ffffffd4;" primitive_type (pointer_declarator "*in_stack_ffffffd4" * identifier) ;) (declaration "undefined1 in_stack_ffffffd8;" type_identifier identifier ;) (expression_statement "conn_00 = (connectdata *)__x86_get_pc_thunk_di();" (assignment_expression "conn_00 = (connectdata *)__x86_get_pc_thunk_di()" identifier = (cast_expression "(connectdata *)__x86_get_pc_thunk_di()" ( (type_descriptor "connectdata *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "__x86_get_pc_thunk_di()" identifier (argument_list "()" ( ))))) ;) (expression_statement "pcVar1 = (code *)imap_atom(in_stack_ffffffd4,(_Bool)in_stack_ffffffd8);" (assignment_expression "pcVar1 = (code *)imap_atom(in_stack_ffffffd4,(_Bool)in_stack_ffffffd8)" identifier = (cast_expression "(code *)imap_atom(in_stack_ffffffd4,(_Bool)in_stack_ffffffd8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "imap_atom(in_stack_ffffffd4,(_Bool)in_stack_ffffffd8)" identifier (argument_list "(in_stack_ffffffd4,(_Bool)in_stack_ffffffd8)" ( identifier , (cast_expression "(_Bool)in_stack_ffffffd8" ( (type_descriptor "_Bool" type_identifier) ) identifier) ))))) ;) (expression_statement "pcVar2 = (code *)imap_atom(in_stack_ffffffd4,(_Bool)in_stack_ffffffd8);" (assignment_expression "pcVar2 = (code *)imap_atom(in_stack_ffffffd4,(_Bool)in_stack_ffffffd8)" identifier = (cast_expression "(code *)imap_atom(in_stack_ffffffd4,(_Bool)in_stack_ffffffd8)" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "imap_atom(in_stack_ffffffd4,(_Bool)in_stack_ffffffd8)" identifier (argument_list "(in_stack_ffffffd4,(_Bool)in_stack_ffffffd8)" ( identifier , (cast_expression "(_Bool)in_stack_ffffffd8" ( (type_descriptor "_Bool" type_identifier) ) identifier) ))))) ;) (expression_statement "pcVar5 = pcVar2;" (assignment_expression "pcVar5 = pcVar2" identifier = identifier) ;) (if_statement "if (pcVar2 == (code *)0x0) {\n    pcVar5 = curl_easy_escape + unaff_EDI + 7;\n  }" if (parenthesized_expression "(pcVar2 == (code *)0x0)" ( (binary_expression "pcVar2 == (code *)0x0" identifier == (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar5 = curl_easy_escape + unaff_EDI + 7;\n  }" { (expression_statement "pcVar5 = curl_easy_escape + unaff_EDI + 7;" (assignment_expression "pcVar5 = curl_easy_escape + unaff_EDI + 7" identifier = (binary_expression "curl_easy_escape + unaff_EDI + 7" (binary_expression "curl_easy_escape + unaff_EDI" identifier + identifier) + number_literal)) ;) })) (expression_statement "pcVar3 = curl_easy_escape + unaff_EDI + 7;" (assignment_expression "pcVar3 = curl_easy_escape + unaff_EDI + 7" identifier = (binary_expression "curl_easy_escape + unaff_EDI + 7" (binary_expression "curl_easy_escape + unaff_EDI" identifier + identifier) + number_literal)) ;) (if_statement "if (pcVar1 != (code *)0x0) {\n    pcVar3 = pcVar1;\n  }" if (parenthesized_expression "(pcVar1 != (code *)0x0)" ( (binary_expression "pcVar1 != (code *)0x0" identifier != (cast_expression "(code *)0x0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pcVar3 = pcVar1;\n  }" { (expression_statement "pcVar3 = pcVar1;" (assignment_expression "pcVar3 = pcVar1" identifier = identifier) ;) })) (expression_statement "CVar4 = imap_sendf(conn_00,(char *)(unaff_EDI + 0x31798),pcVar3,pcVar5);" (assignment_expression "CVar4 = imap_sendf(conn_00,(char *)(unaff_EDI + 0x31798),pcVar3,pcVar5)" identifier = (call_expression "imap_sendf(conn_00,(char *)(unaff_EDI + 0x31798),pcVar3,pcVar5)" identifier (argument_list "(conn_00,(char *)(unaff_EDI + 0x31798),pcVar3,pcVar5)" ( identifier , (cast_expression "(char *)(unaff_EDI + 0x31798)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_EDI + 0x31798)" ( (binary_expression "unaff_EDI + 0x31798" identifier + number_literal) ))) , identifier , identifier )))) ;) (expression_statement "(**(code **)(unaff_EDI + 0x5d663))(pcVar1);" (call_expression "(**(code **)(unaff_EDI + 0x5d663))(pcVar1)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x5d663))" ( (pointer_expression "**(code **)(unaff_EDI + 0x5d663)" * (pointer_expression "*(code **)(unaff_EDI + 0x5d663)" * (cast_expression "(code **)(unaff_EDI + 0x5d663)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x5d663)" ( (binary_expression "unaff_EDI + 0x5d663" identifier + number_literal) ))))) )) (argument_list "(pcVar1)" ( identifier ))) ;) (expression_statement "(**(code **)(unaff_EDI + 0x5d663))(pcVar2);" (call_expression "(**(code **)(unaff_EDI + 0x5d663))(pcVar2)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x5d663))" ( (pointer_expression "**(code **)(unaff_EDI + 0x5d663)" * (pointer_expression "*(code **)(unaff_EDI + 0x5d663)" * (cast_expression "(code **)(unaff_EDI + 0x5d663)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x5d663)" ( (binary_expression "unaff_EDI + 0x5d663" identifier + number_literal) ))))) )) (argument_list "(pcVar2)" ( identifier ))) ;) (if_statement "if (CVar4 == CURLE_OK) {\n    (conn_00->proto).sshc.readdir_totalLen = 6;\n  }" if (parenthesized_expression "(CVar4 == CURLE_OK)" ( (binary_expression "CVar4 == CURLE_OK" identifier == identifier) )) (compound_statement "{\n    (conn_00->proto).sshc.readdir_totalLen = 6;\n  }" { (expression_statement "(conn_00->proto).sshc.readdir_totalLen = 6;" (assignment_expression "(conn_00->proto).sshc.readdir_totalLen = 6" (field_expression "(conn_00->proto).sshc.readdir_totalLen" (field_expression "(conn_00->proto).sshc" (parenthesized_expression "(conn_00->proto)" ( (field_expression "conn_00->proto" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) })) (return_statement "return CVar4;" return identifier ;) })))
(translation_unit "void FUN_00053a00(void)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int unaff_EDI;\n  \n  iVar1 = FUN_00020d67();\n  iVar2 = FUN_00052e20();\n  iVar3 = FUN_00052e20();\n  iVar5 = iVar3;\n  if (iVar3 == 0) {\n    iVar5 = unaff_EDI + 0x34367;\n  }\n  iVar4 = unaff_EDI + 0x34367;\n  if (iVar2 != 0) {\n    iVar4 = iVar2;\n  }\n  iVar5 = FUN_00052b30(iVar1,unaff_EDI + 0x31798,iVar4,iVar5);\n  (**(code **)(unaff_EDI + 0x5d663))(iVar2);\n  (**(code **)(unaff_EDI + 0x5d663))(iVar3);\n  if (iVar5 == 0) {\n    *(undefined4 *)(iVar1 + 0x4dc) = 6;\n  }\n  return;\n}\n\n" (function_definition "void FUN_00053a00(void)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int unaff_EDI;\n  \n  iVar1 = FUN_00020d67();\n  iVar2 = FUN_00052e20();\n  iVar3 = FUN_00052e20();\n  iVar5 = iVar3;\n  if (iVar3 == 0) {\n    iVar5 = unaff_EDI + 0x34367;\n  }\n  iVar4 = unaff_EDI + 0x34367;\n  if (iVar2 != 0) {\n    iVar4 = iVar2;\n  }\n  iVar5 = FUN_00052b30(iVar1,unaff_EDI + 0x31798,iVar4,iVar5);\n  (**(code **)(unaff_EDI + 0x5d663))(iVar2);\n  (**(code **)(unaff_EDI + 0x5d663))(iVar3);\n  if (iVar5 == 0) {\n    *(undefined4 *)(iVar1 + 0x4dc) = 6;\n  }\n  return;\n}" primitive_type (function_declarator "FUN_00053a00(void)" identifier (parameter_list "(void)" ( (parameter_declaration "void" primitive_type) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int unaff_EDI;\n  \n  iVar1 = FUN_00020d67();\n  iVar2 = FUN_00052e20();\n  iVar3 = FUN_00052e20();\n  iVar5 = iVar3;\n  if (iVar3 == 0) {\n    iVar5 = unaff_EDI + 0x34367;\n  }\n  iVar4 = unaff_EDI + 0x34367;\n  if (iVar2 != 0) {\n    iVar4 = iVar2;\n  }\n  iVar5 = FUN_00052b30(iVar1,unaff_EDI + 0x31798,iVar4,iVar5);\n  (**(code **)(unaff_EDI + 0x5d663))(iVar2);\n  (**(code **)(unaff_EDI + 0x5d663))(iVar3);\n  if (iVar5 == 0) {\n    *(undefined4 *)(iVar1 + 0x4dc) = 6;\n  }\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int unaff_EDI;" primitive_type identifier ;) (expression_statement "iVar1 = FUN_00020d67();" (assignment_expression "iVar1 = FUN_00020d67()" identifier = (call_expression "FUN_00020d67()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar2 = FUN_00052e20();" (assignment_expression "iVar2 = FUN_00052e20()" identifier = (call_expression "FUN_00052e20()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar3 = FUN_00052e20();" (assignment_expression "iVar3 = FUN_00052e20()" identifier = (call_expression "FUN_00052e20()" identifier (argument_list "()" ( )))) ;) (expression_statement "iVar5 = iVar3;" (assignment_expression "iVar5 = iVar3" identifier = identifier) ;) (if_statement "if (iVar3 == 0) {\n    iVar5 = unaff_EDI + 0x34367;\n  }" if (parenthesized_expression "(iVar3 == 0)" ( (binary_expression "iVar3 == 0" identifier == number_literal) )) (compound_statement "{\n    iVar5 = unaff_EDI + 0x34367;\n  }" { (expression_statement "iVar5 = unaff_EDI + 0x34367;" (assignment_expression "iVar5 = unaff_EDI + 0x34367" identifier = (binary_expression "unaff_EDI + 0x34367" identifier + number_literal)) ;) })) (expression_statement "iVar4 = unaff_EDI + 0x34367;" (assignment_expression "iVar4 = unaff_EDI + 0x34367" identifier = (binary_expression "unaff_EDI + 0x34367" identifier + number_literal)) ;) (if_statement "if (iVar2 != 0) {\n    iVar4 = iVar2;\n  }" if (parenthesized_expression "(iVar2 != 0)" ( (binary_expression "iVar2 != 0" identifier != number_literal) )) (compound_statement "{\n    iVar4 = iVar2;\n  }" { (expression_statement "iVar4 = iVar2;" (assignment_expression "iVar4 = iVar2" identifier = identifier) ;) })) (expression_statement "iVar5 = FUN_00052b30(iVar1,unaff_EDI + 0x31798,iVar4,iVar5);" (assignment_expression "iVar5 = FUN_00052b30(iVar1,unaff_EDI + 0x31798,iVar4,iVar5)" identifier = (call_expression "FUN_00052b30(iVar1,unaff_EDI + 0x31798,iVar4,iVar5)" identifier (argument_list "(iVar1,unaff_EDI + 0x31798,iVar4,iVar5)" ( identifier , (binary_expression "unaff_EDI + 0x31798" identifier + number_literal) , identifier , identifier )))) ;) (expression_statement "(**(code **)(unaff_EDI + 0x5d663))(iVar2);" (call_expression "(**(code **)(unaff_EDI + 0x5d663))(iVar2)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x5d663))" ( (pointer_expression "**(code **)(unaff_EDI + 0x5d663)" * (pointer_expression "*(code **)(unaff_EDI + 0x5d663)" * (cast_expression "(code **)(unaff_EDI + 0x5d663)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x5d663)" ( (binary_expression "unaff_EDI + 0x5d663" identifier + number_literal) ))))) )) (argument_list "(iVar2)" ( identifier ))) ;) (expression_statement "(**(code **)(unaff_EDI + 0x5d663))(iVar3);" (call_expression "(**(code **)(unaff_EDI + 0x5d663))(iVar3)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x5d663))" ( (pointer_expression "**(code **)(unaff_EDI + 0x5d663)" * (pointer_expression "*(code **)(unaff_EDI + 0x5d663)" * (cast_expression "(code **)(unaff_EDI + 0x5d663)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EDI + 0x5d663)" ( (binary_expression "unaff_EDI + 0x5d663" identifier + number_literal) ))))) )) (argument_list "(iVar3)" ( identifier ))) ;) (if_statement "if (iVar5 == 0) {\n    *(undefined4 *)(iVar1 + 0x4dc) = 6;\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n    *(undefined4 *)(iVar1 + 0x4dc) = 6;\n  }" { (expression_statement "*(undefined4 *)(iVar1 + 0x4dc) = 6;" (assignment_expression "*(undefined4 *)(iVar1 + 0x4dc) = 6" (pointer_expression "*(undefined4 *)(iVar1 + 0x4dc)" * (cast_expression "(undefined4 *)(iVar1 + 0x4dc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x4dc)" ( (binary_expression "iVar1 + 0x4dc" identifier + number_literal) )))) = number_literal) ;) })) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT , IDENT )))) ;) (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 ( IDENT ))) ;) (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 ( IDENT ))) ;) (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) )))) = LIT) ;) })) (return_statement return ;) })))
(function_definition "void FUN_00053a00(void)\n\n{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int unaff_EDI;\n  \n  iVar1 = FUN_00020d67();\n  iVar2 = FUN_00052e20();\n  iVar3 = FUN_00052e20();\n  iVar5 = iVar3;\n  if (iVar3 == 0) {\n    iVar5 = unaff_EDI + 0x34367;\n  }\n  iVar4 = unaff_EDI + 0x34367;\n  if (iVar2 != 0) {\n    iVar4 = iVar2;\n  }\n  iVar5 = FUN_00052b30(iVar1,unaff_EDI + 0x31798,iVar4,iVar5);\n  (**(code **)(unaff_EDI + 0x5d663))(iVar2);\n  (**(code **)(unaff_EDI + 0x5d663))(iVar3);\n  if (iVar5 == 0) {\n    *(undefined4 *)(iVar1 + 0x4dc) = 6;\n  }\n  return;\n}" (primitive_type "void") (function_declarator "FUN_00053a00(void)" (identifier "FUN_00053a00") (parameter_list "(void)" (( "(") (parameter_declaration "void" (primitive_type "void")) () ")"))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  int iVar3;\n  int iVar4;\n  int iVar5;\n  int unaff_EDI;\n  \n  iVar1 = FUN_00020d67();\n  iVar2 = FUN_00052e20();\n  iVar3 = FUN_00052e20();\n  iVar5 = iVar3;\n  if (iVar3 == 0) {\n    iVar5 = unaff_EDI + 0x34367;\n  }\n  iVar4 = unaff_EDI + 0x34367;\n  if (iVar2 != 0) {\n    iVar4 = iVar2;\n  }\n  iVar5 = FUN_00052b30(iVar1,unaff_EDI + 0x31798,iVar4,iVar5);\n  (**(code **)(unaff_EDI + 0x5d663))(iVar2);\n  (**(code **)(unaff_EDI + 0x5d663))(iVar3);\n  if (iVar5 == 0) {\n    *(undefined4 *)(iVar1 + 0x4dc) = 6;\n  }\n  return;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int iVar3;" (primitive_type "int") (identifier "iVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "int unaff_EDI;" (primitive_type "int") (identifier "unaff_EDI") (; ";")) (expression_statement "iVar1 = FUN_00020d67();" (assignment_expression "iVar1 = FUN_00020d67()" (identifier "iVar1") (= "=") (call_expression "FUN_00020d67()" (identifier "FUN_00020d67") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar2 = FUN_00052e20();" (assignment_expression "iVar2 = FUN_00052e20()" (identifier "iVar2") (= "=") (call_expression "FUN_00052e20()" (identifier "FUN_00052e20") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar3 = FUN_00052e20();" (assignment_expression "iVar3 = FUN_00052e20()" (identifier "iVar3") (= "=") (call_expression "FUN_00052e20()" (identifier "FUN_00052e20") (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "iVar5 = iVar3;" (assignment_expression "iVar5 = iVar3" (identifier "iVar5") (= "=") (identifier "iVar3")) (; ";")) (if_statement "if (iVar3 == 0) {\n    iVar5 = unaff_EDI + 0x34367;\n  }" (if "if") (parenthesized_expression "(iVar3 == 0)" (( "(") (binary_expression "iVar3 == 0" (identifier "iVar3") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    iVar5 = unaff_EDI + 0x34367;\n  }" ({ "{") (expression_statement "iVar5 = unaff_EDI + 0x34367;" (assignment_expression "iVar5 = unaff_EDI + 0x34367" (identifier "iVar5") (= "=") (binary_expression "unaff_EDI + 0x34367" (identifier "unaff_EDI") (+ "+") (number_literal "0x34367"))) (; ";")) (} "}"))) (expression_statement "iVar4 = unaff_EDI + 0x34367;" (assignment_expression "iVar4 = unaff_EDI + 0x34367" (identifier "iVar4") (= "=") (binary_expression "unaff_EDI + 0x34367" (identifier "unaff_EDI") (+ "+") (number_literal "0x34367"))) (; ";")) (if_statement "if (iVar2 != 0) {\n    iVar4 = iVar2;\n  }" (if "if") (parenthesized_expression "(iVar2 != 0)" (( "(") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    iVar4 = iVar2;\n  }" ({ "{") (expression_statement "iVar4 = iVar2;" (assignment_expression "iVar4 = iVar2" (identifier "iVar4") (= "=") (identifier "iVar2")) (; ";")) (} "}"))) (expression_statement "iVar5 = FUN_00052b30(iVar1,unaff_EDI + 0x31798,iVar4,iVar5);" (assignment_expression "iVar5 = FUN_00052b30(iVar1,unaff_EDI + 0x31798,iVar4,iVar5)" (identifier "iVar5") (= "=") (call_expression "FUN_00052b30(iVar1,unaff_EDI + 0x31798,iVar4,iVar5)" (identifier "FUN_00052b30") (argument_list "(iVar1,unaff_EDI + 0x31798,iVar4,iVar5)" (( "(") (identifier "iVar1") (, ",") (binary_expression "unaff_EDI + 0x31798" (identifier "unaff_EDI") (+ "+") (number_literal "0x31798")) (, ",") (identifier "iVar4") (, ",") (identifier "iVar5") () ")")))) (; ";")) (expression_statement "(**(code **)(unaff_EDI + 0x5d663))(iVar2);" (call_expression "(**(code **)(unaff_EDI + 0x5d663))(iVar2)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x5d663))" (( "(") (pointer_expression "**(code **)(unaff_EDI + 0x5d663)" (* "*") (pointer_expression "*(code **)(unaff_EDI + 0x5d663)" (* "*") (cast_expression "(code **)(unaff_EDI + 0x5d663)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EDI + 0x5d663)" (( "(") (binary_expression "unaff_EDI + 0x5d663" (identifier "unaff_EDI") (+ "+") (number_literal "0x5d663")) () ")"))))) () ")")) (argument_list "(iVar2)" (( "(") (identifier "iVar2") () ")"))) (; ";")) (expression_statement "(**(code **)(unaff_EDI + 0x5d663))(iVar3);" (call_expression "(**(code **)(unaff_EDI + 0x5d663))(iVar3)" (parenthesized_expression "(**(code **)(unaff_EDI + 0x5d663))" (( "(") (pointer_expression "**(code **)(unaff_EDI + 0x5d663)" (* "*") (pointer_expression "*(code **)(unaff_EDI + 0x5d663)" (* "*") (cast_expression "(code **)(unaff_EDI + 0x5d663)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EDI + 0x5d663)" (( "(") (binary_expression "unaff_EDI + 0x5d663" (identifier "unaff_EDI") (+ "+") (number_literal "0x5d663")) () ")"))))) () ")")) (argument_list "(iVar3)" (( "(") (identifier "iVar3") () ")"))) (; ";")) (if_statement "if (iVar5 == 0) {\n    *(undefined4 *)(iVar1 + 0x4dc) = 6;\n  }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    *(undefined4 *)(iVar1 + 0x4dc) = 6;\n  }" ({ "{") (expression_statement "*(undefined4 *)(iVar1 + 0x4dc) = 6;" (assignment_expression "*(undefined4 *)(iVar1 + 0x4dc) = 6" (pointer_expression "*(undefined4 *)(iVar1 + 0x4dc)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x4dc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x4dc)" (( "(") (binary_expression "iVar1 + 0x4dc" (identifier "iVar1") (+ "+") (number_literal "0x4dc")) () ")")))) (= "=") (number_literal "6")) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

type_1 function_1(type_2 *conn)

{
  type_2 *conn_00;
  type_3 *var_6;
  type_3 *var_3;
  type_3 *pcVar3;
  type_1 var_8;
  type_3 *pcVar5;
  int var_5;
  char *in_stack_ffffffd4;
  type_4 in_stack_ffffffd8;
  
  conn_00 = (type_2 *)var_1();
  var_6 = (type_3 *)var_2(in_stack_ffffffd4,(type_5)in_stack_ffffffd8);
  var_3 = (type_3 *)var_2(in_stack_ffffffd4,(type_5)in_stack_ffffffd8);
  pcVar5 = var_3;
  if (var_3 == (type_3 *)0x0) {
    pcVar5 = var_4 + var_5 + 7;
  }
  pcVar3 = var_4 + var_5 + 7;
  if (var_6 != (type_3 *)0x0) {
    pcVar3 = var_6;
  }
  var_8 = var_7(conn_00,(char *)(var_5 + 0x31798),pcVar3,pcVar5);
  (**(type_3 **)(var_5 + 0x5d663))(var_6);
  (**(type_3 **)(var_5 + 0x5d663))(var_3);
  if (var_8 == var_9) {
    (conn_00->proto).sshc.readdir_totalLen = 6;
  }
  return var_8;
}


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

void MASKED(void)

{
  int iVar1;
  int iVar2;
  int iVar3;
  int iVar4;
  int iVar5;
  int unaff_EDI;
  
  iVar1 = FUN_00020d67();
  iVar2 = FUN_00052e20();
  iVar3 = FUN_00052e20();
  iVar5 = iVar3;
  if (iVar3 == 0) {
    iVar5 = unaff_EDI + 0x34367;
  }
  iVar4 = unaff_EDI + 0x34367;
  if (iVar2 != 0) {
    iVar4 = iVar2;
  }
  iVar5 = FUN_00052b30(iVar1,unaff_EDI + 0x31798,iVar4,iVar5);
  (**(code **)(unaff_EDI + 0x5d663))(iVar2);
  (**(code **)(unaff_EDI + 0x5d663))(iVar3);
  if (iVar5 == 0) {
    *(undefined4 *)(iVar1 + 0x4dc) = 6;
  }
  return;
}

