
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

Curl_multi * Curl_multi_handle(int hashsize,int chashsize)

{
  Curl_multi *pCVar1;
  int iVar2;
  Curl_multi *pCVar3;
  
  pCVar1 = (Curl_multi *)(*Curl_ccalloc)(1,0x104);
  pCVar3 = pCVar1;
  if (pCVar1 != (Curl_multi *)0x0) {
    pCVar1->type = 0xbab1e;
    iVar2 = Curl_mk_dnscache(&pCVar1->hostcache);
    if (iVar2 == 0) {
      iVar2 = Curl_hash_init(&pCVar1->sockhash,hashsize,hash_fd,fd_key_compare,sh_freeentry);
      if (iVar2 == 0) {
        iVar2 = Curl_conncache_init(&pCVar1->conn_cache,chashsize);
        if (iVar2 == 0) {
          Curl_llist_init(&pCVar1->msglist,multi_freeamsg);
          Curl_llist_init(&pCVar1->pending,multi_freeamsg);
          pCVar1->max_pipeline_length = 5;
          pCVar1->pipelining = 2;
          pCVar1->maxconnects = -1;
          return pCVar1;
        }
      }
    }
    Curl_hash_destroy(&pCVar1->sockhash);
    Curl_hash_destroy(&pCVar1->hostcache);
    Curl_conncache_destroy(&pCVar1->conn_cache);
    Curl_llist_destroy(&pCVar1->msglist,(void *)0x0);
    Curl_llist_destroy(&pCVar1->pending,(void *)0x0);
    pCVar3 = (Curl_multi *)0x0;
    (*Curl_cfree)(pCVar1);
  }
  return pCVar3;
}



undefined4 * __regparm2 FUN_00045a30(undefined4 param_1,undefined4 param_2,undefined4 param_3)

{
  undefined4 *puVar1;
  int iVar2;
  int unaff_EBX;
  undefined4 *puVar3;
  undefined4 unaff_retaddr;
  
  entry(param_2,0x45a39);
  puVar1 = (undefined4 *)(**(code **)(unaff_EBX + 0x71627))(1,0x104);
  puVar3 = puVar1;
  if (puVar1 != (undefined4 *)0x0) {
    *puVar1 = 0xbab1e;
    iVar2 = FUN_0001baa0(puVar1 + 0x11);
    if (iVar2 == 0) {
      iVar2 = FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,
                           unaff_EBX + -0x8f9);
      if (iVar2 == 0) {
        iVar2 = FUN_00066040(puVar1 + 0x23,param_3);
        if (iVar2 == 0) {
          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);
          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);
          puVar1[0x31] = 5;
          puVar1[0x21] = 2;
          puVar1[0x2e] = 0xffffffff;
          return puVar1;
        }
      }
    }
    FUN_00044ec0(puVar1 + 0x1b);
    FUN_00044ec0(puVar1 + 0x11);
    FUN_000660c0(puVar1 + 0x23);
    FUN_00044aa0(puVar1 + 5,0);
    FUN_00044aa0(puVar1 + 9,0);
    puVar3 = (undefined4 *)0x0;
    (**(code **)(unaff_EBX + 0x71633))(puVar1);
  }
  return puVar3;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00019ed0
ADD EBX,0x70da7
SUB ESP,0x24
PUSH 0x104
PUSH 0x1
LEA EAX,[EBX + 0x880]
CALL dword ptr [EAX]
ADD ESP,0x10
MOV EBP,EAX
TEST EAX,EAX
JZ 0x00045b65
SUB ESP,0xc
LEA ESI,[EAX + 0x44]
MOV dword ptr [EAX],0xbab1e
LEA EDI,[EBP + 0x6c]
PUSH ESI
CALL 0x0001baa0
LEA EDX,[EBP + 0x8c]
LEA ECX,[EBP + 0x14]
MOV dword ptr [ESP + 0x14],EDX
LEA EDX,[EBP + 0x24]
MOV dword ptr [ESP + 0x18],ECX
MOV dword ptr [ESP + 0x1c],EDX
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00045b20
SUB ESP,0xc
LEA EAX,[EBX + 0xfff8e960]
PUSH EAX
LEA EAX,[EBX + 0xfff8e980]
PUSH EAX
LEA EAX,[EBX + 0xfff8e9a0]
PUSH EAX
PUSH dword ptr [ESP + 0x48]
PUSH EDI
CALL 0x00044bf0
ADD ESP,0x20
TEST EAX,EAX
JNZ 0x00045b20
SUB ESP,0x8
PUSH dword ptr [ESP + 0x3c]
PUSH dword ptr [ESP + 0x10]
CALL 0x00066040
ADD ESP,0x10
TEST EAX,EAX
JNZ 0x00045b20
SUB ESP,0x8
LEA ESI,[EBX + 0xfff8e9b0]
PUSH ESI
PUSH dword ptr [ESP + 0x14]
CALL 0x00044950
POP EAX
POP EDX
PUSH ESI
PUSH dword ptr [ESP + 0x18]
CALL 0x00044950
ADD ESP,0x10
MOV EAX,EBP
MOV dword ptr [EBP + 0xc4],0x5
MOV dword ptr [EBP + 0x84],0x2
MOV dword ptr [EBP + 0xb8],0xffffffff
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
SUB ESP,0xc
PUSH EDI
CALL 0x00044ec0
MOV dword ptr [ESP],ESI
CALL 0x00044ec0
POP EAX
PUSH dword ptr [ESP + 0x10]
CALL 0x000660c0
POP EDX
POP ECX
PUSH 0x0
PUSH dword ptr [ESP + 0x14]
CALL 0x00044aa0
POP ESI
POP EDI
PUSH 0x0
PUSH dword ptr [ESP + 0x18]
CALL 0x00044aa0
LEA EAX,[EBX + 0x88c]
MOV dword ptr [ESP],EBP
XOR EBP,EBP
CALL dword ptr [EAX]
ADD ESP,0x10
ADD ESP,0x1c
MOV EAX,EBP
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "undefined4 * __regparm2 FUN_00045a30(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int unaff_EBX;\n  undefined4 *puVar3;\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x45a39);\n  puVar1 = (undefined4 *)(**(code **)(unaff_EBX + 0x71627))(1,0x104);\n  puVar3 = puVar1;\n  if (puVar1 != (undefined4 *)0x0) {\n    *puVar1 = 0xbab1e;\n    iVar2 = FUN_0001baa0(puVar1 + 0x11);\n    if (iVar2 == 0) {\n      iVar2 = FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9);\n      if (iVar2 == 0) {\n        iVar2 = FUN_00066040(puVar1 + 0x23,param_3);\n        if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }\n      }\n    }\n    FUN_00044ec0(puVar1 + 0x1b);\n    FUN_00044ec0(puVar1 + 0x11);\n    FUN_000660c0(puVar1 + 0x23);\n    FUN_00044aa0(puVar1 + 5,0);\n    FUN_00044aa0(puVar1 + 9,0);\n    puVar3 = (undefined4 *)0x0;\n    (**(code **)(unaff_EBX + 0x71633))(puVar1);\n  }\n  return puVar3;\n}\n\n" (ERROR "undefined4 * __regparm2 FUN_00045a30(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (binary_expression "undefined4 * __regparm2 FUN_00045a30(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier * (ERROR "__regparm2" identifier) (call_expression "FUN_00045a30(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier (argument_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" ( identifier (ERROR "param_1" identifier) , identifier (ERROR "param_2" identifier) , identifier (ERROR "param_3" identifier) ))))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  int unaff_EBX;\n  undefined4 *puVar3;\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x45a39);\n  puVar1 = (undefined4 *)(**(code **)(unaff_EBX + 0x71627))(1,0x104);\n  puVar3 = puVar1;\n  if (puVar1 != (undefined4 *)0x0) {\n    *puVar1 = 0xbab1e;\n    iVar2 = FUN_0001baa0(puVar1 + 0x11);\n    if (iVar2 == 0) {\n      iVar2 = FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9);\n      if (iVar2 == 0) {\n        iVar2 = FUN_00066040(puVar1 + 0x23,param_3);\n        if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }\n      }\n    }\n    FUN_00044ec0(puVar1 + 0x1b);\n    FUN_00044ec0(puVar1 + 0x11);\n    FUN_000660c0(puVar1 + 0x23);\n    FUN_00044aa0(puVar1 + 5,0);\n    FUN_00044aa0(puVar1 + 9,0);\n    puVar3 = (undefined4 *)0x0;\n    (**(code **)(unaff_EBX + 0x71633))(puVar1);\n  }\n  return puVar3;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int unaff_EBX;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 unaff_retaddr;" type_identifier identifier ;) (expression_statement "entry(param_2,0x45a39);" (call_expression "entry(param_2,0x45a39)" identifier (argument_list "(param_2,0x45a39)" ( identifier , number_literal ))) ;) (expression_statement "puVar1 = (undefined4 *)(**(code **)(unaff_EBX + 0x71627))(1,0x104);" (assignment_expression "puVar1 = (undefined4 *)(**(code **)(unaff_EBX + 0x71627))(1,0x104)" identifier = (cast_expression "(undefined4 *)(**(code **)(unaff_EBX + 0x71627))(1,0x104)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(unaff_EBX + 0x71627))(1,0x104)" (parenthesized_expression "(**(code **)(unaff_EBX + 0x71627))" ( (pointer_expression "**(code **)(unaff_EBX + 0x71627)" * (pointer_expression "*(code **)(unaff_EBX + 0x71627)" * (cast_expression "(code **)(unaff_EBX + 0x71627)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBX + 0x71627)" ( (binary_expression "unaff_EBX + 0x71627" identifier + number_literal) ))))) )) (argument_list "(1,0x104)" ( number_literal , number_literal ))))) ;) (expression_statement "puVar3 = puVar1;" (assignment_expression "puVar3 = puVar1" identifier = identifier) ;) (if_statement "if (puVar1 != (undefined4 *)0x0) {\n    *puVar1 = 0xbab1e;\n    iVar2 = FUN_0001baa0(puVar1 + 0x11);\n    if (iVar2 == 0) {\n      iVar2 = FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9);\n      if (iVar2 == 0) {\n        iVar2 = FUN_00066040(puVar1 + 0x23,param_3);\n        if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }\n      }\n    }\n    FUN_00044ec0(puVar1 + 0x1b);\n    FUN_00044ec0(puVar1 + 0x11);\n    FUN_000660c0(puVar1 + 0x23);\n    FUN_00044aa0(puVar1 + 5,0);\n    FUN_00044aa0(puVar1 + 9,0);\n    puVar3 = (undefined4 *)0x0;\n    (**(code **)(unaff_EBX + 0x71633))(puVar1);\n  }" if (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" ( (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *puVar1 = 0xbab1e;\n    iVar2 = FUN_0001baa0(puVar1 + 0x11);\n    if (iVar2 == 0) {\n      iVar2 = FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9);\n      if (iVar2 == 0) {\n        iVar2 = FUN_00066040(puVar1 + 0x23,param_3);\n        if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }\n      }\n    }\n    FUN_00044ec0(puVar1 + 0x1b);\n    FUN_00044ec0(puVar1 + 0x11);\n    FUN_000660c0(puVar1 + 0x23);\n    FUN_00044aa0(puVar1 + 5,0);\n    FUN_00044aa0(puVar1 + 9,0);\n    puVar3 = (undefined4 *)0x0;\n    (**(code **)(unaff_EBX + 0x71633))(puVar1);\n  }" { (expression_statement "*puVar1 = 0xbab1e;" (assignment_expression "*puVar1 = 0xbab1e" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "iVar2 = FUN_0001baa0(puVar1 + 0x11);" (assignment_expression "iVar2 = FUN_0001baa0(puVar1 + 0x11)" identifier = (call_expression "FUN_0001baa0(puVar1 + 0x11)" identifier (argument_list "(puVar1 + 0x11)" ( (binary_expression "puVar1 + 0x11" identifier + number_literal) )))) ;) (if_statement "if (iVar2 == 0) {\n      iVar2 = FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9);\n      if (iVar2 == 0) {\n        iVar2 = FUN_00066040(puVar1 + 0x23,param_3);\n        if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }\n      }\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar2 = FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9);\n      if (iVar2 == 0) {\n        iVar2 = FUN_00066040(puVar1 + 0x23,param_3);\n        if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }\n      }\n    }" { (expression_statement "iVar2 = FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9);" (assignment_expression "iVar2 = FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9)" identifier = (call_expression "FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9)" identifier (argument_list "(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9)" ( (binary_expression "puVar1 + 0x1b" identifier + number_literal) , identifier , (binary_expression "unaff_EBX + -0x8b9" identifier + number_literal) , (binary_expression "unaff_EBX + -0x8d9" identifier + number_literal) , (binary_expression "unaff_EBX + -0x8f9" identifier + number_literal) )))) ;) (if_statement "if (iVar2 == 0) {\n        iVar2 = FUN_00066040(puVar1 + 0x23,param_3);\n        if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar2 = FUN_00066040(puVar1 + 0x23,param_3);\n        if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }\n      }" { (expression_statement "iVar2 = FUN_00066040(puVar1 + 0x23,param_3);" (assignment_expression "iVar2 = FUN_00066040(puVar1 + 0x23,param_3)" identifier = (call_expression "FUN_00066040(puVar1 + 0x23,param_3)" identifier (argument_list "(puVar1 + 0x23,param_3)" ( (binary_expression "puVar1 + 0x23" identifier + number_literal) , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }" { (expression_statement "FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);" (call_expression "FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9)" identifier (argument_list "(puVar1 + 5,unaff_EBX + -0x8a9)" ( (binary_expression "puVar1 + 5" identifier + number_literal) , (binary_expression "unaff_EBX + -0x8a9" identifier + number_literal) ))) ;) (expression_statement "FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);" (call_expression "FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9)" identifier (argument_list "(puVar1 + 9,unaff_EBX + -0x8a9)" ( (binary_expression "puVar1 + 9" identifier + number_literal) , (binary_expression "unaff_EBX + -0x8a9" identifier + number_literal) ))) ;) (expression_statement "puVar1[0x31] = 5;" (assignment_expression "puVar1[0x31] = 5" (subscript_expression "puVar1[0x31]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[0x21] = 2;" (assignment_expression "puVar1[0x21] = 2" (subscript_expression "puVar1[0x21]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[0x2e] = 0xffffffff;" (assignment_expression "puVar1[0x2e] = 0xffffffff" (subscript_expression "puVar1[0x2e]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return puVar1;" return identifier ;) })) })) })) (expression_statement "FUN_00044ec0(puVar1 + 0x1b);" (call_expression "FUN_00044ec0(puVar1 + 0x1b)" identifier (argument_list "(puVar1 + 0x1b)" ( (binary_expression "puVar1 + 0x1b" identifier + number_literal) ))) ;) (expression_statement "FUN_00044ec0(puVar1 + 0x11);" (call_expression "FUN_00044ec0(puVar1 + 0x11)" identifier (argument_list "(puVar1 + 0x11)" ( (binary_expression "puVar1 + 0x11" identifier + number_literal) ))) ;) (expression_statement "FUN_000660c0(puVar1 + 0x23);" (call_expression "FUN_000660c0(puVar1 + 0x23)" identifier (argument_list "(puVar1 + 0x23)" ( (binary_expression "puVar1 + 0x23" identifier + number_literal) ))) ;) (expression_statement "FUN_00044aa0(puVar1 + 5,0);" (call_expression "FUN_00044aa0(puVar1 + 5,0)" identifier (argument_list "(puVar1 + 5,0)" ( (binary_expression "puVar1 + 5" identifier + number_literal) , number_literal ))) ;) (expression_statement "FUN_00044aa0(puVar1 + 9,0);" (call_expression "FUN_00044aa0(puVar1 + 9,0)" identifier (argument_list "(puVar1 + 9,0)" ( (binary_expression "puVar1 + 9" identifier + number_literal) , number_literal ))) ;) (expression_statement "puVar3 = (undefined4 *)0x0;" (assignment_expression "puVar3 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(**(code **)(unaff_EBX + 0x71633))(puVar1);" (call_expression "(**(code **)(unaff_EBX + 0x71633))(puVar1)" (parenthesized_expression "(**(code **)(unaff_EBX + 0x71633))" ( (pointer_expression "**(code **)(unaff_EBX + 0x71633)" * (pointer_expression "*(code **)(unaff_EBX + 0x71633)" * (cast_expression "(code **)(unaff_EBX + 0x71633)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBX + 0x71633)" ( (binary_expression "unaff_EBX + 0x71633" identifier + number_literal) ))))) )) (argument_list "(puVar1)" ( identifier ))) ;) })) (return_statement "return puVar3;" return identifier ;) }))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nCurl_multi * Curl_multi_handle(int hashsize,int chashsize)\n\n{\n  Curl_multi *pCVar1;\n  int iVar2;\n  Curl_multi *pCVar3;\n  \n  pCVar1 = (Curl_multi *)(*Curl_ccalloc)(1,0x104);\n  pCVar3 = pCVar1;\n  if (pCVar1 != (Curl_multi *)0x0) {\n    pCVar1->type = 0xbab1e;\n    iVar2 = Curl_mk_dnscache(&pCVar1->hostcache);\n    if (iVar2 == 0) {\n      iVar2 = Curl_hash_init(&pCVar1->sockhash,hashsize,hash_fd,fd_key_compare,sh_freeentry);\n      if (iVar2 == 0) {\n        iVar2 = Curl_conncache_init(&pCVar1->conn_cache,chashsize);\n        if (iVar2 == 0) {\n          Curl_llist_init(&pCVar1->msglist,multi_freeamsg);\n          Curl_llist_init(&pCVar1->pending,multi_freeamsg);\n          pCVar1->max_pipeline_length = 5;\n          pCVar1->pipelining = 2;\n          pCVar1->maxconnects = -1;\n          return pCVar1;\n        }\n      }\n    }\n    Curl_hash_destroy(&pCVar1->sockhash);\n    Curl_hash_destroy(&pCVar1->hostcache);\n    Curl_conncache_destroy(&pCVar1->conn_cache);\n    Curl_llist_destroy(&pCVar1->msglist,(void *)0x0);\n    Curl_llist_destroy(&pCVar1->pending,(void *)0x0);\n    pCVar3 = (Curl_multi *)0x0;\n    (*Curl_cfree)(pCVar1);\n  }\n  return pCVar3;\n}\n\n" comment comment comment (function_definition "Curl_multi * Curl_multi_handle(int hashsize,int chashsize)\n\n{\n  Curl_multi *pCVar1;\n  int iVar2;\n  Curl_multi *pCVar3;\n  \n  pCVar1 = (Curl_multi *)(*Curl_ccalloc)(1,0x104);\n  pCVar3 = pCVar1;\n  if (pCVar1 != (Curl_multi *)0x0) {\n    pCVar1->type = 0xbab1e;\n    iVar2 = Curl_mk_dnscache(&pCVar1->hostcache);\n    if (iVar2 == 0) {\n      iVar2 = Curl_hash_init(&pCVar1->sockhash,hashsize,hash_fd,fd_key_compare,sh_freeentry);\n      if (iVar2 == 0) {\n        iVar2 = Curl_conncache_init(&pCVar1->conn_cache,chashsize);\n        if (iVar2 == 0) {\n          Curl_llist_init(&pCVar1->msglist,multi_freeamsg);\n          Curl_llist_init(&pCVar1->pending,multi_freeamsg);\n          pCVar1->max_pipeline_length = 5;\n          pCVar1->pipelining = 2;\n          pCVar1->maxconnects = -1;\n          return pCVar1;\n        }\n      }\n    }\n    Curl_hash_destroy(&pCVar1->sockhash);\n    Curl_hash_destroy(&pCVar1->hostcache);\n    Curl_conncache_destroy(&pCVar1->conn_cache);\n    Curl_llist_destroy(&pCVar1->msglist,(void *)0x0);\n    Curl_llist_destroy(&pCVar1->pending,(void *)0x0);\n    pCVar3 = (Curl_multi *)0x0;\n    (*Curl_cfree)(pCVar1);\n  }\n  return pCVar3;\n}" type_identifier (pointer_declarator "* Curl_multi_handle(int hashsize,int chashsize)" * (function_declarator "Curl_multi_handle(int hashsize,int chashsize)" identifier (parameter_list "(int hashsize,int chashsize)" ( (parameter_declaration "int hashsize" primitive_type identifier) , (parameter_declaration "int chashsize" primitive_type identifier) )))) (compound_statement "{\n  Curl_multi *pCVar1;\n  int iVar2;\n  Curl_multi *pCVar3;\n  \n  pCVar1 = (Curl_multi *)(*Curl_ccalloc)(1,0x104);\n  pCVar3 = pCVar1;\n  if (pCVar1 != (Curl_multi *)0x0) {\n    pCVar1->type = 0xbab1e;\n    iVar2 = Curl_mk_dnscache(&pCVar1->hostcache);\n    if (iVar2 == 0) {\n      iVar2 = Curl_hash_init(&pCVar1->sockhash,hashsize,hash_fd,fd_key_compare,sh_freeentry);\n      if (iVar2 == 0) {\n        iVar2 = Curl_conncache_init(&pCVar1->conn_cache,chashsize);\n        if (iVar2 == 0) {\n          Curl_llist_init(&pCVar1->msglist,multi_freeamsg);\n          Curl_llist_init(&pCVar1->pending,multi_freeamsg);\n          pCVar1->max_pipeline_length = 5;\n          pCVar1->pipelining = 2;\n          pCVar1->maxconnects = -1;\n          return pCVar1;\n        }\n      }\n    }\n    Curl_hash_destroy(&pCVar1->sockhash);\n    Curl_hash_destroy(&pCVar1->hostcache);\n    Curl_conncache_destroy(&pCVar1->conn_cache);\n    Curl_llist_destroy(&pCVar1->msglist,(void *)0x0);\n    Curl_llist_destroy(&pCVar1->pending,(void *)0x0);\n    pCVar3 = (Curl_multi *)0x0;\n    (*Curl_cfree)(pCVar1);\n  }\n  return pCVar3;\n}" { (declaration "Curl_multi *pCVar1;" type_identifier (pointer_declarator "*pCVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "Curl_multi *pCVar3;" type_identifier (pointer_declarator "*pCVar3" * identifier) ;) (expression_statement "pCVar1 = (Curl_multi *)(*Curl_ccalloc)(1,0x104);" (assignment_expression "pCVar1 = (Curl_multi *)(*Curl_ccalloc)(1,0x104)" identifier = (cast_expression "(Curl_multi *)(*Curl_ccalloc)(1,0x104)" ( (type_descriptor "Curl_multi *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*Curl_ccalloc)(1,0x104)" (parenthesized_expression "(*Curl_ccalloc)" ( (pointer_expression "*Curl_ccalloc" * identifier) )) (argument_list "(1,0x104)" ( number_literal , number_literal ))))) ;) (expression_statement "pCVar3 = pCVar1;" (assignment_expression "pCVar3 = pCVar1" identifier = identifier) ;) (if_statement "if (pCVar1 != (Curl_multi *)0x0) {\n    pCVar1->type = 0xbab1e;\n    iVar2 = Curl_mk_dnscache(&pCVar1->hostcache);\n    if (iVar2 == 0) {\n      iVar2 = Curl_hash_init(&pCVar1->sockhash,hashsize,hash_fd,fd_key_compare,sh_freeentry);\n      if (iVar2 == 0) {\n        iVar2 = Curl_conncache_init(&pCVar1->conn_cache,chashsize);\n        if (iVar2 == 0) {\n          Curl_llist_init(&pCVar1->msglist,multi_freeamsg);\n          Curl_llist_init(&pCVar1->pending,multi_freeamsg);\n          pCVar1->max_pipeline_length = 5;\n          pCVar1->pipelining = 2;\n          pCVar1->maxconnects = -1;\n          return pCVar1;\n        }\n      }\n    }\n    Curl_hash_destroy(&pCVar1->sockhash);\n    Curl_hash_destroy(&pCVar1->hostcache);\n    Curl_conncache_destroy(&pCVar1->conn_cache);\n    Curl_llist_destroy(&pCVar1->msglist,(void *)0x0);\n    Curl_llist_destroy(&pCVar1->pending,(void *)0x0);\n    pCVar3 = (Curl_multi *)0x0;\n    (*Curl_cfree)(pCVar1);\n  }" if (parenthesized_expression "(pCVar1 != (Curl_multi *)0x0)" ( (binary_expression "pCVar1 != (Curl_multi *)0x0" identifier != (cast_expression "(Curl_multi *)0x0" ( (type_descriptor "Curl_multi *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pCVar1->type = 0xbab1e;\n    iVar2 = Curl_mk_dnscache(&pCVar1->hostcache);\n    if (iVar2 == 0) {\n      iVar2 = Curl_hash_init(&pCVar1->sockhash,hashsize,hash_fd,fd_key_compare,sh_freeentry);\n      if (iVar2 == 0) {\n        iVar2 = Curl_conncache_init(&pCVar1->conn_cache,chashsize);\n        if (iVar2 == 0) {\n          Curl_llist_init(&pCVar1->msglist,multi_freeamsg);\n          Curl_llist_init(&pCVar1->pending,multi_freeamsg);\n          pCVar1->max_pipeline_length = 5;\n          pCVar1->pipelining = 2;\n          pCVar1->maxconnects = -1;\n          return pCVar1;\n        }\n      }\n    }\n    Curl_hash_destroy(&pCVar1->sockhash);\n    Curl_hash_destroy(&pCVar1->hostcache);\n    Curl_conncache_destroy(&pCVar1->conn_cache);\n    Curl_llist_destroy(&pCVar1->msglist,(void *)0x0);\n    Curl_llist_destroy(&pCVar1->pending,(void *)0x0);\n    pCVar3 = (Curl_multi *)0x0;\n    (*Curl_cfree)(pCVar1);\n  }" { (expression_statement "pCVar1->type = 0xbab1e;" (assignment_expression "pCVar1->type = 0xbab1e" (field_expression "pCVar1->type" identifier -> field_identifier) = number_literal) ;) (expression_statement "iVar2 = Curl_mk_dnscache(&pCVar1->hostcache);" (assignment_expression "iVar2 = Curl_mk_dnscache(&pCVar1->hostcache)" identifier = (call_expression "Curl_mk_dnscache(&pCVar1->hostcache)" identifier (argument_list "(&pCVar1->hostcache)" ( (pointer_expression "&pCVar1->hostcache" & (field_expression "pCVar1->hostcache" identifier -> field_identifier)) )))) ;) (if_statement "if (iVar2 == 0) {\n      iVar2 = Curl_hash_init(&pCVar1->sockhash,hashsize,hash_fd,fd_key_compare,sh_freeentry);\n      if (iVar2 == 0) {\n        iVar2 = Curl_conncache_init(&pCVar1->conn_cache,chashsize);\n        if (iVar2 == 0) {\n          Curl_llist_init(&pCVar1->msglist,multi_freeamsg);\n          Curl_llist_init(&pCVar1->pending,multi_freeamsg);\n          pCVar1->max_pipeline_length = 5;\n          pCVar1->pipelining = 2;\n          pCVar1->maxconnects = -1;\n          return pCVar1;\n        }\n      }\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar2 = Curl_hash_init(&pCVar1->sockhash,hashsize,hash_fd,fd_key_compare,sh_freeentry);\n      if (iVar2 == 0) {\n        iVar2 = Curl_conncache_init(&pCVar1->conn_cache,chashsize);\n        if (iVar2 == 0) {\n          Curl_llist_init(&pCVar1->msglist,multi_freeamsg);\n          Curl_llist_init(&pCVar1->pending,multi_freeamsg);\n          pCVar1->max_pipeline_length = 5;\n          pCVar1->pipelining = 2;\n          pCVar1->maxconnects = -1;\n          return pCVar1;\n        }\n      }\n    }" { (expression_statement "iVar2 = Curl_hash_init(&pCVar1->sockhash,hashsize,hash_fd,fd_key_compare,sh_freeentry);" (assignment_expression "iVar2 = Curl_hash_init(&pCVar1->sockhash,hashsize,hash_fd,fd_key_compare,sh_freeentry)" identifier = (call_expression "Curl_hash_init(&pCVar1->sockhash,hashsize,hash_fd,fd_key_compare,sh_freeentry)" identifier (argument_list "(&pCVar1->sockhash,hashsize,hash_fd,fd_key_compare,sh_freeentry)" ( (pointer_expression "&pCVar1->sockhash" & (field_expression "pCVar1->sockhash" identifier -> field_identifier)) , identifier , identifier , identifier , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n        iVar2 = Curl_conncache_init(&pCVar1->conn_cache,chashsize);\n        if (iVar2 == 0) {\n          Curl_llist_init(&pCVar1->msglist,multi_freeamsg);\n          Curl_llist_init(&pCVar1->pending,multi_freeamsg);\n          pCVar1->max_pipeline_length = 5;\n          pCVar1->pipelining = 2;\n          pCVar1->maxconnects = -1;\n          return pCVar1;\n        }\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar2 = Curl_conncache_init(&pCVar1->conn_cache,chashsize);\n        if (iVar2 == 0) {\n          Curl_llist_init(&pCVar1->msglist,multi_freeamsg);\n          Curl_llist_init(&pCVar1->pending,multi_freeamsg);\n          pCVar1->max_pipeline_length = 5;\n          pCVar1->pipelining = 2;\n          pCVar1->maxconnects = -1;\n          return pCVar1;\n        }\n      }" { (expression_statement "iVar2 = Curl_conncache_init(&pCVar1->conn_cache,chashsize);" (assignment_expression "iVar2 = Curl_conncache_init(&pCVar1->conn_cache,chashsize)" identifier = (call_expression "Curl_conncache_init(&pCVar1->conn_cache,chashsize)" identifier (argument_list "(&pCVar1->conn_cache,chashsize)" ( (pointer_expression "&pCVar1->conn_cache" & (field_expression "pCVar1->conn_cache" identifier -> field_identifier)) , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n          Curl_llist_init(&pCVar1->msglist,multi_freeamsg);\n          Curl_llist_init(&pCVar1->pending,multi_freeamsg);\n          pCVar1->max_pipeline_length = 5;\n          pCVar1->pipelining = 2;\n          pCVar1->maxconnects = -1;\n          return pCVar1;\n        }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          Curl_llist_init(&pCVar1->msglist,multi_freeamsg);\n          Curl_llist_init(&pCVar1->pending,multi_freeamsg);\n          pCVar1->max_pipeline_length = 5;\n          pCVar1->pipelining = 2;\n          pCVar1->maxconnects = -1;\n          return pCVar1;\n        }" { (expression_statement "Curl_llist_init(&pCVar1->msglist,multi_freeamsg);" (call_expression "Curl_llist_init(&pCVar1->msglist,multi_freeamsg)" identifier (argument_list "(&pCVar1->msglist,multi_freeamsg)" ( (pointer_expression "&pCVar1->msglist" & (field_expression "pCVar1->msglist" identifier -> field_identifier)) , identifier ))) ;) (expression_statement "Curl_llist_init(&pCVar1->pending,multi_freeamsg);" (call_expression "Curl_llist_init(&pCVar1->pending,multi_freeamsg)" identifier (argument_list "(&pCVar1->pending,multi_freeamsg)" ( (pointer_expression "&pCVar1->pending" & (field_expression "pCVar1->pending" identifier -> field_identifier)) , identifier ))) ;) (expression_statement "pCVar1->max_pipeline_length = 5;" (assignment_expression "pCVar1->max_pipeline_length = 5" (field_expression "pCVar1->max_pipeline_length" identifier -> field_identifier) = number_literal) ;) (expression_statement "pCVar1->pipelining = 2;" (assignment_expression "pCVar1->pipelining = 2" (field_expression "pCVar1->pipelining" identifier -> field_identifier) = number_literal) ;) (expression_statement "pCVar1->maxconnects = -1;" (assignment_expression "pCVar1->maxconnects = -1" (field_expression "pCVar1->maxconnects" identifier -> field_identifier) = number_literal) ;) (return_statement "return pCVar1;" return identifier ;) })) })) })) (expression_statement "Curl_hash_destroy(&pCVar1->sockhash);" (call_expression "Curl_hash_destroy(&pCVar1->sockhash)" identifier (argument_list "(&pCVar1->sockhash)" ( (pointer_expression "&pCVar1->sockhash" & (field_expression "pCVar1->sockhash" identifier -> field_identifier)) ))) ;) (expression_statement "Curl_hash_destroy(&pCVar1->hostcache);" (call_expression "Curl_hash_destroy(&pCVar1->hostcache)" identifier (argument_list "(&pCVar1->hostcache)" ( (pointer_expression "&pCVar1->hostcache" & (field_expression "pCVar1->hostcache" identifier -> field_identifier)) ))) ;) (expression_statement "Curl_conncache_destroy(&pCVar1->conn_cache);" (call_expression "Curl_conncache_destroy(&pCVar1->conn_cache)" identifier (argument_list "(&pCVar1->conn_cache)" ( (pointer_expression "&pCVar1->conn_cache" & (field_expression "pCVar1->conn_cache" identifier -> field_identifier)) ))) ;) (expression_statement "Curl_llist_destroy(&pCVar1->msglist,(void *)0x0);" (call_expression "Curl_llist_destroy(&pCVar1->msglist,(void *)0x0)" identifier (argument_list "(&pCVar1->msglist,(void *)0x0)" ( (pointer_expression "&pCVar1->msglist" & (field_expression "pCVar1->msglist" identifier -> field_identifier)) , (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) (expression_statement "Curl_llist_destroy(&pCVar1->pending,(void *)0x0);" (call_expression "Curl_llist_destroy(&pCVar1->pending,(void *)0x0)" identifier (argument_list "(&pCVar1->pending,(void *)0x0)" ( (pointer_expression "&pCVar1->pending" & (field_expression "pCVar1->pending" identifier -> field_identifier)) , (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) ))) ;) (expression_statement "pCVar3 = (Curl_multi *)0x0;" (assignment_expression "pCVar3 = (Curl_multi *)0x0" identifier = (cast_expression "(Curl_multi *)0x0" ( (type_descriptor "Curl_multi *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*Curl_cfree)(pCVar1);" (call_expression "(*Curl_cfree)(pCVar1)" (parenthesized_expression "(*Curl_cfree)" ( (pointer_expression "*Curl_cfree" * identifier) )) (argument_list "(pCVar1)" ( identifier ))) ;) })) (return_statement "return pCVar3;" return identifier ;) })))
(translation_unit "undefined4 * __regparm2 FUN_00045a30(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  int unaff_EBX;\n  undefined4 *puVar3;\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x45a39);\n  puVar1 = (undefined4 *)(**(code **)(unaff_EBX + 0x71627))(1,0x104);\n  puVar3 = puVar1;\n  if (puVar1 != (undefined4 *)0x0) {\n    *puVar1 = 0xbab1e;\n    iVar2 = FUN_0001baa0(puVar1 + 0x11);\n    if (iVar2 == 0) {\n      iVar2 = FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9);\n      if (iVar2 == 0) {\n        iVar2 = FUN_00066040(puVar1 + 0x23,param_3);\n        if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }\n      }\n    }\n    FUN_00044ec0(puVar1 + 0x1b);\n    FUN_00044ec0(puVar1 + 0x11);\n    FUN_000660c0(puVar1 + 0x23);\n    FUN_00044aa0(puVar1 + 5,0);\n    FUN_00044aa0(puVar1 + 9,0);\n    puVar3 = (undefined4 *)0x0;\n    (**(code **)(unaff_EBX + 0x71633))(puVar1);\n  }\n  return puVar3;\n}\n\n" (ERROR "undefined4 * __regparm2 FUN_00045a30(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (binary_expression "undefined4 * __regparm2 FUN_00045a30(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier * (ERROR "__regparm2" identifier) (call_expression "FUN_00045a30(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier (argument_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" ( identifier (ERROR "param_1" identifier) , identifier (ERROR "param_2" identifier) , identifier (ERROR "param_3" identifier) ))))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  int unaff_EBX;\n  undefined4 *puVar3;\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x45a39);\n  puVar1 = (undefined4 *)(**(code **)(unaff_EBX + 0x71627))(1,0x104);\n  puVar3 = puVar1;\n  if (puVar1 != (undefined4 *)0x0) {\n    *puVar1 = 0xbab1e;\n    iVar2 = FUN_0001baa0(puVar1 + 0x11);\n    if (iVar2 == 0) {\n      iVar2 = FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9);\n      if (iVar2 == 0) {\n        iVar2 = FUN_00066040(puVar1 + 0x23,param_3);\n        if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }\n      }\n    }\n    FUN_00044ec0(puVar1 + 0x1b);\n    FUN_00044ec0(puVar1 + 0x11);\n    FUN_000660c0(puVar1 + 0x23);\n    FUN_00044aa0(puVar1 + 5,0);\n    FUN_00044aa0(puVar1 + 9,0);\n    puVar3 = (undefined4 *)0x0;\n    (**(code **)(unaff_EBX + 0x71633))(puVar1);\n  }\n  return puVar3;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int unaff_EBX;" primitive_type identifier ;) (declaration "undefined4 *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 unaff_retaddr;" type_identifier identifier ;) (expression_statement "entry(param_2,0x45a39);" (call_expression "entry(param_2,0x45a39)" identifier (argument_list "(param_2,0x45a39)" ( identifier , number_literal ))) ;) (expression_statement "puVar1 = (undefined4 *)(**(code **)(unaff_EBX + 0x71627))(1,0x104);" (assignment_expression "puVar1 = (undefined4 *)(**(code **)(unaff_EBX + 0x71627))(1,0x104)" identifier = (cast_expression "(undefined4 *)(**(code **)(unaff_EBX + 0x71627))(1,0x104)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(**(code **)(unaff_EBX + 0x71627))(1,0x104)" (parenthesized_expression "(**(code **)(unaff_EBX + 0x71627))" ( (pointer_expression "**(code **)(unaff_EBX + 0x71627)" * (pointer_expression "*(code **)(unaff_EBX + 0x71627)" * (cast_expression "(code **)(unaff_EBX + 0x71627)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBX + 0x71627)" ( (binary_expression "unaff_EBX + 0x71627" identifier + number_literal) ))))) )) (argument_list "(1,0x104)" ( number_literal , number_literal ))))) ;) (expression_statement "puVar3 = puVar1;" (assignment_expression "puVar3 = puVar1" identifier = identifier) ;) (if_statement "if (puVar1 != (undefined4 *)0x0) {\n    *puVar1 = 0xbab1e;\n    iVar2 = FUN_0001baa0(puVar1 + 0x11);\n    if (iVar2 == 0) {\n      iVar2 = FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9);\n      if (iVar2 == 0) {\n        iVar2 = FUN_00066040(puVar1 + 0x23,param_3);\n        if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }\n      }\n    }\n    FUN_00044ec0(puVar1 + 0x1b);\n    FUN_00044ec0(puVar1 + 0x11);\n    FUN_000660c0(puVar1 + 0x23);\n    FUN_00044aa0(puVar1 + 5,0);\n    FUN_00044aa0(puVar1 + 9,0);\n    puVar3 = (undefined4 *)0x0;\n    (**(code **)(unaff_EBX + 0x71633))(puVar1);\n  }" if (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" ( (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    *puVar1 = 0xbab1e;\n    iVar2 = FUN_0001baa0(puVar1 + 0x11);\n    if (iVar2 == 0) {\n      iVar2 = FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9);\n      if (iVar2 == 0) {\n        iVar2 = FUN_00066040(puVar1 + 0x23,param_3);\n        if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }\n      }\n    }\n    FUN_00044ec0(puVar1 + 0x1b);\n    FUN_00044ec0(puVar1 + 0x11);\n    FUN_000660c0(puVar1 + 0x23);\n    FUN_00044aa0(puVar1 + 5,0);\n    FUN_00044aa0(puVar1 + 9,0);\n    puVar3 = (undefined4 *)0x0;\n    (**(code **)(unaff_EBX + 0x71633))(puVar1);\n  }" { (expression_statement "*puVar1 = 0xbab1e;" (assignment_expression "*puVar1 = 0xbab1e" (pointer_expression "*puVar1" * identifier) = number_literal) ;) (expression_statement "iVar2 = FUN_0001baa0(puVar1 + 0x11);" (assignment_expression "iVar2 = FUN_0001baa0(puVar1 + 0x11)" identifier = (call_expression "FUN_0001baa0(puVar1 + 0x11)" identifier (argument_list "(puVar1 + 0x11)" ( (binary_expression "puVar1 + 0x11" identifier + number_literal) )))) ;) (if_statement "if (iVar2 == 0) {\n      iVar2 = FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9);\n      if (iVar2 == 0) {\n        iVar2 = FUN_00066040(puVar1 + 0x23,param_3);\n        if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }\n      }\n    }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n      iVar2 = FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9);\n      if (iVar2 == 0) {\n        iVar2 = FUN_00066040(puVar1 + 0x23,param_3);\n        if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }\n      }\n    }" { (expression_statement "iVar2 = FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9);" (assignment_expression "iVar2 = FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9)" identifier = (call_expression "FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9)" identifier (argument_list "(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9)" ( (binary_expression "puVar1 + 0x1b" identifier + number_literal) , identifier , (binary_expression "unaff_EBX + -0x8b9" identifier + number_literal) , (binary_expression "unaff_EBX + -0x8d9" identifier + number_literal) , (binary_expression "unaff_EBX + -0x8f9" identifier + number_literal) )))) ;) (if_statement "if (iVar2 == 0) {\n        iVar2 = FUN_00066040(puVar1 + 0x23,param_3);\n        if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }\n      }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n        iVar2 = FUN_00066040(puVar1 + 0x23,param_3);\n        if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }\n      }" { (expression_statement "iVar2 = FUN_00066040(puVar1 + 0x23,param_3);" (assignment_expression "iVar2 = FUN_00066040(puVar1 + 0x23,param_3)" identifier = (call_expression "FUN_00066040(puVar1 + 0x23,param_3)" identifier (argument_list "(puVar1 + 0x23,param_3)" ( (binary_expression "puVar1 + 0x23" identifier + number_literal) , identifier )))) ;) (if_statement "if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }" if (parenthesized_expression "(iVar2 == 0)" ( (binary_expression "iVar2 == 0" identifier == number_literal) )) (compound_statement "{\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }" { (expression_statement "FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);" (call_expression "FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9)" identifier (argument_list "(puVar1 + 5,unaff_EBX + -0x8a9)" ( (binary_expression "puVar1 + 5" identifier + number_literal) , (binary_expression "unaff_EBX + -0x8a9" identifier + number_literal) ))) ;) (expression_statement "FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);" (call_expression "FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9)" identifier (argument_list "(puVar1 + 9,unaff_EBX + -0x8a9)" ( (binary_expression "puVar1 + 9" identifier + number_literal) , (binary_expression "unaff_EBX + -0x8a9" identifier + number_literal) ))) ;) (expression_statement "puVar1[0x31] = 5;" (assignment_expression "puVar1[0x31] = 5" (subscript_expression "puVar1[0x31]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[0x21] = 2;" (assignment_expression "puVar1[0x21] = 2" (subscript_expression "puVar1[0x21]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar1[0x2e] = 0xffffffff;" (assignment_expression "puVar1[0x2e] = 0xffffffff" (subscript_expression "puVar1[0x2e]" identifier [ number_literal ]) = number_literal) ;) (return_statement "return puVar1;" return identifier ;) })) })) })) (expression_statement "FUN_00044ec0(puVar1 + 0x1b);" (call_expression "FUN_00044ec0(puVar1 + 0x1b)" identifier (argument_list "(puVar1 + 0x1b)" ( (binary_expression "puVar1 + 0x1b" identifier + number_literal) ))) ;) (expression_statement "FUN_00044ec0(puVar1 + 0x11);" (call_expression "FUN_00044ec0(puVar1 + 0x11)" identifier (argument_list "(puVar1 + 0x11)" ( (binary_expression "puVar1 + 0x11" identifier + number_literal) ))) ;) (expression_statement "FUN_000660c0(puVar1 + 0x23);" (call_expression "FUN_000660c0(puVar1 + 0x23)" identifier (argument_list "(puVar1 + 0x23)" ( (binary_expression "puVar1 + 0x23" identifier + number_literal) ))) ;) (expression_statement "FUN_00044aa0(puVar1 + 5,0);" (call_expression "FUN_00044aa0(puVar1 + 5,0)" identifier (argument_list "(puVar1 + 5,0)" ( (binary_expression "puVar1 + 5" identifier + number_literal) , number_literal ))) ;) (expression_statement "FUN_00044aa0(puVar1 + 9,0);" (call_expression "FUN_00044aa0(puVar1 + 9,0)" identifier (argument_list "(puVar1 + 9,0)" ( (binary_expression "puVar1 + 9" identifier + number_literal) , number_literal ))) ;) (expression_statement "puVar3 = (undefined4 *)0x0;" (assignment_expression "puVar3 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(**(code **)(unaff_EBX + 0x71633))(puVar1);" (call_expression "(**(code **)(unaff_EBX + 0x71633))(puVar1)" (parenthesized_expression "(**(code **)(unaff_EBX + 0x71633))" ( (pointer_expression "**(code **)(unaff_EBX + 0x71633)" * (pointer_expression "*(code **)(unaff_EBX + 0x71633)" * (cast_expression "(code **)(unaff_EBX + 0x71633)" ( (type_descriptor "code **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_EBX + 0x71633)" ( (binary_expression "unaff_EBX + 0x71633" identifier + number_literal) ))))) )) (argument_list "(puVar1)" ( identifier ))) ;) })) (return_statement "return puVar3;" return identifier ;) }))
(translation_unit (ERROR (binary_expression IDENT * (ERROR IDENT) (call_expression IDENT (argument_list ( IDENT (ERROR IDENT) , IDENT (ERROR IDENT) , IDENT (ERROR IDENT) ))))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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 ( LIT , LIT ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (return_statement return IDENT ;) })) })) })) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) ))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT ))) ;) (expression_statement (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , LIT ))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 ( IDENT ))) ;) })) (return_statement return IDENT ;) }))
(ERROR "undefined4 * __regparm2 FUN_00045a30(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (binary_expression "undefined4 * __regparm2 FUN_00045a30(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (identifier "undefined4") (* "*") (ERROR "__regparm2" (identifier "__regparm2")) (call_expression "FUN_00045a30(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_00045a30") (argument_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (( "(") (identifier "undefined4") (ERROR "param_1" (identifier "param_1")) (, ",") (identifier "undefined4") (ERROR "param_2" (identifier "param_2")) (, ",") (identifier "undefined4") (ERROR "param_3" (identifier "param_3")) () ")"))))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  int unaff_EBX;\n  undefined4 *puVar3;\n  undefined4 unaff_retaddr;\n  \n  entry(param_2,0x45a39);\n  puVar1 = (undefined4 *)(**(code **)(unaff_EBX + 0x71627))(1,0x104);\n  puVar3 = puVar1;\n  if (puVar1 != (undefined4 *)0x0) {\n    *puVar1 = 0xbab1e;\n    iVar2 = FUN_0001baa0(puVar1 + 0x11);\n    if (iVar2 == 0) {\n      iVar2 = FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9);\n      if (iVar2 == 0) {\n        iVar2 = FUN_00066040(puVar1 + 0x23,param_3);\n        if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }\n      }\n    }\n    FUN_00044ec0(puVar1 + 0x1b);\n    FUN_00044ec0(puVar1 + 0x11);\n    FUN_000660c0(puVar1 + 0x23);\n    FUN_00044aa0(puVar1 + 5,0);\n    FUN_00044aa0(puVar1 + 9,0);\n    puVar3 = (undefined4 *)0x0;\n    (**(code **)(unaff_EBX + 0x71633))(puVar1);\n  }\n  return puVar3;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int unaff_EBX;" (primitive_type "int") (identifier "unaff_EBX") (; ";")) (declaration "undefined4 *puVar3;" (type_identifier "undefined4") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 unaff_retaddr;" (type_identifier "undefined4") (identifier "unaff_retaddr") (; ";")) (expression_statement "entry(param_2,0x45a39);" (call_expression "entry(param_2,0x45a39)" (identifier "entry") (argument_list "(param_2,0x45a39)" (( "(") (identifier "param_2") (, ",") (number_literal "0x45a39") () ")"))) (; ";")) (expression_statement "puVar1 = (undefined4 *)(**(code **)(unaff_EBX + 0x71627))(1,0x104);" (assignment_expression "puVar1 = (undefined4 *)(**(code **)(unaff_EBX + 0x71627))(1,0x104)" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)(**(code **)(unaff_EBX + 0x71627))(1,0x104)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(**(code **)(unaff_EBX + 0x71627))(1,0x104)" (parenthesized_expression "(**(code **)(unaff_EBX + 0x71627))" (( "(") (pointer_expression "**(code **)(unaff_EBX + 0x71627)" (* "*") (pointer_expression "*(code **)(unaff_EBX + 0x71627)" (* "*") (cast_expression "(code **)(unaff_EBX + 0x71627)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EBX + 0x71627)" (( "(") (binary_expression "unaff_EBX + 0x71627" (identifier "unaff_EBX") (+ "+") (number_literal "0x71627")) () ")"))))) () ")")) (argument_list "(1,0x104)" (( "(") (number_literal "1") (, ",") (number_literal "0x104") () ")"))))) (; ";")) (expression_statement "puVar3 = puVar1;" (assignment_expression "puVar3 = puVar1" (identifier "puVar3") (= "=") (identifier "puVar1")) (; ";")) (if_statement "if (puVar1 != (undefined4 *)0x0) {\n    *puVar1 = 0xbab1e;\n    iVar2 = FUN_0001baa0(puVar1 + 0x11);\n    if (iVar2 == 0) {\n      iVar2 = FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9);\n      if (iVar2 == 0) {\n        iVar2 = FUN_00066040(puVar1 + 0x23,param_3);\n        if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }\n      }\n    }\n    FUN_00044ec0(puVar1 + 0x1b);\n    FUN_00044ec0(puVar1 + 0x11);\n    FUN_000660c0(puVar1 + 0x23);\n    FUN_00044aa0(puVar1 + 5,0);\n    FUN_00044aa0(puVar1 + 9,0);\n    puVar3 = (undefined4 *)0x0;\n    (**(code **)(unaff_EBX + 0x71633))(puVar1);\n  }" (if "if") (parenthesized_expression "(puVar1 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar1 != (undefined4 *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    *puVar1 = 0xbab1e;\n    iVar2 = FUN_0001baa0(puVar1 + 0x11);\n    if (iVar2 == 0) {\n      iVar2 = FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9);\n      if (iVar2 == 0) {\n        iVar2 = FUN_00066040(puVar1 + 0x23,param_3);\n        if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }\n      }\n    }\n    FUN_00044ec0(puVar1 + 0x1b);\n    FUN_00044ec0(puVar1 + 0x11);\n    FUN_000660c0(puVar1 + 0x23);\n    FUN_00044aa0(puVar1 + 5,0);\n    FUN_00044aa0(puVar1 + 9,0);\n    puVar3 = (undefined4 *)0x0;\n    (**(code **)(unaff_EBX + 0x71633))(puVar1);\n  }" ({ "{") (expression_statement "*puVar1 = 0xbab1e;" (assignment_expression "*puVar1 = 0xbab1e" (pointer_expression "*puVar1" (* "*") (identifier "puVar1")) (= "=") (number_literal "0xbab1e")) (; ";")) (expression_statement "iVar2 = FUN_0001baa0(puVar1 + 0x11);" (assignment_expression "iVar2 = FUN_0001baa0(puVar1 + 0x11)" (identifier "iVar2") (= "=") (call_expression "FUN_0001baa0(puVar1 + 0x11)" (identifier "FUN_0001baa0") (argument_list "(puVar1 + 0x11)" (( "(") (binary_expression "puVar1 + 0x11" (identifier "puVar1") (+ "+") (number_literal "0x11")) () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n      iVar2 = FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9);\n      if (iVar2 == 0) {\n        iVar2 = FUN_00066040(puVar1 + 0x23,param_3);\n        if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }\n      }\n    }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      iVar2 = FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9);\n      if (iVar2 == 0) {\n        iVar2 = FUN_00066040(puVar1 + 0x23,param_3);\n        if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }\n      }\n    }" ({ "{") (expression_statement "iVar2 = FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9);" (assignment_expression "iVar2 = FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9)" (identifier "iVar2") (= "=") (call_expression "FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9)" (identifier "FUN_00044bf0") (argument_list "(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,\n                           unaff_EBX + -0x8f9)" (( "(") (binary_expression "puVar1 + 0x1b" (identifier "puVar1") (+ "+") (number_literal "0x1b")) (, ",") (identifier "unaff_retaddr") (, ",") (binary_expression "unaff_EBX + -0x8b9" (identifier "unaff_EBX") (+ "+") (number_literal "-0x8b9")) (, ",") (binary_expression "unaff_EBX + -0x8d9" (identifier "unaff_EBX") (+ "+") (number_literal "-0x8d9")) (, ",") (binary_expression "unaff_EBX + -0x8f9" (identifier "unaff_EBX") (+ "+") (number_literal "-0x8f9")) () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n        iVar2 = FUN_00066040(puVar1 + 0x23,param_3);\n        if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }\n      }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        iVar2 = FUN_00066040(puVar1 + 0x23,param_3);\n        if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }\n      }" ({ "{") (expression_statement "iVar2 = FUN_00066040(puVar1 + 0x23,param_3);" (assignment_expression "iVar2 = FUN_00066040(puVar1 + 0x23,param_3)" (identifier "iVar2") (= "=") (call_expression "FUN_00066040(puVar1 + 0x23,param_3)" (identifier "FUN_00066040") (argument_list "(puVar1 + 0x23,param_3)" (( "(") (binary_expression "puVar1 + 0x23" (identifier "puVar1") (+ "+") (number_literal "0x23")) (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (iVar2 == 0) {\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }" (if "if") (parenthesized_expression "(iVar2 == 0)" (( "(") (binary_expression "iVar2 == 0" (identifier "iVar2") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);\n          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);\n          puVar1[0x31] = 5;\n          puVar1[0x21] = 2;\n          puVar1[0x2e] = 0xffffffff;\n          return puVar1;\n        }" ({ "{") (expression_statement "FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);" (call_expression "FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9)" (identifier "FUN_00044950") (argument_list "(puVar1 + 5,unaff_EBX + -0x8a9)" (( "(") (binary_expression "puVar1 + 5" (identifier "puVar1") (+ "+") (number_literal "5")) (, ",") (binary_expression "unaff_EBX + -0x8a9" (identifier "unaff_EBX") (+ "+") (number_literal "-0x8a9")) () ")"))) (; ";")) (expression_statement "FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);" (call_expression "FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9)" (identifier "FUN_00044950") (argument_list "(puVar1 + 9,unaff_EBX + -0x8a9)" (( "(") (binary_expression "puVar1 + 9" (identifier "puVar1") (+ "+") (number_literal "9")) (, ",") (binary_expression "unaff_EBX + -0x8a9" (identifier "unaff_EBX") (+ "+") (number_literal "-0x8a9")) () ")"))) (; ";")) (expression_statement "puVar1[0x31] = 5;" (assignment_expression "puVar1[0x31] = 5" (subscript_expression "puVar1[0x31]" (identifier "puVar1") ([ "[") (number_literal "0x31") (] "]")) (= "=") (number_literal "5")) (; ";")) (expression_statement "puVar1[0x21] = 2;" (assignment_expression "puVar1[0x21] = 2" (subscript_expression "puVar1[0x21]" (identifier "puVar1") ([ "[") (number_literal "0x21") (] "]")) (= "=") (number_literal "2")) (; ";")) (expression_statement "puVar1[0x2e] = 0xffffffff;" (assignment_expression "puVar1[0x2e] = 0xffffffff" (subscript_expression "puVar1[0x2e]" (identifier "puVar1") ([ "[") (number_literal "0x2e") (] "]")) (= "=") (number_literal "0xffffffff")) (; ";")) (return_statement "return puVar1;" (return "return") (identifier "puVar1") (; ";")) (} "}"))) (} "}"))) (} "}"))) (expression_statement "FUN_00044ec0(puVar1 + 0x1b);" (call_expression "FUN_00044ec0(puVar1 + 0x1b)" (identifier "FUN_00044ec0") (argument_list "(puVar1 + 0x1b)" (( "(") (binary_expression "puVar1 + 0x1b" (identifier "puVar1") (+ "+") (number_literal "0x1b")) () ")"))) (; ";")) (expression_statement "FUN_00044ec0(puVar1 + 0x11);" (call_expression "FUN_00044ec0(puVar1 + 0x11)" (identifier "FUN_00044ec0") (argument_list "(puVar1 + 0x11)" (( "(") (binary_expression "puVar1 + 0x11" (identifier "puVar1") (+ "+") (number_literal "0x11")) () ")"))) (; ";")) (expression_statement "FUN_000660c0(puVar1 + 0x23);" (call_expression "FUN_000660c0(puVar1 + 0x23)" (identifier "FUN_000660c0") (argument_list "(puVar1 + 0x23)" (( "(") (binary_expression "puVar1 + 0x23" (identifier "puVar1") (+ "+") (number_literal "0x23")) () ")"))) (; ";")) (expression_statement "FUN_00044aa0(puVar1 + 5,0);" (call_expression "FUN_00044aa0(puVar1 + 5,0)" (identifier "FUN_00044aa0") (argument_list "(puVar1 + 5,0)" (( "(") (binary_expression "puVar1 + 5" (identifier "puVar1") (+ "+") (number_literal "5")) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "FUN_00044aa0(puVar1 + 9,0);" (call_expression "FUN_00044aa0(puVar1 + 9,0)" (identifier "FUN_00044aa0") (argument_list "(puVar1 + 9,0)" (( "(") (binary_expression "puVar1 + 9" (identifier "puVar1") (+ "+") (number_literal "9")) (, ",") (number_literal "0") () ")"))) (; ";")) (expression_statement "puVar3 = (undefined4 *)0x0;" (assignment_expression "puVar3 = (undefined4 *)0x0" (identifier "puVar3") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "(**(code **)(unaff_EBX + 0x71633))(puVar1);" (call_expression "(**(code **)(unaff_EBX + 0x71633))(puVar1)" (parenthesized_expression "(**(code **)(unaff_EBX + 0x71633))" (( "(") (pointer_expression "**(code **)(unaff_EBX + 0x71633)" (* "*") (pointer_expression "*(code **)(unaff_EBX + 0x71633)" (* "*") (cast_expression "(code **)(unaff_EBX + 0x71633)" (( "(") (type_descriptor "code **" (type_identifier "code") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_EBX + 0x71633)" (( "(") (binary_expression "unaff_EBX + 0x71633" (identifier "unaff_EBX") (+ "+") (number_literal "0x71633")) () ")"))))) () ")")) (argument_list "(puVar1)" (( "(") (identifier "puVar1") () ")"))) (; ";")) (} "}"))) (return_statement "return puVar3;" (return "return") (identifier "puVar3") (; ";")) (} "}"))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

type_1 * function_1(int hashsize,int chashsize)

{
  type_1 *var_1;
  int var_3;
  type_1 *pCVar3;
  
  var_1 = (type_1 *)(*Curl_ccalloc)(1,0x104);
  pCVar3 = var_1;
  if (var_1 != (type_1 *)0x0) {
    var_1->type = 0xbab1e;
    var_3 = var_2(&var_1->hostcache);
    if (var_3 == 0) {
      var_3 = var_4(&var_1->sockhash,hashsize,hash_fd,fd_key_compare,sh_freeentry);
      if (var_3 == 0) {
        var_3 = var_5(&var_1->conn_cache,chashsize);
        if (var_3 == 0) {
          var_6(&var_1->msglist,multi_freeamsg);
          var_6(&var_1->pending,multi_freeamsg);
          var_1->max_pipeline_length = 5;
          var_1->pipelining = 2;
          var_1->maxconnects = -1;
          return var_1;
        }
      }
    }
    var_7(&var_1->sockhash);
    var_7(&var_1->hostcache);
    var_8(&var_1->conn_cache);
    var_9(&var_1->msglist,(void *)0x0);
    var_9(&var_1->pending,(void *)0x0);
    pCVar3 = (type_1 *)0x0;
    (*Curl_cfree)(var_1);
  }
  return pCVar3;
}


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

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

{
  undefined4 *puVar1;
  int iVar2;
  int unaff_EBX;
  undefined4 *puVar3;
  undefined4 unaff_retaddr;
  
  entry(param_2,0x45a39);
  puVar1 = (undefined4 *)(**(code **)(unaff_EBX + 0x71627))(1,0x104);
  puVar3 = puVar1;
  if (puVar1 != (undefined4 *)0x0) {
    *puVar1 = 0xbab1e;
    iVar2 = FUN_0001baa0(puVar1 + 0x11);
    if (iVar2 == 0) {
      iVar2 = FUN_00044bf0(puVar1 + 0x1b,unaff_retaddr,unaff_EBX + -0x8b9,unaff_EBX + -0x8d9,
                           unaff_EBX + -0x8f9);
      if (iVar2 == 0) {
        iVar2 = FUN_00066040(puVar1 + 0x23,param_3);
        if (iVar2 == 0) {
          FUN_00044950(puVar1 + 5,unaff_EBX + -0x8a9);
          FUN_00044950(puVar1 + 9,unaff_EBX + -0x8a9);
          puVar1[0x31] = 5;
          puVar1[0x21] = 2;
          puVar1[0x2e] = 0xffffffff;
          return puVar1;
        }
      }
    }
    FUN_00044ec0(puVar1 + 0x1b);
    FUN_00044ec0(puVar1 + 0x11);
    FUN_000660c0(puVar1 + 0x23);
    FUN_00044aa0(puVar1 + 5,0);
    FUN_00044aa0(puVar1 + 9,0);
    puVar3 = (undefined4 *)0x0;
    (**(code **)(unaff_EBX + 0x71633))(puVar1);
  }
  return puVar3;
}

