
/* 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 */

CURLMcode __regparm3 add_next_timeout(curltime now,Curl_multi *multi,Curl_easy *d)

{
  void *pvVar1;
  curl_llist_element *pcVar2;
  undefined4 uVar3;
  curltime cVar4;
  timediff_t tVar5;
  Curl_tree *pCVar6;
  undefined4 *in_ECX;
  curl_llist_element *e;
  
  e = *(curl_llist_element **)(now.tv_sec + 0xd98);
  if (e != (curl_llist_element *)0x0) {
    do {
      pvVar1 = e->ptr;
      pcVar2 = e->next;
      cVar4.tv_usec = (int)d;
      cVar4.tv_sec = (time_t)multi;
      tVar5 = Curl_timediff(*(curltime *)((int)pvVar1 + 0xc),cVar4);
      if (0 < tVar5) break;
      Curl_llist_remove((curl_llist *)(now.tv_sec + 0xd98),e,(void *)0x0);
      e = pcVar2;
    } while (pcVar2 != (curl_llist_element *)0x0);
    if (*(int *)(now.tv_sec + 0xd98) != 0) {
      uVar3 = *(undefined4 *)((int)pvVar1 + 0x10);
      cVar4 = *(curltime *)((int)pvVar1 + 0xc);
      *(time_t *)(now.tv_sec + 0xd74) = ((curltime *)((int)pvVar1 + 0xc))->tv_sec;
      *(undefined4 *)(now.tv_sec + 0xd78) = uVar3;
      pCVar6 = Curl_splayinsert(cVar4,(Curl_tree *)*in_ECX,(Curl_tree *)(now.tv_sec + 0xd7c));
      *in_ECX = pCVar6;
      return CURLM_OK;
    }
  }
  *(undefined4 *)(now.tv_sec + 0xd74) = 0;
  *(undefined4 *)(now.tv_sec + 0xd78) = 0;
  return CURLM_OK;
}



undefined4 __regparm3 FUN_00042050(undefined4 param_1,undefined4 param_2,undefined4 *param_3)

{
  int iVar1;
  int *piVar2;
  undefined4 uVar3;
  int iVar4;
  int iVar5;
  undefined4 uVar6;
  int *piVar7;
  undefined4 extraout_EDI;
  int unaff_retaddr;
  
  entry(param_2,0x4205d);
  iVar4 = unaff_retaddr + 0xd98;
  piVar7 = *(int **)(unaff_retaddr + 0xd98);
  uVar6 = extraout_EDI;
  if (piVar7 != (int *)0x0) {
    do {
      iVar1 = *piVar7;
      piVar2 = (int *)piVar7[2];
      iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,
                           uVar6,param_2,iVar4);
      if (0 < iVar5) break;
      FUN_00041640(iVar4,piVar7,0);
      piVar7 = piVar2;
    } while (piVar2 != (int *)0x0);
    if (*(int *)(unaff_retaddr + 0xd98) != 0) {
      uVar6 = *(undefined4 *)(iVar1 + 0xc);
      uVar3 = *(undefined4 *)(iVar1 + 0x10);
      *(undefined4 *)(unaff_retaddr + 0xd74) = uVar6;
      *(undefined4 *)(unaff_retaddr + 0xd78) = uVar3;
      uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c);
      *param_3 = uVar6;
      return 0;
    }
  }
  *(undefined4 *)(unaff_retaddr + 0xd74) = 0;
  *(undefined4 *)(unaff_retaddr + 0xd78) = 0;
  return 0;
}


PUSH EBP
MOV EBP,EDX
PUSH EDI
MOV EDI,EAX
PUSH ESI
PUSH EBX
CALL 0x00019ed0
ADD EBX,0x6e783
SUB ESP,0x1c
MOV EAX,dword ptr [ESP + 0x30]
MOV dword ptr [ESP + 0xc],ECX
ADD EAX,0xd98
MOV dword ptr [ESP + 0x8],EAX
MOV EAX,dword ptr [ESP + 0x30]
MOV EDX,dword ptr [EAX + 0xd98]
TEST EDX,EDX
JZ 0x00042118
MOV dword ptr [ESP + 0x4],EBP
MOV EBP,EDX
MOV dword ptr [ESP],EDI
JMP 0x000420b0
SUB ESP,0x4
PUSH 0x0
PUSH EBP
MOV EBP,EDI
PUSH dword ptr [ESP + 0x14]
CALL 0x00041640
ADD ESP,0x10
TEST EDI,EDI
JZ 0x000420d0
MOV ESI,dword ptr [EBP]
MOV EDI,dword ptr [EBP + 0x8]
PUSH dword ptr [ESP + 0x4]
PUSH dword ptr [ESP + 0x4]
PUSH dword ptr [ESI + 0x10]
PUSH dword ptr [ESI + 0xc]
CALL 0x0001abe0
ADD ESP,0x10
TEST EAX,EAX
JLE 0x00042098
MOV EAX,dword ptr [ESP + 0x30]
MOV EAX,dword ptr [EAX + 0xd98]
TEST EAX,EAX
JZ 0x00042118
MOV ECX,dword ptr [ESP + 0x30]
MOV EAX,dword ptr [ESI + 0xc]
MOV EDX,dword ptr [ESI + 0x10]
ADD ECX,0xd7c
MOV dword ptr [ECX + -0x8],EAX
MOV dword ptr [ECX + -0x4],EDX
PUSH ECX
MOV ESI,dword ptr [ESP + 0x10]
PUSH dword ptr [ESI]
PUSH EDX
PUSH EAX
CALL 0x0004b030
ADD ESP,0x10
MOV dword ptr [ESI],EAX
ADD ESP,0x1c
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [ESP + 0x30]
MOV dword ptr [EAX + 0xd74],0x0
MOV dword ptr [EAX + 0xd78],0x0
ADD ESP,0x1c
XOR EAX,EAX
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "undefined4 __regparm3 FUN_00042050(undefined4 param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int *piVar7;\n  undefined4 extraout_EDI;\n  int unaff_retaddr;\n  \n  entry(param_2,0x4205d);\n  iVar4 = unaff_retaddr + 0xd98;\n  piVar7 = *(int **)(unaff_retaddr + 0xd98);\n  uVar6 = extraout_EDI;\n  if (piVar7 != (int *)0x0) {\n    do {\n      iVar1 = *piVar7;\n      piVar2 = (int *)piVar7[2];\n      iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4);\n      if (0 < iVar5) break;\n      FUN_00041640(iVar4,piVar7,0);\n      piVar7 = piVar2;\n    } while (piVar2 != (int *)0x0);\n    if (*(int *)(unaff_retaddr + 0xd98) != 0) {\n      uVar6 = *(undefined4 *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 0x10);\n      *(undefined4 *)(unaff_retaddr + 0xd74) = uVar6;\n      *(undefined4 *)(unaff_retaddr + 0xd78) = uVar3;\n      uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c);\n      *param_3 = uVar6;\n      return 0;\n    }\n  }\n  *(undefined4 *)(unaff_retaddr + 0xd74) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd78) = 0;\n  return 0;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_00042050(undefined4 param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int *piVar7;\n  undefined4 extraout_EDI;\n  int unaff_retaddr;\n  \n  entry(param_2,0x4205d);\n  iVar4 = unaff_retaddr + 0xd98;\n  piVar7 = *(int **)(unaff_retaddr + 0xd98);\n  uVar6 = extraout_EDI;\n  if (piVar7 != (int *)0x0) {\n    do {\n      iVar1 = *piVar7;\n      piVar2 = (int *)piVar7[2];\n      iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4);\n      if (0 < iVar5) break;\n      FUN_00041640(iVar4,piVar7,0);\n      piVar7 = piVar2;\n    } while (piVar2 != (int *)0x0);\n    if (*(int *)(unaff_retaddr + 0xd98) != 0) {\n      uVar6 = *(undefined4 *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 0x10);\n      *(undefined4 *)(unaff_retaddr + 0xd74) = uVar6;\n      *(undefined4 *)(unaff_retaddr + 0xd78) = uVar3;\n      uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c);\n      *param_3 = uVar6;\n      return 0;\n    }\n  }\n  *(undefined4 *)(unaff_retaddr + 0xd74) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd78) = 0;\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00042050(undefined4 param_1,undefined4 param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int *piVar7;\n  undefined4 extraout_EDI;\n  int unaff_retaddr;\n  \n  entry(param_2,0x4205d);\n  iVar4 = unaff_retaddr + 0xd98;\n  piVar7 = *(int **)(unaff_retaddr + 0xd98);\n  uVar6 = extraout_EDI;\n  if (piVar7 != (int *)0x0) {\n    do {\n      iVar1 = *piVar7;\n      piVar2 = (int *)piVar7[2];\n      iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4);\n      if (0 < iVar5) break;\n      FUN_00041640(iVar4,piVar7,0);\n      piVar7 = piVar2;\n    } while (piVar2 != (int *)0x0);\n    if (*(int *)(unaff_retaddr + 0xd98) != 0) {\n      uVar6 = *(undefined4 *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 0x10);\n      *(undefined4 *)(unaff_retaddr + 0xd74) = uVar6;\n      *(undefined4 *)(unaff_retaddr + 0xd78) = uVar3;\n      uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c);\n      *param_3 = uVar6;\n      return 0;\n    }\n  }\n  *(undefined4 *)(unaff_retaddr + 0xd74) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd78) = 0;\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "undefined4 extraout_EDI;" type_identifier identifier ;) (declaration "int unaff_retaddr;" primitive_type identifier ;) (expression_statement "entry(param_2,0x4205d);" (call_expression "entry(param_2,0x4205d)" identifier (argument_list "(param_2,0x4205d)" ( identifier , number_literal ))) ;) (expression_statement "iVar4 = unaff_retaddr + 0xd98;" (assignment_expression "iVar4 = unaff_retaddr + 0xd98" identifier = (binary_expression "unaff_retaddr + 0xd98" identifier + number_literal)) ;) (expression_statement "piVar7 = *(int **)(unaff_retaddr + 0xd98);" (assignment_expression "piVar7 = *(int **)(unaff_retaddr + 0xd98)" identifier = (pointer_expression "*(int **)(unaff_retaddr + 0xd98)" * (cast_expression "(int **)(unaff_retaddr + 0xd98)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_retaddr + 0xd98)" ( (binary_expression "unaff_retaddr + 0xd98" identifier + number_literal) ))))) ;) (expression_statement "uVar6 = extraout_EDI;" (assignment_expression "uVar6 = extraout_EDI" identifier = identifier) ;) (if_statement "if (piVar7 != (int *)0x0) {\n    do {\n      iVar1 = *piVar7;\n      piVar2 = (int *)piVar7[2];\n      iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4);\n      if (0 < iVar5) break;\n      FUN_00041640(iVar4,piVar7,0);\n      piVar7 = piVar2;\n    } while (piVar2 != (int *)0x0);\n    if (*(int *)(unaff_retaddr + 0xd98) != 0) {\n      uVar6 = *(undefined4 *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 0x10);\n      *(undefined4 *)(unaff_retaddr + 0xd74) = uVar6;\n      *(undefined4 *)(unaff_retaddr + 0xd78) = uVar3;\n      uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c);\n      *param_3 = uVar6;\n      return 0;\n    }\n  }" if (parenthesized_expression "(piVar7 != (int *)0x0)" ( (binary_expression "piVar7 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      iVar1 = *piVar7;\n      piVar2 = (int *)piVar7[2];\n      iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4);\n      if (0 < iVar5) break;\n      FUN_00041640(iVar4,piVar7,0);\n      piVar7 = piVar2;\n    } while (piVar2 != (int *)0x0);\n    if (*(int *)(unaff_retaddr + 0xd98) != 0) {\n      uVar6 = *(undefined4 *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 0x10);\n      *(undefined4 *)(unaff_retaddr + 0xd74) = uVar6;\n      *(undefined4 *)(unaff_retaddr + 0xd78) = uVar3;\n      uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c);\n      *param_3 = uVar6;\n      return 0;\n    }\n  }" { (do_statement "do {\n      iVar1 = *piVar7;\n      piVar2 = (int *)piVar7[2];\n      iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4);\n      if (0 < iVar5) break;\n      FUN_00041640(iVar4,piVar7,0);\n      piVar7 = piVar2;\n    } while (piVar2 != (int *)0x0);" do (compound_statement "{\n      iVar1 = *piVar7;\n      piVar2 = (int *)piVar7[2];\n      iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4);\n      if (0 < iVar5) break;\n      FUN_00041640(iVar4,piVar7,0);\n      piVar7 = piVar2;\n    }" { (expression_statement "iVar1 = *piVar7;" (assignment_expression "iVar1 = *piVar7" identifier = (pointer_expression "*piVar7" * identifier)) ;) (expression_statement "piVar2 = (int *)piVar7[2];" (assignment_expression "piVar2 = (int *)piVar7[2]" identifier = (cast_expression "(int *)piVar7[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar7[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4);" (assignment_expression "iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4)" identifier = (call_expression "FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4)" identifier (argument_list "(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4)" ( (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) , identifier , identifier , identifier , identifier , identifier )))) ;) (if_statement "if (0 < iVar5) break;" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (break_statement "break;" break ;)) (expression_statement "FUN_00041640(iVar4,piVar7,0);" (call_expression "FUN_00041640(iVar4,piVar7,0)" identifier (argument_list "(iVar4,piVar7,0)" ( identifier , identifier , number_literal ))) ;) (expression_statement "piVar7 = piVar2;" (assignment_expression "piVar7 = piVar2" identifier = identifier) ;) }) while (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (if_statement "if (*(int *)(unaff_retaddr + 0xd98) != 0) {\n      uVar6 = *(undefined4 *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 0x10);\n      *(undefined4 *)(unaff_retaddr + 0xd74) = uVar6;\n      *(undefined4 *)(unaff_retaddr + 0xd78) = uVar3;\n      uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c);\n      *param_3 = uVar6;\n      return 0;\n    }" if (parenthesized_expression "(*(int *)(unaff_retaddr + 0xd98) != 0)" ( (binary_expression "*(int *)(unaff_retaddr + 0xd98) != 0" (pointer_expression "*(int *)(unaff_retaddr + 0xd98)" * (cast_expression "(int *)(unaff_retaddr + 0xd98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd98)" ( (binary_expression "unaff_retaddr + 0xd98" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      uVar6 = *(undefined4 *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 0x10);\n      *(undefined4 *)(unaff_retaddr + 0xd74) = uVar6;\n      *(undefined4 *)(unaff_retaddr + 0xd78) = uVar3;\n      uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c);\n      *param_3 = uVar6;\n      return 0;\n    }" { (expression_statement "uVar6 = *(undefined4 *)(iVar1 + 0xc);" (assignment_expression "uVar6 = *(undefined4 *)(iVar1 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 0x10);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd74) = uVar6;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd74) = uVar6" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd74)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xd74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd74)" ( (binary_expression "unaff_retaddr + 0xd74" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd78) = uVar3;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd78) = uVar3" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd78)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xd78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd78)" ( (binary_expression "unaff_retaddr + 0xd78" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c);" (assignment_expression "uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c)" identifier = (call_expression "FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c)" identifier (argument_list "(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c)" ( identifier , identifier , (pointer_expression "*param_3" * identifier) , (binary_expression "unaff_retaddr + 0xd7c" identifier + number_literal) )))) ;) (expression_statement "*param_3 = uVar6;" (assignment_expression "*param_3 = uVar6" (pointer_expression "*param_3" * identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) })) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd74) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd74) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd74)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xd74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd74)" ( (binary_expression "unaff_retaddr + 0xd74" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd78) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd78) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd78)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xd78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd78)" ( (binary_expression "unaff_retaddr + 0xd78" 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\nCURLMcode __regparm3 add_next_timeout(curltime now,Curl_multi *multi,Curl_easy *d)\n\n{\n  void *pvVar1;\n  curl_llist_element *pcVar2;\n  undefined4 uVar3;\n  curltime cVar4;\n  timediff_t tVar5;\n  Curl_tree *pCVar6;\n  undefined4 *in_ECX;\n  curl_llist_element *e;\n  \n  e = *(curl_llist_element **)(now.tv_sec + 0xd98);\n  if (e != (curl_llist_element *)0x0) {\n    do {\n      pvVar1 = e->ptr;\n      pcVar2 = e->next;\n      cVar4.tv_usec = (int)d;\n      cVar4.tv_sec = (time_t)multi;\n      tVar5 = Curl_timediff(*(curltime *)((int)pvVar1 + 0xc),cVar4);\n      if (0 < tVar5) break;\n      Curl_llist_remove((curl_llist *)(now.tv_sec + 0xd98),e,(void *)0x0);\n      e = pcVar2;\n    } while (pcVar2 != (curl_llist_element *)0x0);\n    if (*(int *)(now.tv_sec + 0xd98) != 0) {\n      uVar3 = *(undefined4 *)((int)pvVar1 + 0x10);\n      cVar4 = *(curltime *)((int)pvVar1 + 0xc);\n      *(time_t *)(now.tv_sec + 0xd74) = ((curltime *)((int)pvVar1 + 0xc))->tv_sec;\n      *(undefined4 *)(now.tv_sec + 0xd78) = uVar3;\n      pCVar6 = Curl_splayinsert(cVar4,(Curl_tree *)*in_ECX,(Curl_tree *)(now.tv_sec + 0xd7c));\n      *in_ECX = pCVar6;\n      return CURLM_OK;\n    }\n  }\n  *(undefined4 *)(now.tv_sec + 0xd74) = 0;\n  *(undefined4 *)(now.tv_sec + 0xd78) = 0;\n  return CURLM_OK;\n}\n\n" comment comment (function_definition "CURLMcode __regparm3 add_next_timeout(curltime now,Curl_multi *multi,Curl_easy *d)\n\n{\n  void *pvVar1;\n  curl_llist_element *pcVar2;\n  undefined4 uVar3;\n  curltime cVar4;\n  timediff_t tVar5;\n  Curl_tree *pCVar6;\n  undefined4 *in_ECX;\n  curl_llist_element *e;\n  \n  e = *(curl_llist_element **)(now.tv_sec + 0xd98);\n  if (e != (curl_llist_element *)0x0) {\n    do {\n      pvVar1 = e->ptr;\n      pcVar2 = e->next;\n      cVar4.tv_usec = (int)d;\n      cVar4.tv_sec = (time_t)multi;\n      tVar5 = Curl_timediff(*(curltime *)((int)pvVar1 + 0xc),cVar4);\n      if (0 < tVar5) break;\n      Curl_llist_remove((curl_llist *)(now.tv_sec + 0xd98),e,(void *)0x0);\n      e = pcVar2;\n    } while (pcVar2 != (curl_llist_element *)0x0);\n    if (*(int *)(now.tv_sec + 0xd98) != 0) {\n      uVar3 = *(undefined4 *)((int)pvVar1 + 0x10);\n      cVar4 = *(curltime *)((int)pvVar1 + 0xc);\n      *(time_t *)(now.tv_sec + 0xd74) = ((curltime *)((int)pvVar1 + 0xc))->tv_sec;\n      *(undefined4 *)(now.tv_sec + 0xd78) = uVar3;\n      pCVar6 = Curl_splayinsert(cVar4,(Curl_tree *)*in_ECX,(Curl_tree *)(now.tv_sec + 0xd7c));\n      *in_ECX = pCVar6;\n      return CURLM_OK;\n    }\n  }\n  *(undefined4 *)(now.tv_sec + 0xd74) = 0;\n  *(undefined4 *)(now.tv_sec + 0xd78) = 0;\n  return CURLM_OK;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "add_next_timeout(curltime now,Curl_multi *multi,Curl_easy *d)" identifier (parameter_list "(curltime now,Curl_multi *multi,Curl_easy *d)" ( (parameter_declaration "curltime now" type_identifier identifier) , (parameter_declaration "Curl_multi *multi" type_identifier (pointer_declarator "*multi" * identifier)) , (parameter_declaration "Curl_easy *d" type_identifier (pointer_declarator "*d" * identifier)) ))) (compound_statement "{\n  void *pvVar1;\n  curl_llist_element *pcVar2;\n  undefined4 uVar3;\n  curltime cVar4;\n  timediff_t tVar5;\n  Curl_tree *pCVar6;\n  undefined4 *in_ECX;\n  curl_llist_element *e;\n  \n  e = *(curl_llist_element **)(now.tv_sec + 0xd98);\n  if (e != (curl_llist_element *)0x0) {\n    do {\n      pvVar1 = e->ptr;\n      pcVar2 = e->next;\n      cVar4.tv_usec = (int)d;\n      cVar4.tv_sec = (time_t)multi;\n      tVar5 = Curl_timediff(*(curltime *)((int)pvVar1 + 0xc),cVar4);\n      if (0 < tVar5) break;\n      Curl_llist_remove((curl_llist *)(now.tv_sec + 0xd98),e,(void *)0x0);\n      e = pcVar2;\n    } while (pcVar2 != (curl_llist_element *)0x0);\n    if (*(int *)(now.tv_sec + 0xd98) != 0) {\n      uVar3 = *(undefined4 *)((int)pvVar1 + 0x10);\n      cVar4 = *(curltime *)((int)pvVar1 + 0xc);\n      *(time_t *)(now.tv_sec + 0xd74) = ((curltime *)((int)pvVar1 + 0xc))->tv_sec;\n      *(undefined4 *)(now.tv_sec + 0xd78) = uVar3;\n      pCVar6 = Curl_splayinsert(cVar4,(Curl_tree *)*in_ECX,(Curl_tree *)(now.tv_sec + 0xd7c));\n      *in_ECX = pCVar6;\n      return CURLM_OK;\n    }\n  }\n  *(undefined4 *)(now.tv_sec + 0xd74) = 0;\n  *(undefined4 *)(now.tv_sec + 0xd78) = 0;\n  return CURLM_OK;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (declaration "curl_llist_element *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "curltime cVar4;" type_identifier identifier ;) (declaration "timediff_t tVar5;" type_identifier identifier ;) (declaration "Curl_tree *pCVar6;" type_identifier (pointer_declarator "*pCVar6" * identifier) ;) (declaration "undefined4 *in_ECX;" type_identifier (pointer_declarator "*in_ECX" * identifier) ;) (declaration "curl_llist_element *e;" type_identifier (pointer_declarator "*e" * identifier) ;) (expression_statement "e = *(curl_llist_element **)(now.tv_sec + 0xd98);" (assignment_expression "e = *(curl_llist_element **)(now.tv_sec + 0xd98)" identifier = (pointer_expression "*(curl_llist_element **)(now.tv_sec + 0xd98)" * (cast_expression "(curl_llist_element **)(now.tv_sec + 0xd98)" ( (type_descriptor "curl_llist_element **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(now.tv_sec + 0xd98)" ( (binary_expression "now.tv_sec + 0xd98" (field_expression "now.tv_sec" identifier . field_identifier) + number_literal) ))))) ;) (if_statement "if (e != (curl_llist_element *)0x0) {\n    do {\n      pvVar1 = e->ptr;\n      pcVar2 = e->next;\n      cVar4.tv_usec = (int)d;\n      cVar4.tv_sec = (time_t)multi;\n      tVar5 = Curl_timediff(*(curltime *)((int)pvVar1 + 0xc),cVar4);\n      if (0 < tVar5) break;\n      Curl_llist_remove((curl_llist *)(now.tv_sec + 0xd98),e,(void *)0x0);\n      e = pcVar2;\n    } while (pcVar2 != (curl_llist_element *)0x0);\n    if (*(int *)(now.tv_sec + 0xd98) != 0) {\n      uVar3 = *(undefined4 *)((int)pvVar1 + 0x10);\n      cVar4 = *(curltime *)((int)pvVar1 + 0xc);\n      *(time_t *)(now.tv_sec + 0xd74) = ((curltime *)((int)pvVar1 + 0xc))->tv_sec;\n      *(undefined4 *)(now.tv_sec + 0xd78) = uVar3;\n      pCVar6 = Curl_splayinsert(cVar4,(Curl_tree *)*in_ECX,(Curl_tree *)(now.tv_sec + 0xd7c));\n      *in_ECX = pCVar6;\n      return CURLM_OK;\n    }\n  }" if (parenthesized_expression "(e != (curl_llist_element *)0x0)" ( (binary_expression "e != (curl_llist_element *)0x0" identifier != (cast_expression "(curl_llist_element *)0x0" ( (type_descriptor "curl_llist_element *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      pvVar1 = e->ptr;\n      pcVar2 = e->next;\n      cVar4.tv_usec = (int)d;\n      cVar4.tv_sec = (time_t)multi;\n      tVar5 = Curl_timediff(*(curltime *)((int)pvVar1 + 0xc),cVar4);\n      if (0 < tVar5) break;\n      Curl_llist_remove((curl_llist *)(now.tv_sec + 0xd98),e,(void *)0x0);\n      e = pcVar2;\n    } while (pcVar2 != (curl_llist_element *)0x0);\n    if (*(int *)(now.tv_sec + 0xd98) != 0) {\n      uVar3 = *(undefined4 *)((int)pvVar1 + 0x10);\n      cVar4 = *(curltime *)((int)pvVar1 + 0xc);\n      *(time_t *)(now.tv_sec + 0xd74) = ((curltime *)((int)pvVar1 + 0xc))->tv_sec;\n      *(undefined4 *)(now.tv_sec + 0xd78) = uVar3;\n      pCVar6 = Curl_splayinsert(cVar4,(Curl_tree *)*in_ECX,(Curl_tree *)(now.tv_sec + 0xd7c));\n      *in_ECX = pCVar6;\n      return CURLM_OK;\n    }\n  }" { (do_statement "do {\n      pvVar1 = e->ptr;\n      pcVar2 = e->next;\n      cVar4.tv_usec = (int)d;\n      cVar4.tv_sec = (time_t)multi;\n      tVar5 = Curl_timediff(*(curltime *)((int)pvVar1 + 0xc),cVar4);\n      if (0 < tVar5) break;\n      Curl_llist_remove((curl_llist *)(now.tv_sec + 0xd98),e,(void *)0x0);\n      e = pcVar2;\n    } while (pcVar2 != (curl_llist_element *)0x0);" do (compound_statement "{\n      pvVar1 = e->ptr;\n      pcVar2 = e->next;\n      cVar4.tv_usec = (int)d;\n      cVar4.tv_sec = (time_t)multi;\n      tVar5 = Curl_timediff(*(curltime *)((int)pvVar1 + 0xc),cVar4);\n      if (0 < tVar5) break;\n      Curl_llist_remove((curl_llist *)(now.tv_sec + 0xd98),e,(void *)0x0);\n      e = pcVar2;\n    }" { (expression_statement "pvVar1 = e->ptr;" (assignment_expression "pvVar1 = e->ptr" identifier = (field_expression "e->ptr" identifier -> field_identifier)) ;) (expression_statement "pcVar2 = e->next;" (assignment_expression "pcVar2 = e->next" identifier = (field_expression "e->next" identifier -> field_identifier)) ;) (expression_statement "cVar4.tv_usec = (int)d;" (assignment_expression "cVar4.tv_usec = (int)d" (field_expression "cVar4.tv_usec" identifier . field_identifier) = (cast_expression "(int)d" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "cVar4.tv_sec = (time_t)multi;" (assignment_expression "cVar4.tv_sec = (time_t)multi" (field_expression "cVar4.tv_sec" identifier . field_identifier) = (cast_expression "(time_t)multi" ( (type_descriptor "time_t" type_identifier) ) identifier)) ;) (expression_statement "tVar5 = Curl_timediff(*(curltime *)((int)pvVar1 + 0xc),cVar4);" (assignment_expression "tVar5 = Curl_timediff(*(curltime *)((int)pvVar1 + 0xc),cVar4)" identifier = (call_expression "Curl_timediff(*(curltime *)((int)pvVar1 + 0xc),cVar4)" identifier (argument_list "(*(curltime *)((int)pvVar1 + 0xc),cVar4)" ( (pointer_expression "*(curltime *)((int)pvVar1 + 0xc)" * (cast_expression "(curltime *)((int)pvVar1 + 0xc)" ( (type_descriptor "curltime *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar1 + 0xc)" ( (binary_expression "(int)pvVar1 + 0xc" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) )))) , identifier )))) ;) (if_statement "if (0 < tVar5) break;" if (parenthesized_expression "(0 < tVar5)" ( (binary_expression "0 < tVar5" number_literal < identifier) )) (break_statement "break;" break ;)) (expression_statement "Curl_llist_remove((curl_llist *)(now.tv_sec + 0xd98),e,(void *)0x0);" (call_expression "Curl_llist_remove((curl_llist *)(now.tv_sec + 0xd98),e,(void *)0x0)" identifier (argument_list "((curl_llist *)(now.tv_sec + 0xd98),e,(void *)0x0)" ( (cast_expression "(curl_llist *)(now.tv_sec + 0xd98)" ( (type_descriptor "curl_llist *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(now.tv_sec + 0xd98)" ( (binary_expression "now.tv_sec + 0xd98" (field_expression "now.tv_sec" identifier . field_identifier) + number_literal) ))) , identifier , (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) (expression_statement "e = pcVar2;" (assignment_expression "e = pcVar2" identifier = identifier) ;) }) while (parenthesized_expression "(pcVar2 != (curl_llist_element *)0x0)" ( (binary_expression "pcVar2 != (curl_llist_element *)0x0" identifier != (cast_expression "(curl_llist_element *)0x0" ( (type_descriptor "curl_llist_element *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (if_statement "if (*(int *)(now.tv_sec + 0xd98) != 0) {\n      uVar3 = *(undefined4 *)((int)pvVar1 + 0x10);\n      cVar4 = *(curltime *)((int)pvVar1 + 0xc);\n      *(time_t *)(now.tv_sec + 0xd74) = ((curltime *)((int)pvVar1 + 0xc))->tv_sec;\n      *(undefined4 *)(now.tv_sec + 0xd78) = uVar3;\n      pCVar6 = Curl_splayinsert(cVar4,(Curl_tree *)*in_ECX,(Curl_tree *)(now.tv_sec + 0xd7c));\n      *in_ECX = pCVar6;\n      return CURLM_OK;\n    }" if (parenthesized_expression "(*(int *)(now.tv_sec + 0xd98) != 0)" ( (binary_expression "*(int *)(now.tv_sec + 0xd98) != 0" (pointer_expression "*(int *)(now.tv_sec + 0xd98)" * (cast_expression "(int *)(now.tv_sec + 0xd98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(now.tv_sec + 0xd98)" ( (binary_expression "now.tv_sec + 0xd98" (field_expression "now.tv_sec" identifier . field_identifier) + number_literal) )))) != number_literal) )) (compound_statement "{\n      uVar3 = *(undefined4 *)((int)pvVar1 + 0x10);\n      cVar4 = *(curltime *)((int)pvVar1 + 0xc);\n      *(time_t *)(now.tv_sec + 0xd74) = ((curltime *)((int)pvVar1 + 0xc))->tv_sec;\n      *(undefined4 *)(now.tv_sec + 0xd78) = uVar3;\n      pCVar6 = Curl_splayinsert(cVar4,(Curl_tree *)*in_ECX,(Curl_tree *)(now.tv_sec + 0xd7c));\n      *in_ECX = pCVar6;\n      return CURLM_OK;\n    }" { (expression_statement "uVar3 = *(undefined4 *)((int)pvVar1 + 0x10);" (assignment_expression "uVar3 = *(undefined4 *)((int)pvVar1 + 0x10)" identifier = (pointer_expression "*(undefined4 *)((int)pvVar1 + 0x10)" * (cast_expression "(undefined4 *)((int)pvVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar1 + 0x10)" ( (binary_expression "(int)pvVar1 + 0x10" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "cVar4 = *(curltime *)((int)pvVar1 + 0xc);" (assignment_expression "cVar4 = *(curltime *)((int)pvVar1 + 0xc)" identifier = (pointer_expression "*(curltime *)((int)pvVar1 + 0xc)" * (cast_expression "(curltime *)((int)pvVar1 + 0xc)" ( (type_descriptor "curltime *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar1 + 0xc)" ( (binary_expression "(int)pvVar1 + 0xc" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))))) ;) (expression_statement "*(time_t *)(now.tv_sec + 0xd74) = ((curltime *)((int)pvVar1 + 0xc))->tv_sec;" (assignment_expression "*(time_t *)(now.tv_sec + 0xd74) = ((curltime *)((int)pvVar1 + 0xc))->tv_sec" (pointer_expression "*(time_t *)(now.tv_sec + 0xd74)" * (cast_expression "(time_t *)(now.tv_sec + 0xd74)" ( (type_descriptor "time_t *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(now.tv_sec + 0xd74)" ( (binary_expression "now.tv_sec + 0xd74" (field_expression "now.tv_sec" identifier . field_identifier) + number_literal) )))) = (field_expression "((curltime *)((int)pvVar1 + 0xc))->tv_sec" (parenthesized_expression "((curltime *)((int)pvVar1 + 0xc))" ( (cast_expression "(curltime *)((int)pvVar1 + 0xc)" ( (type_descriptor "curltime *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)pvVar1 + 0xc)" ( (binary_expression "(int)pvVar1 + 0xc" (cast_expression "(int)pvVar1" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) )) -> field_identifier)) ;) (expression_statement "*(undefined4 *)(now.tv_sec + 0xd78) = uVar3;" (assignment_expression "*(undefined4 *)(now.tv_sec + 0xd78) = uVar3" (pointer_expression "*(undefined4 *)(now.tv_sec + 0xd78)" * (cast_expression "(undefined4 *)(now.tv_sec + 0xd78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(now.tv_sec + 0xd78)" ( (binary_expression "now.tv_sec + 0xd78" (field_expression "now.tv_sec" identifier . field_identifier) + number_literal) )))) = identifier) ;) (expression_statement "pCVar6 = Curl_splayinsert(cVar4,(Curl_tree *)*in_ECX,(Curl_tree *)(now.tv_sec + 0xd7c));" (assignment_expression "pCVar6 = Curl_splayinsert(cVar4,(Curl_tree *)*in_ECX,(Curl_tree *)(now.tv_sec + 0xd7c))" identifier = (call_expression "Curl_splayinsert(cVar4,(Curl_tree *)*in_ECX,(Curl_tree *)(now.tv_sec + 0xd7c))" identifier (argument_list "(cVar4,(Curl_tree *)*in_ECX,(Curl_tree *)(now.tv_sec + 0xd7c))" ( identifier , (cast_expression "(Curl_tree *)*in_ECX" ( (type_descriptor "Curl_tree *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*in_ECX" * identifier)) , (cast_expression "(Curl_tree *)(now.tv_sec + 0xd7c)" ( (type_descriptor "Curl_tree *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(now.tv_sec + 0xd7c)" ( (binary_expression "now.tv_sec + 0xd7c" (field_expression "now.tv_sec" identifier . field_identifier) + number_literal) ))) )))) ;) (expression_statement "*in_ECX = pCVar6;" (assignment_expression "*in_ECX = pCVar6" (pointer_expression "*in_ECX" * identifier) = identifier) ;) (return_statement "return CURLM_OK;" return identifier ;) })) })) (expression_statement "*(undefined4 *)(now.tv_sec + 0xd74) = 0;" (assignment_expression "*(undefined4 *)(now.tv_sec + 0xd74) = 0" (pointer_expression "*(undefined4 *)(now.tv_sec + 0xd74)" * (cast_expression "(undefined4 *)(now.tv_sec + 0xd74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(now.tv_sec + 0xd74)" ( (binary_expression "now.tv_sec + 0xd74" (field_expression "now.tv_sec" identifier . field_identifier) + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(now.tv_sec + 0xd78) = 0;" (assignment_expression "*(undefined4 *)(now.tv_sec + 0xd78) = 0" (pointer_expression "*(undefined4 *)(now.tv_sec + 0xd78)" * (cast_expression "(undefined4 *)(now.tv_sec + 0xd78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(now.tv_sec + 0xd78)" ( (binary_expression "now.tv_sec + 0xd78" (field_expression "now.tv_sec" identifier . field_identifier) + number_literal) )))) = number_literal) ;) (return_statement "return CURLM_OK;" return identifier ;) })))
(translation_unit "undefined4 __regparm3 FUN_00042050(undefined4 param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int *piVar7;\n  undefined4 extraout_EDI;\n  int unaff_retaddr;\n  \n  entry(param_2,0x4205d);\n  iVar4 = unaff_retaddr + 0xd98;\n  piVar7 = *(int **)(unaff_retaddr + 0xd98);\n  uVar6 = extraout_EDI;\n  if (piVar7 != (int *)0x0) {\n    do {\n      iVar1 = *piVar7;\n      piVar2 = (int *)piVar7[2];\n      iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4);\n      if (0 < iVar5) break;\n      FUN_00041640(iVar4,piVar7,0);\n      piVar7 = piVar2;\n    } while (piVar2 != (int *)0x0);\n    if (*(int *)(unaff_retaddr + 0xd98) != 0) {\n      uVar6 = *(undefined4 *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 0x10);\n      *(undefined4 *)(unaff_retaddr + 0xd74) = uVar6;\n      *(undefined4 *)(unaff_retaddr + 0xd78) = uVar3;\n      uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c);\n      *param_3 = uVar6;\n      return 0;\n    }\n  }\n  *(undefined4 *)(unaff_retaddr + 0xd74) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd78) = 0;\n  return 0;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_00042050(undefined4 param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int *piVar7;\n  undefined4 extraout_EDI;\n  int unaff_retaddr;\n  \n  entry(param_2,0x4205d);\n  iVar4 = unaff_retaddr + 0xd98;\n  piVar7 = *(int **)(unaff_retaddr + 0xd98);\n  uVar6 = extraout_EDI;\n  if (piVar7 != (int *)0x0) {\n    do {\n      iVar1 = *piVar7;\n      piVar2 = (int *)piVar7[2];\n      iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4);\n      if (0 < iVar5) break;\n      FUN_00041640(iVar4,piVar7,0);\n      piVar7 = piVar2;\n    } while (piVar2 != (int *)0x0);\n    if (*(int *)(unaff_retaddr + 0xd98) != 0) {\n      uVar6 = *(undefined4 *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 0x10);\n      *(undefined4 *)(unaff_retaddr + 0xd74) = uVar6;\n      *(undefined4 *)(unaff_retaddr + 0xd78) = uVar3;\n      uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c);\n      *param_3 = uVar6;\n      return 0;\n    }\n  }\n  *(undefined4 *)(unaff_retaddr + 0xd74) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd78) = 0;\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00042050(undefined4 param_1,undefined4 param_2,undefined4 *param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 *param_3" type_identifier (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int *piVar7;\n  undefined4 extraout_EDI;\n  int unaff_retaddr;\n  \n  entry(param_2,0x4205d);\n  iVar4 = unaff_retaddr + 0xd98;\n  piVar7 = *(int **)(unaff_retaddr + 0xd98);\n  uVar6 = extraout_EDI;\n  if (piVar7 != (int *)0x0) {\n    do {\n      iVar1 = *piVar7;\n      piVar2 = (int *)piVar7[2];\n      iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4);\n      if (0 < iVar5) break;\n      FUN_00041640(iVar4,piVar7,0);\n      piVar7 = piVar2;\n    } while (piVar2 != (int *)0x0);\n    if (*(int *)(unaff_retaddr + 0xd98) != 0) {\n      uVar6 = *(undefined4 *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 0x10);\n      *(undefined4 *)(unaff_retaddr + 0xd74) = uVar6;\n      *(undefined4 *)(unaff_retaddr + 0xd78) = uVar3;\n      uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c);\n      *param_3 = uVar6;\n      return 0;\n    }\n  }\n  *(undefined4 *)(unaff_retaddr + 0xd74) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd78) = 0;\n  return 0;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int *piVar2;" primitive_type (pointer_declarator "*piVar2" * identifier) ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "undefined4 extraout_EDI;" type_identifier identifier ;) (declaration "int unaff_retaddr;" primitive_type identifier ;) (expression_statement "entry(param_2,0x4205d);" (call_expression "entry(param_2,0x4205d)" identifier (argument_list "(param_2,0x4205d)" ( identifier , number_literal ))) ;) (expression_statement "iVar4 = unaff_retaddr + 0xd98;" (assignment_expression "iVar4 = unaff_retaddr + 0xd98" identifier = (binary_expression "unaff_retaddr + 0xd98" identifier + number_literal)) ;) (expression_statement "piVar7 = *(int **)(unaff_retaddr + 0xd98);" (assignment_expression "piVar7 = *(int **)(unaff_retaddr + 0xd98)" identifier = (pointer_expression "*(int **)(unaff_retaddr + 0xd98)" * (cast_expression "(int **)(unaff_retaddr + 0xd98)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_retaddr + 0xd98)" ( (binary_expression "unaff_retaddr + 0xd98" identifier + number_literal) ))))) ;) (expression_statement "uVar6 = extraout_EDI;" (assignment_expression "uVar6 = extraout_EDI" identifier = identifier) ;) (if_statement "if (piVar7 != (int *)0x0) {\n    do {\n      iVar1 = *piVar7;\n      piVar2 = (int *)piVar7[2];\n      iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4);\n      if (0 < iVar5) break;\n      FUN_00041640(iVar4,piVar7,0);\n      piVar7 = piVar2;\n    } while (piVar2 != (int *)0x0);\n    if (*(int *)(unaff_retaddr + 0xd98) != 0) {\n      uVar6 = *(undefined4 *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 0x10);\n      *(undefined4 *)(unaff_retaddr + 0xd74) = uVar6;\n      *(undefined4 *)(unaff_retaddr + 0xd78) = uVar3;\n      uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c);\n      *param_3 = uVar6;\n      return 0;\n    }\n  }" if (parenthesized_expression "(piVar7 != (int *)0x0)" ( (binary_expression "piVar7 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    do {\n      iVar1 = *piVar7;\n      piVar2 = (int *)piVar7[2];\n      iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4);\n      if (0 < iVar5) break;\n      FUN_00041640(iVar4,piVar7,0);\n      piVar7 = piVar2;\n    } while (piVar2 != (int *)0x0);\n    if (*(int *)(unaff_retaddr + 0xd98) != 0) {\n      uVar6 = *(undefined4 *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 0x10);\n      *(undefined4 *)(unaff_retaddr + 0xd74) = uVar6;\n      *(undefined4 *)(unaff_retaddr + 0xd78) = uVar3;\n      uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c);\n      *param_3 = uVar6;\n      return 0;\n    }\n  }" { (do_statement "do {\n      iVar1 = *piVar7;\n      piVar2 = (int *)piVar7[2];\n      iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4);\n      if (0 < iVar5) break;\n      FUN_00041640(iVar4,piVar7,0);\n      piVar7 = piVar2;\n    } while (piVar2 != (int *)0x0);" do (compound_statement "{\n      iVar1 = *piVar7;\n      piVar2 = (int *)piVar7[2];\n      iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4);\n      if (0 < iVar5) break;\n      FUN_00041640(iVar4,piVar7,0);\n      piVar7 = piVar2;\n    }" { (expression_statement "iVar1 = *piVar7;" (assignment_expression "iVar1 = *piVar7" identifier = (pointer_expression "*piVar7" * identifier)) ;) (expression_statement "piVar2 = (int *)piVar7[2];" (assignment_expression "piVar2 = (int *)piVar7[2]" identifier = (cast_expression "(int *)piVar7[2]" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "piVar7[2]" identifier [ number_literal ]))) ;) (expression_statement "iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4);" (assignment_expression "iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4)" identifier = (call_expression "FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4)" identifier (argument_list "(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4)" ( (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) )))) , (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) )))) , identifier , identifier , identifier , identifier , identifier )))) ;) (if_statement "if (0 < iVar5) break;" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (break_statement "break;" break ;)) (expression_statement "FUN_00041640(iVar4,piVar7,0);" (call_expression "FUN_00041640(iVar4,piVar7,0)" identifier (argument_list "(iVar4,piVar7,0)" ( identifier , identifier , number_literal ))) ;) (expression_statement "piVar7 = piVar2;" (assignment_expression "piVar7 = piVar2" identifier = identifier) ;) }) while (parenthesized_expression "(piVar2 != (int *)0x0)" ( (binary_expression "piVar2 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) (if_statement "if (*(int *)(unaff_retaddr + 0xd98) != 0) {\n      uVar6 = *(undefined4 *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 0x10);\n      *(undefined4 *)(unaff_retaddr + 0xd74) = uVar6;\n      *(undefined4 *)(unaff_retaddr + 0xd78) = uVar3;\n      uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c);\n      *param_3 = uVar6;\n      return 0;\n    }" if (parenthesized_expression "(*(int *)(unaff_retaddr + 0xd98) != 0)" ( (binary_expression "*(int *)(unaff_retaddr + 0xd98) != 0" (pointer_expression "*(int *)(unaff_retaddr + 0xd98)" * (cast_expression "(int *)(unaff_retaddr + 0xd98)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd98)" ( (binary_expression "unaff_retaddr + 0xd98" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      uVar6 = *(undefined4 *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 0x10);\n      *(undefined4 *)(unaff_retaddr + 0xd74) = uVar6;\n      *(undefined4 *)(unaff_retaddr + 0xd78) = uVar3;\n      uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c);\n      *param_3 = uVar6;\n      return 0;\n    }" { (expression_statement "uVar6 = *(undefined4 *)(iVar1 + 0xc);" (assignment_expression "uVar6 = *(undefined4 *)(iVar1 + 0xc)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" * (cast_expression "(undefined4 *)(iVar1 + 0xc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0xc)" ( (binary_expression "iVar1 + 0xc" identifier + number_literal) ))))) ;) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 0x10);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 0x10)" identifier = (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" * (cast_expression "(undefined4 *)(iVar1 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar1 + 0x10)" ( (binary_expression "iVar1 + 0x10" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd74) = uVar6;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd74) = uVar6" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd74)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xd74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd74)" ( (binary_expression "unaff_retaddr + 0xd74" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd78) = uVar3;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd78) = uVar3" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd78)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xd78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd78)" ( (binary_expression "unaff_retaddr + 0xd78" identifier + number_literal) )))) = identifier) ;) (expression_statement "uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c);" (assignment_expression "uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c)" identifier = (call_expression "FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c)" identifier (argument_list "(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c)" ( identifier , identifier , (pointer_expression "*param_3" * identifier) , (binary_expression "unaff_retaddr + 0xd7c" identifier + number_literal) )))) ;) (expression_statement "*param_3 = uVar6;" (assignment_expression "*param_3 = uVar6" (pointer_expression "*param_3" * identifier) = identifier) ;) (return_statement "return 0;" return number_literal ;) })) })) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd74) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd74) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd74)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xd74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd74)" ( (binary_expression "unaff_retaddr + 0xd74" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd78) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd78) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd78)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xd78)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd78)" ( (binary_expression "unaff_retaddr + 0xd78" 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 (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ]))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT , IDENT , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (break_statement break ;)) (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT , (pointer_expression * IDENT) , (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return LIT ;) })) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = 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 __regparm3 FUN_00042050(undefined4 param_1,undefined4 param_2,undefined4 *param_3)\n\n{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int *piVar7;\n  undefined4 extraout_EDI;\n  int unaff_retaddr;\n  \n  entry(param_2,0x4205d);\n  iVar4 = unaff_retaddr + 0xd98;\n  piVar7 = *(int **)(unaff_retaddr + 0xd98);\n  uVar6 = extraout_EDI;\n  if (piVar7 != (int *)0x0) {\n    do {\n      iVar1 = *piVar7;\n      piVar2 = (int *)piVar7[2];\n      iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4);\n      if (0 < iVar5) break;\n      FUN_00041640(iVar4,piVar7,0);\n      piVar7 = piVar2;\n    } while (piVar2 != (int *)0x0);\n    if (*(int *)(unaff_retaddr + 0xd98) != 0) {\n      uVar6 = *(undefined4 *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 0x10);\n      *(undefined4 *)(unaff_retaddr + 0xd74) = uVar6;\n      *(undefined4 *)(unaff_retaddr + 0xd78) = uVar3;\n      uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c);\n      *param_3 = uVar6;\n      return 0;\n    }\n  }\n  *(undefined4 *)(unaff_retaddr + 0xd74) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd78) = 0;\n  return 0;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00042050(undefined4 param_1,undefined4 param_2,undefined4 *param_3)" (identifier "FUN_00042050") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 *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 "undefined4 *param_3" (type_identifier "undefined4") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int iVar1;\n  int *piVar2;\n  undefined4 uVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 uVar6;\n  int *piVar7;\n  undefined4 extraout_EDI;\n  int unaff_retaddr;\n  \n  entry(param_2,0x4205d);\n  iVar4 = unaff_retaddr + 0xd98;\n  piVar7 = *(int **)(unaff_retaddr + 0xd98);\n  uVar6 = extraout_EDI;\n  if (piVar7 != (int *)0x0) {\n    do {\n      iVar1 = *piVar7;\n      piVar2 = (int *)piVar7[2];\n      iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4);\n      if (0 < iVar5) break;\n      FUN_00041640(iVar4,piVar7,0);\n      piVar7 = piVar2;\n    } while (piVar2 != (int *)0x0);\n    if (*(int *)(unaff_retaddr + 0xd98) != 0) {\n      uVar6 = *(undefined4 *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 0x10);\n      *(undefined4 *)(unaff_retaddr + 0xd74) = uVar6;\n      *(undefined4 *)(unaff_retaddr + 0xd78) = uVar3;\n      uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c);\n      *param_3 = uVar6;\n      return 0;\n    }\n  }\n  *(undefined4 *)(unaff_retaddr + 0xd74) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd78) = 0;\n  return 0;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int *piVar2;" (primitive_type "int") (pointer_declarator "*piVar2" (* "*") (identifier "piVar2")) (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (declaration "int iVar4;" (primitive_type "int") (identifier "iVar4") (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "undefined4 extraout_EDI;" (type_identifier "undefined4") (identifier "extraout_EDI") (; ";")) (declaration "int unaff_retaddr;" (primitive_type "int") (identifier "unaff_retaddr") (; ";")) (expression_statement "entry(param_2,0x4205d);" (call_expression "entry(param_2,0x4205d)" (identifier "entry") (argument_list "(param_2,0x4205d)" (( "(") (identifier "param_2") (, ",") (number_literal "0x4205d") () ")"))) (; ";")) (expression_statement "iVar4 = unaff_retaddr + 0xd98;" (assignment_expression "iVar4 = unaff_retaddr + 0xd98" (identifier "iVar4") (= "=") (binary_expression "unaff_retaddr + 0xd98" (identifier "unaff_retaddr") (+ "+") (number_literal "0xd98"))) (; ";")) (expression_statement "piVar7 = *(int **)(unaff_retaddr + 0xd98);" (assignment_expression "piVar7 = *(int **)(unaff_retaddr + 0xd98)" (identifier "piVar7") (= "=") (pointer_expression "*(int **)(unaff_retaddr + 0xd98)" (* "*") (cast_expression "(int **)(unaff_retaddr + 0xd98)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_retaddr + 0xd98)" (( "(") (binary_expression "unaff_retaddr + 0xd98" (identifier "unaff_retaddr") (+ "+") (number_literal "0xd98")) () ")"))))) (; ";")) (expression_statement "uVar6 = extraout_EDI;" (assignment_expression "uVar6 = extraout_EDI" (identifier "uVar6") (= "=") (identifier "extraout_EDI")) (; ";")) (if_statement "if (piVar7 != (int *)0x0) {\n    do {\n      iVar1 = *piVar7;\n      piVar2 = (int *)piVar7[2];\n      iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4);\n      if (0 < iVar5) break;\n      FUN_00041640(iVar4,piVar7,0);\n      piVar7 = piVar2;\n    } while (piVar2 != (int *)0x0);\n    if (*(int *)(unaff_retaddr + 0xd98) != 0) {\n      uVar6 = *(undefined4 *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 0x10);\n      *(undefined4 *)(unaff_retaddr + 0xd74) = uVar6;\n      *(undefined4 *)(unaff_retaddr + 0xd78) = uVar3;\n      uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c);\n      *param_3 = uVar6;\n      return 0;\n    }\n  }" (if "if") (parenthesized_expression "(piVar7 != (int *)0x0)" (( "(") (binary_expression "piVar7 != (int *)0x0" (identifier "piVar7") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    do {\n      iVar1 = *piVar7;\n      piVar2 = (int *)piVar7[2];\n      iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4);\n      if (0 < iVar5) break;\n      FUN_00041640(iVar4,piVar7,0);\n      piVar7 = piVar2;\n    } while (piVar2 != (int *)0x0);\n    if (*(int *)(unaff_retaddr + 0xd98) != 0) {\n      uVar6 = *(undefined4 *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 0x10);\n      *(undefined4 *)(unaff_retaddr + 0xd74) = uVar6;\n      *(undefined4 *)(unaff_retaddr + 0xd78) = uVar3;\n      uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c);\n      *param_3 = uVar6;\n      return 0;\n    }\n  }" ({ "{") (do_statement "do {\n      iVar1 = *piVar7;\n      piVar2 = (int *)piVar7[2];\n      iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4);\n      if (0 < iVar5) break;\n      FUN_00041640(iVar4,piVar7,0);\n      piVar7 = piVar2;\n    } while (piVar2 != (int *)0x0);" (do "do") (compound_statement "{\n      iVar1 = *piVar7;\n      piVar2 = (int *)piVar7[2];\n      iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4);\n      if (0 < iVar5) break;\n      FUN_00041640(iVar4,piVar7,0);\n      piVar7 = piVar2;\n    }" ({ "{") (expression_statement "iVar1 = *piVar7;" (assignment_expression "iVar1 = *piVar7" (identifier "iVar1") (= "=") (pointer_expression "*piVar7" (* "*") (identifier "piVar7"))) (; ";")) (expression_statement "piVar2 = (int *)piVar7[2];" (assignment_expression "piVar2 = (int *)piVar7[2]" (identifier "piVar2") (= "=") (cast_expression "(int *)piVar7[2]" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "piVar7[2]" (identifier "piVar7") ([ "[") (number_literal "2") (] "]")))) (; ";")) (expression_statement "iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4);" (assignment_expression "iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4)" (identifier "iVar5") (= "=") (call_expression "FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4)" (identifier "FUN_0001abe0") (argument_list "(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,\n                           uVar6,param_2,iVar4)" (( "(") (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")")))) (, ",") (identifier "uVar6") (, ",") (identifier "param_2") (, ",") (identifier "uVar6") (, ",") (identifier "param_2") (, ",") (identifier "iVar4") () ")")))) (; ";")) (if_statement "if (0 < iVar5) break;" (if "if") (parenthesized_expression "(0 < iVar5)" (( "(") (binary_expression "0 < iVar5" (number_literal "0") (< "<") (identifier "iVar5")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "FUN_00041640(iVar4,piVar7,0);" (call_expression "FUN_00041640(iVar4,piVar7,0)" (identifier "FUN_00041640") (argument_list "(iVar4,piVar7,0)" (( "(") (identifier "iVar4") (, ",") (identifier "piVar7") (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "piVar7 = piVar2;" (assignment_expression "piVar7 = piVar2" (identifier "piVar7") (= "=") (identifier "piVar2")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(piVar2 != (int *)0x0)" (( "(") (binary_expression "piVar2 != (int *)0x0" (identifier "piVar2") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (if_statement "if (*(int *)(unaff_retaddr + 0xd98) != 0) {\n      uVar6 = *(undefined4 *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 0x10);\n      *(undefined4 *)(unaff_retaddr + 0xd74) = uVar6;\n      *(undefined4 *)(unaff_retaddr + 0xd78) = uVar3;\n      uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c);\n      *param_3 = uVar6;\n      return 0;\n    }" (if "if") (parenthesized_expression "(*(int *)(unaff_retaddr + 0xd98) != 0)" (( "(") (binary_expression "*(int *)(unaff_retaddr + 0xd98) != 0" (pointer_expression "*(int *)(unaff_retaddr + 0xd98)" (* "*") (cast_expression "(int *)(unaff_retaddr + 0xd98)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xd98)" (( "(") (binary_expression "unaff_retaddr + 0xd98" (identifier "unaff_retaddr") (+ "+") (number_literal "0xd98")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      uVar6 = *(undefined4 *)(iVar1 + 0xc);\n      uVar3 = *(undefined4 *)(iVar1 + 0x10);\n      *(undefined4 *)(unaff_retaddr + 0xd74) = uVar6;\n      *(undefined4 *)(unaff_retaddr + 0xd78) = uVar3;\n      uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c);\n      *param_3 = uVar6;\n      return 0;\n    }" ({ "{") (expression_statement "uVar6 = *(undefined4 *)(iVar1 + 0xc);" (assignment_expression "uVar6 = *(undefined4 *)(iVar1 + 0xc)" (identifier "uVar6") (= "=") (pointer_expression "*(undefined4 *)(iVar1 + 0xc)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0xc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0xc)" (( "(") (binary_expression "iVar1 + 0xc" (identifier "iVar1") (+ "+") (number_literal "0xc")) () ")"))))) (; ";")) (expression_statement "uVar3 = *(undefined4 *)(iVar1 + 0x10);" (assignment_expression "uVar3 = *(undefined4 *)(iVar1 + 0x10)" (identifier "uVar3") (= "=") (pointer_expression "*(undefined4 *)(iVar1 + 0x10)" (* "*") (cast_expression "(undefined4 *)(iVar1 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar1 + 0x10)" (( "(") (binary_expression "iVar1 + 0x10" (identifier "iVar1") (+ "+") (number_literal "0x10")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd74) = uVar6;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd74) = uVar6" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd74)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0xd74)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xd74)" (( "(") (binary_expression "unaff_retaddr + 0xd74" (identifier "unaff_retaddr") (+ "+") (number_literal "0xd74")) () ")")))) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd78) = uVar3;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd78) = uVar3" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd78)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0xd78)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xd78)" (( "(") (binary_expression "unaff_retaddr + 0xd78" (identifier "unaff_retaddr") (+ "+") (number_literal "0xd78")) () ")")))) (= "=") (identifier "uVar3")) (; ";")) (expression_statement "uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c);" (assignment_expression "uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c)" (identifier "uVar6") (= "=") (call_expression "FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c)" (identifier "FUN_0004b030") (argument_list "(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c)" (( "(") (identifier "uVar6") (, ",") (identifier "uVar3") (, ",") (pointer_expression "*param_3" (* "*") (identifier "param_3")) (, ",") (binary_expression "unaff_retaddr + 0xd7c" (identifier "unaff_retaddr") (+ "+") (number_literal "0xd7c")) () ")")))) (; ";")) (expression_statement "*param_3 = uVar6;" (assignment_expression "*param_3 = uVar6" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (identifier "uVar6")) (; ";")) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}"))) (} "}"))) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd74) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd74) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd74)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0xd74)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xd74)" (( "(") (binary_expression "unaff_retaddr + 0xd74" (identifier "unaff_retaddr") (+ "+") (number_literal "0xd74")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd78) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd78) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd78)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0xd78)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xd78)" (( "(") (binary_expression "unaff_retaddr + 0xd78" (identifier "unaff_retaddr") (+ "+") (number_literal "0xd78")) () ")")))) (= "=") (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 __regparm3 function_1(type_2 now,type_3 *multi,type_4 *d)

{
  void *pvVar1;
  type_5 *var_5;
  type_6 uVar3;
  type_2 cVar4;
  type_7 var_3;
  type_8 *pCVar6;
  type_6 *in_ECX;
  type_5 *var_1;
  
  var_1 = *(type_5 **)(now.tv_sec + 0xd98);
  if (var_1 != (type_5 *)0x0) {
    do {
      pvVar1 = var_1->ptr;
      var_5 = var_1->next;
      cVar4.tv_usec = (int)d;
      cVar4.tv_sec = (type_9)multi;
      var_3 = var_2(*(type_2 *)((int)pvVar1 + 0xc),cVar4);
      if (0 < var_3) break;
      var_4((type_10 *)(now.tv_sec + 0xd98),var_1,(void *)0x0);
      var_1 = var_5;
    } while (var_5 != (type_5 *)0x0);
    if (*(int *)(now.tv_sec + 0xd98) != 0) {
      uVar3 = *(type_6 *)((int)pvVar1 + 0x10);
      cVar4 = *(type_2 *)((int)pvVar1 + 0xc);
      *(type_9 *)(now.tv_sec + 0xd74) = ((type_2 *)((int)pvVar1 + 0xc))->tv_sec;
      *(type_6 *)(now.tv_sec + 0xd78) = uVar3;
      pCVar6 = var_6(cVar4,(type_8 *)*in_ECX,(type_8 *)(now.tv_sec + 0xd7c));
      *in_ECX = pCVar6;
      return CURLM_OK;
    }
  }
  *(type_6 *)(now.tv_sec + 0xd74) = 0;
  *(type_6 *)(now.tv_sec + 0xd78) = 0;
  return CURLM_OK;
}


(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: (type_identifier) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (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)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) 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))))) (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))))) (identifier) (identifier) (identifier) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (break_statement)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (pointer_expression argument: (identifier)) (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement (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))) (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 __regparm3 MASKED(undefined4 param_1,undefined4 param_2,undefined4 *param_3)

{
  int iVar1;
  int *piVar2;
  undefined4 uVar3;
  int iVar4;
  int iVar5;
  undefined4 uVar6;
  int *piVar7;
  undefined4 extraout_EDI;
  int unaff_retaddr;
  
  entry(param_2,0x4205d);
  iVar4 = unaff_retaddr + 0xd98;
  piVar7 = *(int **)(unaff_retaddr + 0xd98);
  uVar6 = extraout_EDI;
  if (piVar7 != (int *)0x0) {
    do {
      iVar1 = *piVar7;
      piVar2 = (int *)piVar7[2];
      iVar5 = FUN_0001abe0(*(undefined4 *)(iVar1 + 0xc),*(undefined4 *)(iVar1 + 0x10),uVar6,param_2,
                           uVar6,param_2,iVar4);
      if (0 < iVar5) break;
      FUN_00041640(iVar4,piVar7,0);
      piVar7 = piVar2;
    } while (piVar2 != (int *)0x0);
    if (*(int *)(unaff_retaddr + 0xd98) != 0) {
      uVar6 = *(undefined4 *)(iVar1 + 0xc);
      uVar3 = *(undefined4 *)(iVar1 + 0x10);
      *(undefined4 *)(unaff_retaddr + 0xd74) = uVar6;
      *(undefined4 *)(unaff_retaddr + 0xd78) = uVar3;
      uVar6 = FUN_0004b030(uVar6,uVar3,*param_3,unaff_retaddr + 0xd7c);
      *param_3 = uVar6;
      return 0;
    }
  }
  *(undefined4 *)(unaff_retaddr + 0xd74) = 0;
  *(undefined4 *)(unaff_retaddr + 0xd78) = 0;
  return 0;
}

