
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void Curl_hash_destroy(curl_hash *h)

{
  int iVar1;
  int iVar2;
  
  if (0 < h->slots) {
    iVar1 = 0;
    do {
      iVar2 = iVar1 + 1;
      Curl_llist_destroy(h->table + iVar1,h);
      iVar1 = iVar2;
    } while (iVar2 < h->slots);
  }
  (*Curl_cfree)(h->table);
  h->table = (curl_llist *)0x0;
  h->size = 0;
  h->slots = 0;
  return;
}



void __regparm2 FUN_00041b00(undefined4 param_1,undefined4 param_2,int *param_3)

{
  int unaff_EBX;
  int iVar1;
  int iVar2;
  
  entry(param_2,0x41b0c);
  if (0 < param_3[4]) {
    iVar1 = 0;
    do {
      iVar2 = iVar1 + 1;
      FUN_000416e0(iVar1 * 0x10 + *param_3,param_3);
      iVar1 = iVar2;
    } while (iVar2 < param_3[4]);
  }
  (**(code **)(unaff_EBX + 0x6f560))(*param_3);
  *param_3 = 0;
  param_3[5] = 0;
  param_3[4] = 0;
  return;
}


PUSH EDI
PUSH ESI
PUSH EBX
MOV EDI,dword ptr [ESP + 0x10]
CALL 0x00019ed0
ADD EBX,0x6ecd4
MOV EAX,dword ptr [EDI + 0x10]
TEST EAX,EAX
JLE 0x00041b3c
XOR ESI,ESI
LEA ESI,[ESI]
NOP
MOV EAX,ESI
SUB ESP,0x8
ADD ESI,0x1
SHL EAX,0x4
ADD EAX,dword ptr [EDI]
PUSH EDI
PUSH EAX
CALL 0x000416e0
ADD ESP,0x10
CMP dword ptr [EDI + 0x10],ESI
JG 0x00041b20
SUB ESP,0xc
PUSH dword ptr [EDI]
LEA EAX,[EBX + 0x88c]
CALL dword ptr [EAX]
MOV dword ptr [EDI],0x0
ADD ESP,0x10
MOV dword ptr [EDI + 0x14],0x0
MOV dword ptr [EDI + 0x10],0x0
POP EBX
POP ESI
POP EDI
RET
(translation_unit "void __regparm2 FUN_00041b00(undefined4 param_1,undefined4 param_2,int *param_3)\n\n{\n  int unaff_EBX;\n  int iVar1;\n  int iVar2;\n  \n  entry(param_2,0x41b0c);\n  if (0 < param_3[4]) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      FUN_000416e0(iVar1 * 0x10 + *param_3,param_3);\n      iVar1 = iVar2;\n    } while (iVar2 < param_3[4]);\n  }\n  (**(code **)(unaff_EBX + 0x6f560))(*param_3);\n  *param_3 = 0;\n  param_3[5] = 0;\n  param_3[4] = 0;\n  return;\n}\n\n" (function_definition "void __regparm2 FUN_00041b00(undefined4 param_1,undefined4 param_2,int *param_3)\n\n{\n  int unaff_EBX;\n  int iVar1;\n  int iVar2;\n  \n  entry(param_2,0x41b0c);\n  if (0 < param_3[4]) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      FUN_000416e0(iVar1 * 0x10 + *param_3,param_3);\n      iVar1 = iVar2;\n    } while (iVar2 < param_3[4]);\n  }\n  (**(code **)(unaff_EBX + 0x6f560))(*param_3);\n  *param_3 = 0;\n  param_3[5] = 0;\n  param_3[4] = 0;\n  return;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_00041b00(undefined4 param_1,undefined4 param_2,int *param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int unaff_EBX;\n  int iVar1;\n  int iVar2;\n  \n  entry(param_2,0x41b0c);\n  if (0 < param_3[4]) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      FUN_000416e0(iVar1 * 0x10 + *param_3,param_3);\n      iVar1 = iVar2;\n    } while (iVar2 < param_3[4]);\n  }\n  (**(code **)(unaff_EBX + 0x6f560))(*param_3);\n  *param_3 = 0;\n  param_3[5] = 0;\n  param_3[4] = 0;\n  return;\n}" { (declaration "int unaff_EBX;" primitive_type identifier ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "entry(param_2,0x41b0c);" (call_expression "entry(param_2,0x41b0c)" identifier (argument_list "(param_2,0x41b0c)" ( identifier , number_literal ))) ;) (if_statement "if (0 < param_3[4]) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      FUN_000416e0(iVar1 * 0x10 + *param_3,param_3);\n      iVar1 = iVar2;\n    } while (iVar2 < param_3[4]);\n  }" if (parenthesized_expression "(0 < param_3[4])" ( (binary_expression "0 < param_3[4]" number_literal < (subscript_expression "param_3[4]" identifier [ number_literal ])) )) (compound_statement "{\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      FUN_000416e0(iVar1 * 0x10 + *param_3,param_3);\n      iVar1 = iVar2;\n    } while (iVar2 < param_3[4]);\n  }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar2 = iVar1 + 1;\n      FUN_000416e0(iVar1 * 0x10 + *param_3,param_3);\n      iVar1 = iVar2;\n    } while (iVar2 < param_3[4]);" do (compound_statement "{\n      iVar2 = iVar1 + 1;\n      FUN_000416e0(iVar1 * 0x10 + *param_3,param_3);\n      iVar1 = iVar2;\n    }" { (expression_statement "iVar2 = iVar1 + 1;" (assignment_expression "iVar2 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "FUN_000416e0(iVar1 * 0x10 + *param_3,param_3);" (call_expression "FUN_000416e0(iVar1 * 0x10 + *param_3,param_3)" identifier (argument_list "(iVar1 * 0x10 + *param_3,param_3)" ( (binary_expression "iVar1 * 0x10 + *param_3" (binary_expression "iVar1 * 0x10" identifier * number_literal) + (pointer_expression "*param_3" * identifier)) , identifier ))) ;) (expression_statement "iVar1 = iVar2;" (assignment_expression "iVar1 = iVar2" identifier = identifier) ;) }) while (parenthesized_expression "(iVar2 < param_3[4])" ( (binary_expression "iVar2 < param_3[4]" identifier < (subscript_expression "param_3[4]" identifier [ number_literal ])) )) ;) })) (expression_statement "(**(code **)(unaff_EBX + 0x6f560))(*param_3);" (call_expression "(**(code **)(unaff_EBX + 0x6f560))(*param_3)" (parenthesized_expression "(**(code **)(unaff_EBX + 0x6f560))" ( (pointer_expression "**(code **)(unaff_EBX + 0x6f560)" * (pointer_expression "*(code **)(unaff_EBX + 0x6f560)" * (cast_expression "(code **)(unaff_EBX + 0x6f560)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBX + 0x6f560)" ( (binary_expression "unaff_EBX + 0x6f560" identifier + number_literal) ))))) )) (argument_list "(*param_3)" ( (pointer_expression "*param_3" * identifier) ))) ;) (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;) (expression_statement "param_3[5] = 0;" (assignment_expression "param_3[5] = 0" (subscript_expression "param_3[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_3[4] = 0;" (assignment_expression "param_3[4] = 0" (subscript_expression "param_3[4]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n\nvoid Curl_hash_destroy(curl_hash *h)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (0 < h->slots) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      Curl_llist_destroy(h->table + iVar1,h);\n      iVar1 = iVar2;\n    } while (iVar2 < h->slots);\n  }\n  (*Curl_cfree)(h->table);\n  h->table = (curl_llist *)0x0;\n  h->size = 0;\n  h->slots = 0;\n  return;\n}\n\n" comment comment (function_definition "void Curl_hash_destroy(curl_hash *h)\n\n{\n  int iVar1;\n  int iVar2;\n  \n  if (0 < h->slots) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      Curl_llist_destroy(h->table + iVar1,h);\n      iVar1 = iVar2;\n    } while (iVar2 < h->slots);\n  }\n  (*Curl_cfree)(h->table);\n  h->table = (curl_llist *)0x0;\n  h->size = 0;\n  h->slots = 0;\n  return;\n}" primitive_type (function_declarator "Curl_hash_destroy(curl_hash *h)" identifier (parameter_list "(curl_hash *h)" ( (parameter_declaration "curl_hash *h" type_identifier (pointer_declarator "*h" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  int iVar2;\n  \n  if (0 < h->slots) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      Curl_llist_destroy(h->table + iVar1,h);\n      iVar1 = iVar2;\n    } while (iVar2 < h->slots);\n  }\n  (*Curl_cfree)(h->table);\n  h->table = (curl_llist *)0x0;\n  h->size = 0;\n  h->slots = 0;\n  return;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (if_statement "if (0 < h->slots) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      Curl_llist_destroy(h->table + iVar1,h);\n      iVar1 = iVar2;\n    } while (iVar2 < h->slots);\n  }" if (parenthesized_expression "(0 < h->slots)" ( (binary_expression "0 < h->slots" number_literal < (field_expression "h->slots" identifier -> field_identifier)) )) (compound_statement "{\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      Curl_llist_destroy(h->table + iVar1,h);\n      iVar1 = iVar2;\n    } while (iVar2 < h->slots);\n  }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar2 = iVar1 + 1;\n      Curl_llist_destroy(h->table + iVar1,h);\n      iVar1 = iVar2;\n    } while (iVar2 < h->slots);" do (compound_statement "{\n      iVar2 = iVar1 + 1;\n      Curl_llist_destroy(h->table + iVar1,h);\n      iVar1 = iVar2;\n    }" { (expression_statement "iVar2 = iVar1 + 1;" (assignment_expression "iVar2 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "Curl_llist_destroy(h->table + iVar1,h);" (call_expression "Curl_llist_destroy(h->table + iVar1,h)" identifier (argument_list "(h->table + iVar1,h)" ( (binary_expression "h->table + iVar1" (field_expression "h->table" identifier -> field_identifier) + identifier) , identifier ))) ;) (expression_statement "iVar1 = iVar2;" (assignment_expression "iVar1 = iVar2" identifier = identifier) ;) }) while (parenthesized_expression "(iVar2 < h->slots)" ( (binary_expression "iVar2 < h->slots" identifier < (field_expression "h->slots" identifier -> field_identifier)) )) ;) })) (expression_statement "(*Curl_cfree)(h->table);" (call_expression "(*Curl_cfree)(h->table)" (parenthesized_expression "(*Curl_cfree)" ( (pointer_expression "*Curl_cfree" * identifier) )) (argument_list "(h->table)" ( (field_expression "h->table" identifier -> field_identifier) ))) ;) (expression_statement "h->table = (curl_llist *)0x0;" (assignment_expression "h->table = (curl_llist *)0x0" (field_expression "h->table" identifier -> field_identifier) = (cast_expression "(curl_llist *)0x0" ( (type_descriptor "curl_llist *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "h->size = 0;" (assignment_expression "h->size = 0" (field_expression "h->size" identifier -> field_identifier) = number_literal) ;) (expression_statement "h->slots = 0;" (assignment_expression "h->slots = 0" (field_expression "h->slots" identifier -> field_identifier) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm2 FUN_00041b00(undefined4 param_1,undefined4 param_2,int *param_3)\n\n{\n  int unaff_EBX;\n  int iVar1;\n  int iVar2;\n  \n  entry(param_2,0x41b0c);\n  if (0 < param_3[4]) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      FUN_000416e0(iVar1 * 0x10 + *param_3,param_3);\n      iVar1 = iVar2;\n    } while (iVar2 < param_3[4]);\n  }\n  (**(code **)(unaff_EBX + 0x6f560))(*param_3);\n  *param_3 = 0;\n  param_3[5] = 0;\n  param_3[4] = 0;\n  return;\n}\n\n" (function_definition "void __regparm2 FUN_00041b00(undefined4 param_1,undefined4 param_2,int *param_3)\n\n{\n  int unaff_EBX;\n  int iVar1;\n  int iVar2;\n  \n  entry(param_2,0x41b0c);\n  if (0 < param_3[4]) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      FUN_000416e0(iVar1 * 0x10 + *param_3,param_3);\n      iVar1 = iVar2;\n    } while (iVar2 < param_3[4]);\n  }\n  (**(code **)(unaff_EBX + 0x6f560))(*param_3);\n  *param_3 = 0;\n  param_3[5] = 0;\n  param_3[4] = 0;\n  return;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_00041b00(undefined4 param_1,undefined4 param_2,int *param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int *param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) ))) (compound_statement "{\n  int unaff_EBX;\n  int iVar1;\n  int iVar2;\n  \n  entry(param_2,0x41b0c);\n  if (0 < param_3[4]) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      FUN_000416e0(iVar1 * 0x10 + *param_3,param_3);\n      iVar1 = iVar2;\n    } while (iVar2 < param_3[4]);\n  }\n  (**(code **)(unaff_EBX + 0x6f560))(*param_3);\n  *param_3 = 0;\n  param_3[5] = 0;\n  param_3[4] = 0;\n  return;\n}" { (declaration "int unaff_EBX;" primitive_type identifier ;) (declaration "int iVar1;" primitive_type identifier ;) (declaration "int iVar2;" primitive_type identifier ;) (expression_statement "entry(param_2,0x41b0c);" (call_expression "entry(param_2,0x41b0c)" identifier (argument_list "(param_2,0x41b0c)" ( identifier , number_literal ))) ;) (if_statement "if (0 < param_3[4]) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      FUN_000416e0(iVar1 * 0x10 + *param_3,param_3);\n      iVar1 = iVar2;\n    } while (iVar2 < param_3[4]);\n  }" if (parenthesized_expression "(0 < param_3[4])" ( (binary_expression "0 < param_3[4]" number_literal < (subscript_expression "param_3[4]" identifier [ number_literal ])) )) (compound_statement "{\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      FUN_000416e0(iVar1 * 0x10 + *param_3,param_3);\n      iVar1 = iVar2;\n    } while (iVar2 < param_3[4]);\n  }" { (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" identifier = number_literal) ;) (do_statement "do {\n      iVar2 = iVar1 + 1;\n      FUN_000416e0(iVar1 * 0x10 + *param_3,param_3);\n      iVar1 = iVar2;\n    } while (iVar2 < param_3[4]);" do (compound_statement "{\n      iVar2 = iVar1 + 1;\n      FUN_000416e0(iVar1 * 0x10 + *param_3,param_3);\n      iVar1 = iVar2;\n    }" { (expression_statement "iVar2 = iVar1 + 1;" (assignment_expression "iVar2 = iVar1 + 1" identifier = (binary_expression "iVar1 + 1" identifier + number_literal)) ;) (expression_statement "FUN_000416e0(iVar1 * 0x10 + *param_3,param_3);" (call_expression "FUN_000416e0(iVar1 * 0x10 + *param_3,param_3)" identifier (argument_list "(iVar1 * 0x10 + *param_3,param_3)" ( (binary_expression "iVar1 * 0x10 + *param_3" (binary_expression "iVar1 * 0x10" identifier * number_literal) + (pointer_expression "*param_3" * identifier)) , identifier ))) ;) (expression_statement "iVar1 = iVar2;" (assignment_expression "iVar1 = iVar2" identifier = identifier) ;) }) while (parenthesized_expression "(iVar2 < param_3[4])" ( (binary_expression "iVar2 < param_3[4]" identifier < (subscript_expression "param_3[4]" identifier [ number_literal ])) )) ;) })) (expression_statement "(**(code **)(unaff_EBX + 0x6f560))(*param_3);" (call_expression "(**(code **)(unaff_EBX + 0x6f560))(*param_3)" (parenthesized_expression "(**(code **)(unaff_EBX + 0x6f560))" ( (pointer_expression "**(code **)(unaff_EBX + 0x6f560)" * (pointer_expression "*(code **)(unaff_EBX + 0x6f560)" * (cast_expression "(code **)(unaff_EBX + 0x6f560)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBX + 0x6f560)" ( (binary_expression "unaff_EBX + 0x6f560" identifier + number_literal) ))))) )) (argument_list "(*param_3)" ( (pointer_expression "*param_3" * identifier) ))) ;) (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" * identifier) = number_literal) ;) (expression_statement "param_3[5] = 0;" (assignment_expression "param_3[5] = 0" (subscript_expression "param_3[5]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "param_3[4] = 0;" (assignment_expression "param_3[4] = 0" (subscript_expression "param_3[4]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression (binary_expression IDENT * LIT) + (pointer_expression * IDENT)) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (subscript_expression IDENT [ LIT ])) )) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (argument_list ( (pointer_expression * IDENT) ))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return ;) })))
(function_definition "void __regparm2 FUN_00041b00(undefined4 param_1,undefined4 param_2,int *param_3)\n\n{\n  int unaff_EBX;\n  int iVar1;\n  int iVar2;\n  \n  entry(param_2,0x41b0c);\n  if (0 < param_3[4]) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      FUN_000416e0(iVar1 * 0x10 + *param_3,param_3);\n      iVar1 = iVar2;\n    } while (iVar2 < param_3[4]);\n  }\n  (**(code **)(unaff_EBX + 0x6f560))(*param_3);\n  *param_3 = 0;\n  param_3[5] = 0;\n  param_3[4] = 0;\n  return;\n}" (primitive_type "void") (ERROR "__regparm2" (identifier "__regparm2")) (function_declarator "FUN_00041b00(undefined4 param_1,undefined4 param_2,int *param_3)" (identifier "FUN_00041b00") (parameter_list "(undefined4 param_1,undefined4 param_2,int *param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "int *param_3" (primitive_type "int") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) () ")"))) (compound_statement "{\n  int unaff_EBX;\n  int iVar1;\n  int iVar2;\n  \n  entry(param_2,0x41b0c);\n  if (0 < param_3[4]) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      FUN_000416e0(iVar1 * 0x10 + *param_3,param_3);\n      iVar1 = iVar2;\n    } while (iVar2 < param_3[4]);\n  }\n  (**(code **)(unaff_EBX + 0x6f560))(*param_3);\n  *param_3 = 0;\n  param_3[5] = 0;\n  param_3[4] = 0;\n  return;\n}" ({ "{") (declaration "int unaff_EBX;" (primitive_type "int") (identifier "unaff_EBX") (; ";")) (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (expression_statement "entry(param_2,0x41b0c);" (call_expression "entry(param_2,0x41b0c)" (identifier "entry") (argument_list "(param_2,0x41b0c)" (( "(") (identifier "param_2") (, ",") (number_literal "0x41b0c") () ")"))) (; ";")) (if_statement "if (0 < param_3[4]) {\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      FUN_000416e0(iVar1 * 0x10 + *param_3,param_3);\n      iVar1 = iVar2;\n    } while (iVar2 < param_3[4]);\n  }" (if "if") (parenthesized_expression "(0 < param_3[4])" (( "(") (binary_expression "0 < param_3[4]" (number_literal "0") (< "<") (subscript_expression "param_3[4]" (identifier "param_3") ([ "[") (number_literal "4") (] "]"))) () ")")) (compound_statement "{\n    iVar1 = 0;\n    do {\n      iVar2 = iVar1 + 1;\n      FUN_000416e0(iVar1 * 0x10 + *param_3,param_3);\n      iVar1 = iVar2;\n    } while (iVar2 < param_3[4]);\n  }" ({ "{") (expression_statement "iVar1 = 0;" (assignment_expression "iVar1 = 0" (identifier "iVar1") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n      iVar2 = iVar1 + 1;\n      FUN_000416e0(iVar1 * 0x10 + *param_3,param_3);\n      iVar1 = iVar2;\n    } while (iVar2 < param_3[4]);" (do "do") (compound_statement "{\n      iVar2 = iVar1 + 1;\n      FUN_000416e0(iVar1 * 0x10 + *param_3,param_3);\n      iVar1 = iVar2;\n    }" ({ "{") (expression_statement "iVar2 = iVar1 + 1;" (assignment_expression "iVar2 = iVar1 + 1" (identifier "iVar2") (= "=") (binary_expression "iVar1 + 1" (identifier "iVar1") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_000416e0(iVar1 * 0x10 + *param_3,param_3);" (call_expression "FUN_000416e0(iVar1 * 0x10 + *param_3,param_3)" (identifier "FUN_000416e0") (argument_list "(iVar1 * 0x10 + *param_3,param_3)" (( "(") (binary_expression "iVar1 * 0x10 + *param_3" (binary_expression "iVar1 * 0x10" (identifier "iVar1") (* "*") (number_literal "0x10")) (+ "+") (pointer_expression "*param_3" (* "*") (identifier "param_3"))) (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "iVar1 = iVar2;" (assignment_expression "iVar1 = iVar2" (identifier "iVar1") (= "=") (identifier "iVar2")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar2 < param_3[4])" (( "(") (binary_expression "iVar2 < param_3[4]" (identifier "iVar2") (< "<") (subscript_expression "param_3[4]" (identifier "param_3") ([ "[") (number_literal "4") (] "]"))) () ")")) (; ";")) (} "}"))) (expression_statement "(**(code **)(unaff_EBX + 0x6f560))(*param_3);" (call_expression "(**(code **)(unaff_EBX + 0x6f560))(*param_3)" (parenthesized_expression "(**(code **)(unaff_EBX + 0x6f560))" (( "(") (pointer_expression "**(code **)(unaff_EBX + 0x6f560)" (* "*") (pointer_expression "*(code **)(unaff_EBX + 0x6f560)" (* "*") (cast_expression "(code **)(unaff_EBX + 0x6f560)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EBX + 0x6f560)" (( "(") (binary_expression "unaff_EBX + 0x6f560" (identifier "unaff_EBX") (+ "+") (number_literal "0x6f560")) () ")"))))) () ")")) (argument_list "(*param_3)" (( "(") (pointer_expression "*param_3" (* "*") (identifier "param_3")) () ")"))) (; ";")) (expression_statement "*param_3 = 0;" (assignment_expression "*param_3 = 0" (pointer_expression "*param_3" (* "*") (identifier "param_3")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_3[5] = 0;" (assignment_expression "param_3[5] = 0" (subscript_expression "param_3[5]" (identifier "param_3") ([ "[") (number_literal "5") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "param_3[4] = 0;" (assignment_expression "param_3[4] = 0" (subscript_expression "param_3[4]" (identifier "param_3") ([ "[") (number_literal "4") (] "]")) (= "=") (number_literal "0")) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */

void function_1(type_1 *h)

{
  int var_1;
  int var_3;
  
  if (0 < h->slots) {
    var_1 = 0;
    do {
      var_3 = var_1 + 1;
      var_2(h->table + var_1,h);
      var_1 = var_3;
    } while (var_3 < h->slots);
  }
  (*Curl_cfree)(h->table);
  h->table = (type_2 *)0x0;
  h->size = 0;
  h->slots = 0;
  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)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (subscript_expression argument: (identifier) index: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (pointer_expression argument: (identifier))) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) arguments: (argument_list (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (return_statement))))

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

{
  int unaff_EBX;
  int iVar1;
  int iVar2;
  
  entry(param_2,0x41b0c);
  if (0 < param_3[4]) {
    iVar1 = 0;
    do {
      iVar2 = iVar1 + 1;
      FUN_000416e0(iVar1 * 0x10 + *param_3,param_3);
      iVar1 = iVar2;
    } while (iVar2 < param_3[4]);
  }
  (**(code **)(unaff_EBX + 0x6f560))(*param_3);
  *param_3 = 0;
  param_3[5] = 0;
  param_3[4] = 0;
  return;
}

