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

CURLcode Curl_resolver_init(Curl_easy *easy,void **resolver)

{
  void *pvVar1;
  
  pvVar1 = (*Curl_ccalloc)(1,8);
  *resolver = pvVar1;
  return -(uint)(pvVar1 == (void *)0x0) & CURLE_OUT_OF_MEMORY;
}



/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

byte FUN_00062720(undefined4 param_1,int *param_2)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_calloc_000b7060)(1,8);
  *param_2 = iVar1;
  return -(iVar1 == 0) & 0x1b;
}


CALL 0x0001ab87
ADD EAX,0x540bb
SUB ESP,0x14
PUSH 0x8
PUSH 0x1
LEA EAX,[EAX + 0x880]
CALL dword ptr [EAX]
MOV EDX,dword ptr [ESP + 0x24]
CMP EAX,0x1
MOV dword ptr [EDX],EAX
SBB EAX,EAX
ADD ESP,0x1c
AND EAX,0x1b
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n\nbyte FUN_00062720(undefined4 param_1,int *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_calloc_000b7060)(1,8);\n  *param_2 = iVar1;\n  return -(iVar1 == 0) & 0x1b;\n}\n\n" comment (function_definition "byte FUN_00062720(undefined4 param_1,int *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_calloc_000b7060)(1,8);\n  *param_2 = iVar1;\n  return -(iVar1 == 0) & 0x1b;\n}" type_identifier (function_declarator "FUN_00062720(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_calloc_000b7060)(1,8);\n  *param_2 = iVar1;\n  return -(iVar1 == 0) & 0x1b;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_calloc_000b7060)(1,8);" (assignment_expression "iVar1 = (*(code *)PTR_calloc_000b7060)(1,8)" identifier = (call_expression "(*(code *)PTR_calloc_000b7060)(1,8)" (parenthesized_expression "(*(code *)PTR_calloc_000b7060)" ( (pointer_expression "*(code *)PTR_calloc_000b7060" * (cast_expression "(code *)PTR_calloc_000b7060" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,8)" ( number_literal , number_literal )))) ;) (expression_statement "*param_2 = iVar1;" (assignment_expression "*param_2 = iVar1" (pointer_expression "*param_2" * identifier) = identifier) ;) (return_statement "return -(iVar1 == 0) & 0x1b;" return (binary_expression "-(iVar1 == 0) & 0x1b" (unary_expression "-(iVar1 == 0)" - (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) ))) & number_literal) ;) })))
(translation_unit "/* WARNING: Function: __x86.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */\n/* WARNING: Unknown calling convention */\n/* WARNING: Enum "anon_enum_32": Some values do not have unique names */\n\nCURLcode Curl_resolver_init(Curl_easy *easy,void **resolver)\n\n{\n  void *pvVar1;\n  \n  pvVar1 = (*Curl_ccalloc)(1,8);\n  *resolver = pvVar1;\n  return -(uint)(pvVar1 == (void *)0x0) & CURLE_OUT_OF_MEMORY;\n}\n\n" comment comment comment (function_definition "CURLcode Curl_resolver_init(Curl_easy *easy,void **resolver)\n\n{\n  void *pvVar1;\n  \n  pvVar1 = (*Curl_ccalloc)(1,8);\n  *resolver = pvVar1;\n  return -(uint)(pvVar1 == (void *)0x0) & CURLE_OUT_OF_MEMORY;\n}" type_identifier (function_declarator "Curl_resolver_init(Curl_easy *easy,void **resolver)" identifier (parameter_list "(Curl_easy *easy,void **resolver)" ( (parameter_declaration "Curl_easy *easy" type_identifier (pointer_declarator "*easy" * identifier)) , (parameter_declaration "void **resolver" primitive_type (pointer_declarator "**resolver" * (pointer_declarator "*resolver" * identifier))) ))) (compound_statement "{\n  void *pvVar1;\n  \n  pvVar1 = (*Curl_ccalloc)(1,8);\n  *resolver = pvVar1;\n  return -(uint)(pvVar1 == (void *)0x0) & CURLE_OUT_OF_MEMORY;\n}" { (declaration "void *pvVar1;" primitive_type (pointer_declarator "*pvVar1" * identifier) ;) (expression_statement "pvVar1 = (*Curl_ccalloc)(1,8);" (assignment_expression "pvVar1 = (*Curl_ccalloc)(1,8)" identifier = (call_expression "(*Curl_ccalloc)(1,8)" (parenthesized_expression "(*Curl_ccalloc)" ( (pointer_expression "*Curl_ccalloc" * identifier) )) (argument_list "(1,8)" ( number_literal , number_literal )))) ;) (expression_statement "*resolver = pvVar1;" (assignment_expression "*resolver = pvVar1" (pointer_expression "*resolver" * identifier) = identifier) ;) (return_statement "return -(uint)(pvVar1 == (void *)0x0) & CURLE_OUT_OF_MEMORY;" return (binary_expression "-(uint)(pvVar1 == (void *)0x0) & CURLE_OUT_OF_MEMORY" (unary_expression "-(uint)(pvVar1 == (void *)0x0)" - (call_expression "(uint)(pvVar1 == (void *)0x0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(pvVar1 == (void *)0x0)" ( (binary_expression "pvVar1 == (void *)0x0" identifier == (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )))) & identifier) ;) })))
(translation_unit "byte FUN_00062720(undefined4 param_1,int *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_calloc_000b7060)(1,8);\n  *param_2 = iVar1;\n  return -(iVar1 == 0) & 0x1b;\n}\n\n" (function_definition "byte FUN_00062720(undefined4 param_1,int *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_calloc_000b7060)(1,8);\n  *param_2 = iVar1;\n  return -(iVar1 == 0) & 0x1b;\n}" type_identifier (function_declarator "FUN_00062720(undefined4 param_1,int *param_2)" identifier (parameter_list "(undefined4 param_1,int *param_2)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_calloc_000b7060)(1,8);\n  *param_2 = iVar1;\n  return -(iVar1 == 0) & 0x1b;\n}" { (declaration "int iVar1;" primitive_type identifier ;) (expression_statement "iVar1 = (*(code *)PTR_calloc_000b7060)(1,8);" (assignment_expression "iVar1 = (*(code *)PTR_calloc_000b7060)(1,8)" identifier = (call_expression "(*(code *)PTR_calloc_000b7060)(1,8)" (parenthesized_expression "(*(code *)PTR_calloc_000b7060)" ( (pointer_expression "*(code *)PTR_calloc_000b7060" * (cast_expression "(code *)PTR_calloc_000b7060" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(1,8)" ( number_literal , number_literal )))) ;) (expression_statement "*param_2 = iVar1;" (assignment_expression "*param_2 = iVar1" (pointer_expression "*param_2" * identifier) = identifier) ;) (return_statement "return -(iVar1 == 0) & 0x1b;" return (binary_expression "-(iVar1 == 0) & 0x1b" (unary_expression "-(iVar1 == 0)" - (parenthesized_expression "(iVar1 == 0)" ( (binary_expression "iVar1 == 0" identifier == number_literal) ))) & number_literal) ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , LIT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (return_statement return (binary_expression (unary_expression - (parenthesized_expression ( (binary_expression IDENT == LIT) ))) & LIT) ;) })))
(function_definition "byte FUN_00062720(undefined4 param_1,int *param_2)\n\n{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_calloc_000b7060)(1,8);\n  *param_2 = iVar1;\n  return -(iVar1 == 0) & 0x1b;\n}" (type_identifier "byte") (function_declarator "FUN_00062720(undefined4 param_1,int *param_2)" (identifier "FUN_00062720") (parameter_list "(undefined4 param_1,int *param_2)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  int iVar1;\n  \n  iVar1 = (*(code *)PTR_calloc_000b7060)(1,8);\n  *param_2 = iVar1;\n  return -(iVar1 == 0) & 0x1b;\n}" ({ "{") (declaration "int iVar1;" (primitive_type "int") (identifier "iVar1") (; ";")) (expression_statement "iVar1 = (*(code *)PTR_calloc_000b7060)(1,8);" (assignment_expression "iVar1 = (*(code *)PTR_calloc_000b7060)(1,8)" (identifier "iVar1") (= "=") (call_expression "(*(code *)PTR_calloc_000b7060)(1,8)" (parenthesized_expression "(*(code *)PTR_calloc_000b7060)" (( "(") (pointer_expression "*(code *)PTR_calloc_000b7060" (* "*") (cast_expression "(code *)PTR_calloc_000b7060" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_calloc_000b7060"))) () ")")) (argument_list "(1,8)" (( "(") (number_literal "1") (, ",") (number_literal "8") () ")")))) (; ";")) (expression_statement "*param_2 = iVar1;" (assignment_expression "*param_2 = iVar1" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (= "=") (identifier "iVar1")) (; ";")) (return_statement "return -(iVar1 == 0) & 0x1b;" (return "return") (binary_expression "-(iVar1 == 0) & 0x1b" (unary_expression "-(iVar1 == 0)" (- "-") (parenthesized_expression "(iVar1 == 0)" (( "(") (binary_expression "iVar1 == 0" (identifier "iVar1") (== "==") (number_literal "0")) () ")"))) (& "&") (number_literal "0x1b")) (; ";")) (} "}")))

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

type_1 function_1(type_2 *easy,void **resolver)

{
  void *var_1;
  
  var_1 = (*Curl_ccalloc)(1,8);
  *resolver = var_1;
  return -(uint)(var_1 == (void *)0x0) & var_2;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (number_literal))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (return_statement (binary_expression left: (unary_expression argument: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal))))))

/* WARNING: Function: __i686.get_pc_thunk.ax replaced with injection: get_pc_thunk_ax */

byte MASKED(undefined4 param_1,int *param_2)

{
  int iVar1;
  
  iVar1 = (*(code *)PTR_calloc_000b7060)(1,8);
  *param_2 = iVar1;
  return -(iVar1 == 0) & 0x1b;
}

