
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "MHD_FLAG": Some values do not have unique names */
/* WARNING: Enum "gnutls_pk_algorithm_t": Some values do not have unique names */
/* WARNING: Enum "gnutls_certificate_type_t": Some values do not have unique names */

_Bool __regparm3
MHD_lookup_header_token_ci(MHD_Connection *connection,char *header,char *token,size_t token_len)

{
  MHD_HTTP_Header *pMVar1;
  _Bool _Var2;
  int iVar3;
  
  if ((connection != (MHD_Connection *)0x0) && (*header != '\0')) {
    for (pMVar1 = connection->headers_received; pMVar1 != (MHD_HTTP_Header *)0x0;
        pMVar1 = pMVar1->next) {
      if (((pMVar1->kind & MHD_HEADER_KIND) != MHD_RESPONSE_HEADER_KIND) &&
         (((pMVar1->header == "Connection" ||
           (iVar3 = MHD_str_equal_caseless_("Connection",pMVar1->header), iVar3 != 0)) &&
          (_Var2 = MHD_str_has_token_caseless_(pMVar1->value,header,(size_t)token), _Var2)))) {
        return _Var2;
      }
    }
  }
  return false;
}



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

undefined4 __regparm3 FUN_00013fa0(int param_1,char *param_2,undefined4 param_3)

{
  undefined4 *puVar1;
  int iVar2;
  undefined4 uVar3;
  
  if ((param_1 != 0) && (*param_2 != '\0')) {
    for (puVar1 = *(undefined4 **)(param_1 + 0x1c); puVar1 != (undefined4 *)0x0;
        puVar1 = (undefined4 *)*puVar1) {
      if (((*(byte *)(puVar1 + 3) & 1) != 0) &&
         ((((char *)puVar1[1] == "Connection" ||
           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&
          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))) {
        return uVar3;
      }
    }
  }
  return 0;
}


PUSH EBP
PUSH EDI
PUSH ESI
PUSH EBX
CALL 0x00013810
ADD EBX,0x1fe37
SUB ESP,0x1c
TEST EAX,EAX
JZ 0x0001400c
CMP byte ptr [EDX],0x0
MOV EDI,EDX
JZ 0x0001400c
MOV EBP,dword ptr [EAX + 0x1c]
TEST EBP,EBP
JZ 0x0001400c
MOV dword ptr [ESP + 0xc],ECX
LEA ESI,[EBX + 0xffff525d]
NOP
TEST byte ptr [EBP + 0xc],0x1
JZ 0x00014005
MOV EAX,dword ptr [EBP + 0x4]
CMP EAX,ESI
JZ 0x00013fee
SUB ESP,0x8
PUSH EAX
PUSH ESI
CALL 0x000212c0
ADD ESP,0x10
TEST EAX,EAX
JZ 0x00014005
SUB ESP,0x4
PUSH dword ptr [ESP + 0x10]
PUSH EDI
PUSH dword ptr [EBP + 0x8]
CALL 0x000213f0
ADD ESP,0x10
TEST AL,AL
JNZ 0x0001400e
MOV EBP,dword ptr [EBP]
TEST EBP,EBP
JNZ 0x00013fd0
XOR EAX,EAX
ADD ESP,0x1c
POP EBX
POP ESI
POP EDI
POP EBP
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nundefined4 __regparm3 FUN_00013fa0(int param_1,char *param_2,undefined4 param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  if ((param_1 != 0) && (*param_2 != '\0')) {\n    for (puVar1 = *(undefined4 **)(param_1 + 0x1c); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)*puVar1) {\n      if (((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))) {\n        return uVar3;\n      }\n    }\n  }\n  return 0;\n}\n\n" comment (function_definition "undefined4 __regparm3 FUN_00013fa0(int param_1,char *param_2,undefined4 param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  if ((param_1 != 0) && (*param_2 != '\0')) {\n    for (puVar1 = *(undefined4 **)(param_1 + 0x1c); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)*puVar1) {\n      if (((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))) {\n        return uVar3;\n      }\n    }\n  }\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00013fa0(int param_1,char *param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,char *param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  if ((param_1 != 0) && (*param_2 != '\0')) {\n    for (puVar1 = *(undefined4 **)(param_1 + 0x1c); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)*puVar1) {\n      if (((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))) {\n        return uVar3;\n      }\n    }\n  }\n  return 0;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (if_statement "if ((param_1 != 0) && (*param_2 != '\0')) {\n    for (puVar1 = *(undefined4 **)(param_1 + 0x1c); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)*puVar1) {\n      if (((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))) {\n        return uVar3;\n      }\n    }\n  }" if (parenthesized_expression "((param_1 != 0) && (*param_2 != '\0'))" ( (binary_expression "(param_1 != 0) && (*param_2 != '\0')" (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) && (parenthesized_expression "(*param_2 != '\0')" ( (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    for (puVar1 = *(undefined4 **)(param_1 + 0x1c); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)*puVar1) {\n      if (((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))) {\n        return uVar3;\n      }\n    }\n  }" { (for_statement "for (puVar1 = *(undefined4 **)(param_1 + 0x1c); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)*puVar1) {\n      if (((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))) {\n        return uVar3;\n      }\n    }" for ( (assignment_expression "puVar1 = *(undefined4 **)(param_1 + 0x1c)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x1c)" * (cast_expression "(undefined4 **)(param_1 + 0x1c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ; (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ) (compound_statement "{\n      if (((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))) {\n        return uVar3;\n      }\n    }" { (if_statement "if (((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))) {\n        return uVar3;\n      }" if (parenthesized_expression "(((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0'))))" ( (binary_expression "((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))" (parenthesized_expression "((*(byte *)(puVar1 + 3) & 1) != 0)" ( (binary_expression "(*(byte *)(puVar1 + 3) & 1) != 0" (parenthesized_expression "(*(byte *)(puVar1 + 3) & 1)" ( (binary_expression "*(byte *)(puVar1 + 3) & 1" (pointer_expression "*(byte *)(puVar1 + 3)" * (cast_expression "(byte *)(puVar1 + 3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 3)" ( (binary_expression "puVar1 + 3" identifier + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))" ( (parenthesized_expression "(((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0'))" ( (binary_expression "((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')" (parenthesized_expression "((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0))" ( (binary_expression "(char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)" (binary_expression "(char *)puVar1[1] == "Connection"" (cast_expression "(char *)puVar1[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[1]" identifier [ number_literal ])) == (string_literal ""Connection"" " string_content ")) || (parenthesized_expression "(iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0" (assignment_expression "iVar2 = FUN_000212c0("Connection",(char *)puVar1[1])" identifier = (call_expression "FUN_000212c0("Connection",(char *)puVar1[1])" identifier (argument_list "("Connection",(char *)puVar1[1])" ( (string_literal ""Connection"" " string_content ") , (cast_expression "(char *)puVar1[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[1]" identifier [ number_literal ])) )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')" ( (comma_expression "uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0'" (assignment_expression "uVar3 = FUN_000213f0(puVar1[2],param_2,param_3)" identifier = (call_expression "FUN_000213f0(puVar1[2],param_2,param_3)" identifier (argument_list "(puVar1[2],param_2,param_3)" ( (subscript_expression "puVar1[2]" identifier [ number_literal ]) , identifier , identifier )))) , (binary_expression "(char)uVar3 != '\0'" (cast_expression "(char)uVar3" ( (type_descriptor "char" primitive_type) ) identifier) != (char_literal "'\0'" ' escape_sequence '))) ))) )) ))) )) (compound_statement "{\n        return uVar3;\n      }" { (return_statement "return uVar3;" return identifier ;) })) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n/* WARNING: Enum "MHD_FLAG": Some values do not have unique names */\n/* WARNING: Enum "gnutls_pk_algorithm_t": Some values do not have unique names */\n/* WARNING: Enum "gnutls_certificate_type_t": Some values do not have unique names */\n\n_Bool __regparm3\nMHD_lookup_header_token_ci(MHD_Connection *connection,char *header,char *token,size_t token_len)\n\n{\n  MHD_HTTP_Header *pMVar1;\n  _Bool _Var2;\n  int iVar3;\n  \n  if ((connection != (MHD_Connection *)0x0) && (*header != '\0')) {\n    for (pMVar1 = connection->headers_received; pMVar1 != (MHD_HTTP_Header *)0x0;\n        pMVar1 = pMVar1->next) {\n      if (((pMVar1->kind & MHD_HEADER_KIND) != MHD_RESPONSE_HEADER_KIND) &&\n         (((pMVar1->header == "Connection" ||\n           (iVar3 = MHD_str_equal_caseless_("Connection",pMVar1->header), iVar3 != 0)) &&\n          (_Var2 = MHD_str_has_token_caseless_(pMVar1->value,header,(size_t)token), _Var2)))) {\n        return _Var2;\n      }\n    }\n  }\n  return false;\n}\n\n" comment comment comment comment (function_definition "_Bool __regparm3\nMHD_lookup_header_token_ci(MHD_Connection *connection,char *header,char *token,size_t token_len)\n\n{\n  MHD_HTTP_Header *pMVar1;\n  _Bool _Var2;\n  int iVar3;\n  \n  if ((connection != (MHD_Connection *)0x0) && (*header != '\0')) {\n    for (pMVar1 = connection->headers_received; pMVar1 != (MHD_HTTP_Header *)0x0;\n        pMVar1 = pMVar1->next) {\n      if (((pMVar1->kind & MHD_HEADER_KIND) != MHD_RESPONSE_HEADER_KIND) &&\n         (((pMVar1->header == "Connection" ||\n           (iVar3 = MHD_str_equal_caseless_("Connection",pMVar1->header), iVar3 != 0)) &&\n          (_Var2 = MHD_str_has_token_caseless_(pMVar1->value,header,(size_t)token), _Var2)))) {\n        return _Var2;\n      }\n    }\n  }\n  return false;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "MHD_lookup_header_token_ci(MHD_Connection *connection,char *header,char *token,size_t token_len)" identifier (parameter_list "(MHD_Connection *connection,char *header,char *token,size_t token_len)" ( (parameter_declaration "MHD_Connection *connection" type_identifier (pointer_declarator "*connection" * identifier)) , (parameter_declaration "char *header" primitive_type (pointer_declarator "*header" * identifier)) , (parameter_declaration "char *token" primitive_type (pointer_declarator "*token" * identifier)) , (parameter_declaration "size_t token_len" primitive_type identifier) ))) (compound_statement "{\n  MHD_HTTP_Header *pMVar1;\n  _Bool _Var2;\n  int iVar3;\n  \n  if ((connection != (MHD_Connection *)0x0) && (*header != '\0')) {\n    for (pMVar1 = connection->headers_received; pMVar1 != (MHD_HTTP_Header *)0x0;\n        pMVar1 = pMVar1->next) {\n      if (((pMVar1->kind & MHD_HEADER_KIND) != MHD_RESPONSE_HEADER_KIND) &&\n         (((pMVar1->header == "Connection" ||\n           (iVar3 = MHD_str_equal_caseless_("Connection",pMVar1->header), iVar3 != 0)) &&\n          (_Var2 = MHD_str_has_token_caseless_(pMVar1->value,header,(size_t)token), _Var2)))) {\n        return _Var2;\n      }\n    }\n  }\n  return false;\n}" { (declaration "MHD_HTTP_Header *pMVar1;" type_identifier (pointer_declarator "*pMVar1" * identifier) ;) (declaration "_Bool _Var2;" type_identifier identifier ;) (declaration "int iVar3;" primitive_type identifier ;) (if_statement "if ((connection != (MHD_Connection *)0x0) && (*header != '\0')) {\n    for (pMVar1 = connection->headers_received; pMVar1 != (MHD_HTTP_Header *)0x0;\n        pMVar1 = pMVar1->next) {\n      if (((pMVar1->kind & MHD_HEADER_KIND) != MHD_RESPONSE_HEADER_KIND) &&\n         (((pMVar1->header == "Connection" ||\n           (iVar3 = MHD_str_equal_caseless_("Connection",pMVar1->header), iVar3 != 0)) &&\n          (_Var2 = MHD_str_has_token_caseless_(pMVar1->value,header,(size_t)token), _Var2)))) {\n        return _Var2;\n      }\n    }\n  }" if (parenthesized_expression "((connection != (MHD_Connection *)0x0) && (*header != '\0'))" ( (binary_expression "(connection != (MHD_Connection *)0x0) && (*header != '\0')" (parenthesized_expression "(connection != (MHD_Connection *)0x0)" ( (binary_expression "connection != (MHD_Connection *)0x0" identifier != (cast_expression "(MHD_Connection *)0x0" ( (type_descriptor "MHD_Connection *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(*header != '\0')" ( (binary_expression "*header != '\0'" (pointer_expression "*header" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    for (pMVar1 = connection->headers_received; pMVar1 != (MHD_HTTP_Header *)0x0;\n        pMVar1 = pMVar1->next) {\n      if (((pMVar1->kind & MHD_HEADER_KIND) != MHD_RESPONSE_HEADER_KIND) &&\n         (((pMVar1->header == "Connection" ||\n           (iVar3 = MHD_str_equal_caseless_("Connection",pMVar1->header), iVar3 != 0)) &&\n          (_Var2 = MHD_str_has_token_caseless_(pMVar1->value,header,(size_t)token), _Var2)))) {\n        return _Var2;\n      }\n    }\n  }" { (for_statement "for (pMVar1 = connection->headers_received; pMVar1 != (MHD_HTTP_Header *)0x0;\n        pMVar1 = pMVar1->next) {\n      if (((pMVar1->kind & MHD_HEADER_KIND) != MHD_RESPONSE_HEADER_KIND) &&\n         (((pMVar1->header == "Connection" ||\n           (iVar3 = MHD_str_equal_caseless_("Connection",pMVar1->header), iVar3 != 0)) &&\n          (_Var2 = MHD_str_has_token_caseless_(pMVar1->value,header,(size_t)token), _Var2)))) {\n        return _Var2;\n      }\n    }" for ( (assignment_expression "pMVar1 = connection->headers_received" identifier = (field_expression "connection->headers_received" identifier -> field_identifier)) ; (binary_expression "pMVar1 != (MHD_HTTP_Header *)0x0" identifier != (cast_expression "(MHD_HTTP_Header *)0x0" ( (type_descriptor "MHD_HTTP_Header *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "pMVar1 = pMVar1->next" identifier = (field_expression "pMVar1->next" identifier -> field_identifier)) ) (compound_statement "{\n      if (((pMVar1->kind & MHD_HEADER_KIND) != MHD_RESPONSE_HEADER_KIND) &&\n         (((pMVar1->header == "Connection" ||\n           (iVar3 = MHD_str_equal_caseless_("Connection",pMVar1->header), iVar3 != 0)) &&\n          (_Var2 = MHD_str_has_token_caseless_(pMVar1->value,header,(size_t)token), _Var2)))) {\n        return _Var2;\n      }\n    }" { (if_statement "if (((pMVar1->kind & MHD_HEADER_KIND) != MHD_RESPONSE_HEADER_KIND) &&\n         (((pMVar1->header == "Connection" ||\n           (iVar3 = MHD_str_equal_caseless_("Connection",pMVar1->header), iVar3 != 0)) &&\n          (_Var2 = MHD_str_has_token_caseless_(pMVar1->value,header,(size_t)token), _Var2)))) {\n        return _Var2;\n      }" if (parenthesized_expression "(((pMVar1->kind & MHD_HEADER_KIND) != MHD_RESPONSE_HEADER_KIND) &&\n         (((pMVar1->header == "Connection" ||\n           (iVar3 = MHD_str_equal_caseless_("Connection",pMVar1->header), iVar3 != 0)) &&\n          (_Var2 = MHD_str_has_token_caseless_(pMVar1->value,header,(size_t)token), _Var2))))" ( (binary_expression "((pMVar1->kind & MHD_HEADER_KIND) != MHD_RESPONSE_HEADER_KIND) &&\n         (((pMVar1->header == "Connection" ||\n           (iVar3 = MHD_str_equal_caseless_("Connection",pMVar1->header), iVar3 != 0)) &&\n          (_Var2 = MHD_str_has_token_caseless_(pMVar1->value,header,(size_t)token), _Var2)))" (parenthesized_expression "((pMVar1->kind & MHD_HEADER_KIND) != MHD_RESPONSE_HEADER_KIND)" ( (binary_expression "(pMVar1->kind & MHD_HEADER_KIND) != MHD_RESPONSE_HEADER_KIND" (parenthesized_expression "(pMVar1->kind & MHD_HEADER_KIND)" ( (binary_expression "pMVar1->kind & MHD_HEADER_KIND" (field_expression "pMVar1->kind" identifier -> field_identifier) & identifier) )) != identifier) )) && (parenthesized_expression "(((pMVar1->header == "Connection" ||\n           (iVar3 = MHD_str_equal_caseless_("Connection",pMVar1->header), iVar3 != 0)) &&\n          (_Var2 = MHD_str_has_token_caseless_(pMVar1->value,header,(size_t)token), _Var2)))" ( (parenthesized_expression "((pMVar1->header == "Connection" ||\n           (iVar3 = MHD_str_equal_caseless_("Connection",pMVar1->header), iVar3 != 0)) &&\n          (_Var2 = MHD_str_has_token_caseless_(pMVar1->value,header,(size_t)token), _Var2))" ( (binary_expression "(pMVar1->header == "Connection" ||\n           (iVar3 = MHD_str_equal_caseless_("Connection",pMVar1->header), iVar3 != 0)) &&\n          (_Var2 = MHD_str_has_token_caseless_(pMVar1->value,header,(size_t)token), _Var2)" (parenthesized_expression "(pMVar1->header == "Connection" ||\n           (iVar3 = MHD_str_equal_caseless_("Connection",pMVar1->header), iVar3 != 0))" ( (binary_expression "pMVar1->header == "Connection" ||\n           (iVar3 = MHD_str_equal_caseless_("Connection",pMVar1->header), iVar3 != 0)" (binary_expression "pMVar1->header == "Connection"" (field_expression "pMVar1->header" identifier -> field_identifier) == (string_literal ""Connection"" " string_content ")) || (parenthesized_expression "(iVar3 = MHD_str_equal_caseless_("Connection",pMVar1->header), iVar3 != 0)" ( (comma_expression "iVar3 = MHD_str_equal_caseless_("Connection",pMVar1->header), iVar3 != 0" (assignment_expression "iVar3 = MHD_str_equal_caseless_("Connection",pMVar1->header)" identifier = (call_expression "MHD_str_equal_caseless_("Connection",pMVar1->header)" identifier (argument_list "("Connection",pMVar1->header)" ( (string_literal ""Connection"" " string_content ") , (field_expression "pMVar1->header" identifier -> field_identifier) )))) , (binary_expression "iVar3 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(_Var2 = MHD_str_has_token_caseless_(pMVar1->value,header,(size_t)token), _Var2)" ( (comma_expression "_Var2 = MHD_str_has_token_caseless_(pMVar1->value,header,(size_t)token), _Var2" (assignment_expression "_Var2 = MHD_str_has_token_caseless_(pMVar1->value,header,(size_t)token)" identifier = (call_expression "MHD_str_has_token_caseless_(pMVar1->value,header,(size_t)token)" identifier (argument_list "(pMVar1->value,header,(size_t)token)" ( (field_expression "pMVar1->value" identifier -> field_identifier) , identifier , (cast_expression "(size_t)token" ( (type_descriptor "size_t" primitive_type) ) identifier) )))) , identifier) ))) )) ))) )) (compound_statement "{\n        return _Var2;\n      }" { (return_statement "return _Var2;" return identifier ;) })) })) })) (return_statement "return false;" return false ;) })))
(translation_unit "undefined4 __regparm3 FUN_00013fa0(int param_1,char *param_2,undefined4 param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  if ((param_1 != 0) && (*param_2 != '\0')) {\n    for (puVar1 = *(undefined4 **)(param_1 + 0x1c); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)*puVar1) {\n      if (((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))) {\n        return uVar3;\n      }\n    }\n  }\n  return 0;\n}\n\n" (function_definition "undefined4 __regparm3 FUN_00013fa0(int param_1,char *param_2,undefined4 param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  if ((param_1 != 0) && (*param_2 != '\0')) {\n    for (puVar1 = *(undefined4 **)(param_1 + 0x1c); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)*puVar1) {\n      if (((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))) {\n        return uVar3;\n      }\n    }\n  }\n  return 0;\n}" type_identifier (ERROR "__regparm3" identifier) (function_declarator "FUN_00013fa0(int param_1,char *param_2,undefined4 param_3)" identifier (parameter_list "(int param_1,char *param_2,undefined4 param_3)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "char *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  if ((param_1 != 0) && (*param_2 != '\0')) {\n    for (puVar1 = *(undefined4 **)(param_1 + 0x1c); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)*puVar1) {\n      if (((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))) {\n        return uVar3;\n      }\n    }\n  }\n  return 0;\n}" { (declaration "undefined4 *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "int iVar2;" primitive_type identifier ;) (declaration "undefined4 uVar3;" type_identifier identifier ;) (if_statement "if ((param_1 != 0) && (*param_2 != '\0')) {\n    for (puVar1 = *(undefined4 **)(param_1 + 0x1c); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)*puVar1) {\n      if (((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))) {\n        return uVar3;\n      }\n    }\n  }" if (parenthesized_expression "((param_1 != 0) && (*param_2 != '\0'))" ( (binary_expression "(param_1 != 0) && (*param_2 != '\0')" (parenthesized_expression "(param_1 != 0)" ( (binary_expression "param_1 != 0" identifier != number_literal) )) && (parenthesized_expression "(*param_2 != '\0')" ( (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" * identifier) != (char_literal "'\0'" ' escape_sequence ')) ))) )) (compound_statement "{\n    for (puVar1 = *(undefined4 **)(param_1 + 0x1c); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)*puVar1) {\n      if (((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))) {\n        return uVar3;\n      }\n    }\n  }" { (for_statement "for (puVar1 = *(undefined4 **)(param_1 + 0x1c); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)*puVar1) {\n      if (((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))) {\n        return uVar3;\n      }\n    }" for ( (assignment_expression "puVar1 = *(undefined4 **)(param_1 + 0x1c)" identifier = (pointer_expression "*(undefined4 **)(param_1 + 0x1c)" * (cast_expression "(undefined4 **)(param_1 + 0x1c)" ( (type_descriptor "undefined4 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(param_1 + 0x1c)" ( (binary_expression "param_1 + 0x1c" identifier + number_literal) ))))) ; (binary_expression "puVar1 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ; (assignment_expression "puVar1 = (undefined4 *)*puVar1" identifier = (cast_expression "(undefined4 *)*puVar1" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "*puVar1" * identifier))) ) (compound_statement "{\n      if (((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))) {\n        return uVar3;\n      }\n    }" { (if_statement "if (((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))) {\n        return uVar3;\n      }" if (parenthesized_expression "(((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0'))))" ( (binary_expression "((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))" (parenthesized_expression "((*(byte *)(puVar1 + 3) & 1) != 0)" ( (binary_expression "(*(byte *)(puVar1 + 3) & 1) != 0" (parenthesized_expression "(*(byte *)(puVar1 + 3) & 1)" ( (binary_expression "*(byte *)(puVar1 + 3) & 1" (pointer_expression "*(byte *)(puVar1 + 3)" * (cast_expression "(byte *)(puVar1 + 3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar1 + 3)" ( (binary_expression "puVar1 + 3" identifier + number_literal) )))) & number_literal) )) != number_literal) )) && (parenthesized_expression "((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))" ( (parenthesized_expression "(((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0'))" ( (binary_expression "((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')" (parenthesized_expression "((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0))" ( (binary_expression "(char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)" (binary_expression "(char *)puVar1[1] == "Connection"" (cast_expression "(char *)puVar1[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[1]" identifier [ number_literal ])) == (string_literal ""Connection"" " string_content ")) || (parenthesized_expression "(iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)" ( (comma_expression "iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0" (assignment_expression "iVar2 = FUN_000212c0("Connection",(char *)puVar1[1])" identifier = (call_expression "FUN_000212c0("Connection",(char *)puVar1[1])" identifier (argument_list "("Connection",(char *)puVar1[1])" ( (string_literal ""Connection"" " string_content ") , (cast_expression "(char *)puVar1[1]" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (subscript_expression "puVar1[1]" identifier [ number_literal ])) )))) , (binary_expression "iVar2 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')" ( (comma_expression "uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0'" (assignment_expression "uVar3 = FUN_000213f0(puVar1[2],param_2,param_3)" identifier = (call_expression "FUN_000213f0(puVar1[2],param_2,param_3)" identifier (argument_list "(puVar1[2],param_2,param_3)" ( (subscript_expression "puVar1[2]" identifier [ number_literal ]) , identifier , identifier )))) , (binary_expression "(char)uVar3 != '\0'" (cast_expression "(char)uVar3" ( (type_descriptor "char" primitive_type) ) identifier) != (char_literal "'\0'" ' escape_sequence '))) ))) )) ))) )) (compound_statement "{\n        return uVar3;\n      }" { (return_statement "return uVar3;" return identifier ;) })) })) })) (return_statement "return 0;" return number_literal ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) != (char_literal ' escape_sequence ')) ))) )) (compound_statement { (for_statement for ( (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ; (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ; (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression * IDENT))) ) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) == (string_literal " string_content ")) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (string_literal " string_content ") , (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (subscript_expression IDENT [ LIT ])) )))) , (binary_expression IDENT != LIT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression IDENT (argument_list ( (subscript_expression IDENT [ LIT ]) , IDENT , IDENT )))) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) != (char_literal ' escape_sequence '))) ))) )) ))) )) (compound_statement { (return_statement return IDENT ;) })) })) })) (return_statement return LIT ;) })))
(function_definition "undefined4 __regparm3 FUN_00013fa0(int param_1,char *param_2,undefined4 param_3)\n\n{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  if ((param_1 != 0) && (*param_2 != '\0')) {\n    for (puVar1 = *(undefined4 **)(param_1 + 0x1c); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)*puVar1) {\n      if (((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))) {\n        return uVar3;\n      }\n    }\n  }\n  return 0;\n}" (type_identifier "undefined4") (ERROR "__regparm3" (identifier "__regparm3")) (function_declarator "FUN_00013fa0(int param_1,char *param_2,undefined4 param_3)" (identifier "FUN_00013fa0") (parameter_list "(int param_1,char *param_2,undefined4 param_3)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "char *param_2" (primitive_type "char") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  undefined4 *puVar1;\n  int iVar2;\n  undefined4 uVar3;\n  \n  if ((param_1 != 0) && (*param_2 != '\0')) {\n    for (puVar1 = *(undefined4 **)(param_1 + 0x1c); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)*puVar1) {\n      if (((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))) {\n        return uVar3;\n      }\n    }\n  }\n  return 0;\n}" ({ "{") (declaration "undefined4 *puVar1;" (type_identifier "undefined4") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "int iVar2;" (primitive_type "int") (identifier "iVar2") (; ";")) (declaration "undefined4 uVar3;" (type_identifier "undefined4") (identifier "uVar3") (; ";")) (if_statement "if ((param_1 != 0) && (*param_2 != '\0')) {\n    for (puVar1 = *(undefined4 **)(param_1 + 0x1c); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)*puVar1) {\n      if (((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))) {\n        return uVar3;\n      }\n    }\n  }" (if "if") (parenthesized_expression "((param_1 != 0) && (*param_2 != '\0'))" (( "(") (binary_expression "(param_1 != 0) && (*param_2 != '\0')" (parenthesized_expression "(param_1 != 0)" (( "(") (binary_expression "param_1 != 0" (identifier "param_1") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*param_2 != '\0')" (( "(") (binary_expression "*param_2 != '\0'" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) () ")"))) () ")")) (compound_statement "{\n    for (puVar1 = *(undefined4 **)(param_1 + 0x1c); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)*puVar1) {\n      if (((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))) {\n        return uVar3;\n      }\n    }\n  }" ({ "{") (for_statement "for (puVar1 = *(undefined4 **)(param_1 + 0x1c); puVar1 != (undefined4 *)0x0;\n        puVar1 = (undefined4 *)*puVar1) {\n      if (((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))) {\n        return uVar3;\n      }\n    }" (for "for") (( "(") (assignment_expression "puVar1 = *(undefined4 **)(param_1 + 0x1c)" (identifier "puVar1") (= "=") (pointer_expression "*(undefined4 **)(param_1 + 0x1c)" (* "*") (cast_expression "(undefined4 **)(param_1 + 0x1c)" (( "(") (type_descriptor "undefined4 **" (type_identifier "undefined4") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(param_1 + 0x1c)" (( "(") (binary_expression "param_1 + 0x1c" (identifier "param_1") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";") (binary_expression "puVar1 != (undefined4 *)0x0" (identifier "puVar1") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";") (assignment_expression "puVar1 = (undefined4 *)*puVar1" (identifier "puVar1") (= "=") (cast_expression "(undefined4 *)*puVar1" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "*puVar1" (* "*") (identifier "puVar1")))) () ")") (compound_statement "{\n      if (((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))) {\n        return uVar3;\n      }\n    }" ({ "{") (if_statement "if (((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))) {\n        return uVar3;\n      }" (if "if") (parenthesized_expression "(((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0'))))" (( "(") (binary_expression "((*(byte *)(puVar1 + 3) & 1) != 0) &&\n         ((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))" (parenthesized_expression "((*(byte *)(puVar1 + 3) & 1) != 0)" (( "(") (binary_expression "(*(byte *)(puVar1 + 3) & 1) != 0" (parenthesized_expression "(*(byte *)(puVar1 + 3) & 1)" (( "(") (binary_expression "*(byte *)(puVar1 + 3) & 1" (pointer_expression "*(byte *)(puVar1 + 3)" (* "*") (cast_expression "(byte *)(puVar1 + 3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar1 + 3)" (( "(") (binary_expression "puVar1 + 3" (identifier "puVar1") (+ "+") (number_literal "3")) () ")")))) (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))" (( "(") (parenthesized_expression "(((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0'))" (( "(") (binary_expression "((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&\n          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')" (parenthesized_expression "((char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0))" (( "(") (binary_expression "(char *)puVar1[1] == "Connection" ||\n           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)" (binary_expression "(char *)puVar1[1] == "Connection"" (cast_expression "(char *)puVar1[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) (== "==") (string_literal ""Connection"" (" """) (string_content "Connection") (" """))) (|| "||") (parenthesized_expression "(iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)" (( "(") (comma_expression "iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0" (assignment_expression "iVar2 = FUN_000212c0("Connection",(char *)puVar1[1])" (identifier "iVar2") (= "=") (call_expression "FUN_000212c0("Connection",(char *)puVar1[1])" (identifier "FUN_000212c0") (argument_list "("Connection",(char *)puVar1[1])" (( "(") (string_literal ""Connection"" (" """) (string_content "Connection") (" """)) (, ",") (cast_expression "(char *)puVar1[1]" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (subscript_expression "puVar1[1]" (identifier "puVar1") ([ "[") (number_literal "1") (] "]"))) () ")")))) (, ",") (binary_expression "iVar2 != 0" (identifier "iVar2") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')" (( "(") (comma_expression "uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0'" (assignment_expression "uVar3 = FUN_000213f0(puVar1[2],param_2,param_3)" (identifier "uVar3") (= "=") (call_expression "FUN_000213f0(puVar1[2],param_2,param_3)" (identifier "FUN_000213f0") (argument_list "(puVar1[2],param_2,param_3)" (( "(") (subscript_expression "puVar1[2]" (identifier "puVar1") ([ "[") (number_literal "2") (] "]")) (, ",") (identifier "param_2") (, ",") (identifier "param_3") () ")")))) (, ",") (binary_expression "(char)uVar3 != '\0'" (cast_expression "(char)uVar3" (( "(") (type_descriptor "char" (primitive_type "char")) () ")") (identifier "uVar3")) (!= "!=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n        return uVar3;\n      }" ({ "{") (return_statement "return uVar3;" (return "return") (identifier "uVar3") (; ";")) (} "}"))) (} "}"))) (} "}"))) (return_statement "return 0;" (return "return") (number_literal "0") (; ";")) (} "}")))

/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Enum "MHD_FLAG": Some values do not have unique names */
/* WARNING: Enum "gnutls_pk_algorithm_t": Some values do not have unique names */
/* WARNING: Enum "gnutls_certificate_type_t": Some values do not have unique names */

type_1 __regparm3
function_1(type_2 *var_1,char *header,char *token,size_t token_len)

{
  type_3 *var_2;
  type_1 _Var2;
  int var_6;
  
  if ((var_1 != (type_2 *)0x0) && (*header != '\0')) {
    for (var_2 = var_1->headers_received; var_2 != (type_3 *)0x0;
        var_2 = var_2->next) {
      if (((var_2->kind & var_3) != var_4) &&
         (((var_2->header == "Connection" ||
           (var_6 = var_5("Connection",var_2->header), var_6 != 0)) &&
          (_Var2 = var_7(var_2->value,header,(size_t)token), _Var2)))) {
        return _Var2;
      }
    }
  }
  return false;
}


(translation_unit (function_definition type: (type_identifier) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (char_literal (escape_sequence)))))) consequence: (compound_statement (for_statement initializer: (assignment_expression left: (identifier) right: (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)))))) condition: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))) update: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier)))) body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (number_literal))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (string_literal (string_content))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (string_literal (string_content)) (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (subscript_expression argument: (identifier) index: (number_literal)))))) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (identifier) (identifier)))) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (char_literal (escape_sequence)))))))))) consequence: (compound_statement (return_statement (identifier)))))))) (return_statement (number_literal)))))

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

undefined4 __regparm3 MASKED(int param_1,char *param_2,undefined4 param_3)

{
  undefined4 *puVar1;
  int iVar2;
  undefined4 uVar3;
  
  if ((param_1 != 0) && (*param_2 != '\0')) {
    for (puVar1 = *(undefined4 **)(param_1 + 0x1c); puVar1 != (undefined4 *)0x0;
        puVar1 = (undefined4 *)*puVar1) {
      if (((*(byte *)(puVar1 + 3) & 1) != 0) &&
         ((((char *)puVar1[1] == "Connection" ||
           (iVar2 = FUN_000212c0("Connection",(char *)puVar1[1]), iVar2 != 0)) &&
          (uVar3 = FUN_000213f0(puVar1[2],param_2,param_3), (char)uVar3 != '\0')))) {
        return uVar3;
      }
    }
  }
  return 0;
}

