
/* WARNING: Function: __x86.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */
/* WARNING: Unknown calling convention */
/* 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 */

MHD_Response * MHD_create_response_from_buffer(size_t size,void *buffer,MHD_ResponseMemoryMode mode)

{
  MHD_Response *pMVar1;
  
  pMVar1 = MHD_create_response_from_data
                     (size,buffer,(uint)(mode == MHD_RESPMEM_MUST_FREE),
                      (uint)(mode == MHD_RESPMEM_MUST_COPY));
  return pMVar1;
}



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

void MHD_create_response_from_buffer(undefined4 param_1,undefined4 param_2,int param_3)

{
  MHD_create_response_from_data(param_1,param_2,param_3 == 1,param_3 == 2);
  return;
}


PUSH EBX
XOR EDX,EDX
CALL 0x00013810
ADD EBX,0x11a38
SUB ESP,0x8
MOV EAX,dword ptr [ESP + 0x18]
CMP EAX,0x2
SETZ DL
CMP EAX,0x1
SETZ AL
PUSH EDX
MOVZX EAX,AL
PUSH EAX
PUSH dword ptr [ESP + 0x1c]
PUSH dword ptr [ESP + 0x1c]
CALL 0x00013040
ADD ESP,0x18
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid MHD_create_response_from_buffer(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  MHD_create_response_from_data(param_1,param_2,param_3 == 1,param_3 == 2);\n  return;\n}\n\n" comment (function_definition "void MHD_create_response_from_buffer(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  MHD_create_response_from_data(param_1,param_2,param_3 == 1,param_3 == 2);\n  return;\n}" primitive_type (function_declarator "MHD_create_response_from_buffer(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  MHD_create_response_from_data(param_1,param_2,param_3 == 1,param_3 == 2);\n  return;\n}" { (expression_statement "MHD_create_response_from_data(param_1,param_2,param_3 == 1,param_3 == 2);" (call_expression "MHD_create_response_from_data(param_1,param_2,param_3 == 1,param_3 == 2)" identifier (argument_list "(param_1,param_2,param_3 == 1,param_3 == 2)" ( identifier , identifier , (binary_expression "param_3 == 1" identifier == number_literal) , (binary_expression "param_3 == 2" identifier == number_literal) ))) ;) (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 "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\nMHD_Response * MHD_create_response_from_buffer(size_t size,void *buffer,MHD_ResponseMemoryMode mode)\n\n{\n  MHD_Response *pMVar1;\n  \n  pMVar1 = MHD_create_response_from_data\n                     (size,buffer,(uint)(mode == MHD_RESPMEM_MUST_FREE),\n                      (uint)(mode == MHD_RESPMEM_MUST_COPY));\n  return pMVar1;\n}\n\n" comment comment comment comment comment (function_definition "MHD_Response * MHD_create_response_from_buffer(size_t size,void *buffer,MHD_ResponseMemoryMode mode)\n\n{\n  MHD_Response *pMVar1;\n  \n  pMVar1 = MHD_create_response_from_data\n                     (size,buffer,(uint)(mode == MHD_RESPMEM_MUST_FREE),\n                      (uint)(mode == MHD_RESPMEM_MUST_COPY));\n  return pMVar1;\n}" type_identifier (pointer_declarator "* MHD_create_response_from_buffer(size_t size,void *buffer,MHD_ResponseMemoryMode mode)" * (function_declarator "MHD_create_response_from_buffer(size_t size,void *buffer,MHD_ResponseMemoryMode mode)" identifier (parameter_list "(size_t size,void *buffer,MHD_ResponseMemoryMode mode)" ( (parameter_declaration "size_t size" primitive_type identifier) , (parameter_declaration "void *buffer" primitive_type (pointer_declarator "*buffer" * identifier)) , (parameter_declaration "MHD_ResponseMemoryMode mode" type_identifier identifier) )))) (compound_statement "{\n  MHD_Response *pMVar1;\n  \n  pMVar1 = MHD_create_response_from_data\n                     (size,buffer,(uint)(mode == MHD_RESPMEM_MUST_FREE),\n                      (uint)(mode == MHD_RESPMEM_MUST_COPY));\n  return pMVar1;\n}" { (declaration "MHD_Response *pMVar1;" type_identifier (pointer_declarator "*pMVar1" * identifier) ;) (expression_statement "pMVar1 = MHD_create_response_from_data\n                     (size,buffer,(uint)(mode == MHD_RESPMEM_MUST_FREE),\n                      (uint)(mode == MHD_RESPMEM_MUST_COPY));" (assignment_expression "pMVar1 = MHD_create_response_from_data\n                     (size,buffer,(uint)(mode == MHD_RESPMEM_MUST_FREE),\n                      (uint)(mode == MHD_RESPMEM_MUST_COPY))" identifier = (call_expression "MHD_create_response_from_data\n                     (size,buffer,(uint)(mode == MHD_RESPMEM_MUST_FREE),\n                      (uint)(mode == MHD_RESPMEM_MUST_COPY))" identifier (argument_list "(size,buffer,(uint)(mode == MHD_RESPMEM_MUST_FREE),\n                      (uint)(mode == MHD_RESPMEM_MUST_COPY))" ( identifier , identifier , (call_expression "(uint)(mode == MHD_RESPMEM_MUST_FREE)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(mode == MHD_RESPMEM_MUST_FREE)" ( (binary_expression "mode == MHD_RESPMEM_MUST_FREE" identifier == identifier) ))) , (call_expression "(uint)(mode == MHD_RESPMEM_MUST_COPY)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(mode == MHD_RESPMEM_MUST_COPY)" ( (binary_expression "mode == MHD_RESPMEM_MUST_COPY" identifier == identifier) ))) )))) ;) (return_statement "return pMVar1;" return identifier ;) })))
(translation_unit "void MHD_create_response_from_buffer(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  MHD_create_response_from_data(param_1,param_2,param_3 == 1,param_3 == 2);\n  return;\n}\n\n" (function_definition "void MHD_create_response_from_buffer(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  MHD_create_response_from_data(param_1,param_2,param_3 == 1,param_3 == 2);\n  return;\n}" primitive_type (function_declarator "MHD_create_response_from_buffer(undefined4 param_1,undefined4 param_2,int param_3)" identifier (parameter_list "(undefined4 param_1,undefined4 param_2,int param_3)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined4 param_2" type_identifier identifier) , (parameter_declaration "int param_3" primitive_type identifier) ))) (compound_statement "{\n  MHD_create_response_from_data(param_1,param_2,param_3 == 1,param_3 == 2);\n  return;\n}" { (expression_statement "MHD_create_response_from_data(param_1,param_2,param_3 == 1,param_3 == 2);" (call_expression "MHD_create_response_from_data(param_1,param_2,param_3 == 1,param_3 == 2)" identifier (argument_list "(param_1,param_2,param_3 == 1,param_3 == 2)" ( identifier , identifier , (binary_expression "param_3 == 1" identifier == number_literal) , (binary_expression "param_3 == 2" identifier == number_literal) ))) ;) (return_statement "return;" return ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , (binary_expression IDENT == LIT) , (binary_expression IDENT == LIT) ))) ;) (return_statement return ;) })))
(function_definition "void MHD_create_response_from_buffer(undefined4 param_1,undefined4 param_2,int param_3)\n\n{\n  MHD_create_response_from_data(param_1,param_2,param_3 == 1,param_3 == 2);\n  return;\n}" (primitive_type "void") (function_declarator "MHD_create_response_from_buffer(undefined4 param_1,undefined4 param_2,int param_3)" (identifier "MHD_create_response_from_buffer") (parameter_list "(undefined4 param_1,undefined4 param_2,int 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 "int param_3" (primitive_type "int") (identifier "param_3")) () ")"))) (compound_statement "{\n  MHD_create_response_from_data(param_1,param_2,param_3 == 1,param_3 == 2);\n  return;\n}" ({ "{") (expression_statement "MHD_create_response_from_data(param_1,param_2,param_3 == 1,param_3 == 2);" (call_expression "MHD_create_response_from_data(param_1,param_2,param_3 == 1,param_3 == 2)" (identifier "MHD_create_response_from_data") (argument_list "(param_1,param_2,param_3 == 1,param_3 == 2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (binary_expression "param_3 == 1" (identifier "param_3") (== "==") (number_literal "1")) (, ",") (binary_expression "param_3 == 2" (identifier "param_3") (== "==") (number_literal "2")) () ")"))) (; ";")) (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 "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 * function_1(size_t size,void *buffer,type_2 var_2)

{
  type_1 *pMVar1;
  
  pMVar1 = var_1
                     (size,buffer,(uint)(var_2 == var_3),
                      (uint)(var_2 == var_4));
  return pMVar1;
}


(translation_unit (function_definition type: (primitive_type) 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: (primitive_type) declarator: (identifier)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal))))) (return_statement))))

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

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

{
  MHD_create_response_from_data(param_1,param_2,param_3 == 1,param_3 == 2);
  return;
}

