
/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

_Bool Curl_connect_complete(connectdata *conn)

{
  _Bool _Var1;
  
  _Var1 = true;
  if (conn->connect_state != (http_connect_state *)0x0) {
    _Var1 = conn->connect_state->tunnel_state == CURLDIGESTALGO_SHA256;
  }
  return _Var1;
}



bool FUN_0005bcb0(int param_1)

{
  bool bVar1;
  
  bVar1 = true;
  if (*(int *)(param_1 + 0x578) != 0) {
    bVar1 = *(int *)(*(int *)(param_1 + 0x578) + 0x401c) == 2;
  }
  return bVar1;
}


MOV EAX,dword ptr [ESP + 0x4]
MOV EDX,dword ptr [EAX + 0x578]
MOV EAX,0x1
TEST EDX,EDX
JZ 0x0005bccd
CMP dword ptr [EDX + 0x401c],0x2
SETZ AL
RET
(translation_unit "bool FUN_0005bcb0(int param_1)\n\n{\n  bool bVar1;\n  \n  bVar1 = true;\n  if (*(int *)(param_1 + 0x578) != 0) {\n    bVar1 = *(int *)(*(int *)(param_1 + 0x578) + 0x401c) == 2;\n  }\n  return bVar1;\n}\n\n" (function_definition "bool FUN_0005bcb0(int param_1)\n\n{\n  bool bVar1;\n  \n  bVar1 = true;\n  if (*(int *)(param_1 + 0x578) != 0) {\n    bVar1 = *(int *)(*(int *)(param_1 + 0x578) + 0x401c) == 2;\n  }\n  return bVar1;\n}" primitive_type (function_declarator "FUN_0005bcb0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  \n  bVar1 = true;\n  if (*(int *)(param_1 + 0x578) != 0) {\n    bVar1 = *(int *)(*(int *)(param_1 + 0x578) + 0x401c) == 2;\n  }\n  return bVar1;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (if_statement "if (*(int *)(param_1 + 0x578) != 0) {\n    bVar1 = *(int *)(*(int *)(param_1 + 0x578) + 0x401c) == 2;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x578) != 0)" ( (binary_expression "*(int *)(param_1 + 0x578) != 0" (pointer_expression "*(int *)(param_1 + 0x578)" * (cast_expression "(int *)(param_1 + 0x578)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x578)" ( (binary_expression "param_1 + 0x578" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    bVar1 = *(int *)(*(int *)(param_1 + 0x578) + 0x401c) == 2;\n  }" { (expression_statement "bVar1 = *(int *)(*(int *)(param_1 + 0x578) + 0x401c) == 2;" (assignment_expression "bVar1 = *(int *)(*(int *)(param_1 + 0x578) + 0x401c) == 2" identifier = (binary_expression "*(int *)(*(int *)(param_1 + 0x578) + 0x401c) == 2" (pointer_expression "*(int *)(*(int *)(param_1 + 0x578) + 0x401c)" * (cast_expression "(int *)(*(int *)(param_1 + 0x578) + 0x401c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x578) + 0x401c)" ( (binary_expression "*(int *)(param_1 + 0x578) + 0x401c" (pointer_expression "*(int *)(param_1 + 0x578)" * (cast_expression "(int *)(param_1 + 0x578)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x578)" ( (binary_expression "param_1 + 0x578" identifier + number_literal) )))) + number_literal) )))) == number_literal)) ;) })) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit "/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\n_Bool Curl_connect_complete(connectdata *conn)\n\n{\n  _Bool _Var1;\n  \n  _Var1 = true;\n  if (conn->connect_state != (http_connect_state *)0x0) {\n    _Var1 = conn->connect_state->tunnel_state == CURLDIGESTALGO_SHA256;\n  }\n  return _Var1;\n}\n\n" comment comment (function_definition "_Bool Curl_connect_complete(connectdata *conn)\n\n{\n  _Bool _Var1;\n  \n  _Var1 = true;\n  if (conn->connect_state != (http_connect_state *)0x0) {\n    _Var1 = conn->connect_state->tunnel_state == CURLDIGESTALGO_SHA256;\n  }\n  return _Var1;\n}" type_identifier (function_declarator "Curl_connect_complete(connectdata *conn)" identifier (parameter_list "(connectdata *conn)" ( (parameter_declaration "connectdata *conn" type_identifier (pointer_declarator "*conn" * identifier)) ))) (compound_statement "{\n  _Bool _Var1;\n  \n  _Var1 = true;\n  if (conn->connect_state != (http_connect_state *)0x0) {\n    _Var1 = conn->connect_state->tunnel_state == CURLDIGESTALGO_SHA256;\n  }\n  return _Var1;\n}" { (declaration "_Bool _Var1;" type_identifier identifier ;) (expression_statement "_Var1 = true;" (assignment_expression "_Var1 = true" identifier = true) ;) (if_statement "if (conn->connect_state != (http_connect_state *)0x0) {\n    _Var1 = conn->connect_state->tunnel_state == CURLDIGESTALGO_SHA256;\n  }" if (parenthesized_expression "(conn->connect_state != (http_connect_state *)0x0)" ( (binary_expression "conn->connect_state != (http_connect_state *)0x0" (field_expression "conn->connect_state" identifier -> field_identifier) != (cast_expression "(http_connect_state *)0x0" ( (type_descriptor "http_connect_state *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    _Var1 = conn->connect_state->tunnel_state == CURLDIGESTALGO_SHA256;\n  }" { (expression_statement "_Var1 = conn->connect_state->tunnel_state == CURLDIGESTALGO_SHA256;" (assignment_expression "_Var1 = conn->connect_state->tunnel_state == CURLDIGESTALGO_SHA256" identifier = (binary_expression "conn->connect_state->tunnel_state == CURLDIGESTALGO_SHA256" (field_expression "conn->connect_state->tunnel_state" (field_expression "conn->connect_state" identifier -> field_identifier) -> field_identifier) == identifier)) ;) })) (return_statement "return _Var1;" return identifier ;) })))
(translation_unit "bool FUN_0005bcb0(int param_1)\n\n{\n  bool bVar1;\n  \n  bVar1 = true;\n  if (*(int *)(param_1 + 0x578) != 0) {\n    bVar1 = *(int *)(*(int *)(param_1 + 0x578) + 0x401c) == 2;\n  }\n  return bVar1;\n}\n\n" (function_definition "bool FUN_0005bcb0(int param_1)\n\n{\n  bool bVar1;\n  \n  bVar1 = true;\n  if (*(int *)(param_1 + 0x578) != 0) {\n    bVar1 = *(int *)(*(int *)(param_1 + 0x578) + 0x401c) == 2;\n  }\n  return bVar1;\n}" primitive_type (function_declarator "FUN_0005bcb0(int param_1)" identifier (parameter_list "(int param_1)" ( (parameter_declaration "int param_1" primitive_type identifier) ))) (compound_statement "{\n  bool bVar1;\n  \n  bVar1 = true;\n  if (*(int *)(param_1 + 0x578) != 0) {\n    bVar1 = *(int *)(*(int *)(param_1 + 0x578) + 0x401c) == 2;\n  }\n  return bVar1;\n}" { (declaration "bool bVar1;" primitive_type identifier ;) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" identifier = true) ;) (if_statement "if (*(int *)(param_1 + 0x578) != 0) {\n    bVar1 = *(int *)(*(int *)(param_1 + 0x578) + 0x401c) == 2;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x578) != 0)" ( (binary_expression "*(int *)(param_1 + 0x578) != 0" (pointer_expression "*(int *)(param_1 + 0x578)" * (cast_expression "(int *)(param_1 + 0x578)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x578)" ( (binary_expression "param_1 + 0x578" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    bVar1 = *(int *)(*(int *)(param_1 + 0x578) + 0x401c) == 2;\n  }" { (expression_statement "bVar1 = *(int *)(*(int *)(param_1 + 0x578) + 0x401c) == 2;" (assignment_expression "bVar1 = *(int *)(*(int *)(param_1 + 0x578) + 0x401c) == 2" identifier = (binary_expression "*(int *)(*(int *)(param_1 + 0x578) + 0x401c) == 2" (pointer_expression "*(int *)(*(int *)(param_1 + 0x578) + 0x401c)" * (cast_expression "(int *)(*(int *)(param_1 + 0x578) + 0x401c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_1 + 0x578) + 0x401c)" ( (binary_expression "*(int *)(param_1 + 0x578) + 0x401c" (pointer_expression "*(int *)(param_1 + 0x578)" * (cast_expression "(int *)(param_1 + 0x578)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x578)" ( (binary_expression "param_1 + 0x578" identifier + number_literal) )))) + number_literal) )))) == number_literal)) ;) })) (return_statement "return bVar1;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = BOOL) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) )))) == LIT)) ;) })) (return_statement return IDENT ;) })))
(function_definition "bool FUN_0005bcb0(int param_1)\n\n{\n  bool bVar1;\n  \n  bVar1 = true;\n  if (*(int *)(param_1 + 0x578) != 0) {\n    bVar1 = *(int *)(*(int *)(param_1 + 0x578) + 0x401c) == 2;\n  }\n  return bVar1;\n}" (primitive_type "bool") (function_declarator "FUN_0005bcb0(int param_1)" (identifier "FUN_0005bcb0") (parameter_list "(int param_1)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) () ")"))) (compound_statement "{\n  bool bVar1;\n  \n  bVar1 = true;\n  if (*(int *)(param_1 + 0x578) != 0) {\n    bVar1 = *(int *)(*(int *)(param_1 + 0x578) + 0x401c) == 2;\n  }\n  return bVar1;\n}" ({ "{") (declaration "bool bVar1;" (primitive_type "bool") (identifier "bVar1") (; ";")) (expression_statement "bVar1 = true;" (assignment_expression "bVar1 = true" (identifier "bVar1") (= "=") (true "true")) (; ";")) (if_statement "if (*(int *)(param_1 + 0x578) != 0) {\n    bVar1 = *(int *)(*(int *)(param_1 + 0x578) + 0x401c) == 2;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x578) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x578) != 0" (pointer_expression "*(int *)(param_1 + 0x578)" (* "*") (cast_expression "(int *)(param_1 + 0x578)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x578)" (( "(") (binary_expression "param_1 + 0x578" (identifier "param_1") (+ "+") (number_literal "0x578")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    bVar1 = *(int *)(*(int *)(param_1 + 0x578) + 0x401c) == 2;\n  }" ({ "{") (expression_statement "bVar1 = *(int *)(*(int *)(param_1 + 0x578) + 0x401c) == 2;" (assignment_expression "bVar1 = *(int *)(*(int *)(param_1 + 0x578) + 0x401c) == 2" (identifier "bVar1") (= "=") (binary_expression "*(int *)(*(int *)(param_1 + 0x578) + 0x401c) == 2" (pointer_expression "*(int *)(*(int *)(param_1 + 0x578) + 0x401c)" (* "*") (cast_expression "(int *)(*(int *)(param_1 + 0x578) + 0x401c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_1 + 0x578) + 0x401c)" (( "(") (binary_expression "*(int *)(param_1 + 0x578) + 0x401c" (pointer_expression "*(int *)(param_1 + 0x578)" (* "*") (cast_expression "(int *)(param_1 + 0x578)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x578)" (( "(") (binary_expression "param_1 + 0x578" (identifier "param_1") (+ "+") (number_literal "0x578")) () ")")))) (+ "+") (number_literal "0x401c")) () ")")))) (== "==") (number_literal "2"))) (; ";")) (} "}"))) (return_statement "return bVar1;" (return "return") (identifier "bVar1") (; ";")) (} "}")))

/* WARNING: Unknown calling convention */
/* WARNING: Enum "anon_enum_32": Some values do not have unique names */

type_1 function_1(type_2 *conn)

{
  type_1 _Var1;
  
  _Var1 = true;
  if (conn->connect_state != (type_3 *)0x0) {
    _Var1 = conn->connect_state->tunnel_state == var_1;
  }
  return _Var1;
}


(translation_unit (function_definition type: (primitive_type) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (true))) (if_statement condition: (parenthesized_expression (binary_expression left: (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: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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: (number_literal))))) right: (number_literal)))))) (return_statement (identifier)))))

bool MASKED(int param_1)

{
  bool bVar1;
  
  bVar1 = true;
  if (*(int *)(param_1 + 0x578) != 0) {
    bVar1 = *(int *)(*(int *)(param_1 + 0x578) + 0x401c) == 2;
  }
  return bVar1;
}

