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

void curl_easy_reset(Curl_easy *data)

{
  int *piVar1;
  uint uVar2;
  undefined4 *puVar3;
  byte bVar4;
  
  bVar4 = 0;
  puVar3 = (undefined4 *)((uint)&(data->set).debugdata & 0xfffffffc);
  Curl_free_request_state(data);
  Curl_freeset(data);
  (data->set).err = (FILE *)0x0;
  (data->set).trailer_callback = (curl_trailer_callback)0x0;
  uVar2 = (uint)((int)data + (0xb20 - (int)puVar3)) >> 2;
  for (; uVar2 != 0; uVar2 = uVar2 - 1) {
    *puVar3 = 0;
    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;
  }
  puVar3 = (undefined4 *)((uint)&(data->progress).size_dl & 0xfffffffc);
  Curl_init_userdefined(data);
  (data->progress).lastshow = 0;
  (data->progress).speeder_c = 0;
  uVar2 = (uint)((int)data + (0xc4c - (int)puVar3)) >> 2;
  for (; uVar2 != 0; uVar2 = uVar2 - 1) {
    *puVar3 = 0;
    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;
  }
  Curl_initinfo(data);
  piVar1 = &(data->progress).flags;
  *piVar1 = *piVar1 | 0x10;
  *(undefined4 *)&(data->state).current_speed = 0xffffffff;
  *(undefined4 *)((int)&(data->state).current_speed + 4) = 0xffffffff;
  (data->state).authhost.want = 0;
  (data->state).authhost.picked = 0;
  (data->state).authhost.avail = 0;
  (data->state).authhost.done = false;
  (data->state).authhost.multipass = false;
  (data->state).authhost.iestyle = false;
  (data->state).authhost.field_0xf = 0;
  (data->state).authproxy.want = 0;
  (data->state).authproxy.picked = 0;
  (data->state).authproxy.avail = 0;
  (data->state).authproxy.done = false;
  (data->state).authproxy.multipass = false;
  (data->state).authproxy.iestyle = false;
  (data->state).authproxy.field_0xf = 0;
  Curl_digest_cleanup(data);
  return;
}



void __regparm3 curl_easy_reset(undefined4 param_1,undefined4 param_2)

{
  uint uVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  byte bVar4;
  int unaff_retaddr;
  
  bVar4 = 0;
  uVar2 = 0;
  entry(param_2,0x3ecbb);
  puVar3 = (undefined4 *)(unaff_retaddr + 0x588U & 0xfffffffc);
  FUN_00030240(unaff_retaddr);
  FUN_0002f4e0(unaff_retaddr);
  *(undefined4 *)(unaff_retaddr + 0x584) = 0;
  *(undefined4 *)(unaff_retaddr + 0xb1c) = 0;
  uVar1 = (unaff_retaddr - (int)puVar3) + 0xb20U >> 2;
  for (; uVar1 != 0; uVar1 = uVar1 - 1) {
    *puVar3 = uVar2;
    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;
  }
  puVar3 = (undefined4 *)(unaff_retaddr + 0xb44U & 0xfffffffc);
  FUN_0002f670(unaff_retaddr);
  *(undefined4 *)(unaff_retaddr + 0xb40) = 0;
  *(undefined4 *)(unaff_retaddr + 0xc48) = 0;
  uVar1 = (unaff_retaddr - (int)puVar3) + 0xc4cU >> 2;
  for (; uVar1 != 0; uVar1 = uVar1 - 1) {
    *puVar3 = uVar2;
    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;
  }
  FUN_0003b010(unaff_retaddr);
  *(uint *)(unaff_retaddr + 0xb74) = *(uint *)(unaff_retaddr + 0xb74) | 0x10;
  *(undefined4 *)(unaff_retaddr + 0xc70) = 0xffffffff;
  *(undefined4 *)(unaff_retaddr + 0xc74) = 0xffffffff;
  *(undefined4 *)(unaff_retaddr + 0xd48) = 0;
  *(undefined4 *)(unaff_retaddr + 0xd4c) = 0;
  *(undefined4 *)(unaff_retaddr + 0xd50) = 0;
  *(undefined4 *)(unaff_retaddr + 0xd54) = 0;
  *(undefined4 *)(unaff_retaddr + 0xd58) = 0;
  *(undefined4 *)(unaff_retaddr + 0xd5c) = 0;
  *(undefined4 *)(unaff_retaddr + 0xd60) = 0;
  *(undefined4 *)(unaff_retaddr + 0xd64) = 0;
  FUN_0004ba80(unaff_retaddr);
  return;
}


PUSH EBP
XOR EBP,EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00019ed0
ADD EBX,0x77b25
SUB ESP,0x18
MOV ESI,dword ptr [ESP + 0x2c]
PUSH ESI
LEA EDI,[ESI + 0x588]
AND EDI,0xfffffffc
CALL 0x00030240
MOV dword ptr [ESP],ESI
CALL 0x0002f4e0
LEA ECX,[ESI + 0x584]
MOV EAX,EBP
MOV dword ptr [ESI + 0x584],0x0
MOV dword ptr [ESI + 0xb1c],0x0
SUB ECX,EDI
ADD ECX,0x59c
SHR ECX,0x2
STOSD.REP ES:EDI
LEA EDI,[ESI + 0xb44]
MOV dword ptr [ESP],ESI
AND EDI,0xfffffffc
CALL 0x0002f670
LEA ECX,[ESI + 0xb40]
MOV EAX,EBP
MOV dword ptr [ESI + 0xb40],0x0
MOV dword ptr [ESI + 0xc48],0x0
SUB ECX,EDI
ADD ECX,0x10c
SHR ECX,0x2
STOSD.REP ES:EDI
MOV dword ptr [ESP],ESI
CALL 0x0003b010
OR dword ptr [ESI + 0xb74],0x10
MOV dword ptr [ESI + 0xc70],0xffffffff
MOV dword ptr [ESI + 0xc74],0xffffffff
MOV dword ptr [ESI + 0xd48],0x0
MOV dword ptr [ESI + 0xd4c],0x0
MOV dword ptr [ESI + 0xd50],0x0
MOV dword ptr [ESI + 0xd54],0x0
MOV dword ptr [ESI + 0xd58],0x0
MOV dword ptr [ESI + 0xd5c],0x0
MOV dword ptr [ESI + 0xd60],0x0
MOV dword ptr [ESI + 0xd64],0x0
MOV dword ptr [ESP],ESI
CALL 0x0004ba80
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "void __regparm3 curl_easy_reset(undefined4 param_1,undefined4 param_2)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  int unaff_retaddr;\n  \n  bVar4 = 0;\n  uVar2 = 0;\n  entry(param_2,0x3ecbb);\n  puVar3 = (undefined4 *)(unaff_retaddr + 0x588U & 0xfffffffc);\n  FUN_00030240(unaff_retaddr);\n  FUN_0002f4e0(unaff_retaddr);\n  *(undefined4 *)(unaff_retaddr + 0x584) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xb1c) = 0;\n  uVar1 = (unaff_retaddr - (int)puVar3) + 0xb20U >> 2;\n  for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  puVar3 = (undefined4 *)(unaff_retaddr + 0xb44U & 0xfffffffc);\n  FUN_0002f670(unaff_retaddr);\n  *(undefined4 *)(unaff_retaddr + 0xb40) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xc48) = 0;\n  uVar1 = (unaff_retaddr - (int)puVar3) + 0xc4cU >> 2;\n  for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  FUN_0003b010(unaff_retaddr);\n  *(uint *)(unaff_retaddr + 0xb74) = *(uint *)(unaff_retaddr + 0xb74) | 0x10;\n  *(undefined4 *)(unaff_retaddr + 0xc70) = 0xffffffff;\n  *(undefined4 *)(unaff_retaddr + 0xc74) = 0xffffffff;\n  *(undefined4 *)(unaff_retaddr + 0xd48) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd4c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd50) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd54) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd58) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd5c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd60) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd64) = 0;\n  FUN_0004ba80(unaff_retaddr);\n  return;\n}\n\n" (function_definition "void __regparm3 curl_easy_reset(undefined4 param_1,undefined4 param_2)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  int unaff_retaddr;\n  \n  bVar4 = 0;\n  uVar2 = 0;\n  entry(param_2,0x3ecbb);\n  puVar3 = (undefined4 *)(unaff_retaddr + 0x588U & 0xfffffffc);\n  FUN_00030240(unaff_retaddr);\n  FUN_0002f4e0(unaff_retaddr);\n  *(undefined4 *)(unaff_retaddr + 0x584) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xb1c) = 0;\n  uVar1 = (unaff_retaddr - (int)puVar3) + 0xb20U >> 2;\n  for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  puVar3 = (undefined4 *)(unaff_retaddr + 0xb44U & 0xfffffffc);\n  FUN_0002f670(unaff_retaddr);\n  *(undefined4 *)(unaff_retaddr + 0xb40) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xc48) = 0;\n  uVar1 = (unaff_retaddr - (int)puVar3) + 0xc4cU >> 2;\n  for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  FUN_0003b010(unaff_retaddr);\n  *(uint *)(unaff_retaddr + 0xb74) = *(uint *)(unaff_retaddr + 0xb74) | 0x10;\n  *(undefined4 *)(unaff_retaddr + 0xc70) = 0xffffffff;\n  *(undefined4 *)(unaff_retaddr + 0xc74) = 0xffffffff;\n  *(undefined4 *)(unaff_retaddr + 0xd48) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd4c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd50) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd54) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd58) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd5c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd60) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd64) = 0;\n  FUN_0004ba80(unaff_retaddr);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "curl_easy_reset(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  int unaff_retaddr;\n  \n  bVar4 = 0;\n  uVar2 = 0;\n  entry(param_2,0x3ecbb);\n  puVar3 = (undefined4 *)(unaff_retaddr + 0x588U & 0xfffffffc);\n  FUN_00030240(unaff_retaddr);\n  FUN_0002f4e0(unaff_retaddr);\n  *(undefined4 *)(unaff_retaddr + 0x584) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xb1c) = 0;\n  uVar1 = (unaff_retaddr - (int)puVar3) + 0xb20U >> 2;\n  for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  puVar3 = (undefined4 *)(unaff_retaddr + 0xb44U & 0xfffffffc);\n  FUN_0002f670(unaff_retaddr);\n  *(undefined4 *)(unaff_retaddr + 0xb40) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xc48) = 0;\n  uVar1 = (unaff_retaddr - (int)puVar3) + 0xc4cU >> 2;\n  for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  FUN_0003b010(unaff_retaddr);\n  *(uint *)(unaff_retaddr + 0xb74) = *(uint *)(unaff_retaddr + 0xb74) | 0x10;\n  *(undefined4 *)(unaff_retaddr + 0xc70) = 0xffffffff;\n  *(undefined4 *)(unaff_retaddr + 0xc74) = 0xffffffff;\n  *(undefined4 *)(unaff_retaddr + 0xd48) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd4c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd50) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd54) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd58) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd5c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd60) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd64) = 0;\n  FUN_0004ba80(unaff_retaddr);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "int unaff_retaddr;" primitive_type identifier ;) (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "entry(param_2,0x3ecbb);" (call_expression "entry(param_2,0x3ecbb)" identifier (argument_list "(param_2,0x3ecbb)" ( identifier , number_literal ))) ;) (expression_statement "puVar3 = (undefined4 *)(unaff_retaddr + 0x588U & 0xfffffffc);" (assignment_expression "puVar3 = (undefined4 *)(unaff_retaddr + 0x588U & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)(unaff_retaddr + 0x588U & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x588U & 0xfffffffc)" ( (binary_expression "unaff_retaddr + 0x588U & 0xfffffffc" (binary_expression "unaff_retaddr + 0x588U" identifier + number_literal) & number_literal) )))) ;) (expression_statement "FUN_00030240(unaff_retaddr);" (call_expression "FUN_00030240(unaff_retaddr)" identifier (argument_list "(unaff_retaddr)" ( identifier ))) ;) (expression_statement "FUN_0002f4e0(unaff_retaddr);" (call_expression "FUN_0002f4e0(unaff_retaddr)" identifier (argument_list "(unaff_retaddr)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x584) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x584) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x584)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x584)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x584)" ( (binary_expression "unaff_retaddr + 0x584" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xb1c) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xb1c) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xb1c)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xb1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xb1c)" ( (binary_expression "unaff_retaddr + 0xb1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar1 = (unaff_retaddr - (int)puVar3) + 0xb20U >> 2;" (assignment_expression "uVar1 = (unaff_retaddr - (int)puVar3) + 0xb20U >> 2" identifier = (binary_expression "(unaff_retaddr - (int)puVar3) + 0xb20U >> 2" (binary_expression "(unaff_retaddr - (int)puVar3) + 0xb20U" (parenthesized_expression "(unaff_retaddr - (int)puVar3)" ( (binary_expression "unaff_retaddr - (int)puVar3" identifier - (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) + number_literal) >> number_literal)) ;) (for_statement "for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }" for ( ; (binary_expression "uVar1 != 0" identifier != number_literal) ; (assignment_expression "uVar1 = uVar1 - 1" identifier = (binary_expression "uVar1 - 1" identifier - number_literal)) ) (compound_statement "{\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }" { (expression_statement "*puVar3 = uVar2;" (assignment_expression "*puVar3 = uVar2" (pointer_expression "*puVar3" * identifier) = identifier) ;) (expression_statement "puVar3 = puVar3 + (uint)bVar4 * -2 + 1;" (assignment_expression "puVar3 = puVar3 + (uint)bVar4 * -2 + 1" identifier = (binary_expression "puVar3 + (uint)bVar4 * -2 + 1" (binary_expression "puVar3 + (uint)bVar4 * -2" identifier + (binary_expression "(uint)bVar4 * -2" (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "puVar3 = (undefined4 *)(unaff_retaddr + 0xb44U & 0xfffffffc);" (assignment_expression "puVar3 = (undefined4 *)(unaff_retaddr + 0xb44U & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)(unaff_retaddr + 0xb44U & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xb44U & 0xfffffffc)" ( (binary_expression "unaff_retaddr + 0xb44U & 0xfffffffc" (binary_expression "unaff_retaddr + 0xb44U" identifier + number_literal) & number_literal) )))) ;) (expression_statement "FUN_0002f670(unaff_retaddr);" (call_expression "FUN_0002f670(unaff_retaddr)" identifier (argument_list "(unaff_retaddr)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xb40) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xb40) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xb40)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xb40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xb40)" ( (binary_expression "unaff_retaddr + 0xb40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xc48) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xc48) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xc48)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xc48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xc48)" ( (binary_expression "unaff_retaddr + 0xc48" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar1 = (unaff_retaddr - (int)puVar3) + 0xc4cU >> 2;" (assignment_expression "uVar1 = (unaff_retaddr - (int)puVar3) + 0xc4cU >> 2" identifier = (binary_expression "(unaff_retaddr - (int)puVar3) + 0xc4cU >> 2" (binary_expression "(unaff_retaddr - (int)puVar3) + 0xc4cU" (parenthesized_expression "(unaff_retaddr - (int)puVar3)" ( (binary_expression "unaff_retaddr - (int)puVar3" identifier - (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) + number_literal) >> number_literal)) ;) (for_statement "for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }" for ( ; (binary_expression "uVar1 != 0" identifier != number_literal) ; (assignment_expression "uVar1 = uVar1 - 1" identifier = (binary_expression "uVar1 - 1" identifier - number_literal)) ) (compound_statement "{\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }" { (expression_statement "*puVar3 = uVar2;" (assignment_expression "*puVar3 = uVar2" (pointer_expression "*puVar3" * identifier) = identifier) ;) (expression_statement "puVar3 = puVar3 + (uint)bVar4 * -2 + 1;" (assignment_expression "puVar3 = puVar3 + (uint)bVar4 * -2 + 1" identifier = (binary_expression "puVar3 + (uint)bVar4 * -2 + 1" (binary_expression "puVar3 + (uint)bVar4 * -2" identifier + (binary_expression "(uint)bVar4 * -2" (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "FUN_0003b010(unaff_retaddr);" (call_expression "FUN_0003b010(unaff_retaddr)" identifier (argument_list "(unaff_retaddr)" ( identifier ))) ;) (expression_statement "*(uint *)(unaff_retaddr + 0xb74) = *(uint *)(unaff_retaddr + 0xb74) | 0x10;" (assignment_expression "*(uint *)(unaff_retaddr + 0xb74) = *(uint *)(unaff_retaddr + 0xb74) | 0x10" (pointer_expression "*(uint *)(unaff_retaddr + 0xb74)" * (cast_expression "(uint *)(unaff_retaddr + 0xb74)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xb74)" ( (binary_expression "unaff_retaddr + 0xb74" identifier + number_literal) )))) = (binary_expression "*(uint *)(unaff_retaddr + 0xb74) | 0x10" (pointer_expression "*(uint *)(unaff_retaddr + 0xb74)" * (cast_expression "(uint *)(unaff_retaddr + 0xb74)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xb74)" ( (binary_expression "unaff_retaddr + 0xb74" identifier + number_literal) )))) | number_literal)) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xc70) = 0xffffffff;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xc70) = 0xffffffff" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xc70)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xc70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xc70)" ( (binary_expression "unaff_retaddr + 0xc70" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xc74) = 0xffffffff;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xc74) = 0xffffffff" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xc74)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xc74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xc74)" ( (binary_expression "unaff_retaddr + 0xc74" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd48) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd48) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd48)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xd48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd48)" ( (binary_expression "unaff_retaddr + 0xd48" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd4c) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd4c) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd4c)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xd4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd4c)" ( (binary_expression "unaff_retaddr + 0xd4c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd50) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd50) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd50)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xd50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd50)" ( (binary_expression "unaff_retaddr + 0xd50" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd54) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd54) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd54)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xd54)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd54)" ( (binary_expression "unaff_retaddr + 0xd54" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd58) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd58) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd58)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xd58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd58)" ( (binary_expression "unaff_retaddr + 0xd58" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd5c) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd5c) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd5c)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xd5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd5c)" ( (binary_expression "unaff_retaddr + 0xd5c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd60) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd60) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd60)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xd60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd60)" ( (binary_expression "unaff_retaddr + 0xd60" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd64) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd64) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd64)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xd64)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd64)" ( (binary_expression "unaff_retaddr + 0xd64" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0004ba80(unaff_retaddr);" (call_expression "FUN_0004ba80(unaff_retaddr)" identifier (argument_list "(unaff_retaddr)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(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\nvoid curl_easy_reset(Curl_easy *data)\n\n{\n  int *piVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  puVar3 = (undefined4 *)((uint)&(data->set).debugdata & 0xfffffffc);\n  Curl_free_request_state(data);\n  Curl_freeset(data);\n  (data->set).err = (FILE *)0x0;\n  (data->set).trailer_callback = (curl_trailer_callback)0x0;\n  uVar2 = (uint)((int)data + (0xb20 - (int)puVar3)) >> 2;\n  for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  puVar3 = (undefined4 *)((uint)&(data->progress).size_dl & 0xfffffffc);\n  Curl_init_userdefined(data);\n  (data->progress).lastshow = 0;\n  (data->progress).speeder_c = 0;\n  uVar2 = (uint)((int)data + (0xc4c - (int)puVar3)) >> 2;\n  for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  Curl_initinfo(data);\n  piVar1 = &(data->progress).flags;\n  *piVar1 = *piVar1 | 0x10;\n  *(undefined4 *)&(data->state).current_speed = 0xffffffff;\n  *(undefined4 *)((int)&(data->state).current_speed + 4) = 0xffffffff;\n  (data->state).authhost.want = 0;\n  (data->state).authhost.picked = 0;\n  (data->state).authhost.avail = 0;\n  (data->state).authhost.done = false;\n  (data->state).authhost.multipass = false;\n  (data->state).authhost.iestyle = false;\n  (data->state).authhost.field_0xf = 0;\n  (data->state).authproxy.want = 0;\n  (data->state).authproxy.picked = 0;\n  (data->state).authproxy.avail = 0;\n  (data->state).authproxy.done = false;\n  (data->state).authproxy.multipass = false;\n  (data->state).authproxy.iestyle = false;\n  (data->state).authproxy.field_0xf = 0;\n  Curl_digest_cleanup(data);\n  return;\n}\n\n" comment comment (function_definition "void curl_easy_reset(Curl_easy *data)\n\n{\n  int *piVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  puVar3 = (undefined4 *)((uint)&(data->set).debugdata & 0xfffffffc);\n  Curl_free_request_state(data);\n  Curl_freeset(data);\n  (data->set).err = (FILE *)0x0;\n  (data->set).trailer_callback = (curl_trailer_callback)0x0;\n  uVar2 = (uint)((int)data + (0xb20 - (int)puVar3)) >> 2;\n  for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  puVar3 = (undefined4 *)((uint)&(data->progress).size_dl & 0xfffffffc);\n  Curl_init_userdefined(data);\n  (data->progress).lastshow = 0;\n  (data->progress).speeder_c = 0;\n  uVar2 = (uint)((int)data + (0xc4c - (int)puVar3)) >> 2;\n  for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  Curl_initinfo(data);\n  piVar1 = &(data->progress).flags;\n  *piVar1 = *piVar1 | 0x10;\n  *(undefined4 *)&(data->state).current_speed = 0xffffffff;\n  *(undefined4 *)((int)&(data->state).current_speed + 4) = 0xffffffff;\n  (data->state).authhost.want = 0;\n  (data->state).authhost.picked = 0;\n  (data->state).authhost.avail = 0;\n  (data->state).authhost.done = false;\n  (data->state).authhost.multipass = false;\n  (data->state).authhost.iestyle = false;\n  (data->state).authhost.field_0xf = 0;\n  (data->state).authproxy.want = 0;\n  (data->state).authproxy.picked = 0;\n  (data->state).authproxy.avail = 0;\n  (data->state).authproxy.done = false;\n  (data->state).authproxy.multipass = false;\n  (data->state).authproxy.iestyle = false;\n  (data->state).authproxy.field_0xf = 0;\n  Curl_digest_cleanup(data);\n  return;\n}" primitive_type (function_declarator "curl_easy_reset(Curl_easy *data)" identifier (parameter_list "(Curl_easy *data)" ( (parameter_declaration "Curl_easy *data" type_identifier (pointer_declarator "*data" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  uint uVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  \n  bVar4 = 0;\n  puVar3 = (undefined4 *)((uint)&(data->set).debugdata & 0xfffffffc);\n  Curl_free_request_state(data);\n  Curl_freeset(data);\n  (data->set).err = (FILE *)0x0;\n  (data->set).trailer_callback = (curl_trailer_callback)0x0;\n  uVar2 = (uint)((int)data + (0xb20 - (int)puVar3)) >> 2;\n  for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  puVar3 = (undefined4 *)((uint)&(data->progress).size_dl & 0xfffffffc);\n  Curl_init_userdefined(data);\n  (data->progress).lastshow = 0;\n  (data->progress).speeder_c = 0;\n  uVar2 = (uint)((int)data + (0xc4c - (int)puVar3)) >> 2;\n  for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  Curl_initinfo(data);\n  piVar1 = &(data->progress).flags;\n  *piVar1 = *piVar1 | 0x10;\n  *(undefined4 *)&(data->state).current_speed = 0xffffffff;\n  *(undefined4 *)((int)&(data->state).current_speed + 4) = 0xffffffff;\n  (data->state).authhost.want = 0;\n  (data->state).authhost.picked = 0;\n  (data->state).authhost.avail = 0;\n  (data->state).authhost.done = false;\n  (data->state).authhost.multipass = false;\n  (data->state).authhost.iestyle = false;\n  (data->state).authhost.field_0xf = 0;\n  (data->state).authproxy.want = 0;\n  (data->state).authproxy.picked = 0;\n  (data->state).authproxy.avail = 0;\n  (data->state).authproxy.done = false;\n  (data->state).authproxy.multipass = false;\n  (data->state).authproxy.iestyle = false;\n  (data->state).authproxy.field_0xf = 0;\n  Curl_digest_cleanup(data);\n  return;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "uint uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "byte bVar4;" type_identifier identifier ;) (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" identifier = number_literal) ;) (expression_statement "puVar3 = (undefined4 *)((uint)&(data->set).debugdata & 0xfffffffc);" (assignment_expression "puVar3 = (undefined4 *)((uint)&(data->set).debugdata & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)&(data->set).debugdata & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)&(data->set).debugdata & 0xfffffffc)" ( (binary_expression "(uint)&(data->set).debugdata & 0xfffffffc" (binary_expression "(uint)&(data->set).debugdata" (parenthesized_expression "(uint)" ( identifier )) & (field_expression "(data->set).debugdata" (parenthesized_expression "(data->set)" ( (field_expression "data->set" identifier -> field_identifier) )) . field_identifier)) & number_literal) )))) ;) (expression_statement "Curl_free_request_state(data);" (call_expression "Curl_free_request_state(data)" identifier (argument_list "(data)" ( identifier ))) ;) (expression_statement "Curl_freeset(data);" (call_expression "Curl_freeset(data)" identifier (argument_list "(data)" ( identifier ))) ;) (expression_statement "(data->set).err = (FILE *)0x0;" (assignment_expression "(data->set).err = (FILE *)0x0" (field_expression "(data->set).err" (parenthesized_expression "(data->set)" ( (field_expression "data->set" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(data->set).trailer_callback = (curl_trailer_callback)0x0;" (assignment_expression "(data->set).trailer_callback = (curl_trailer_callback)0x0" (field_expression "(data->set).trailer_callback" (parenthesized_expression "(data->set)" ( (field_expression "data->set" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(curl_trailer_callback)0x0" ( (type_descriptor "curl_trailer_callback" type_identifier) ) number_literal)) ;) (expression_statement "uVar2 = (uint)((int)data + (0xb20 - (int)puVar3)) >> 2;" (assignment_expression "uVar2 = (uint)((int)data + (0xb20 - (int)puVar3)) >> 2" identifier = (binary_expression "(uint)((int)data + (0xb20 - (int)puVar3)) >> 2" (call_expression "(uint)((int)data + (0xb20 - (int)puVar3))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)data + (0xb20 - (int)puVar3))" ( (binary_expression "(int)data + (0xb20 - (int)puVar3)" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0xb20 - (int)puVar3)" ( (binary_expression "0xb20 - (int)puVar3" number_literal - (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) >> number_literal)) ;) (for_statement "for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }" for ( ; (binary_expression "uVar2 != 0" identifier != number_literal) ; (assignment_expression "uVar2 = uVar2 - 1" identifier = (binary_expression "uVar2 - 1" identifier - number_literal)) ) (compound_statement "{\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }" { (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3 = puVar3 + (uint)bVar4 * -2 + 1;" (assignment_expression "puVar3 = puVar3 + (uint)bVar4 * -2 + 1" identifier = (binary_expression "puVar3 + (uint)bVar4 * -2 + 1" (binary_expression "puVar3 + (uint)bVar4 * -2" identifier + (binary_expression "(uint)bVar4 * -2" (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "puVar3 = (undefined4 *)((uint)&(data->progress).size_dl & 0xfffffffc);" (assignment_expression "puVar3 = (undefined4 *)((uint)&(data->progress).size_dl & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)((uint)&(data->progress).size_dl & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)&(data->progress).size_dl & 0xfffffffc)" ( (binary_expression "(uint)&(data->progress).size_dl & 0xfffffffc" (binary_expression "(uint)&(data->progress).size_dl" (parenthesized_expression "(uint)" ( identifier )) & (field_expression "(data->progress).size_dl" (parenthesized_expression "(data->progress)" ( (field_expression "data->progress" identifier -> field_identifier) )) . field_identifier)) & number_literal) )))) ;) (expression_statement "Curl_init_userdefined(data);" (call_expression "Curl_init_userdefined(data)" identifier (argument_list "(data)" ( identifier ))) ;) (expression_statement "(data->progress).lastshow = 0;" (assignment_expression "(data->progress).lastshow = 0" (field_expression "(data->progress).lastshow" (parenthesized_expression "(data->progress)" ( (field_expression "data->progress" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "(data->progress).speeder_c = 0;" (assignment_expression "(data->progress).speeder_c = 0" (field_expression "(data->progress).speeder_c" (parenthesized_expression "(data->progress)" ( (field_expression "data->progress" identifier -> field_identifier) )) . field_identifier) = number_literal) ;) (expression_statement "uVar2 = (uint)((int)data + (0xc4c - (int)puVar3)) >> 2;" (assignment_expression "uVar2 = (uint)((int)data + (0xc4c - (int)puVar3)) >> 2" identifier = (binary_expression "(uint)((int)data + (0xc4c - (int)puVar3)) >> 2" (call_expression "(uint)((int)data + (0xc4c - (int)puVar3))" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)data + (0xc4c - (int)puVar3))" ( (binary_expression "(int)data + (0xc4c - (int)puVar3)" (cast_expression "(int)data" ( (type_descriptor "int" primitive_type) ) identifier) + (parenthesized_expression "(0xc4c - (int)puVar3)" ( (binary_expression "0xc4c - (int)puVar3" number_literal - (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) ))) ))) >> number_literal)) ;) (for_statement "for (; uVar2 != 0; uVar2 = uVar2 - 1) {\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }" for ( ; (binary_expression "uVar2 != 0" identifier != number_literal) ; (assignment_expression "uVar2 = uVar2 - 1" identifier = (binary_expression "uVar2 - 1" identifier - number_literal)) ) (compound_statement "{\n    *puVar3 = 0;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }" { (expression_statement "*puVar3 = 0;" (assignment_expression "*puVar3 = 0" (pointer_expression "*puVar3" * identifier) = number_literal) ;) (expression_statement "puVar3 = puVar3 + (uint)bVar4 * -2 + 1;" (assignment_expression "puVar3 = puVar3 + (uint)bVar4 * -2 + 1" identifier = (binary_expression "puVar3 + (uint)bVar4 * -2 + 1" (binary_expression "puVar3 + (uint)bVar4 * -2" identifier + (binary_expression "(uint)bVar4 * -2" (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "Curl_initinfo(data);" (call_expression "Curl_initinfo(data)" identifier (argument_list "(data)" ( identifier ))) ;) (expression_statement "piVar1 = &(data->progress).flags;" (assignment_expression "piVar1 = &(data->progress).flags" identifier = (pointer_expression "&(data->progress).flags" & (field_expression "(data->progress).flags" (parenthesized_expression "(data->progress)" ( (field_expression "data->progress" identifier -> field_identifier) )) . field_identifier))) ;) (expression_statement "*piVar1 = *piVar1 | 0x10;" (assignment_expression "*piVar1 = *piVar1 | 0x10" (pointer_expression "*piVar1" * identifier) = (binary_expression "*piVar1 | 0x10" (pointer_expression "*piVar1" * identifier) | number_literal)) ;) (expression_statement "*(undefined4 *)&(data->state).current_speed = 0xffffffff;" (assignment_expression "*(undefined4 *)&(data->state).current_speed = 0xffffffff" (pointer_expression "*(undefined4 *)&(data->state).current_speed" * (cast_expression "(undefined4 *)&(data->state).current_speed" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&(data->state).current_speed" & (field_expression "(data->state).current_speed" (parenthesized_expression "(data->state)" ( (field_expression "data->state" identifier -> field_identifier) )) . field_identifier)))) = number_literal) ;) (expression_statement "*(undefined4 *)((int)&(data->state).current_speed + 4) = 0xffffffff;" (assignment_expression "*(undefined4 *)((int)&(data->state).current_speed + 4) = 0xffffffff" (pointer_expression "*(undefined4 *)((int)&(data->state).current_speed + 4)" * (cast_expression "(undefined4 *)((int)&(data->state).current_speed + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&(data->state).current_speed + 4)" ( (binary_expression "(int)&(data->state).current_speed + 4" (cast_expression "(int)&(data->state).current_speed" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(data->state).current_speed" & (field_expression "(data->state).current_speed" (parenthesized_expression "(data->state)" ( (field_expression "data->state" identifier -> field_identifier) )) . field_identifier))) + number_literal) )))) = number_literal) ;) (expression_statement "(data->state).authhost.want = 0;" (assignment_expression "(data->state).authhost.want = 0" (field_expression "(data->state).authhost.want" (field_expression "(data->state).authhost" (parenthesized_expression "(data->state)" ( (field_expression "data->state" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "(data->state).authhost.picked = 0;" (assignment_expression "(data->state).authhost.picked = 0" (field_expression "(data->state).authhost.picked" (field_expression "(data->state).authhost" (parenthesized_expression "(data->state)" ( (field_expression "data->state" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "(data->state).authhost.avail = 0;" (assignment_expression "(data->state).authhost.avail = 0" (field_expression "(data->state).authhost.avail" (field_expression "(data->state).authhost" (parenthesized_expression "(data->state)" ( (field_expression "data->state" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "(data->state).authhost.done = false;" (assignment_expression "(data->state).authhost.done = false" (field_expression "(data->state).authhost.done" (field_expression "(data->state).authhost" (parenthesized_expression "(data->state)" ( (field_expression "data->state" identifier -> field_identifier) )) . field_identifier) . field_identifier) = false) ;) (expression_statement "(data->state).authhost.multipass = false;" (assignment_expression "(data->state).authhost.multipass = false" (field_expression "(data->state).authhost.multipass" (field_expression "(data->state).authhost" (parenthesized_expression "(data->state)" ( (field_expression "data->state" identifier -> field_identifier) )) . field_identifier) . field_identifier) = false) ;) (expression_statement "(data->state).authhost.iestyle = false;" (assignment_expression "(data->state).authhost.iestyle = false" (field_expression "(data->state).authhost.iestyle" (field_expression "(data->state).authhost" (parenthesized_expression "(data->state)" ( (field_expression "data->state" identifier -> field_identifier) )) . field_identifier) . field_identifier) = false) ;) (expression_statement "(data->state).authhost.field_0xf = 0;" (assignment_expression "(data->state).authhost.field_0xf = 0" (field_expression "(data->state).authhost.field_0xf" (field_expression "(data->state).authhost" (parenthesized_expression "(data->state)" ( (field_expression "data->state" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "(data->state).authproxy.want = 0;" (assignment_expression "(data->state).authproxy.want = 0" (field_expression "(data->state).authproxy.want" (field_expression "(data->state).authproxy" (parenthesized_expression "(data->state)" ( (field_expression "data->state" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "(data->state).authproxy.picked = 0;" (assignment_expression "(data->state).authproxy.picked = 0" (field_expression "(data->state).authproxy.picked" (field_expression "(data->state).authproxy" (parenthesized_expression "(data->state)" ( (field_expression "data->state" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "(data->state).authproxy.avail = 0;" (assignment_expression "(data->state).authproxy.avail = 0" (field_expression "(data->state).authproxy.avail" (field_expression "(data->state).authproxy" (parenthesized_expression "(data->state)" ( (field_expression "data->state" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "(data->state).authproxy.done = false;" (assignment_expression "(data->state).authproxy.done = false" (field_expression "(data->state).authproxy.done" (field_expression "(data->state).authproxy" (parenthesized_expression "(data->state)" ( (field_expression "data->state" identifier -> field_identifier) )) . field_identifier) . field_identifier) = false) ;) (expression_statement "(data->state).authproxy.multipass = false;" (assignment_expression "(data->state).authproxy.multipass = false" (field_expression "(data->state).authproxy.multipass" (field_expression "(data->state).authproxy" (parenthesized_expression "(data->state)" ( (field_expression "data->state" identifier -> field_identifier) )) . field_identifier) . field_identifier) = false) ;) (expression_statement "(data->state).authproxy.iestyle = false;" (assignment_expression "(data->state).authproxy.iestyle = false" (field_expression "(data->state).authproxy.iestyle" (field_expression "(data->state).authproxy" (parenthesized_expression "(data->state)" ( (field_expression "data->state" identifier -> field_identifier) )) . field_identifier) . field_identifier) = false) ;) (expression_statement "(data->state).authproxy.field_0xf = 0;" (assignment_expression "(data->state).authproxy.field_0xf = 0" (field_expression "(data->state).authproxy.field_0xf" (field_expression "(data->state).authproxy" (parenthesized_expression "(data->state)" ( (field_expression "data->state" identifier -> field_identifier) )) . field_identifier) . field_identifier) = number_literal) ;) (expression_statement "Curl_digest_cleanup(data);" (call_expression "Curl_digest_cleanup(data)" identifier (argument_list "(data)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 curl_easy_reset(undefined4 param_1,undefined4 param_2)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  int unaff_retaddr;\n  \n  bVar4 = 0;\n  uVar2 = 0;\n  entry(param_2,0x3ecbb);\n  puVar3 = (undefined4 *)(unaff_retaddr + 0x588U & 0xfffffffc);\n  FUN_00030240(unaff_retaddr);\n  FUN_0002f4e0(unaff_retaddr);\n  *(undefined4 *)(unaff_retaddr + 0x584) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xb1c) = 0;\n  uVar1 = (unaff_retaddr - (int)puVar3) + 0xb20U >> 2;\n  for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  puVar3 = (undefined4 *)(unaff_retaddr + 0xb44U & 0xfffffffc);\n  FUN_0002f670(unaff_retaddr);\n  *(undefined4 *)(unaff_retaddr + 0xb40) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xc48) = 0;\n  uVar1 = (unaff_retaddr - (int)puVar3) + 0xc4cU >> 2;\n  for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  FUN_0003b010(unaff_retaddr);\n  *(uint *)(unaff_retaddr + 0xb74) = *(uint *)(unaff_retaddr + 0xb74) | 0x10;\n  *(undefined4 *)(unaff_retaddr + 0xc70) = 0xffffffff;\n  *(undefined4 *)(unaff_retaddr + 0xc74) = 0xffffffff;\n  *(undefined4 *)(unaff_retaddr + 0xd48) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd4c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd50) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd54) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd58) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd5c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd60) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd64) = 0;\n  FUN_0004ba80(unaff_retaddr);\n  return;\n}\n\n" (function_definition "void __regparm3 curl_easy_reset(undefined4 param_1,undefined4 param_2)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  int unaff_retaddr;\n  \n  bVar4 = 0;\n  uVar2 = 0;\n  entry(param_2,0x3ecbb);\n  puVar3 = (undefined4 *)(unaff_retaddr + 0x588U & 0xfffffffc);\n  FUN_00030240(unaff_retaddr);\n  FUN_0002f4e0(unaff_retaddr);\n  *(undefined4 *)(unaff_retaddr + 0x584) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xb1c) = 0;\n  uVar1 = (unaff_retaddr - (int)puVar3) + 0xb20U >> 2;\n  for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  puVar3 = (undefined4 *)(unaff_retaddr + 0xb44U & 0xfffffffc);\n  FUN_0002f670(unaff_retaddr);\n  *(undefined4 *)(unaff_retaddr + 0xb40) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xc48) = 0;\n  uVar1 = (unaff_retaddr - (int)puVar3) + 0xc4cU >> 2;\n  for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  FUN_0003b010(unaff_retaddr);\n  *(uint *)(unaff_retaddr + 0xb74) = *(uint *)(unaff_retaddr + 0xb74) | 0x10;\n  *(undefined4 *)(unaff_retaddr + 0xc70) = 0xffffffff;\n  *(undefined4 *)(unaff_retaddr + 0xc74) = 0xffffffff;\n  *(undefined4 *)(unaff_retaddr + 0xd48) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd4c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd50) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd54) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd58) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd5c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd60) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd64) = 0;\n  FUN_0004ba80(unaff_retaddr);\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "curl_easy_reset(undefined4 param_1,undefined4 param_2)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) ))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  int unaff_retaddr;\n  \n  bVar4 = 0;\n  uVar2 = 0;\n  entry(param_2,0x3ecbb);\n  puVar3 = (undefined4 *)(unaff_retaddr + 0x588U & 0xfffffffc);\n  FUN_00030240(unaff_retaddr);\n  FUN_0002f4e0(unaff_retaddr);\n  *(undefined4 *)(unaff_retaddr + 0x584) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xb1c) = 0;\n  uVar1 = (unaff_retaddr - (int)puVar3) + 0xb20U >> 2;\n  for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  puVar3 = (undefined4 *)(unaff_retaddr + 0xb44U & 0xfffffffc);\n  FUN_0002f670(unaff_retaddr);\n  *(undefined4 *)(unaff_retaddr + 0xb40) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xc48) = 0;\n  uVar1 = (unaff_retaddr - (int)puVar3) + 0xc4cU >> 2;\n  for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  FUN_0003b010(unaff_retaddr);\n  *(uint *)(unaff_retaddr + 0xb74) = *(uint *)(unaff_retaddr + 0xb74) | 0x10;\n  *(undefined4 *)(unaff_retaddr + 0xc70) = 0xffffffff;\n  *(undefined4 *)(unaff_retaddr + 0xc74) = 0xffffffff;\n  *(undefined4 *)(unaff_retaddr + 0xd48) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd4c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd50) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd54) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd58) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd5c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd60) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd64) = 0;\n  FUN_0004ba80(unaff_retaddr);\n  return;\n}" { (declaration "uint uVar1;" type_identifier identifier ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "byte bVar4;" type_identifier identifier ;) (declaration "int unaff_retaddr;" primitive_type identifier ;) (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" identifier = number_literal) ;) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" identifier = number_literal) ;) (expression_statement "entry(param_2,0x3ecbb);" (call_expression "entry(param_2,0x3ecbb)" identifier (argument_list "(param_2,0x3ecbb)" ( identifier , number_literal ))) ;) (expression_statement "puVar3 = (undefined4 *)(unaff_retaddr + 0x588U & 0xfffffffc);" (assignment_expression "puVar3 = (undefined4 *)(unaff_retaddr + 0x588U & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)(unaff_retaddr + 0x588U & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x588U & 0xfffffffc)" ( (binary_expression "unaff_retaddr + 0x588U & 0xfffffffc" (binary_expression "unaff_retaddr + 0x588U" identifier + number_literal) & number_literal) )))) ;) (expression_statement "FUN_00030240(unaff_retaddr);" (call_expression "FUN_00030240(unaff_retaddr)" identifier (argument_list "(unaff_retaddr)" ( identifier ))) ;) (expression_statement "FUN_0002f4e0(unaff_retaddr);" (call_expression "FUN_0002f4e0(unaff_retaddr)" identifier (argument_list "(unaff_retaddr)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x584) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x584) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x584)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0x584)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x584)" ( (binary_expression "unaff_retaddr + 0x584" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xb1c) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xb1c) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xb1c)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xb1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xb1c)" ( (binary_expression "unaff_retaddr + 0xb1c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar1 = (unaff_retaddr - (int)puVar3) + 0xb20U >> 2;" (assignment_expression "uVar1 = (unaff_retaddr - (int)puVar3) + 0xb20U >> 2" identifier = (binary_expression "(unaff_retaddr - (int)puVar3) + 0xb20U >> 2" (binary_expression "(unaff_retaddr - (int)puVar3) + 0xb20U" (parenthesized_expression "(unaff_retaddr - (int)puVar3)" ( (binary_expression "unaff_retaddr - (int)puVar3" identifier - (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) + number_literal) >> number_literal)) ;) (for_statement "for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }" for ( ; (binary_expression "uVar1 != 0" identifier != number_literal) ; (assignment_expression "uVar1 = uVar1 - 1" identifier = (binary_expression "uVar1 - 1" identifier - number_literal)) ) (compound_statement "{\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }" { (expression_statement "*puVar3 = uVar2;" (assignment_expression "*puVar3 = uVar2" (pointer_expression "*puVar3" * identifier) = identifier) ;) (expression_statement "puVar3 = puVar3 + (uint)bVar4 * -2 + 1;" (assignment_expression "puVar3 = puVar3 + (uint)bVar4 * -2 + 1" identifier = (binary_expression "puVar3 + (uint)bVar4 * -2 + 1" (binary_expression "puVar3 + (uint)bVar4 * -2" identifier + (binary_expression "(uint)bVar4 * -2" (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "puVar3 = (undefined4 *)(unaff_retaddr + 0xb44U & 0xfffffffc);" (assignment_expression "puVar3 = (undefined4 *)(unaff_retaddr + 0xb44U & 0xfffffffc)" identifier = (cast_expression "(undefined4 *)(unaff_retaddr + 0xb44U & 0xfffffffc)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xb44U & 0xfffffffc)" ( (binary_expression "unaff_retaddr + 0xb44U & 0xfffffffc" (binary_expression "unaff_retaddr + 0xb44U" identifier + number_literal) & number_literal) )))) ;) (expression_statement "FUN_0002f670(unaff_retaddr);" (call_expression "FUN_0002f670(unaff_retaddr)" identifier (argument_list "(unaff_retaddr)" ( identifier ))) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xb40) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xb40) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xb40)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xb40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xb40)" ( (binary_expression "unaff_retaddr + 0xb40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xc48) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xc48) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xc48)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xc48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xc48)" ( (binary_expression "unaff_retaddr + 0xc48" identifier + number_literal) )))) = number_literal) ;) (expression_statement "uVar1 = (unaff_retaddr - (int)puVar3) + 0xc4cU >> 2;" (assignment_expression "uVar1 = (unaff_retaddr - (int)puVar3) + 0xc4cU >> 2" identifier = (binary_expression "(unaff_retaddr - (int)puVar3) + 0xc4cU >> 2" (binary_expression "(unaff_retaddr - (int)puVar3) + 0xc4cU" (parenthesized_expression "(unaff_retaddr - (int)puVar3)" ( (binary_expression "unaff_retaddr - (int)puVar3" identifier - (cast_expression "(int)puVar3" ( (type_descriptor "int" primitive_type) ) identifier)) )) + number_literal) >> number_literal)) ;) (for_statement "for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }" for ( ; (binary_expression "uVar1 != 0" identifier != number_literal) ; (assignment_expression "uVar1 = uVar1 - 1" identifier = (binary_expression "uVar1 - 1" identifier - number_literal)) ) (compound_statement "{\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }" { (expression_statement "*puVar3 = uVar2;" (assignment_expression "*puVar3 = uVar2" (pointer_expression "*puVar3" * identifier) = identifier) ;) (expression_statement "puVar3 = puVar3 + (uint)bVar4 * -2 + 1;" (assignment_expression "puVar3 = puVar3 + (uint)bVar4 * -2 + 1" identifier = (binary_expression "puVar3 + (uint)bVar4 * -2 + 1" (binary_expression "puVar3 + (uint)bVar4 * -2" identifier + (binary_expression "(uint)bVar4 * -2" (cast_expression "(uint)bVar4" ( (type_descriptor "uint" type_identifier) ) identifier) * number_literal)) + number_literal)) ;) })) (expression_statement "FUN_0003b010(unaff_retaddr);" (call_expression "FUN_0003b010(unaff_retaddr)" identifier (argument_list "(unaff_retaddr)" ( identifier ))) ;) (expression_statement "*(uint *)(unaff_retaddr + 0xb74) = *(uint *)(unaff_retaddr + 0xb74) | 0x10;" (assignment_expression "*(uint *)(unaff_retaddr + 0xb74) = *(uint *)(unaff_retaddr + 0xb74) | 0x10" (pointer_expression "*(uint *)(unaff_retaddr + 0xb74)" * (cast_expression "(uint *)(unaff_retaddr + 0xb74)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xb74)" ( (binary_expression "unaff_retaddr + 0xb74" identifier + number_literal) )))) = (binary_expression "*(uint *)(unaff_retaddr + 0xb74) | 0x10" (pointer_expression "*(uint *)(unaff_retaddr + 0xb74)" * (cast_expression "(uint *)(unaff_retaddr + 0xb74)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xb74)" ( (binary_expression "unaff_retaddr + 0xb74" identifier + number_literal) )))) | number_literal)) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xc70) = 0xffffffff;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xc70) = 0xffffffff" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xc70)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xc70)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xc70)" ( (binary_expression "unaff_retaddr + 0xc70" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xc74) = 0xffffffff;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xc74) = 0xffffffff" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xc74)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xc74)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xc74)" ( (binary_expression "unaff_retaddr + 0xc74" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd48) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd48) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd48)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xd48)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd48)" ( (binary_expression "unaff_retaddr + 0xd48" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd4c) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd4c) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd4c)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xd4c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd4c)" ( (binary_expression "unaff_retaddr + 0xd4c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd50) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd50) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd50)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xd50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd50)" ( (binary_expression "unaff_retaddr + 0xd50" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd54) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd54) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd54)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xd54)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd54)" ( (binary_expression "unaff_retaddr + 0xd54" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd58) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd58) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd58)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xd58)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd58)" ( (binary_expression "unaff_retaddr + 0xd58" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd5c) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd5c) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd5c)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xd5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd5c)" ( (binary_expression "unaff_retaddr + 0xd5c" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd60) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd60) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd60)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xd60)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd60)" ( (binary_expression "unaff_retaddr + 0xd60" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd64) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd64) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd64)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xd64)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xd64)" ( (binary_expression "unaff_retaddr + 0xd64" identifier + number_literal) )))) = number_literal) ;) (expression_statement "FUN_0004ba80(unaff_retaddr);" (call_expression "FUN_0004ba80(unaff_retaddr)" identifier (argument_list "(unaff_retaddr)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) & LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (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) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) + LIT) >> LIT)) ;) (for_statement for ( ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) & LIT) )))) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (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) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT - (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) + LIT) >> LIT)) ;) (for_statement for ( ; (binary_expression IDENT != LIT) ; (assignment_expression IDENT = (binary_expression IDENT - LIT)) ) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT)) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_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) ;) (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) ;) (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) ;) (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) ;) (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) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void __regparm3 curl_easy_reset(undefined4 param_1,undefined4 param_2)\n\n{\n  uint uVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  int unaff_retaddr;\n  \n  bVar4 = 0;\n  uVar2 = 0;\n  entry(param_2,0x3ecbb);\n  puVar3 = (undefined4 *)(unaff_retaddr + 0x588U & 0xfffffffc);\n  FUN_00030240(unaff_retaddr);\n  FUN_0002f4e0(unaff_retaddr);\n  *(undefined4 *)(unaff_retaddr + 0x584) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xb1c) = 0;\n  uVar1 = (unaff_retaddr - (int)puVar3) + 0xb20U >> 2;\n  for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  puVar3 = (undefined4 *)(unaff_retaddr + 0xb44U & 0xfffffffc);\n  FUN_0002f670(unaff_retaddr);\n  *(undefined4 *)(unaff_retaddr + 0xb40) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xc48) = 0;\n  uVar1 = (unaff_retaddr - (int)puVar3) + 0xc4cU >> 2;\n  for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  FUN_0003b010(unaff_retaddr);\n  *(uint *)(unaff_retaddr + 0xb74) = *(uint *)(unaff_retaddr + 0xb74) | 0x10;\n  *(undefined4 *)(unaff_retaddr + 0xc70) = 0xffffffff;\n  *(undefined4 *)(unaff_retaddr + 0xc74) = 0xffffffff;\n  *(undefined4 *)(unaff_retaddr + 0xd48) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd4c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd50) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd54) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd58) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd5c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd60) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd64) = 0;\n  FUN_0004ba80(unaff_retaddr);\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "curl_easy_reset(undefined4 param_1,undefined4 param_2)" (identifier "curl_easy_reset") (parameter_list "(undefined4 param_1,undefined4 param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) () ")"))) (compound_statement "{\n  uint uVar1;\n  undefined4 uVar2;\n  undefined4 *puVar3;\n  byte bVar4;\n  int unaff_retaddr;\n  \n  bVar4 = 0;\n  uVar2 = 0;\n  entry(param_2,0x3ecbb);\n  puVar3 = (undefined4 *)(unaff_retaddr + 0x588U & 0xfffffffc);\n  FUN_00030240(unaff_retaddr);\n  FUN_0002f4e0(unaff_retaddr);\n  *(undefined4 *)(unaff_retaddr + 0x584) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xb1c) = 0;\n  uVar1 = (unaff_retaddr - (int)puVar3) + 0xb20U >> 2;\n  for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  puVar3 = (undefined4 *)(unaff_retaddr + 0xb44U & 0xfffffffc);\n  FUN_0002f670(unaff_retaddr);\n  *(undefined4 *)(unaff_retaddr + 0xb40) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xc48) = 0;\n  uVar1 = (unaff_retaddr - (int)puVar3) + 0xc4cU >> 2;\n  for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }\n  FUN_0003b010(unaff_retaddr);\n  *(uint *)(unaff_retaddr + 0xb74) = *(uint *)(unaff_retaddr + 0xb74) | 0x10;\n  *(undefined4 *)(unaff_retaddr + 0xc70) = 0xffffffff;\n  *(undefined4 *)(unaff_retaddr + 0xc74) = 0xffffffff;\n  *(undefined4 *)(unaff_retaddr + 0xd48) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd4c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd50) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd54) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd58) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd5c) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd60) = 0;\n  *(undefined4 *)(unaff_retaddr + 0xd64) = 0;\n  FUN_0004ba80(unaff_retaddr);\n  return;\n}" ({ "{") (declaration "uint uVar1;" (type_identifier "uint") (identifier "uVar1") (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "byte bVar4;" (type_identifier "byte") (identifier "bVar4") (; ";")) (declaration "int unaff_retaddr;" (primitive_type "int") (identifier "unaff_retaddr") (; ";")) (expression_statement "bVar4 = 0;" (assignment_expression "bVar4 = 0" (identifier "bVar4") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar2 = 0;" (assignment_expression "uVar2 = 0" (identifier "uVar2") (= "=") (number_literal "0")) (; ";")) (expression_statement "entry(param_2,0x3ecbb);" (call_expression "entry(param_2,0x3ecbb)" (identifier "entry") (argument_list "(param_2,0x3ecbb)" (( "(") (identifier "param_2") (, ",") (number_literal "0x3ecbb") () ")"))) (; ";")) (expression_statement "puVar3 = (undefined4 *)(unaff_retaddr + 0x588U & 0xfffffffc);" (assignment_expression "puVar3 = (undefined4 *)(unaff_retaddr + 0x588U & 0xfffffffc)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)(unaff_retaddr + 0x588U & 0xfffffffc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x588U & 0xfffffffc)" (( "(") (binary_expression "unaff_retaddr + 0x588U & 0xfffffffc" (binary_expression "unaff_retaddr + 0x588U" (identifier "unaff_retaddr") (+ "+") (number_literal "0x588U")) (& "&") (number_literal "0xfffffffc")) () ")")))) (; ";")) (expression_statement "FUN_00030240(unaff_retaddr);" (call_expression "FUN_00030240(unaff_retaddr)" (identifier "FUN_00030240") (argument_list "(unaff_retaddr)" (( "(") (identifier "unaff_retaddr") () ")"))) (; ";")) (expression_statement "FUN_0002f4e0(unaff_retaddr);" (call_expression "FUN_0002f4e0(unaff_retaddr)" (identifier "FUN_0002f4e0") (argument_list "(unaff_retaddr)" (( "(") (identifier "unaff_retaddr") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0x584) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0x584) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0x584)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0x584)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x584)" (( "(") (binary_expression "unaff_retaddr + 0x584" (identifier "unaff_retaddr") (+ "+") (number_literal "0x584")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xb1c) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xb1c) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xb1c)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0xb1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xb1c)" (( "(") (binary_expression "unaff_retaddr + 0xb1c" (identifier "unaff_retaddr") (+ "+") (number_literal "0xb1c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar1 = (unaff_retaddr - (int)puVar3) + 0xb20U >> 2;" (assignment_expression "uVar1 = (unaff_retaddr - (int)puVar3) + 0xb20U >> 2" (identifier "uVar1") (= "=") (binary_expression "(unaff_retaddr - (int)puVar3) + 0xb20U >> 2" (binary_expression "(unaff_retaddr - (int)puVar3) + 0xb20U" (parenthesized_expression "(unaff_retaddr - (int)puVar3)" (( "(") (binary_expression "unaff_retaddr - (int)puVar3" (identifier "unaff_retaddr") (- "-") (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3"))) () ")")) (+ "+") (number_literal "0xb20U")) (>> ">>") (number_literal "2"))) (; ";")) (for_statement "for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }" (for "for") (( "(") (; ";") (binary_expression "uVar1 != 0" (identifier "uVar1") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar1 = uVar1 - 1" (identifier "uVar1") (= "=") (binary_expression "uVar1 - 1" (identifier "uVar1") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }" ({ "{") (expression_statement "*puVar3 = uVar2;" (assignment_expression "*puVar3 = uVar2" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "puVar3 = puVar3 + (uint)bVar4 * -2 + 1;" (assignment_expression "puVar3 = puVar3 + (uint)bVar4 * -2 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + (uint)bVar4 * -2 + 1" (binary_expression "puVar3 + (uint)bVar4 * -2" (identifier "puVar3") (+ "+") (binary_expression "(uint)bVar4 * -2" (cast_expression "(uint)bVar4" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar4")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "puVar3 = (undefined4 *)(unaff_retaddr + 0xb44U & 0xfffffffc);" (assignment_expression "puVar3 = (undefined4 *)(unaff_retaddr + 0xb44U & 0xfffffffc)" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)(unaff_retaddr + 0xb44U & 0xfffffffc)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xb44U & 0xfffffffc)" (( "(") (binary_expression "unaff_retaddr + 0xb44U & 0xfffffffc" (binary_expression "unaff_retaddr + 0xb44U" (identifier "unaff_retaddr") (+ "+") (number_literal "0xb44U")) (& "&") (number_literal "0xfffffffc")) () ")")))) (; ";")) (expression_statement "FUN_0002f670(unaff_retaddr);" (call_expression "FUN_0002f670(unaff_retaddr)" (identifier "FUN_0002f670") (argument_list "(unaff_retaddr)" (( "(") (identifier "unaff_retaddr") () ")"))) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xb40) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xb40) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xb40)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0xb40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xb40)" (( "(") (binary_expression "unaff_retaddr + 0xb40" (identifier "unaff_retaddr") (+ "+") (number_literal "0xb40")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xc48) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xc48) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xc48)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0xc48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xc48)" (( "(") (binary_expression "unaff_retaddr + 0xc48" (identifier "unaff_retaddr") (+ "+") (number_literal "0xc48")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar1 = (unaff_retaddr - (int)puVar3) + 0xc4cU >> 2;" (assignment_expression "uVar1 = (unaff_retaddr - (int)puVar3) + 0xc4cU >> 2" (identifier "uVar1") (= "=") (binary_expression "(unaff_retaddr - (int)puVar3) + 0xc4cU >> 2" (binary_expression "(unaff_retaddr - (int)puVar3) + 0xc4cU" (parenthesized_expression "(unaff_retaddr - (int)puVar3)" (( "(") (binary_expression "unaff_retaddr - (int)puVar3" (identifier "unaff_retaddr") (- "-") (cast_expression "(int)puVar3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "puVar3"))) () ")")) (+ "+") (number_literal "0xc4cU")) (>> ">>") (number_literal "2"))) (; ";")) (for_statement "for (; uVar1 != 0; uVar1 = uVar1 - 1) {\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }" (for "for") (( "(") (; ";") (binary_expression "uVar1 != 0" (identifier "uVar1") (!= "!=") (number_literal "0")) (; ";") (assignment_expression "uVar1 = uVar1 - 1" (identifier "uVar1") (= "=") (binary_expression "uVar1 - 1" (identifier "uVar1") (- "-") (number_literal "1"))) () ")") (compound_statement "{\n    *puVar3 = uVar2;\n    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;\n  }" ({ "{") (expression_statement "*puVar3 = uVar2;" (assignment_expression "*puVar3 = uVar2" (pointer_expression "*puVar3" (* "*") (identifier "puVar3")) (= "=") (identifier "uVar2")) (; ";")) (expression_statement "puVar3 = puVar3 + (uint)bVar4 * -2 + 1;" (assignment_expression "puVar3 = puVar3 + (uint)bVar4 * -2 + 1" (identifier "puVar3") (= "=") (binary_expression "puVar3 + (uint)bVar4 * -2 + 1" (binary_expression "puVar3 + (uint)bVar4 * -2" (identifier "puVar3") (+ "+") (binary_expression "(uint)bVar4 * -2" (cast_expression "(uint)bVar4" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "bVar4")) (* "*") (number_literal "-2"))) (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "FUN_0003b010(unaff_retaddr);" (call_expression "FUN_0003b010(unaff_retaddr)" (identifier "FUN_0003b010") (argument_list "(unaff_retaddr)" (( "(") (identifier "unaff_retaddr") () ")"))) (; ";")) (expression_statement "*(uint *)(unaff_retaddr + 0xb74) = *(uint *)(unaff_retaddr + 0xb74) | 0x10;" (assignment_expression "*(uint *)(unaff_retaddr + 0xb74) = *(uint *)(unaff_retaddr + 0xb74) | 0x10" (pointer_expression "*(uint *)(unaff_retaddr + 0xb74)" (* "*") (cast_expression "(uint *)(unaff_retaddr + 0xb74)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xb74)" (( "(") (binary_expression "unaff_retaddr + 0xb74" (identifier "unaff_retaddr") (+ "+") (number_literal "0xb74")) () ")")))) (= "=") (binary_expression "*(uint *)(unaff_retaddr + 0xb74) | 0x10" (pointer_expression "*(uint *)(unaff_retaddr + 0xb74)" (* "*") (cast_expression "(uint *)(unaff_retaddr + 0xb74)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xb74)" (( "(") (binary_expression "unaff_retaddr + 0xb74" (identifier "unaff_retaddr") (+ "+") (number_literal "0xb74")) () ")")))) (| "|") (number_literal "0x10"))) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xc70) = 0xffffffff;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xc70) = 0xffffffff" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xc70)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0xc70)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xc70)" (( "(") (binary_expression "unaff_retaddr + 0xc70" (identifier "unaff_retaddr") (+ "+") (number_literal "0xc70")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xc74) = 0xffffffff;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xc74) = 0xffffffff" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xc74)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0xc74)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xc74)" (( "(") (binary_expression "unaff_retaddr + 0xc74" (identifier "unaff_retaddr") (+ "+") (number_literal "0xc74")) () ")")))) (= "=") (number_literal "0xffffffff")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd48) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd48) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd48)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0xd48)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xd48)" (( "(") (binary_expression "unaff_retaddr + 0xd48" (identifier "unaff_retaddr") (+ "+") (number_literal "0xd48")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd4c) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd4c) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd4c)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0xd4c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xd4c)" (( "(") (binary_expression "unaff_retaddr + 0xd4c" (identifier "unaff_retaddr") (+ "+") (number_literal "0xd4c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd50) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd50) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd50)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0xd50)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xd50)" (( "(") (binary_expression "unaff_retaddr + 0xd50" (identifier "unaff_retaddr") (+ "+") (number_literal "0xd50")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd54) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd54) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd54)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0xd54)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xd54)" (( "(") (binary_expression "unaff_retaddr + 0xd54" (identifier "unaff_retaddr") (+ "+") (number_literal "0xd54")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd58) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd58) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd58)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0xd58)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xd58)" (( "(") (binary_expression "unaff_retaddr + 0xd58" (identifier "unaff_retaddr") (+ "+") (number_literal "0xd58")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd5c) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd5c) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd5c)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0xd5c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xd5c)" (( "(") (binary_expression "unaff_retaddr + 0xd5c" (identifier "unaff_retaddr") (+ "+") (number_literal "0xd5c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd60) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd60) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd60)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0xd60)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xd60)" (( "(") (binary_expression "unaff_retaddr + 0xd60" (identifier "unaff_retaddr") (+ "+") (number_literal "0xd60")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xd64) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xd64) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xd64)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0xd64)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xd64)" (( "(") (binary_expression "unaff_retaddr + 0xd64" (identifier "unaff_retaddr") (+ "+") (number_literal "0xd64")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "FUN_0004ba80(unaff_retaddr);" (call_expression "FUN_0004ba80(unaff_retaddr)" (identifier "FUN_0004ba80") (argument_list "(unaff_retaddr)" (( "(") (identifier "unaff_retaddr") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *data)

{
  int *piVar1;
  type_2 var_3;
  type_3 *var_4;
  type_4 bVar4;
  
  bVar4 = 0;
  var_4 = (type_3 *)((type_2)&(data->set).debugdata & 0xfffffffc);
  var_1(data);
  var_2(data);
  (data->set).err = (type_5 *)0x0;
  (data->set).trailer_callback = (type_6)0x0;
  var_3 = (type_2)((int)data + (0xb20 - (int)var_4)) >> 2;
  for (; var_3 != 0; var_3 = var_3 - 1) {
    *var_4 = 0;
    var_4 = var_4 + (type_2)bVar4 * -2 + 1;
  }
  var_4 = (type_3 *)((type_2)&(data->progress).size_dl & 0xfffffffc);
  var_5(data);
  (data->progress).lastshow = 0;
  (data->progress).speeder_c = 0;
  var_3 = (type_2)((int)data + (0xc4c - (int)var_4)) >> 2;
  for (; var_3 != 0; var_3 = var_3 - 1) {
    *var_4 = 0;
    var_4 = var_4 + (type_2)bVar4 * -2 + 1;
  }
  var_6(data);
  piVar1 = &(data->progress).flags;
  *piVar1 = *piVar1 | 0x10;
  *(type_3 *)&(data->state).current_speed = 0xffffffff;
  *(type_3 *)((int)&(data->state).current_speed + 4) = 0xffffffff;
  (data->state).authhost.want = 0;
  (data->state).authhost.picked = 0;
  (data->state).authhost.avail = 0;
  (data->state).authhost.done = false;
  (data->state).authhost.multipass = false;
  (data->state).authhost.iestyle = false;
  (data->state).authhost.field_0xf = 0;
  (data->state).authproxy.want = 0;
  (data->state).authproxy.picked = 0;
  (data->state).authproxy.avail = 0;
  (data->state).authproxy.done = false;
  (data->state).authproxy.multipass = false;
  (data->state).authproxy.iestyle = false;
  (data->state).authproxy.field_0xf = 0;
  var_7(data);
  return;
}


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

void __regparm3 MASKED(undefined4 param_1,undefined4 param_2)

{
  uint uVar1;
  undefined4 uVar2;
  undefined4 *puVar3;
  byte bVar4;
  int unaff_retaddr;
  
  bVar4 = 0;
  uVar2 = 0;
  entry(param_2,0x3ecbb);
  puVar3 = (undefined4 *)(unaff_retaddr + 0x588U & 0xfffffffc);
  FUN_00030240(unaff_retaddr);
  FUN_0002f4e0(unaff_retaddr);
  *(undefined4 *)(unaff_retaddr + 0x584) = 0;
  *(undefined4 *)(unaff_retaddr + 0xb1c) = 0;
  uVar1 = (unaff_retaddr - (int)puVar3) + 0xb20U >> 2;
  for (; uVar1 != 0; uVar1 = uVar1 - 1) {
    *puVar3 = uVar2;
    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;
  }
  puVar3 = (undefined4 *)(unaff_retaddr + 0xb44U & 0xfffffffc);
  FUN_0002f670(unaff_retaddr);
  *(undefined4 *)(unaff_retaddr + 0xb40) = 0;
  *(undefined4 *)(unaff_retaddr + 0xc48) = 0;
  uVar1 = (unaff_retaddr - (int)puVar3) + 0xc4cU >> 2;
  for (; uVar1 != 0; uVar1 = uVar1 - 1) {
    *puVar3 = uVar2;
    puVar3 = puVar3 + (uint)bVar4 * -2 + 1;
  }
  FUN_0003b010(unaff_retaddr);
  *(uint *)(unaff_retaddr + 0xb74) = *(uint *)(unaff_retaddr + 0xb74) | 0x10;
  *(undefined4 *)(unaff_retaddr + 0xc70) = 0xffffffff;
  *(undefined4 *)(unaff_retaddr + 0xc74) = 0xffffffff;
  *(undefined4 *)(unaff_retaddr + 0xd48) = 0;
  *(undefined4 *)(unaff_retaddr + 0xd4c) = 0;
  *(undefined4 *)(unaff_retaddr + 0xd50) = 0;
  *(undefined4 *)(unaff_retaddr + 0xd54) = 0;
  *(undefined4 *)(unaff_retaddr + 0xd58) = 0;
  *(undefined4 *)(unaff_retaddr + 0xd5c) = 0;
  *(undefined4 *)(unaff_retaddr + 0xd60) = 0;
  *(undefined4 *)(unaff_retaddr + 0xd64) = 0;
  FUN_0004ba80(unaff_retaddr);
  return;
}

