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

void Curl_cookie_cleanup(CookieInfo *c)

{
  Cookie **ppCVar1;
  CookieInfo *pCVar2;
  
  if (c != (CookieInfo *)0x0) {
    (*Curl_cfree)(c->filename);
    pCVar2 = c;
    do {
      ppCVar1 = pCVar2->cookies;
      pCVar2 = (CookieInfo *)(pCVar2->cookies + 1);
      Curl_cookie_freelist(*ppCVar1);
    } while (pCVar2 != (CookieInfo *)&c->filename);
    (*Curl_cfree)(c);
    return;
  }
  return;
}



void __regparm3 FUN_000208f0(undefined4 param_1,undefined4 param_2)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  int unaff_EBX;
  undefined4 *unaff_retaddr;
  
  entry(param_2,0x208f9);
  if (unaff_retaddr != (undefined4 *)0x0) {
    puVar1 = unaff_retaddr + 0x100;
    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))(unaff_retaddr[0x100]);
    do {
      uVar2 = *unaff_retaddr;
      unaff_retaddr = unaff_retaddr + 1;
      FUN_00020190(uVar2);
    } while (unaff_retaddr != puVar1);
                    /* WARNING: Could not recover jumptable at 0x00020956. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))();
    return;
  }
  return;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00019ed0
ADD EBX,0x95ee7
SUB ESP,0x1c
MOV EDI,dword ptr [ESP + 0x30]
TEST EDI,EDI
JZ 0x00020958
LEA EAX,[EBX + 0x88c]
SUB ESP,0xc
MOV EBP,EDI
LEA ESI,[EDI + 0x400]
MOV dword ptr [ESP + 0x18],EAX
PUSH dword ptr [EDI + 0x400]
CALL dword ptr [EAX]
ADD ESP,0x10
LEA ESI,[ESI]
SUB ESP,0xc
PUSH dword ptr [EBP]
ADD EBP,0x4
CALL 0x00020190
ADD ESP,0x10
CMP EBP,ESI
JNZ 0x00020930
MOV EAX,dword ptr [ESP + 0xc]
MOV dword ptr [ESP + 0x30],EDI
MOV EAX,dword ptr [EAX]
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
JMP EAX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "void __regparm3 FUN_000208f0(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  int unaff_EBX;\n  undefined4 *unaff_retaddr;\n  \n  entry(param_2,0x208f9);\n  if (unaff_retaddr != (undefined4 *)0x0) {\n    puVar1 = unaff_retaddr + 0x100;\n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))(unaff_retaddr[0x100]);\n    do {\n      uVar2 = *unaff_retaddr;\n      unaff_retaddr = unaff_retaddr + 1;\n      FUN_00020190(uVar2);\n    } while (unaff_retaddr != puVar1);\n                    /* WARNING: Could not recover jumptable at 0x00020956. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_000208f0(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  int unaff_EBX;\n  undefined4 *unaff_retaddr;\n  \n  entry(param_2,0x208f9);\n  if (unaff_retaddr != (undefined4 *)0x0) {\n    puVar1 = unaff_retaddr + 0x100;\n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))(unaff_retaddr[0x100]);\n    do {\n      uVar2 = *unaff_retaddr;\n      unaff_retaddr = unaff_retaddr + 1;\n      FUN_00020190(uVar2);\n    } while (unaff_retaddr != puVar1);\n                    /* WARNING: Could not recover jumptable at 0x00020956. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))();\n    return;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000208f0(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  undefined4 *puVar1;\n  undefined4 uVar2;\n  int unaff_EBX;\n  undefined4 *unaff_retaddr;\n  \n  entry(param_2,0x208f9);\n  if (unaff_retaddr != (undefined4 *)0x0) {\n    puVar1 = unaff_retaddr + 0x100;\n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))(unaff_retaddr[0x100]);\n    do {\n      uVar2 = *unaff_retaddr;\n      unaff_retaddr = unaff_retaddr + 1;\n      FUN_00020190(uVar2);\n    } while (unaff_retaddr != puVar1);\n                    /* WARNING: Could not recover jumptable at 0x00020956. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))();\n    return;\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int unaff_EBX;" primitive_type identifier ;) (declaration "undefined4 *unaff_retaddr;" type_identifier (pointer_declarator "*unaff_retaddr" * identifier) ;) (expression_statement "entry(param_2,0x208f9);" (call_expression "entry(param_2,0x208f9)" identifier (argument_list "(param_2,0x208f9)" ( identifier , number_literal ))) ;) (if_statement "if (unaff_retaddr != (undefined4 *)0x0) {\n    puVar1 = unaff_retaddr + 0x100;\n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))(unaff_retaddr[0x100]);\n    do {\n      uVar2 = *unaff_retaddr;\n      unaff_retaddr = unaff_retaddr + 1;\n      FUN_00020190(uVar2);\n    } while (unaff_retaddr != puVar1);\n                    /* WARNING: Could not recover jumptable at 0x00020956. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))();\n    return;\n  }" if (parenthesized_expression "(unaff_retaddr != (undefined4 *)0x0)" ( (binary_expression "unaff_retaddr != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar1 = unaff_retaddr + 0x100;\n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))(unaff_retaddr[0x100]);\n    do {\n      uVar2 = *unaff_retaddr;\n      unaff_retaddr = unaff_retaddr + 1;\n      FUN_00020190(uVar2);\n    } while (unaff_retaddr != puVar1);\n                    /* WARNING: Could not recover jumptable at 0x00020956. Too many branches */\n                    /* WARNING: Treating indirect jump as call */\n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))();\n    return;\n  }" { (expression_statement "puVar1 = unaff_retaddr + 0x100;" (assignment_expression "puVar1 = unaff_retaddr + 0x100" identifier = (binary_expression "unaff_retaddr + 0x100" identifier + number_literal)) ;) (expression_statement "(**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))(unaff_retaddr[0x100]);" (call_expression "(**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))(unaff_retaddr[0x100])" (parenthesized_expression "(**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))" ( (pointer_expression "**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a)" * (pointer_expression "*(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a)" * (cast_expression "(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a)" ( (binary_expression "BYTE_ARRAY_00096439 + unaff_EBX + 0x33a" (binary_expression "BYTE_ARRAY_00096439 + unaff_EBX" identifier + identifier) + number_literal) ))))) )) (argument_list "(unaff_retaddr[0x100])" ( (subscript_expression "unaff_retaddr[0x100]" identifier [ number_literal ]) ))) ;) (do_statement "do {\n      uVar2 = *unaff_retaddr;\n      unaff_retaddr = unaff_retaddr + 1;\n      FUN_00020190(uVar2);\n    } while (unaff_retaddr != puVar1);" do (compound_statement "{\n      uVar2 = *unaff_retaddr;\n      unaff_retaddr = unaff_retaddr + 1;\n      FUN_00020190(uVar2);\n    }" { (expression_statement "uVar2 = *unaff_retaddr;" (assignment_expression "uVar2 = *unaff_retaddr" identifier = (pointer_expression "*unaff_retaddr" * identifier)) ;) (expression_statement "unaff_retaddr = unaff_retaddr + 1;" (assignment_expression "unaff_retaddr = unaff_retaddr + 1" identifier = (binary_expression "unaff_retaddr + 1" identifier + number_literal)) ;) (expression_statement "FUN_00020190(uVar2);" (call_expression "FUN_00020190(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) }) while (parenthesized_expression "(unaff_retaddr != puVar1)" ( (binary_expression "unaff_retaddr != puVar1" identifier != identifier) )) ;) comment comment (expression_statement "(**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))();" (call_expression "(**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))()" (parenthesized_expression "(**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))" ( (pointer_expression "**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a)" * (pointer_expression "*(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a)" * (cast_expression "(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a)" ( (binary_expression "BYTE_ARRAY_00096439 + unaff_EBX + 0x33a" (binary_expression "BYTE_ARRAY_00096439 + unaff_EBX" identifier + identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid Curl_cookie_cleanup(CookieInfo *c)\n\n{\n  Cookie **ppCVar1;\n  CookieInfo *pCVar2;\n  \n  if (c != (CookieInfo *)0x0) {\n    (*Curl_cfree)(c->filename);\n    pCVar2 = c;\n    do {\n      ppCVar1 = pCVar2->cookies;\n      pCVar2 = (CookieInfo *)(pCVar2->cookies + 1);\n      Curl_cookie_freelist(*ppCVar1);\n    } while (pCVar2 != (CookieInfo *)&c->filename);\n    (*Curl_cfree)(c);\n    return;\n  }\n  return;\n}\n\n" comment (function_definition "void Curl_cookie_cleanup(CookieInfo *c)\n\n{\n  Cookie **ppCVar1;\n  CookieInfo *pCVar2;\n  \n  if (c != (CookieInfo *)0x0) {\n    (*Curl_cfree)(c->filename);\n    pCVar2 = c;\n    do {\n      ppCVar1 = pCVar2->cookies;\n      pCVar2 = (CookieInfo *)(pCVar2->cookies + 1);\n      Curl_cookie_freelist(*ppCVar1);\n    } while (pCVar2 != (CookieInfo *)&c->filename);\n    (*Curl_cfree)(c);\n    return;\n  }\n  return;\n}" primitive_type (function_declarator "Curl_cookie_cleanup(CookieInfo *c)" identifier (parameter_list "(CookieInfo *c)" ( (parameter_declaration "CookieInfo *c" type_identifier (pointer_declarator "*c" * identifier)) ))) (compound_statement "{\n  Cookie **ppCVar1;\n  CookieInfo *pCVar2;\n  \n  if (c != (CookieInfo *)0x0) {\n    (*Curl_cfree)(c->filename);\n    pCVar2 = c;\n    do {\n      ppCVar1 = pCVar2->cookies;\n      pCVar2 = (CookieInfo *)(pCVar2->cookies + 1);\n      Curl_cookie_freelist(*ppCVar1);\n    } while (pCVar2 != (CookieInfo *)&c->filename);\n    (*Curl_cfree)(c);\n    return;\n  }\n  return;\n}" { (declaration "Cookie **ppCVar1;" type_identifier (pointer_declarator "**ppCVar1" * (pointer_declarator "*ppCVar1" * identifier)) ;) (declaration "CookieInfo *pCVar2;" type_identifier (pointer_declarator "*pCVar2" * identifier) ;) (if_statement "if (c != (CookieInfo *)0x0) {\n    (*Curl_cfree)(c->filename);\n    pCVar2 = c;\n    do {\n      ppCVar1 = pCVar2->cookies;\n      pCVar2 = (CookieInfo *)(pCVar2->cookies + 1);\n      Curl_cookie_freelist(*ppCVar1);\n    } while (pCVar2 != (CookieInfo *)&c->filename);\n    (*Curl_cfree)(c);\n    return;\n  }" if (parenthesized_expression "(c != (CookieInfo *)0x0)" ( (binary_expression "c != (CookieInfo *)0x0" identifier != (cast_expression "(CookieInfo *)0x0" ( (type_descriptor "CookieInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    (*Curl_cfree)(c->filename);\n    pCVar2 = c;\n    do {\n      ppCVar1 = pCVar2->cookies;\n      pCVar2 = (CookieInfo *)(pCVar2->cookies + 1);\n      Curl_cookie_freelist(*ppCVar1);\n    } while (pCVar2 != (CookieInfo *)&c->filename);\n    (*Curl_cfree)(c);\n    return;\n  }" { (expression_statement "(*Curl_cfree)(c->filename);" (call_expression "(*Curl_cfree)(c->filename)" (parenthesized_expression "(*Curl_cfree)" ( (pointer_expression "*Curl_cfree" * identifier) )) (argument_list "(c->filename)" ( (field_expression "c->filename" identifier -> field_identifier) ))) ;) (expression_statement "pCVar2 = c;" (assignment_expression "pCVar2 = c" identifier = identifier) ;) (do_statement "do {\n      ppCVar1 = pCVar2->cookies;\n      pCVar2 = (CookieInfo *)(pCVar2->cookies + 1);\n      Curl_cookie_freelist(*ppCVar1);\n    } while (pCVar2 != (CookieInfo *)&c->filename);" do (compound_statement "{\n      ppCVar1 = pCVar2->cookies;\n      pCVar2 = (CookieInfo *)(pCVar2->cookies + 1);\n      Curl_cookie_freelist(*ppCVar1);\n    }" { (expression_statement "ppCVar1 = pCVar2->cookies;" (assignment_expression "ppCVar1 = pCVar2->cookies" identifier = (field_expression "pCVar2->cookies" identifier -> field_identifier)) ;) (expression_statement "pCVar2 = (CookieInfo *)(pCVar2->cookies + 1);" (assignment_expression "pCVar2 = (CookieInfo *)(pCVar2->cookies + 1)" identifier = (cast_expression "(CookieInfo *)(pCVar2->cookies + 1)" ( (type_descriptor "CookieInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pCVar2->cookies + 1)" ( (binary_expression "pCVar2->cookies + 1" (field_expression "pCVar2->cookies" identifier -> field_identifier) + number_literal) )))) ;) (expression_statement "Curl_cookie_freelist(*ppCVar1);" (call_expression "Curl_cookie_freelist(*ppCVar1)" identifier (argument_list "(*ppCVar1)" ( (pointer_expression "*ppCVar1" * identifier) ))) ;) }) while (parenthesized_expression "(pCVar2 != (CookieInfo *)&c->filename)" ( (binary_expression "pCVar2 != (CookieInfo *)&c->filename" identifier != (cast_expression "(CookieInfo *)&c->filename" ( (type_descriptor "CookieInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&c->filename" & (field_expression "c->filename" identifier -> field_identifier)))) )) ;) (expression_statement "(*Curl_cfree)(c);" (call_expression "(*Curl_cfree)(c)" (parenthesized_expression "(*Curl_cfree)" ( (pointer_expression "*Curl_cfree" * identifier) )) (argument_list "(c)" ( identifier ))) ;) (return_statement "return;" return ;) })) (return_statement "return;" return ;) })))
(translation_unit "void __regparm3 FUN_000208f0(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  int unaff_EBX;\n  undefined4 *unaff_retaddr;\n  \n  entry(param_2,0x208f9);\n  if (unaff_retaddr != (undefined4 *)0x0) {\n    puVar1 = unaff_retaddr + 0x100;\n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))(unaff_retaddr[0x100]);\n    do {\n      uVar2 = *unaff_retaddr;\n      unaff_retaddr = unaff_retaddr + 1;\n      FUN_00020190(uVar2);\n    } while (unaff_retaddr != puVar1);\n                    \n                    \n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))();\n    return;\n  }\n  return;\n}\n\n" (function_definition "void __regparm3 FUN_000208f0(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  int unaff_EBX;\n  undefined4 *unaff_retaddr;\n  \n  entry(param_2,0x208f9);\n  if (unaff_retaddr != (undefined4 *)0x0) {\n    puVar1 = unaff_retaddr + 0x100;\n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))(unaff_retaddr[0x100]);\n    do {\n      uVar2 = *unaff_retaddr;\n      unaff_retaddr = unaff_retaddr + 1;\n      FUN_00020190(uVar2);\n    } while (unaff_retaddr != puVar1);\n                    \n                    \n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))();\n    return;\n  }\n  return;\n}" primitive_type (ERROR "__regparm3" identifier) (function_declarator "FUN_000208f0(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  undefined4 *puVar1;\n  undefined4 uVar2;\n  int unaff_EBX;\n  undefined4 *unaff_retaddr;\n  \n  entry(param_2,0x208f9);\n  if (unaff_retaddr != (undefined4 *)0x0) {\n    puVar1 = unaff_retaddr + 0x100;\n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))(unaff_retaddr[0x100]);\n    do {\n      uVar2 = *unaff_retaddr;\n      unaff_retaddr = unaff_retaddr + 1;\n      FUN_00020190(uVar2);\n    } while (unaff_retaddr != puVar1);\n                    \n                    \n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))();\n    return;\n  }\n  return;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined4 uVar2;" type_identifier identifier ;) (declaration "int unaff_EBX;" primitive_type identifier ;) (declaration "undefined4 *unaff_retaddr;" type_identifier (pointer_declarator "*unaff_retaddr" * identifier) ;) (expression_statement "entry(param_2,0x208f9);" (call_expression "entry(param_2,0x208f9)" identifier (argument_list "(param_2,0x208f9)" ( identifier , number_literal ))) ;) (if_statement "if (unaff_retaddr != (undefined4 *)0x0) {\n    puVar1 = unaff_retaddr + 0x100;\n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))(unaff_retaddr[0x100]);\n    do {\n      uVar2 = *unaff_retaddr;\n      unaff_retaddr = unaff_retaddr + 1;\n      FUN_00020190(uVar2);\n    } while (unaff_retaddr != puVar1);\n                    \n                    \n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))();\n    return;\n  }" if (parenthesized_expression "(unaff_retaddr != (undefined4 *)0x0)" ( (binary_expression "unaff_retaddr != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar1 = unaff_retaddr + 0x100;\n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))(unaff_retaddr[0x100]);\n    do {\n      uVar2 = *unaff_retaddr;\n      unaff_retaddr = unaff_retaddr + 1;\n      FUN_00020190(uVar2);\n    } while (unaff_retaddr != puVar1);\n                    \n                    \n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))();\n    return;\n  }" { (expression_statement "puVar1 = unaff_retaddr + 0x100;" (assignment_expression "puVar1 = unaff_retaddr + 0x100" identifier = (binary_expression "unaff_retaddr + 0x100" identifier + number_literal)) ;) (expression_statement "(**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))(unaff_retaddr[0x100]);" (call_expression "(**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))(unaff_retaddr[0x100])" (parenthesized_expression "(**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))" ( (pointer_expression "**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a)" * (pointer_expression "*(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a)" * (cast_expression "(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a)" ( (binary_expression "BYTE_ARRAY_00096439 + unaff_EBX + 0x33a" (binary_expression "BYTE_ARRAY_00096439 + unaff_EBX" identifier + identifier) + number_literal) ))))) )) (argument_list "(unaff_retaddr[0x100])" ( (subscript_expression "unaff_retaddr[0x100]" identifier [ number_literal ]) ))) ;) (do_statement "do {\n      uVar2 = *unaff_retaddr;\n      unaff_retaddr = unaff_retaddr + 1;\n      FUN_00020190(uVar2);\n    } while (unaff_retaddr != puVar1);" do (compound_statement "{\n      uVar2 = *unaff_retaddr;\n      unaff_retaddr = unaff_retaddr + 1;\n      FUN_00020190(uVar2);\n    }" { (expression_statement "uVar2 = *unaff_retaddr;" (assignment_expression "uVar2 = *unaff_retaddr" identifier = (pointer_expression "*unaff_retaddr" * identifier)) ;) (expression_statement "unaff_retaddr = unaff_retaddr + 1;" (assignment_expression "unaff_retaddr = unaff_retaddr + 1" identifier = (binary_expression "unaff_retaddr + 1" identifier + number_literal)) ;) (expression_statement "FUN_00020190(uVar2);" (call_expression "FUN_00020190(uVar2)" identifier (argument_list "(uVar2)" ( identifier ))) ;) }) while (parenthesized_expression "(unaff_retaddr != puVar1)" ( (binary_expression "unaff_retaddr != puVar1" identifier != identifier) )) ;) (expression_statement "(**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))();" (call_expression "(**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))()" (parenthesized_expression "(**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))" ( (pointer_expression "**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a)" * (pointer_expression "*(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a)" * (cast_expression "(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a)" ( (binary_expression "BYTE_ARRAY_00096439 + unaff_EBX + 0x33a" (binary_expression "BYTE_ARRAY_00096439 + unaff_EBX" identifier + identifier) + number_literal) ))))) )) (argument_list "()" ( ))) ;) (return_statement "return;" return ;) })) (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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) ))))) )) (argument_list ( (subscript_expression IDENT [ LIT ]) ))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) ))))) )) (argument_list ( ))) ;) (return_statement return ;) })) (return_statement return ;) })))
(function_definition "void __regparm3 FUN_000208f0(undefined4 param_1,undefined4 param_2)\n\n{\n  undefined4 *puVar1;\n  undefined4 uVar2;\n  int unaff_EBX;\n  undefined4 *unaff_retaddr;\n  \n  entry(param_2,0x208f9);\n  if (unaff_retaddr != (undefined4 *)0x0) {\n    puVar1 = unaff_retaddr + 0x100;\n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))(unaff_retaddr[0x100]);\n    do {\n      uVar2 = *unaff_retaddr;\n      unaff_retaddr = unaff_retaddr + 1;\n      FUN_00020190(uVar2);\n    } while (unaff_retaddr != puVar1);\n                    \n                    \n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))();\n    return;\n  }\n  return;\n}" (primitive_type "void") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_000208f0(undefined4 param_1,undefined4 param_2)" (identifier "FUN_000208f0") (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  undefined4 *puVar1;\n  undefined4 uVar2;\n  int unaff_EBX;\n  undefined4 *unaff_retaddr;\n  \n  entry(param_2,0x208f9);\n  if (unaff_retaddr != (undefined4 *)0x0) {\n    puVar1 = unaff_retaddr + 0x100;\n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))(unaff_retaddr[0x100]);\n    do {\n      uVar2 = *unaff_retaddr;\n      unaff_retaddr = unaff_retaddr + 1;\n      FUN_00020190(uVar2);\n    } while (unaff_retaddr != puVar1);\n                    \n                    \n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))();\n    return;\n  }\n  return;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined4 uVar2;" (type_identifier "undefined4") (identifier "uVar2") (; ";")) (declaration "int unaff_EBX;" (primitive_type "int") (identifier "unaff_EBX") (; ";")) (declaration "undefined4 *unaff_retaddr;" (type_identifier "undefined4") (pointer_declarator "*unaff_retaddr" (* "*") (identifier "unaff_retaddr")) (; ";")) (expression_statement "entry(param_2,0x208f9);" (call_expression "entry(param_2,0x208f9)" (identifier "entry") (argument_list "(param_2,0x208f9)" (( "(") (identifier "param_2") (, ",") (number_literal "0x208f9") () ")"))) (; ";")) (if_statement "if (unaff_retaddr != (undefined4 *)0x0) {\n    puVar1 = unaff_retaddr + 0x100;\n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))(unaff_retaddr[0x100]);\n    do {\n      uVar2 = *unaff_retaddr;\n      unaff_retaddr = unaff_retaddr + 1;\n      FUN_00020190(uVar2);\n    } while (unaff_retaddr != puVar1);\n                    \n                    \n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))();\n    return;\n  }" (if "if") (parenthesized_expression "(unaff_retaddr != (undefined4 *)0x0)" (( "(") (binary_expression "unaff_retaddr != (undefined4 *)0x0" (identifier "unaff_retaddr") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar1 = unaff_retaddr + 0x100;\n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))(unaff_retaddr[0x100]);\n    do {\n      uVar2 = *unaff_retaddr;\n      unaff_retaddr = unaff_retaddr + 1;\n      FUN_00020190(uVar2);\n    } while (unaff_retaddr != puVar1);\n                    \n                    \n    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))();\n    return;\n  }" ({ "{") (expression_statement "puVar1 = unaff_retaddr + 0x100;" (assignment_expression "puVar1 = unaff_retaddr + 0x100" (identifier "puVar1") (= "=") (binary_expression "unaff_retaddr + 0x100" (identifier "unaff_retaddr") (+ "+") (number_literal "0x100"))) (; ";")) (expression_statement "(**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))(unaff_retaddr[0x100]);" (call_expression "(**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))(unaff_retaddr[0x100])" (parenthesized_expression "(**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))" (( "(") (pointer_expression "**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a)" (* "*") (pointer_expression "*(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a)" (* "*") (cast_expression "(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a)" (( "(") (binary_expression "BYTE_ARRAY_00096439 + unaff_EBX + 0x33a" (binary_expression "BYTE_ARRAY_00096439 + unaff_EBX" (identifier "BYTE_ARRAY_00096439") (+ "+") (identifier "unaff_EBX")) (+ "+") (number_literal "0x33a")) () ")"))))) () ")")) (argument_list "(unaff_retaddr[0x100])" (( "(") (subscript_expression "unaff_retaddr[0x100]" (identifier "unaff_retaddr") ([ "[") (number_literal "0x100") (] "]")) () ")"))) (; ";")) (do_statement "do {\n      uVar2 = *unaff_retaddr;\n      unaff_retaddr = unaff_retaddr + 1;\n      FUN_00020190(uVar2);\n    } while (unaff_retaddr != puVar1);" (do "do") (compound_statement "{\n      uVar2 = *unaff_retaddr;\n      unaff_retaddr = unaff_retaddr + 1;\n      FUN_00020190(uVar2);\n    }" ({ "{") (expression_statement "uVar2 = *unaff_retaddr;" (assignment_expression "uVar2 = *unaff_retaddr" (identifier "uVar2") (= "=") (pointer_expression "*unaff_retaddr" (* "*") (identifier "unaff_retaddr"))) (; ";")) (expression_statement "unaff_retaddr = unaff_retaddr + 1;" (assignment_expression "unaff_retaddr = unaff_retaddr + 1" (identifier "unaff_retaddr") (= "=") (binary_expression "unaff_retaddr + 1" (identifier "unaff_retaddr") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "FUN_00020190(uVar2);" (call_expression "FUN_00020190(uVar2)" (identifier "FUN_00020190") (argument_list "(uVar2)" (( "(") (identifier "uVar2") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(unaff_retaddr != puVar1)" (( "(") (binary_expression "unaff_retaddr != puVar1" (identifier "unaff_retaddr") (!= "!=") (identifier "puVar1")) () ")")) (; ";")) (expression_statement "(**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))();" (call_expression "(**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))()" (parenthesized_expression "(**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))" (( "(") (pointer_expression "**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a)" (* "*") (pointer_expression "*(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a)" (* "*") (cast_expression "(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a)" (( "(") (binary_expression "BYTE_ARRAY_00096439 + unaff_EBX + 0x33a" (binary_expression "BYTE_ARRAY_00096439 + unaff_EBX" (identifier "BYTE_ARRAY_00096439") (+ "+") (identifier "unaff_EBX")) (+ "+") (number_literal "0x33a")) () ")"))))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}")))

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

void function_1(type_1 *var_1)

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

void __regparm3 MASKED(undefined4 param_1,undefined4 param_2)

{
  undefined4 *puVar1;
  undefined4 uVar2;
  int unaff_EBX;
  undefined4 *unaff_retaddr;
  
  entry(param_2,0x208f9);
  if (unaff_retaddr != (undefined4 *)0x0) {
    puVar1 = unaff_retaddr + 0x100;
    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))(unaff_retaddr[0x100]);
    do {
      uVar2 = *unaff_retaddr;
      unaff_retaddr = unaff_retaddr + 1;
      FUN_00020190(uVar2);
    } while (unaff_retaddr != puVar1);
                    /* WARNING: Could not recover jumptable at 0x00020956. Too many branches */
                    /* WARNING: Treating indirect jump as call */
    (**(code **)(BYTE_ARRAY_00096439 + unaff_EBX + 0x33a))();
    return;
  }
  return;
}

