
/* 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_socket_t Curl_getconnectinfo(Curl_easy *data,connectdata **connp)

{
  int iVar1;
  connectdata *pcVar2;
  Curl_multi *pCVar3;
  curl_socket_t cVar4;
  int in_GS_OFFSET;
  connfind find;
  
  iVar1 = *(int *)(in_GS_OFFSET + 0x14);
  pcVar2 = (data->state).lastconnect;
  if ((pcVar2 != (connectdata *)0x0) &&
     ((pCVar3 = data->multi_easy, pCVar3 != (Curl_multi *)0x0 ||
      (pCVar3 = data->multi, pCVar3 != (Curl_multi *)0x0)))) {
    find.found = false;
    find.tofind = pcVar2;
    Curl_conncache_foreach(data,&pCVar3->conn_cache,&find,conn_is_conn);
    if (find.found != false) {
      if (connp != (connectdata **)0x0) {
        *connp = pcVar2;
        pcVar2->data = data;
      }
      cVar4 = pcVar2->sock[0];
      goto LAB_000430ff;
    }
    (data->state).lastconnect = (connectdata *)0x0;
  }
  cVar4 = -1;
LAB_000430ff:
  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    __stack_chk_fail_local();
  }
  return cVar4;
}



int FUN_00043070(int *param_1)

{
  int *piVar1;
  int iVar2;
  int unaff_EBX;
  int in_GS_OFFSET;
  int unaff_retaddr;
  int *local_2c;
  char local_28;
  int local_24;
  undefined4 uStack_14;
  
  uStack_14 = 0x43079;
  entry();
  local_24 = *(int *)(in_GS_OFFSET + 0x14);
  piVar1 = *(int **)(unaff_retaddr + 0xc5c);
  if ((piVar1 != (int *)0x0) &&
     ((iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||
      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)))) {
    local_28 = '\0';
    local_2c = piVar1;
    FUN_00066720(unaff_retaddr,iVar2 + 0x8c,&local_2c,unaff_EBX + -0x629);
    if (local_28 != '\0') {
      if (param_1 != (int *)0x0) {
        *param_1 = (int)piVar1;
        *piVar1 = unaff_retaddr;
      }
      iVar2 = piVar1[100];
      goto LAB_000430ff;
    }
    *(undefined4 *)(unaff_retaddr + 0xc5c) = 0;
  }
  iVar2 = -1;
LAB_000430ff:
  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_00082f60();
  }
  return iVar2;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00019ed0
ADD EBX,0x73767
SUB ESP,0x1c
MOV EAX,GS:[0x14]
MOV dword ptr [ESP + 0xc],EAX
XOR EAX,EAX
MOV EDI,dword ptr [ESP + 0x30]
MOV ESI,dword ptr [ESP + 0x34]
MOV EBP,dword ptr [EDI + 0xc5c]
TEST EBP,EBP
JZ 0x000430fa
MOV EAX,dword ptr [EDI + 0x88]
TEST EAX,EAX
JZ 0x00043118
LEA EDX,[EBX + 0xfff8c270]
MOV dword ptr [ESP + 0x4],EBP
ADD EAX,0x8c
MOV byte ptr [ESP + 0x8],0x0
PUSH EDX
LEA EDX,[ESP + 0x8]
PUSH EDX
PUSH EAX
PUSH EDI
CALL 0x00066720
ADD ESP,0x10
CMP byte ptr [ESP + 0x8],0x0
JZ 0x000430f0
TEST ESI,ESI
JZ 0x000430de
MOV dword ptr [ESI],EBP
MOV dword ptr [EBP],EDI
MOV EAX,dword ptr [EBP + 0x190]
JMP 0x000430ff
MOV dword ptr [EDI + 0xc5c],0x0
MOV EAX,0xffffffff
MOV ECX,dword ptr [ESP + 0xc]
XOR ECX,dword ptr GS:[0x14]
JNZ 0x00043124
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
MOV EAX,dword ptr [EDI + 0x84]
TEST EAX,EAX
JNZ 0x000430aa
JMP 0x000430fa
CALL 0x00082f60
(translation_unit "int FUN_00043070(int *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  int unaff_EBX;\n  int in_GS_OFFSET;\n  int unaff_retaddr;\n  int *local_2c;\n  char local_28;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x43079;\n  entry();\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  piVar1 = *(int **)(unaff_retaddr + 0xc5c);\n  if ((piVar1 != (int *)0x0) &&\n     ((iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)))) {\n    local_28 = '\0';\n    local_2c = piVar1;\n    FUN_00066720(unaff_retaddr,iVar2 + 0x8c,&local_2c,unaff_EBX + -0x629);\n    if (local_28 != '\0') {\n      if (param_1 != (int *)0x0) {\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }\n      iVar2 = piVar1[100];\n      goto LAB_000430ff;\n    }\n    *(undefined4 *)(unaff_retaddr + 0xc5c) = 0;\n  }\n  iVar2 = -1;\nLAB_000430ff:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00082f60();\n  }\n  return iVar2;\n}\n\n" (function_definition "int FUN_00043070(int *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  int unaff_EBX;\n  int in_GS_OFFSET;\n  int unaff_retaddr;\n  int *local_2c;\n  char local_28;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x43079;\n  entry();\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  piVar1 = *(int **)(unaff_retaddr + 0xc5c);\n  if ((piVar1 != (int *)0x0) &&\n     ((iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)))) {\n    local_28 = '\0';\n    local_2c = piVar1;\n    FUN_00066720(unaff_retaddr,iVar2 + 0x8c,&local_2c,unaff_EBX + -0x629);\n    if (local_28 != '\0') {\n      if (param_1 != (int *)0x0) {\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }\n      iVar2 = piVar1[100];\n      goto LAB_000430ff;\n    }\n    *(undefined4 *)(unaff_retaddr + 0xc5c) = 0;\n  }\n  iVar2 = -1;\nLAB_000430ff:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00082f60();\n  }\n  return iVar2;\n}" primitive_type (function_declarator "FUN_00043070(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int unaff_EBX;\n  int in_GS_OFFSET;\n  int unaff_retaddr;\n  int *local_2c;\n  char local_28;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x43079;\n  entry();\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  piVar1 = *(int **)(unaff_retaddr + 0xc5c);\n  if ((piVar1 != (int *)0x0) &&\n     ((iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)))) {\n    local_28 = '\0';\n    local_2c = piVar1;\n    FUN_00066720(unaff_retaddr,iVar2 + 0x8c,&local_2c,unaff_EBX + -0x629);\n    if (local_28 != '\0') {\n      if (param_1 != (int *)0x0) {\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }\n      iVar2 = piVar1[100];\n      goto LAB_000430ff;\n    }\n    *(undefined4 *)(unaff_retaddr + 0xc5c) = 0;\n  }\n  iVar2 = -1;\nLAB_000430ff:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00082f60();\n  }\n  return iVar2;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int unaff_EBX;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int unaff_retaddr;" primitive_type identifier ;) (declaration "int *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (declaration "char local_28;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x43079;" (assignment_expression "uStack_14 = 0x43079" identifier = number_literal) ;) (expression_statement "entry();" (call_expression "entry()" identifier (argument_list "()" ( ))) ;) (expression_statement "local_24 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_24 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "piVar1 = *(int **)(unaff_retaddr + 0xc5c);" (assignment_expression "piVar1 = *(int **)(unaff_retaddr + 0xc5c)" identifier = (pointer_expression "*(int **)(unaff_retaddr + 0xc5c)" * (cast_expression "(int **)(unaff_retaddr + 0xc5c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_retaddr + 0xc5c)" ( (binary_expression "unaff_retaddr + 0xc5c" identifier + number_literal) ))))) ;) (if_statement "if ((piVar1 != (int *)0x0) &&\n     ((iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)))) {\n    local_28 = '\0';\n    local_2c = piVar1;\n    FUN_00066720(unaff_retaddr,iVar2 + 0x8c,&local_2c,unaff_EBX + -0x629);\n    if (local_28 != '\0') {\n      if (param_1 != (int *)0x0) {\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }\n      iVar2 = piVar1[100];\n      goto LAB_000430ff;\n    }\n    *(undefined4 *)(unaff_retaddr + 0xc5c) = 0;\n  }" if (parenthesized_expression "((piVar1 != (int *)0x0) &&\n     ((iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0))))" ( (binary_expression "(piVar1 != (int *)0x0) &&\n     ((iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)))" (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)))" ( (parenthesized_expression "(iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0))" ( (comma_expression "iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)" (assignment_expression "iVar2 = *(int *)(unaff_retaddr + 0x88)" identifier = (pointer_expression "*(int *)(unaff_retaddr + 0x88)" * (cast_expression "(int *)(unaff_retaddr + 0x88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x88)" ( (binary_expression "unaff_retaddr + 0x88" identifier + number_literal) ))))) , (binary_expression "iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)" (binary_expression "iVar2 != 0" identifier != number_literal) || (parenthesized_expression "(iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)" ( (comma_expression "iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(unaff_retaddr + 0x84)" identifier = (pointer_expression "*(int *)(unaff_retaddr + 0x84)" * (cast_expression "(int *)(unaff_retaddr + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x84)" ( (binary_expression "unaff_retaddr + 0x84" identifier + number_literal) ))))) , (binary_expression "iVar2 != 0" identifier != number_literal)) )))) )) ))) )) (compound_statement "{\n    local_28 = '\0';\n    local_2c = piVar1;\n    FUN_00066720(unaff_retaddr,iVar2 + 0x8c,&local_2c,unaff_EBX + -0x629);\n    if (local_28 != '\0') {\n      if (param_1 != (int *)0x0) {\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }\n      iVar2 = piVar1[100];\n      goto LAB_000430ff;\n    }\n    *(undefined4 *)(unaff_retaddr + 0xc5c) = 0;\n  }" { (expression_statement "local_28 = '\0';" (assignment_expression "local_28 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "local_2c = piVar1;" (assignment_expression "local_2c = piVar1" identifier = identifier) ;) (expression_statement "FUN_00066720(unaff_retaddr,iVar2 + 0x8c,&local_2c,unaff_EBX + -0x629);" (call_expression "FUN_00066720(unaff_retaddr,iVar2 + 0x8c,&local_2c,unaff_EBX + -0x629)" identifier (argument_list "(unaff_retaddr,iVar2 + 0x8c,&local_2c,unaff_EBX + -0x629)" ( identifier , (binary_expression "iVar2 + 0x8c" identifier + number_literal) , (pointer_expression "&local_2c" & identifier) , (binary_expression "unaff_EBX + -0x629" identifier + number_literal) ))) ;) (if_statement "if (local_28 != '\0') {\n      if (param_1 != (int *)0x0) {\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }\n      iVar2 = piVar1[100];\n      goto LAB_000430ff;\n    }" if (parenthesized_expression "(local_28 != '\0')" ( (binary_expression "local_28 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if (param_1 != (int *)0x0) {\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }\n      iVar2 = piVar1[100];\n      goto LAB_000430ff;\n    }" { (if_statement "if (param_1 != (int *)0x0) {\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }" if (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }" { (expression_statement "*param_1 = (int)piVar1;" (assignment_expression "*param_1 = (int)piVar1" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*piVar1 = unaff_retaddr;" (assignment_expression "*piVar1 = unaff_retaddr" (pointer_expression "*piVar1" * identifier) = identifier) ;) })) (expression_statement "iVar2 = piVar1[100];" (assignment_expression "iVar2 = piVar1[100]" identifier = (subscript_expression "piVar1[100]" identifier [ number_literal ])) ;) (goto_statement "goto LAB_000430ff;" goto statement_identifier ;) })) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xc5c) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xc5c) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xc5c)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xc5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xc5c)" ( (binary_expression "unaff_retaddr + 0xc5c" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" identifier = number_literal) ;) (labeled_statement "LAB_000430ff:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00082f60();\n  }" statement_identifier : (if_statement "if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    FUN_00082f60();\n  }" if (parenthesized_expression "(local_24 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_24 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    FUN_00082f60();\n  }" { comment (expression_statement "FUN_00082f60();" (call_expression "FUN_00082f60()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return iVar2;" 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_socket_t Curl_getconnectinfo(Curl_easy *data,connectdata **connp)\n\n{\n  int iVar1;\n  connectdata *pcVar2;\n  Curl_multi *pCVar3;\n  curl_socket_t cVar4;\n  int in_GS_OFFSET;\n  connfind find;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  pcVar2 = (data->state).lastconnect;\n  if ((pcVar2 != (connectdata *)0x0) &&\n     ((pCVar3 = data->multi_easy, pCVar3 != (Curl_multi *)0x0 ||\n      (pCVar3 = data->multi, pCVar3 != (Curl_multi *)0x0)))) {\n    find.found = false;\n    find.tofind = pcVar2;\n    Curl_conncache_foreach(data,&pCVar3->conn_cache,&find,conn_is_conn);\n    if (find.found != false) {\n      if (connp != (connectdata **)0x0) {\n        *connp = pcVar2;\n        pcVar2->data = data;\n      }\n      cVar4 = pcVar2->sock[0];\n      goto LAB_000430ff;\n    }\n    (data->state).lastconnect = (connectdata *)0x0;\n  }\n  cVar4 = -1;\nLAB_000430ff:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return cVar4;\n}\n\n" comment comment comment (function_definition "curl_socket_t Curl_getconnectinfo(Curl_easy *data,connectdata **connp)\n\n{\n  int iVar1;\n  connectdata *pcVar2;\n  Curl_multi *pCVar3;\n  curl_socket_t cVar4;\n  int in_GS_OFFSET;\n  connfind find;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  pcVar2 = (data->state).lastconnect;\n  if ((pcVar2 != (connectdata *)0x0) &&\n     ((pCVar3 = data->multi_easy, pCVar3 != (Curl_multi *)0x0 ||\n      (pCVar3 = data->multi, pCVar3 != (Curl_multi *)0x0)))) {\n    find.found = false;\n    find.tofind = pcVar2;\n    Curl_conncache_foreach(data,&pCVar3->conn_cache,&find,conn_is_conn);\n    if (find.found != false) {\n      if (connp != (connectdata **)0x0) {\n        *connp = pcVar2;\n        pcVar2->data = data;\n      }\n      cVar4 = pcVar2->sock[0];\n      goto LAB_000430ff;\n    }\n    (data->state).lastconnect = (connectdata *)0x0;\n  }\n  cVar4 = -1;\nLAB_000430ff:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return cVar4;\n}" type_identifier (function_declarator "Curl_getconnectinfo(Curl_easy *data,connectdata **connp)" identifier (parameter_list "(Curl_easy *data,connectdata **connp)" ( (parameter_declaration "Curl_easy *data" type_identifier (pointer_declarator "*data" * identifier)) , (parameter_declaration "connectdata **connp" type_identifier (pointer_declarator "**connp" * (pointer_declarator "*connp" * identifier))) ))) (compound_statement "{\n  int iVar1;\n  connectdata *pcVar2;\n  Curl_multi *pCVar3;\n  curl_socket_t cVar4;\n  int in_GS_OFFSET;\n  connfind find;\n  \n  iVar1 = *(int *)(in_GS_OFFSET + 0x14);\n  pcVar2 = (data->state).lastconnect;\n  if ((pcVar2 != (connectdata *)0x0) &&\n     ((pCVar3 = data->multi_easy, pCVar3 != (Curl_multi *)0x0 ||\n      (pCVar3 = data->multi, pCVar3 != (Curl_multi *)0x0)))) {\n    find.found = false;\n    find.tofind = pcVar2;\n    Curl_conncache_foreach(data,&pCVar3->conn_cache,&find,conn_is_conn);\n    if (find.found != false) {\n      if (connp != (connectdata **)0x0) {\n        *connp = pcVar2;\n        pcVar2->data = data;\n      }\n      cVar4 = pcVar2->sock[0];\n      goto LAB_000430ff;\n    }\n    (data->state).lastconnect = (connectdata *)0x0;\n  }\n  cVar4 = -1;\nLAB_000430ff:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }\n  return cVar4;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (declaration "connectdata *pcVar2;" type_identifier (pointer_declarator "*pcVar2" * identifier) ;) (declaration "Curl_multi *pCVar3;" type_identifier (pointer_declarator "*pCVar3" * identifier) ;) (declaration "curl_socket_t cVar4;" type_identifier identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "connfind find;" type_identifier identifier ;) (expression_statement "iVar1 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "iVar1 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "pcVar2 = (data->state).lastconnect;" (assignment_expression "pcVar2 = (data->state).lastconnect" identifier = (field_expression "(data->state).lastconnect" (parenthesized_expression "(data->state)" ( (field_expression "data->state" identifier -> field_identifier) )) . field_identifier)) ;) (if_statement "if ((pcVar2 != (connectdata *)0x0) &&\n     ((pCVar3 = data->multi_easy, pCVar3 != (Curl_multi *)0x0 ||\n      (pCVar3 = data->multi, pCVar3 != (Curl_multi *)0x0)))) {\n    find.found = false;\n    find.tofind = pcVar2;\n    Curl_conncache_foreach(data,&pCVar3->conn_cache,&find,conn_is_conn);\n    if (find.found != false) {\n      if (connp != (connectdata **)0x0) {\n        *connp = pcVar2;\n        pcVar2->data = data;\n      }\n      cVar4 = pcVar2->sock[0];\n      goto LAB_000430ff;\n    }\n    (data->state).lastconnect = (connectdata *)0x0;\n  }" if (parenthesized_expression "((pcVar2 != (connectdata *)0x0) &&\n     ((pCVar3 = data->multi_easy, pCVar3 != (Curl_multi *)0x0 ||\n      (pCVar3 = data->multi, pCVar3 != (Curl_multi *)0x0))))" ( (binary_expression "(pcVar2 != (connectdata *)0x0) &&\n     ((pCVar3 = data->multi_easy, pCVar3 != (Curl_multi *)0x0 ||\n      (pCVar3 = data->multi, pCVar3 != (Curl_multi *)0x0)))" (parenthesized_expression "(pcVar2 != (connectdata *)0x0)" ( (binary_expression "pcVar2 != (connectdata *)0x0" identifier != (cast_expression "(connectdata *)0x0" ( (type_descriptor "connectdata *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((pCVar3 = data->multi_easy, pCVar3 != (Curl_multi *)0x0 ||\n      (pCVar3 = data->multi, pCVar3 != (Curl_multi *)0x0)))" ( (parenthesized_expression "(pCVar3 = data->multi_easy, pCVar3 != (Curl_multi *)0x0 ||\n      (pCVar3 = data->multi, pCVar3 != (Curl_multi *)0x0))" ( (comma_expression "pCVar3 = data->multi_easy, pCVar3 != (Curl_multi *)0x0 ||\n      (pCVar3 = data->multi, pCVar3 != (Curl_multi *)0x0)" (assignment_expression "pCVar3 = data->multi_easy" identifier = (field_expression "data->multi_easy" identifier -> field_identifier)) , (binary_expression "pCVar3 != (Curl_multi *)0x0 ||\n      (pCVar3 = data->multi, pCVar3 != (Curl_multi *)0x0)" (binary_expression "pCVar3 != (Curl_multi *)0x0" identifier != (cast_expression "(Curl_multi *)0x0" ( (type_descriptor "Curl_multi *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) || (parenthesized_expression "(pCVar3 = data->multi, pCVar3 != (Curl_multi *)0x0)" ( (comma_expression "pCVar3 = data->multi, pCVar3 != (Curl_multi *)0x0" (assignment_expression "pCVar3 = data->multi" identifier = (field_expression "data->multi" identifier -> field_identifier)) , (binary_expression "pCVar3 != (Curl_multi *)0x0" identifier != (cast_expression "(Curl_multi *)0x0" ( (type_descriptor "Curl_multi *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) )))) )) ))) )) (compound_statement "{\n    find.found = false;\n    find.tofind = pcVar2;\n    Curl_conncache_foreach(data,&pCVar3->conn_cache,&find,conn_is_conn);\n    if (find.found != false) {\n      if (connp != (connectdata **)0x0) {\n        *connp = pcVar2;\n        pcVar2->data = data;\n      }\n      cVar4 = pcVar2->sock[0];\n      goto LAB_000430ff;\n    }\n    (data->state).lastconnect = (connectdata *)0x0;\n  }" { (expression_statement "find.found = false;" (assignment_expression "find.found = false" (field_expression "find.found" identifier . field_identifier) = false) ;) (expression_statement "find.tofind = pcVar2;" (assignment_expression "find.tofind = pcVar2" (field_expression "find.tofind" identifier . field_identifier) = identifier) ;) (expression_statement "Curl_conncache_foreach(data,&pCVar3->conn_cache,&find,conn_is_conn);" (call_expression "Curl_conncache_foreach(data,&pCVar3->conn_cache,&find,conn_is_conn)" identifier (argument_list "(data,&pCVar3->conn_cache,&find,conn_is_conn)" ( identifier , (pointer_expression "&pCVar3->conn_cache" & (field_expression "pCVar3->conn_cache" identifier -> field_identifier)) , (pointer_expression "&find" & identifier) , identifier ))) ;) (if_statement "if (find.found != false) {\n      if (connp != (connectdata **)0x0) {\n        *connp = pcVar2;\n        pcVar2->data = data;\n      }\n      cVar4 = pcVar2->sock[0];\n      goto LAB_000430ff;\n    }" if (parenthesized_expression "(find.found != false)" ( (binary_expression "find.found != false" (field_expression "find.found" identifier . field_identifier) != false) )) (compound_statement "{\n      if (connp != (connectdata **)0x0) {\n        *connp = pcVar2;\n        pcVar2->data = data;\n      }\n      cVar4 = pcVar2->sock[0];\n      goto LAB_000430ff;\n    }" { (if_statement "if (connp != (connectdata **)0x0) {\n        *connp = pcVar2;\n        pcVar2->data = data;\n      }" if (parenthesized_expression "(connp != (connectdata **)0x0)" ( (binary_expression "connp != (connectdata **)0x0" identifier != (cast_expression "(connectdata **)0x0" ( (type_descriptor "connectdata **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal)) )) (compound_statement "{\n        *connp = pcVar2;\n        pcVar2->data = data;\n      }" { (expression_statement "*connp = pcVar2;" (assignment_expression "*connp = pcVar2" (pointer_expression "*connp" * identifier) = identifier) ;) (expression_statement "pcVar2->data = data;" (assignment_expression "pcVar2->data = data" (field_expression "pcVar2->data" identifier -> field_identifier) = identifier) ;) })) (expression_statement "cVar4 = pcVar2->sock[0];" (assignment_expression "cVar4 = pcVar2->sock[0]" identifier = (subscript_expression "pcVar2->sock[0]" (field_expression "pcVar2->sock" identifier -> field_identifier) [ number_literal ])) ;) (goto_statement "goto LAB_000430ff;" goto statement_identifier ;) })) (expression_statement "(data->state).lastconnect = (connectdata *)0x0;" (assignment_expression "(data->state).lastconnect = (connectdata *)0x0" (field_expression "(data->state).lastconnect" (parenthesized_expression "(data->state)" ( (field_expression "data->state" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(connectdata *)0x0" ( (type_descriptor "connectdata *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) })) (expression_statement "cVar4 = -1;" (assignment_expression "cVar4 = -1" identifier = number_literal) ;) (labeled_statement "LAB_000430ff:\n  if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" statement_identifier : (if_statement "if (iVar1 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" if (parenthesized_expression "(iVar1 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "iVar1 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    /* WARNING: Subroutine does not return */\n    __stack_chk_fail_local();\n  }" { comment (expression_statement "__stack_chk_fail_local();" (call_expression "__stack_chk_fail_local()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return cVar4;" return identifier ;) })))
(translation_unit "int FUN_00043070(int *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  int unaff_EBX;\n  int in_GS_OFFSET;\n  int unaff_retaddr;\n  int *local_2c;\n  char local_28;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x43079;\n  entry();\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  piVar1 = *(int **)(unaff_retaddr + 0xc5c);\n  if ((piVar1 != (int *)0x0) &&\n     ((iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)))) {\n    local_28 = '\0';\n    local_2c = piVar1;\n    FUN_00066720(unaff_retaddr,iVar2 + 0x8c,&local_2c,unaff_EBX + -0x629);\n    if (local_28 != '\0') {\n      if (param_1 != (int *)0x0) {\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }\n      iVar2 = piVar1[100];\n      goto LAB_000430ff;\n    }\n    *(undefined4 *)(unaff_retaddr + 0xc5c) = 0;\n  }\n  iVar2 = -1;\nLAB_000430ff:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00082f60();\n  }\n  return iVar2;\n}\n\n" (function_definition "int FUN_00043070(int *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  int unaff_EBX;\n  int in_GS_OFFSET;\n  int unaff_retaddr;\n  int *local_2c;\n  char local_28;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x43079;\n  entry();\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  piVar1 = *(int **)(unaff_retaddr + 0xc5c);\n  if ((piVar1 != (int *)0x0) &&\n     ((iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)))) {\n    local_28 = '\0';\n    local_2c = piVar1;\n    FUN_00066720(unaff_retaddr,iVar2 + 0x8c,&local_2c,unaff_EBX + -0x629);\n    if (local_28 != '\0') {\n      if (param_1 != (int *)0x0) {\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }\n      iVar2 = piVar1[100];\n      goto LAB_000430ff;\n    }\n    *(undefined4 *)(unaff_retaddr + 0xc5c) = 0;\n  }\n  iVar2 = -1;\nLAB_000430ff:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00082f60();\n  }\n  return iVar2;\n}" primitive_type (function_declarator "FUN_00043070(int *param_1)" identifier (parameter_list "(int *param_1)" ( (parameter_declaration "int *param_1" primitive_type (pointer_declarator "*param_1" * identifier)) ))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int unaff_EBX;\n  int in_GS_OFFSET;\n  int unaff_retaddr;\n  int *local_2c;\n  char local_28;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x43079;\n  entry();\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  piVar1 = *(int **)(unaff_retaddr + 0xc5c);\n  if ((piVar1 != (int *)0x0) &&\n     ((iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)))) {\n    local_28 = '\0';\n    local_2c = piVar1;\n    FUN_00066720(unaff_retaddr,iVar2 + 0x8c,&local_2c,unaff_EBX + -0x629);\n    if (local_28 != '\0') {\n      if (param_1 != (int *)0x0) {\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }\n      iVar2 = piVar1[100];\n      goto LAB_000430ff;\n    }\n    *(undefined4 *)(unaff_retaddr + 0xc5c) = 0;\n  }\n  iVar2 = -1;\nLAB_000430ff:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00082f60();\n  }\n  return iVar2;\n}" { (declaration "int *piVar1;" primitive_type (pointer_declarator "*piVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "int unaff_EBX;" primitive_type identifier ;) (declaration "int in_GS_OFFSET;" primitive_type identifier ;) (declaration "int unaff_retaddr;" primitive_type identifier ;) (declaration "int *local_2c;" primitive_type (pointer_declarator "*local_2c" * identifier) ;) (declaration "char local_28;" primitive_type identifier ;) (declaration "int local_24;" primitive_type identifier ;) (declaration "undefined4 uStack_14;" type_identifier identifier ;) (expression_statement "uStack_14 = 0x43079;" (assignment_expression "uStack_14 = 0x43079" identifier = number_literal) ;) (expression_statement "entry();" (call_expression "entry()" identifier (argument_list "()" ( ))) ;) (expression_statement "local_24 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_24 = *(int *)(in_GS_OFFSET + 0x14)" identifier = (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) ;) (expression_statement "piVar1 = *(int **)(unaff_retaddr + 0xc5c);" (assignment_expression "piVar1 = *(int **)(unaff_retaddr + 0xc5c)" identifier = (pointer_expression "*(int **)(unaff_retaddr + 0xc5c)" * (cast_expression "(int **)(unaff_retaddr + 0xc5c)" ( (type_descriptor "int **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_retaddr + 0xc5c)" ( (binary_expression "unaff_retaddr + 0xc5c" identifier + number_literal) ))))) ;) (if_statement "if ((piVar1 != (int *)0x0) &&\n     ((iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)))) {\n    local_28 = '\0';\n    local_2c = piVar1;\n    FUN_00066720(unaff_retaddr,iVar2 + 0x8c,&local_2c,unaff_EBX + -0x629);\n    if (local_28 != '\0') {\n      if (param_1 != (int *)0x0) {\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }\n      iVar2 = piVar1[100];\n      goto LAB_000430ff;\n    }\n    *(undefined4 *)(unaff_retaddr + 0xc5c) = 0;\n  }" if (parenthesized_expression "((piVar1 != (int *)0x0) &&\n     ((iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0))))" ( (binary_expression "(piVar1 != (int *)0x0) &&\n     ((iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)))" (parenthesized_expression "(piVar1 != (int *)0x0)" ( (binary_expression "piVar1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)))" ( (parenthesized_expression "(iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0))" ( (comma_expression "iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)" (assignment_expression "iVar2 = *(int *)(unaff_retaddr + 0x88)" identifier = (pointer_expression "*(int *)(unaff_retaddr + 0x88)" * (cast_expression "(int *)(unaff_retaddr + 0x88)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x88)" ( (binary_expression "unaff_retaddr + 0x88" identifier + number_literal) ))))) , (binary_expression "iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)" (binary_expression "iVar2 != 0" identifier != number_literal) || (parenthesized_expression "(iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)" ( (comma_expression "iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(unaff_retaddr + 0x84)" identifier = (pointer_expression "*(int *)(unaff_retaddr + 0x84)" * (cast_expression "(int *)(unaff_retaddr + 0x84)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x84)" ( (binary_expression "unaff_retaddr + 0x84" identifier + number_literal) ))))) , (binary_expression "iVar2 != 0" identifier != number_literal)) )))) )) ))) )) (compound_statement "{\n    local_28 = '\0';\n    local_2c = piVar1;\n    FUN_00066720(unaff_retaddr,iVar2 + 0x8c,&local_2c,unaff_EBX + -0x629);\n    if (local_28 != '\0') {\n      if (param_1 != (int *)0x0) {\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }\n      iVar2 = piVar1[100];\n      goto LAB_000430ff;\n    }\n    *(undefined4 *)(unaff_retaddr + 0xc5c) = 0;\n  }" { (expression_statement "local_28 = '\0';" (assignment_expression "local_28 = '\0'" identifier = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "local_2c = piVar1;" (assignment_expression "local_2c = piVar1" identifier = identifier) ;) (expression_statement "FUN_00066720(unaff_retaddr,iVar2 + 0x8c,&local_2c,unaff_EBX + -0x629);" (call_expression "FUN_00066720(unaff_retaddr,iVar2 + 0x8c,&local_2c,unaff_EBX + -0x629)" identifier (argument_list "(unaff_retaddr,iVar2 + 0x8c,&local_2c,unaff_EBX + -0x629)" ( identifier , (binary_expression "iVar2 + 0x8c" identifier + number_literal) , (pointer_expression "&local_2c" & identifier) , (binary_expression "unaff_EBX + -0x629" identifier + number_literal) ))) ;) (if_statement "if (local_28 != '\0') {\n      if (param_1 != (int *)0x0) {\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }\n      iVar2 = piVar1[100];\n      goto LAB_000430ff;\n    }" if (parenthesized_expression "(local_28 != '\0')" ( (binary_expression "local_28 != '\0'" identifier != (char_literal "'\0'" ' escape_sequence ')) )) (compound_statement "{\n      if (param_1 != (int *)0x0) {\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }\n      iVar2 = piVar1[100];\n      goto LAB_000430ff;\n    }" { (if_statement "if (param_1 != (int *)0x0) {\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }" if (parenthesized_expression "(param_1 != (int *)0x0)" ( (binary_expression "param_1 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }" { (expression_statement "*param_1 = (int)piVar1;" (assignment_expression "*param_1 = (int)piVar1" (pointer_expression "*param_1" * identifier) = (cast_expression "(int)piVar1" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "*piVar1 = unaff_retaddr;" (assignment_expression "*piVar1 = unaff_retaddr" (pointer_expression "*piVar1" * identifier) = identifier) ;) })) (expression_statement "iVar2 = piVar1[100];" (assignment_expression "iVar2 = piVar1[100]" identifier = (subscript_expression "piVar1[100]" identifier [ number_literal ])) ;) (goto_statement "goto LAB_000430ff;" goto statement_identifier ;) })) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xc5c) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xc5c) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xc5c)" * (cast_expression "(undefined4 *)(unaff_retaddr + 0xc5c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0xc5c)" ( (binary_expression "unaff_retaddr + 0xc5c" identifier + number_literal) )))) = number_literal) ;) })) (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" identifier = number_literal) ;) (labeled_statement "LAB_000430ff:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00082f60();\n  }" statement_identifier : (if_statement "if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00082f60();\n  }" if (parenthesized_expression "(local_24 != *(int *)(in_GS_OFFSET + 0x14))" ( (binary_expression "local_24 != *(int *)(in_GS_OFFSET + 0x14)" identifier != (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" * (cast_expression "(int *)(in_GS_OFFSET + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(in_GS_OFFSET + 0x14)" ( (binary_expression "in_GS_OFFSET + 0x14" identifier + number_literal) ))))) )) (compound_statement "{\n                    \n    FUN_00082f60();\n  }" { (expression_statement "FUN_00082f60();" (call_expression "FUN_00082f60()" identifier (argument_list "()" ( ))) ;) }))) (return_statement "return iVar2;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (call_expression IDENT (argument_list ( ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression (binary_expression IDENT != LIT) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression IDENT != LIT)) )))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (char_literal ' escape_sequence ')) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , (binary_expression IDENT + LIT) , (pointer_expression & IDENT) , (binary_expression IDENT + LIT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (char_literal ' escape_sequence ')) )) (compound_statement { (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) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( ))) ;) }))) (return_statement return IDENT ;) })))
(function_definition "int FUN_00043070(int *param_1)\n\n{\n  int *piVar1;\n  int iVar2;\n  int unaff_EBX;\n  int in_GS_OFFSET;\n  int unaff_retaddr;\n  int *local_2c;\n  char local_28;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x43079;\n  entry();\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  piVar1 = *(int **)(unaff_retaddr + 0xc5c);\n  if ((piVar1 != (int *)0x0) &&\n     ((iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)))) {\n    local_28 = '\0';\n    local_2c = piVar1;\n    FUN_00066720(unaff_retaddr,iVar2 + 0x8c,&local_2c,unaff_EBX + -0x629);\n    if (local_28 != '\0') {\n      if (param_1 != (int *)0x0) {\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }\n      iVar2 = piVar1[100];\n      goto LAB_000430ff;\n    }\n    *(undefined4 *)(unaff_retaddr + 0xc5c) = 0;\n  }\n  iVar2 = -1;\nLAB_000430ff:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00082f60();\n  }\n  return iVar2;\n}" (primitive_type "int") (function_declarator "FUN_00043070(int *param_1)" (identifier "FUN_00043070") (parameter_list "(int *param_1)" (( "(") (parameter_declaration "int *param_1" (primitive_type "int") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) () ")"))) (compound_statement "{\n  int *piVar1;\n  int iVar2;\n  int unaff_EBX;\n  int in_GS_OFFSET;\n  int unaff_retaddr;\n  int *local_2c;\n  char local_28;\n  int local_24;\n  undefined4 uStack_14;\n  \n  uStack_14 = 0x43079;\n  entry();\n  local_24 = *(int *)(in_GS_OFFSET + 0x14);\n  piVar1 = *(int **)(unaff_retaddr + 0xc5c);\n  if ((piVar1 != (int *)0x0) &&\n     ((iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)))) {\n    local_28 = '\0';\n    local_2c = piVar1;\n    FUN_00066720(unaff_retaddr,iVar2 + 0x8c,&local_2c,unaff_EBX + -0x629);\n    if (local_28 != '\0') {\n      if (param_1 != (int *)0x0) {\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }\n      iVar2 = piVar1[100];\n      goto LAB_000430ff;\n    }\n    *(undefined4 *)(unaff_retaddr + 0xc5c) = 0;\n  }\n  iVar2 = -1;\nLAB_000430ff:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00082f60();\n  }\n  return iVar2;\n}" ({ "{") (declaration "int *piVar1;" (primitive_type "int") (pointer_declarator "*piVar1" (* "*") (identifier "piVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "int unaff_EBX;" (primitive_type "int") (identifier "unaff_EBX") (; ";")) (declaration "int in_GS_OFFSET;" (primitive_type "int") (identifier "in_GS_OFFSET") (; ";")) (declaration "int unaff_retaddr;" (primitive_type "int") (identifier "unaff_retaddr") (; ";")) (declaration "int *local_2c;" (primitive_type "int") (pointer_declarator "*local_2c" (* "*") (identifier "local_2c")) (; ";")) (declaration "char local_28;" (primitive_type "char") (identifier "local_28") (; ";")) (declaration "int local_24;" (primitive_type "int") (identifier "local_24") (; ";")) (declaration "undefined4 uStack_14;" (type_identifier "undefined4") (identifier "uStack_14") (; ";")) (expression_statement "uStack_14 = 0x43079;" (assignment_expression "uStack_14 = 0x43079" (identifier "uStack_14") (= "=") (number_literal "0x43079")) (; ";")) (expression_statement "entry();" (call_expression "entry()" (identifier "entry") (argument_list "()" (( "(") () ")"))) (; ";")) (expression_statement "local_24 = *(int *)(in_GS_OFFSET + 0x14);" (assignment_expression "local_24 = *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_24") (= "=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "piVar1 = *(int **)(unaff_retaddr + 0xc5c);" (assignment_expression "piVar1 = *(int **)(unaff_retaddr + 0xc5c)" (identifier "piVar1") (= "=") (pointer_expression "*(int **)(unaff_retaddr + 0xc5c)" (* "*") (cast_expression "(int **)(unaff_retaddr + 0xc5c)" (( "(") (type_descriptor "int **" (primitive_type "int") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_retaddr + 0xc5c)" (( "(") (binary_expression "unaff_retaddr + 0xc5c" (identifier "unaff_retaddr") (+ "+") (number_literal "0xc5c")) () ")"))))) (; ";")) (if_statement "if ((piVar1 != (int *)0x0) &&\n     ((iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)))) {\n    local_28 = '\0';\n    local_2c = piVar1;\n    FUN_00066720(unaff_retaddr,iVar2 + 0x8c,&local_2c,unaff_EBX + -0x629);\n    if (local_28 != '\0') {\n      if (param_1 != (int *)0x0) {\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }\n      iVar2 = piVar1[100];\n      goto LAB_000430ff;\n    }\n    *(undefined4 *)(unaff_retaddr + 0xc5c) = 0;\n  }" (if "if") (parenthesized_expression "((piVar1 != (int *)0x0) &&\n     ((iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0))))" (( "(") (binary_expression "(piVar1 != (int *)0x0) &&\n     ((iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)))" (parenthesized_expression "(piVar1 != (int *)0x0)" (( "(") (binary_expression "piVar1 != (int *)0x0" (identifier "piVar1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "((iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)))" (( "(") (parenthesized_expression "(iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0))" (( "(") (comma_expression "iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)" (assignment_expression "iVar2 = *(int *)(unaff_retaddr + 0x88)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(unaff_retaddr + 0x88)" (* "*") (cast_expression "(int *)(unaff_retaddr + 0x88)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x88)" (( "(") (binary_expression "unaff_retaddr + 0x88" (identifier "unaff_retaddr") (+ "+") (number_literal "0x88")) () ")"))))) (, ",") (binary_expression "iVar2 != 0 ||\n      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)" (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0")) (|| "||") (parenthesized_expression "(iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)" (( "(") (comma_expression "iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0" (assignment_expression "iVar2 = *(int *)(unaff_retaddr + 0x84)" (identifier "iVar2") (= "=") (pointer_expression "*(int *)(unaff_retaddr + 0x84)" (* "*") (cast_expression "(int *)(unaff_retaddr + 0x84)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x84)" (( "(") (binary_expression "unaff_retaddr + 0x84" (identifier "unaff_retaddr") (+ "+") (number_literal "0x84")) () ")"))))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")")))) () ")")) () ")"))) () ")")) (compound_statement "{\n    local_28 = '\0';\n    local_2c = piVar1;\n    FUN_00066720(unaff_retaddr,iVar2 + 0x8c,&local_2c,unaff_EBX + -0x629);\n    if (local_28 != '\0') {\n      if (param_1 != (int *)0x0) {\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }\n      iVar2 = piVar1[100];\n      goto LAB_000430ff;\n    }\n    *(undefined4 *)(unaff_retaddr + 0xc5c) = 0;\n  }" ({ "{") (expression_statement "local_28 = '\0';" (assignment_expression "local_28 = '\0'" (identifier "local_28") (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "local_2c = piVar1;" (assignment_expression "local_2c = piVar1" (identifier "local_2c") (= "=") (identifier "piVar1")) (; ";")) (expression_statement "FUN_00066720(unaff_retaddr,iVar2 + 0x8c,&local_2c,unaff_EBX + -0x629);" (call_expression "FUN_00066720(unaff_retaddr,iVar2 + 0x8c,&local_2c,unaff_EBX + -0x629)" (identifier "FUN_00066720") (argument_list "(unaff_retaddr,iVar2 + 0x8c,&local_2c,unaff_EBX + -0x629)" (( "(") (identifier "unaff_retaddr") (, ",") (binary_expression "iVar2 + 0x8c" (identifier "iVar2") (+ "+") (number_literal "0x8c")) (, ",") (pointer_expression "&local_2c" (& "&") (identifier "local_2c")) (, ",") (binary_expression "unaff_EBX + -0x629" (identifier "unaff_EBX") (+ "+") (number_literal "-0x629")) () ")"))) (; ";")) (if_statement "if (local_28 != '\0') {\n      if (param_1 != (int *)0x0) {\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }\n      iVar2 = piVar1[100];\n      goto LAB_000430ff;\n    }" (if "if") (parenthesized_expression "(local_28 != '\0')" (( "(") (binary_expression "local_28 != '\0'" (identifier "local_28") (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")")) (compound_statement "{\n      if (param_1 != (int *)0x0) {\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }\n      iVar2 = piVar1[100];\n      goto LAB_000430ff;\n    }" ({ "{") (if_statement "if (param_1 != (int *)0x0) {\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }" (if "if") (parenthesized_expression "(param_1 != (int *)0x0)" (( "(") (binary_expression "param_1 != (int *)0x0" (identifier "param_1") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n        *param_1 = (int)piVar1;\n        *piVar1 = unaff_retaddr;\n      }" ({ "{") (expression_statement "*param_1 = (int)piVar1;" (assignment_expression "*param_1 = (int)piVar1" (pointer_expression "*param_1" (* "*") (identifier "param_1")) (= "=") (cast_expression "(int)piVar1" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "piVar1"))) (; ";")) (expression_statement "*piVar1 = unaff_retaddr;" (assignment_expression "*piVar1 = unaff_retaddr" (pointer_expression "*piVar1" (* "*") (identifier "piVar1")) (= "=") (identifier "unaff_retaddr")) (; ";")) (} "}"))) (expression_statement "iVar2 = piVar1[100];" (assignment_expression "iVar2 = piVar1[100]" (identifier "iVar2") (= "=") (subscript_expression "piVar1[100]" (identifier "piVar1") ([ "[") (number_literal "100") (] "]"))) (; ";")) (goto_statement "goto LAB_000430ff;" (goto "goto") (statement_identifier "LAB_000430ff") (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(unaff_retaddr + 0xc5c) = 0;" (assignment_expression "*(undefined4 *)(unaff_retaddr + 0xc5c) = 0" (pointer_expression "*(undefined4 *)(unaff_retaddr + 0xc5c)" (* "*") (cast_expression "(undefined4 *)(unaff_retaddr + 0xc5c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0xc5c)" (( "(") (binary_expression "unaff_retaddr + 0xc5c" (identifier "unaff_retaddr") (+ "+") (number_literal "0xc5c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "iVar2 = -1;" (assignment_expression "iVar2 = -1" (identifier "iVar2") (= "=") (number_literal "-1")) (; ";")) (labeled_statement "LAB_000430ff:\n  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00082f60();\n  }" (statement_identifier "LAB_000430ff") (: ":") (if_statement "if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {\n                    \n    FUN_00082f60();\n  }" (if "if") (parenthesized_expression "(local_24 != *(int *)(in_GS_OFFSET + 0x14))" (( "(") (binary_expression "local_24 != *(int *)(in_GS_OFFSET + 0x14)" (identifier "local_24") (!= "!=") (pointer_expression "*(int *)(in_GS_OFFSET + 0x14)" (* "*") (cast_expression "(int *)(in_GS_OFFSET + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(in_GS_OFFSET + 0x14)" (( "(") (binary_expression "in_GS_OFFSET + 0x14" (identifier "in_GS_OFFSET") (+ "+") (number_literal "0x14")) () ")"))))) () ")")) (compound_statement "{\n                    \n    FUN_00082f60();\n  }" ({ "{") (expression_statement "FUN_00082f60();" (call_expression "FUN_00082f60()" (identifier "FUN_00082f60") (argument_list "()" (( "(") () ")"))) (; ";")) (} "}")))) (return_statement "return iVar2;" (return "return") (identifier "iVar2") (; ";")) (} "}")))

/* 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(type_2 *data,type_3 **var_5)

{
  int var_6;
  type_3 *var_2;
  type_4 *var_3;
  type_1 cVar4;
  int var_1;
  type_5 find;
  
  var_6 = *(int *)(var_1 + 0x14);
  var_2 = (data->state).lastconnect;
  if ((var_2 != (type_3 *)0x0) &&
     ((var_3 = data->multi_easy, var_3 != (type_4 *)0x0 ||
      (var_3 = data->multi, var_3 != (type_4 *)0x0)))) {
    find.found = false;
    find.tofind = var_2;
    var_4(data,&var_3->conn_cache,&find,conn_is_conn);
    if (find.found != false) {
      if (var_5 != (type_3 **)0x0) {
        *var_5 = var_2;
        var_2->data = data;
      }
      cVar4 = var_2->sock[0];
      goto LAB_000430ff;
    }
    (data->state).lastconnect = (type_3 *)0x0;
  }
  cVar4 = -1;
LAB_000430ff:
  if (var_6 != *(int *)(var_1 + 0x14)) {
                    /* WARNING: Subroutine does not return */
    var_7();
  }
  return cVar4;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (identifier) arguments: (argument_list))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (binary_expression left: (identifier) right: (number_literal)))))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (char_literal (escape_sequence)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (pointer_expression argument: (identifier)) (binary_expression left: (identifier) right: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (escape_sequence)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list)))))) (return_statement (identifier)))))

int MASKED(int *param_1)

{
  int *piVar1;
  int iVar2;
  int unaff_EBX;
  int in_GS_OFFSET;
  int unaff_retaddr;
  int *local_2c;
  char local_28;
  int local_24;
  undefined4 uStack_14;
  
  uStack_14 = 0x43079;
  entry();
  local_24 = *(int *)(in_GS_OFFSET + 0x14);
  piVar1 = *(int **)(unaff_retaddr + 0xc5c);
  if ((piVar1 != (int *)0x0) &&
     ((iVar2 = *(int *)(unaff_retaddr + 0x88), iVar2 != 0 ||
      (iVar2 = *(int *)(unaff_retaddr + 0x84), iVar2 != 0)))) {
    local_28 = '\0';
    local_2c = piVar1;
    FUN_00066720(unaff_retaddr,iVar2 + 0x8c,&local_2c,unaff_EBX + -0x629);
    if (local_28 != '\0') {
      if (param_1 != (int *)0x0) {
        *param_1 = (int)piVar1;
        *piVar1 = unaff_retaddr;
      }
      iVar2 = piVar1[100];
      goto LAB_000430ff;
    }
    *(undefined4 *)(unaff_retaddr + 0xc5c) = 0;
  }
  iVar2 = -1;
LAB_000430ff:
  if (local_24 != *(int *)(in_GS_OFFSET + 0x14)) {
                    /* WARNING: Subroutine does not return */
    FUN_00082f60();
  }
  return iVar2;
}

