
/* 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 */

void Curl_hostcache_clean(Curl_easy *data,curl_hash *hash)

{
  if (data != (Curl_easy *)0x0) {
    if (data->share != (Curl_share *)0x0) {
      Curl_share_lock(data,CURL_LOCK_DATA_DNS,CURL_LOCK_ACCESS_SINGLE);
    }
    Curl_hash_clean(hash);
    if (data->share != (Curl_share *)0x0) {
      Curl_share_unlock(data,CURL_LOCK_DATA_DNS);
    }
    return;
  }
  Curl_hash_clean(hash);
  return;
}



void __regparm2 FUN_0001ba50(undefined4 param_1,undefined4 param_2,undefined4 param_3)

{
  int unaff_retaddr;
  
  entry(param_2,0x1ba57);
  if (unaff_retaddr != 0) {
    if (*(int *)(unaff_retaddr + 0x8c) != 0) {
      FUN_00047590(unaff_retaddr,3,2);
    }
    FUN_00041c10(param_3);
    if (*(int *)(unaff_retaddr + 0x8c) != 0) {
      FUN_000475f0(unaff_retaddr,3);
    }
    return;
  }
  FUN_00041c10(param_3);
  return;
}


PUSH ESI
PUSH EBX
CALL 0x00019ed0
ADD EBX,0x94d89
SUB ESP,0x4
MOV ESI,dword ptr [ESP + 0x10]
TEST ESI,ESI
JZ 0x0001bab0
MOV EDX,dword ptr [ESI + 0x8c]
TEST EDX,EDX
JZ 0x0001ba82
SUB ESP,0x4
PUSH 0x2
PUSH 0x3
PUSH ESI
CALL 0x00047590
ADD ESP,0x10
SUB ESP,0xc
PUSH dword ptr [ESP + 0x20]
CALL 0x00041c10
MOV EAX,dword ptr [ESI + 0x8c]
ADD ESP,0x10
TEST EAX,EAX
JZ 0x0001baa9
SUB ESP,0x8
PUSH 0x3
PUSH ESI
CALL 0x000475f0
ADD ESP,0x10
ADD ESP,0x4
POP EBX
POP ESI
RET
SUB ESP,0xc
PUSH dword ptr [ESP + 0x20]
CALL 0x00041c10
ADD ESP,0x10
ADD ESP,0x4
POP EBX
POP ESI
RET
(translation_unit "void __regparm2 FUN_0001ba50(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int unaff_retaddr;\n  \n  entry(param_2,0x1ba57);\n  if (unaff_retaddr != 0) {\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_00047590(unaff_retaddr,3,2);\n    }\n    FUN_00041c10(param_3);\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_000475f0(unaff_retaddr,3);\n    }\n    return;\n  }\n  FUN_00041c10(param_3);\n  return;\n}\n\n" (function_definition "void __regparm2 FUN_0001ba50(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int unaff_retaddr;\n  \n  entry(param_2,0x1ba57);\n  if (unaff_retaddr != 0) {\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_00047590(unaff_retaddr,3,2);\n    }\n    FUN_00041c10(param_3);\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_000475f0(unaff_retaddr,3);\n    }\n    return;\n  }\n  FUN_00041c10(param_3);\n  return;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_0001ba50(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int unaff_retaddr;\n  \n  entry(param_2,0x1ba57);\n  if (unaff_retaddr != 0) {\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_00047590(unaff_retaddr,3,2);\n    }\n    FUN_00041c10(param_3);\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_000475f0(unaff_retaddr,3);\n    }\n    return;\n  }\n  FUN_00041c10(param_3);\n  return;\n}" { (declaration "int unaff_retaddr;" primitive_type identifier ;) (expression_statement "entry(param_2,0x1ba57);" (call_expression "entry(param_2,0x1ba57)" identifier (argument_list "(param_2,0x1ba57)" ( identifier , number_literal ))) ;) (if_statement "if (unaff_retaddr != 0) {\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_00047590(unaff_retaddr,3,2);\n    }\n    FUN_00041c10(param_3);\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_000475f0(unaff_retaddr,3);\n    }\n    return;\n  }" if (parenthesized_expression "(unaff_retaddr != 0)" ( (binary_expression "unaff_retaddr != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_00047590(unaff_retaddr,3,2);\n    }\n    FUN_00041c10(param_3);\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_000475f0(unaff_retaddr,3);\n    }\n    return;\n  }" { (if_statement "if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_00047590(unaff_retaddr,3,2);\n    }" if (parenthesized_expression "(*(int *)(unaff_retaddr + 0x8c) != 0)" ( (binary_expression "*(int *)(unaff_retaddr + 0x8c) != 0" (pointer_expression "*(int *)(unaff_retaddr + 0x8c)" * (cast_expression "(int *)(unaff_retaddr + 0x8c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x8c)" ( (binary_expression "unaff_retaddr + 0x8c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      FUN_00047590(unaff_retaddr,3,2);\n    }" { (expression_statement "FUN_00047590(unaff_retaddr,3,2);" (call_expression "FUN_00047590(unaff_retaddr,3,2)" identifier (argument_list "(unaff_retaddr,3,2)" ( identifier , number_literal , number_literal ))) ;) })) (expression_statement "FUN_00041c10(param_3);" (call_expression "FUN_00041c10(param_3)" identifier (argument_list "(param_3)" ( identifier ))) ;) (if_statement "if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_000475f0(unaff_retaddr,3);\n    }" if (parenthesized_expression "(*(int *)(unaff_retaddr + 0x8c) != 0)" ( (binary_expression "*(int *)(unaff_retaddr + 0x8c) != 0" (pointer_expression "*(int *)(unaff_retaddr + 0x8c)" * (cast_expression "(int *)(unaff_retaddr + 0x8c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x8c)" ( (binary_expression "unaff_retaddr + 0x8c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      FUN_000475f0(unaff_retaddr,3);\n    }" { (expression_statement "FUN_000475f0(unaff_retaddr,3);" (call_expression "FUN_000475f0(unaff_retaddr,3)" identifier (argument_list "(unaff_retaddr,3)" ( identifier , number_literal ))) ;) })) (return_statement "return;" return ;) })) (expression_statement "FUN_00041c10(param_3);" (call_expression "FUN_00041c10(param_3)" identifier (argument_list "(param_3)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(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\nvoid Curl_hostcache_clean(Curl_easy *data,curl_hash *hash)\n\n{\n  if (data != (Curl_easy *)0x0) {\n    if (data->share != (Curl_share *)0x0) {\n      Curl_share_lock(data,CURL_LOCK_DATA_DNS,CURL_LOCK_ACCESS_SINGLE);\n    }\n    Curl_hash_clean(hash);\n    if (data->share != (Curl_share *)0x0) {\n      Curl_share_unlock(data,CURL_LOCK_DATA_DNS);\n    }\n    return;\n  }\n  Curl_hash_clean(hash);\n  return;\n}\n\n" comment comment comment (function_definition "void Curl_hostcache_clean(Curl_easy *data,curl_hash *hash)\n\n{\n  if (data != (Curl_easy *)0x0) {\n    if (data->share != (Curl_share *)0x0) {\n      Curl_share_lock(data,CURL_LOCK_DATA_DNS,CURL_LOCK_ACCESS_SINGLE);\n    }\n    Curl_hash_clean(hash);\n    if (data->share != (Curl_share *)0x0) {\n      Curl_share_unlock(data,CURL_LOCK_DATA_DNS);\n    }\n    return;\n  }\n  Curl_hash_clean(hash);\n  return;\n}" primitive_type (function_declarator "Curl_hostcache_clean(Curl_easy *data,curl_hash *hash)" identifier (parameter_list "(Curl_easy *data,curl_hash *hash)" ( (parameter_declaration "Curl_easy *data" type_identifier (pointer_declarator "*data" * identifier)) , (parameter_declaration "curl_hash *hash" type_identifier (pointer_declarator "*hash" * identifier)) ))) (compound_statement "{\n  if (data != (Curl_easy *)0x0) {\n    if (data->share != (Curl_share *)0x0) {\n      Curl_share_lock(data,CURL_LOCK_DATA_DNS,CURL_LOCK_ACCESS_SINGLE);\n    }\n    Curl_hash_clean(hash);\n    if (data->share != (Curl_share *)0x0) {\n      Curl_share_unlock(data,CURL_LOCK_DATA_DNS);\n    }\n    return;\n  }\n  Curl_hash_clean(hash);\n  return;\n}" { (if_statement "if (data != (Curl_easy *)0x0) {\n    if (data->share != (Curl_share *)0x0) {\n      Curl_share_lock(data,CURL_LOCK_DATA_DNS,CURL_LOCK_ACCESS_SINGLE);\n    }\n    Curl_hash_clean(hash);\n    if (data->share != (Curl_share *)0x0) {\n      Curl_share_unlock(data,CURL_LOCK_DATA_DNS);\n    }\n    return;\n  }" if (parenthesized_expression "(data != (Curl_easy *)0x0)" ( (binary_expression "data != (Curl_easy *)0x0" identifier != (cast_expression "(Curl_easy *)0x0" ( (type_descriptor "Curl_easy *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    if (data->share != (Curl_share *)0x0) {\n      Curl_share_lock(data,CURL_LOCK_DATA_DNS,CURL_LOCK_ACCESS_SINGLE);\n    }\n    Curl_hash_clean(hash);\n    if (data->share != (Curl_share *)0x0) {\n      Curl_share_unlock(data,CURL_LOCK_DATA_DNS);\n    }\n    return;\n  }" { (if_statement "if (data->share != (Curl_share *)0x0) {\n      Curl_share_lock(data,CURL_LOCK_DATA_DNS,CURL_LOCK_ACCESS_SINGLE);\n    }" if (parenthesized_expression "(data->share != (Curl_share *)0x0)" ( (binary_expression "data->share != (Curl_share *)0x0" (field_expression "data->share" identifier -> field_identifier) != (cast_expression "(Curl_share *)0x0" ( (type_descriptor "Curl_share *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      Curl_share_lock(data,CURL_LOCK_DATA_DNS,CURL_LOCK_ACCESS_SINGLE);\n    }" { (expression_statement "Curl_share_lock(data,CURL_LOCK_DATA_DNS,CURL_LOCK_ACCESS_SINGLE);" (call_expression "Curl_share_lock(data,CURL_LOCK_DATA_DNS,CURL_LOCK_ACCESS_SINGLE)" identifier (argument_list "(data,CURL_LOCK_DATA_DNS,CURL_LOCK_ACCESS_SINGLE)" ( identifier , identifier , identifier ))) ;) })) (expression_statement "Curl_hash_clean(hash);" (call_expression "Curl_hash_clean(hash)" identifier (argument_list "(hash)" ( identifier ))) ;) (if_statement "if (data->share != (Curl_share *)0x0) {\n      Curl_share_unlock(data,CURL_LOCK_DATA_DNS);\n    }" if (parenthesized_expression "(data->share != (Curl_share *)0x0)" ( (binary_expression "data->share != (Curl_share *)0x0" (field_expression "data->share" identifier -> field_identifier) != (cast_expression "(Curl_share *)0x0" ( (type_descriptor "Curl_share *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      Curl_share_unlock(data,CURL_LOCK_DATA_DNS);\n    }" { (expression_statement "Curl_share_unlock(data,CURL_LOCK_DATA_DNS);" (call_expression "Curl_share_unlock(data,CURL_LOCK_DATA_DNS)" identifier (argument_list "(data,CURL_LOCK_DATA_DNS)" ( identifier , identifier ))) ;) })) (return_statement "return;" return ;) })) (expression_statement "Curl_hash_clean(hash);" (call_expression "Curl_hash_clean(hash)" identifier (argument_list "(hash)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit "void __regparm2 FUN_0001ba50(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int unaff_retaddr;\n  \n  entry(param_2,0x1ba57);\n  if (unaff_retaddr != 0) {\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_00047590(unaff_retaddr,3,2);\n    }\n    FUN_00041c10(param_3);\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_000475f0(unaff_retaddr,3);\n    }\n    return;\n  }\n  FUN_00041c10(param_3);\n  return;\n}\n\n" (function_definition "void __regparm2 FUN_0001ba50(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int unaff_retaddr;\n  \n  entry(param_2,0x1ba57);\n  if (unaff_retaddr != 0) {\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_00047590(unaff_retaddr,3,2);\n    }\n    FUN_00041c10(param_3);\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_000475f0(unaff_retaddr,3);\n    }\n    return;\n  }\n  FUN_00041c10(param_3);\n  return;\n}" primitive_type (ERROR "__regparm2" identifier) (function_declarator "FUN_0001ba50(undefined4 param_1,undefined4 param_2,undefined4 param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) ))) (compound_statement "{\n  int unaff_retaddr;\n  \n  entry(param_2,0x1ba57);\n  if (unaff_retaddr != 0) {\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_00047590(unaff_retaddr,3,2);\n    }\n    FUN_00041c10(param_3);\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_000475f0(unaff_retaddr,3);\n    }\n    return;\n  }\n  FUN_00041c10(param_3);\n  return;\n}" { (declaration "int unaff_retaddr;" primitive_type identifier ;) (expression_statement "entry(param_2,0x1ba57);" (call_expression "entry(param_2,0x1ba57)" identifier (argument_list "(param_2,0x1ba57)" ( identifier , number_literal ))) ;) (if_statement "if (unaff_retaddr != 0) {\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_00047590(unaff_retaddr,3,2);\n    }\n    FUN_00041c10(param_3);\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_000475f0(unaff_retaddr,3);\n    }\n    return;\n  }" if (parenthesized_expression "(unaff_retaddr != 0)" ( (binary_expression "unaff_retaddr != 0" identifier != number_literal) )) (compound_statement "{\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_00047590(unaff_retaddr,3,2);\n    }\n    FUN_00041c10(param_3);\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_000475f0(unaff_retaddr,3);\n    }\n    return;\n  }" { (if_statement "if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_00047590(unaff_retaddr,3,2);\n    }" if (parenthesized_expression "(*(int *)(unaff_retaddr + 0x8c) != 0)" ( (binary_expression "*(int *)(unaff_retaddr + 0x8c) != 0" (pointer_expression "*(int *)(unaff_retaddr + 0x8c)" * (cast_expression "(int *)(unaff_retaddr + 0x8c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x8c)" ( (binary_expression "unaff_retaddr + 0x8c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      FUN_00047590(unaff_retaddr,3,2);\n    }" { (expression_statement "FUN_00047590(unaff_retaddr,3,2);" (call_expression "FUN_00047590(unaff_retaddr,3,2)" identifier (argument_list "(unaff_retaddr,3,2)" ( identifier , number_literal , number_literal ))) ;) })) (expression_statement "FUN_00041c10(param_3);" (call_expression "FUN_00041c10(param_3)" identifier (argument_list "(param_3)" ( identifier ))) ;) (if_statement "if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_000475f0(unaff_retaddr,3);\n    }" if (parenthesized_expression "(*(int *)(unaff_retaddr + 0x8c) != 0)" ( (binary_expression "*(int *)(unaff_retaddr + 0x8c) != 0" (pointer_expression "*(int *)(unaff_retaddr + 0x8c)" * (cast_expression "(int *)(unaff_retaddr + 0x8c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_retaddr + 0x8c)" ( (binary_expression "unaff_retaddr + 0x8c" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n      FUN_000475f0(unaff_retaddr,3);\n    }" { (expression_statement "FUN_000475f0(unaff_retaddr,3);" (call_expression "FUN_000475f0(unaff_retaddr,3)" identifier (argument_list "(unaff_retaddr,3)" ( identifier , number_literal ))) ;) })) (return_statement "return;" return ;) })) (expression_statement "FUN_00041c10(param_3);" (call_expression "FUN_00041c10(param_3)" identifier (argument_list "(param_3)" ( identifier ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (ERROR IDENT) (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 (call_expression IDENT (argument_list ( IDENT , LIT , LIT ))) ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (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 (call_expression IDENT (argument_list ( IDENT , LIT ))) ;) })) (return_statement return ;) })) (expression_statement (call_expression IDENT (argument_list ( IDENT ))) ;) (return_statement return ;) })))
(function_definition "void __regparm2 FUN_0001ba50(undefined4 param_1,undefined4 param_2,undefined4 param_3)\n\n{\n  int unaff_retaddr;\n  \n  entry(param_2,0x1ba57);\n  if (unaff_retaddr != 0) {\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_00047590(unaff_retaddr,3,2);\n    }\n    FUN_00041c10(param_3);\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_000475f0(unaff_retaddr,3);\n    }\n    return;\n  }\n  FUN_00041c10(param_3);\n  return;\n}" (primitive_type "void") (ERROR "__regparm2" (identifier "__regparm2")) (function_declarator "FUN_0001ba50(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (identifier "FUN_0001ba50") (parameter_list "(undefined4 param_1,undefined4 param_2,undefined4 param_3)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined4 param_2" (type_identifier "undefined4") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) () ")"))) (compound_statement "{\n  int unaff_retaddr;\n  \n  entry(param_2,0x1ba57);\n  if (unaff_retaddr != 0) {\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_00047590(unaff_retaddr,3,2);\n    }\n    FUN_00041c10(param_3);\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_000475f0(unaff_retaddr,3);\n    }\n    return;\n  }\n  FUN_00041c10(param_3);\n  return;\n}" ({ "{") (declaration "int unaff_retaddr;" (primitive_type "int") (identifier "unaff_retaddr") (; ";")) (expression_statement "entry(param_2,0x1ba57);" (call_expression "entry(param_2,0x1ba57)" (identifier "entry") (argument_list "(param_2,0x1ba57)" (( "(") (identifier "param_2") (, ",") (number_literal "0x1ba57") () ")"))) (; ";")) (if_statement "if (unaff_retaddr != 0) {\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_00047590(unaff_retaddr,3,2);\n    }\n    FUN_00041c10(param_3);\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_000475f0(unaff_retaddr,3);\n    }\n    return;\n  }" (if "if") (parenthesized_expression "(unaff_retaddr != 0)" (( "(") (binary_expression "unaff_retaddr != 0" (identifier "unaff_retaddr") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_00047590(unaff_retaddr,3,2);\n    }\n    FUN_00041c10(param_3);\n    if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_000475f0(unaff_retaddr,3);\n    }\n    return;\n  }" ({ "{") (if_statement "if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_00047590(unaff_retaddr,3,2);\n    }" (if "if") (parenthesized_expression "(*(int *)(unaff_retaddr + 0x8c) != 0)" (( "(") (binary_expression "*(int *)(unaff_retaddr + 0x8c) != 0" (pointer_expression "*(int *)(unaff_retaddr + 0x8c)" (* "*") (cast_expression "(int *)(unaff_retaddr + 0x8c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x8c)" (( "(") (binary_expression "unaff_retaddr + 0x8c" (identifier "unaff_retaddr") (+ "+") (number_literal "0x8c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_00047590(unaff_retaddr,3,2);\n    }" ({ "{") (expression_statement "FUN_00047590(unaff_retaddr,3,2);" (call_expression "FUN_00047590(unaff_retaddr,3,2)" (identifier "FUN_00047590") (argument_list "(unaff_retaddr,3,2)" (( "(") (identifier "unaff_retaddr") (, ",") (number_literal "3") (, ",") (number_literal "2") () ")"))) (; ";")) (} "}"))) (expression_statement "FUN_00041c10(param_3);" (call_expression "FUN_00041c10(param_3)" (identifier "FUN_00041c10") (argument_list "(param_3)" (( "(") (identifier "param_3") () ")"))) (; ";")) (if_statement "if (*(int *)(unaff_retaddr + 0x8c) != 0) {\n      FUN_000475f0(unaff_retaddr,3);\n    }" (if "if") (parenthesized_expression "(*(int *)(unaff_retaddr + 0x8c) != 0)" (( "(") (binary_expression "*(int *)(unaff_retaddr + 0x8c) != 0" (pointer_expression "*(int *)(unaff_retaddr + 0x8c)" (* "*") (cast_expression "(int *)(unaff_retaddr + 0x8c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_retaddr + 0x8c)" (( "(") (binary_expression "unaff_retaddr + 0x8c" (identifier "unaff_retaddr") (+ "+") (number_literal "0x8c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n      FUN_000475f0(unaff_retaddr,3);\n    }" ({ "{") (expression_statement "FUN_000475f0(unaff_retaddr,3);" (call_expression "FUN_000475f0(unaff_retaddr,3)" (identifier "FUN_000475f0") (argument_list "(unaff_retaddr,3)" (( "(") (identifier "unaff_retaddr") (, ",") (number_literal "3") () ")"))) (; ";")) (} "}"))) (return_statement "return;" (return "return") (; ";")) (} "}"))) (expression_statement "FUN_00041c10(param_3);" (call_expression "FUN_00041c10(param_3)" (identifier "FUN_00041c10") (argument_list "(param_3)" (( "(") (identifier "param_3") () ")"))) (; ";")) (return_statement "return;" (return "return") (; ";")) (} "}")))

/* 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 */

void function_1(type_1 *var_1,type_2 *hash)

{
  if (var_1 != (type_1 *)0x0) {
    if (var_1->share != (type_3 *)0x0) {
      var_2(var_1,CURL_LOCK_DATA_DNS,CURL_LOCK_ACCESS_SINGLE);
    }
    var_3(hash);
    if (var_1->share != (type_3 *)0x0) {
      var_4(var_1,CURL_LOCK_DATA_DNS);
    }
    return;
  }
  var_3(hash);
  return;
}


(translation_unit (function_definition type: (primitive_type) (ERROR (identifier)) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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 (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal) (number_literal)))))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (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 (call_expression function: (identifier) arguments: (argument_list (identifier) (number_literal)))))) (return_statement))) (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier)))) (return_statement))))

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

{
  int unaff_retaddr;
  
  entry(param_2,0x1ba57);
  if (unaff_retaddr != 0) {
    if (*(int *)(unaff_retaddr + 0x8c) != 0) {
      FUN_00047590(unaff_retaddr,3,2);
    }
    FUN_00041c10(param_3);
    if (*(int *)(unaff_retaddr + 0x8c) != 0) {
      FUN_000475f0(unaff_retaddr,3);
    }
    return;
  }
  FUN_00041c10(param_3);
  return;
}

