
/* 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_Daemon *
MHD_start_daemon(uint flags,uint16_t port,MHD_AcceptPolicyCallback apc,void *apc_cls,
                MHD_AccessHandlerCallback dh,void *dh_cls,...)

{
  MHD_Daemon *pMVar1;
  
  pMVar1 = MHD_start_daemon_va(flags,port,apc,apc_cls,dh,dh_cls,&stack0x0000001c);
  return pMVar1;
}



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

void MHD_start_daemon(undefined4 param_1,undefined2 param_2,undefined4 param_3,undefined4 param_4,
                     undefined4 param_5,undefined4 param_6)

{
  MHD_start_daemon_va(param_1,param_2,param_3,param_4,param_5,param_6,&stack0x0000001c);
  return;
}


PUSH EBX
CALL 0x00013810
ADD EBX,0x13a3a
SUB ESP,0x8
LEA EAX,[ESP + 0x28]
SUB ESP,0x4
PUSH EAX
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESP + 0x2c]
PUSH dword ptr [ESP + 0x2c]
MOVZX EAX,word ptr [ESP + 0x2c]
PUSH EAX
PUSH dword ptr [ESP + 0x2c]
CALL 0x000133c0
ADD ESP,0x28
POP EBX
RET
(translation_unit "/* WARNING: Function: __i686.get_pc_thunk.bx replaced with injection: get_pc_thunk_bx */\n\nvoid MHD_start_daemon(undefined4 param_1,undefined2 param_2,undefined4 param_3,undefined4 param_4,\n                     undefined4 param_5,undefined4 param_6)\n\n{\n  MHD_start_daemon_va(param_1,param_2,param_3,param_4,param_5,param_6,&stack0x0000001c);\n  return;\n}\n\n" comment (function_definition "void MHD_start_daemon(undefined4 param_1,undefined2 param_2,undefined4 param_3,undefined4 param_4,\n                     undefined4 param_5,undefined4 param_6)\n\n{\n  MHD_start_daemon_va(param_1,param_2,param_3,param_4,param_5,param_6,&stack0x0000001c);\n  return;\n}" primitive_type (function_declarator "MHD_start_daemon(undefined4 param_1,undefined2 param_2,undefined4 param_3,undefined4 param_4,\n                     undefined4 param_5,undefined4 param_6)" identifier (parameter_list "(undefined4 param_1,undefined2 param_2,undefined4 param_3,undefined4 param_4,\n                     undefined4 param_5,undefined4 param_6)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined2 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  MHD_start_daemon_va(param_1,param_2,param_3,param_4,param_5,param_6,&stack0x0000001c);\n  return;\n}" { (expression_statement "MHD_start_daemon_va(param_1,param_2,param_3,param_4,param_5,param_6,&stack0x0000001c);" (call_expression "MHD_start_daemon_va(param_1,param_2,param_3,param_4,param_5,param_6,&stack0x0000001c)" identifier (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,&stack0x0000001c)" ( identifier , identifier , identifier , identifier , identifier , identifier , (pointer_expression "&stack0x0000001c" & 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 "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_Daemon *\nMHD_start_daemon(uint flags,uint16_t port,MHD_AcceptPolicyCallback apc,void *apc_cls,\n                MHD_AccessHandlerCallback dh,void *dh_cls,...)\n\n{\n  MHD_Daemon *pMVar1;\n  \n  pMVar1 = MHD_start_daemon_va(flags,port,apc,apc_cls,dh,dh_cls,&stack0x0000001c);\n  return pMVar1;\n}\n\n" comment comment comment comment comment (function_definition "MHD_Daemon *\nMHD_start_daemon(uint flags,uint16_t port,MHD_AcceptPolicyCallback apc,void *apc_cls,\n                MHD_AccessHandlerCallback dh,void *dh_cls,...)\n\n{\n  MHD_Daemon *pMVar1;\n  \n  pMVar1 = MHD_start_daemon_va(flags,port,apc,apc_cls,dh,dh_cls,&stack0x0000001c);\n  return pMVar1;\n}" type_identifier (pointer_declarator "*\nMHD_start_daemon(uint flags,uint16_t port,MHD_AcceptPolicyCallback apc,void *apc_cls,\n                MHD_AccessHandlerCallback dh,void *dh_cls,...)" * (function_declarator "MHD_start_daemon(uint flags,uint16_t port,MHD_AcceptPolicyCallback apc,void *apc_cls,\n                MHD_AccessHandlerCallback dh,void *dh_cls,...)" identifier (parameter_list "(uint flags,uint16_t port,MHD_AcceptPolicyCallback apc,void *apc_cls,\n                MHD_AccessHandlerCallback dh,void *dh_cls,...)" ( (parameter_declaration "uint flags" type_identifier identifier) , (parameter_declaration "uint16_t port" primitive_type identifier) , (parameter_declaration "MHD_AcceptPolicyCallback apc" type_identifier identifier) , (parameter_declaration "void *apc_cls" primitive_type (pointer_declarator "*apc_cls" * identifier)) , (parameter_declaration "MHD_AccessHandlerCallback dh" type_identifier identifier) , (parameter_declaration "void *dh_cls" primitive_type (pointer_declarator "*dh_cls" * identifier)) , (variadic_parameter "..." ...) )))) (compound_statement "{\n  MHD_Daemon *pMVar1;\n  \n  pMVar1 = MHD_start_daemon_va(flags,port,apc,apc_cls,dh,dh_cls,&stack0x0000001c);\n  return pMVar1;\n}" { (declaration "MHD_Daemon *pMVar1;" type_identifier (pointer_declarator "*pMVar1" * identifier) ;) (expression_statement "pMVar1 = MHD_start_daemon_va(flags,port,apc,apc_cls,dh,dh_cls,&stack0x0000001c);" (assignment_expression "pMVar1 = MHD_start_daemon_va(flags,port,apc,apc_cls,dh,dh_cls,&stack0x0000001c)" identifier = (call_expression "MHD_start_daemon_va(flags,port,apc,apc_cls,dh,dh_cls,&stack0x0000001c)" identifier (argument_list "(flags,port,apc,apc_cls,dh,dh_cls,&stack0x0000001c)" ( identifier , identifier , identifier , identifier , identifier , identifier , (pointer_expression "&stack0x0000001c" & identifier) )))) ;) (return_statement "return pMVar1;" return identifier ;) })))
(translation_unit "void MHD_start_daemon(undefined4 param_1,undefined2 param_2,undefined4 param_3,undefined4 param_4,\n                     undefined4 param_5,undefined4 param_6)\n\n{\n  MHD_start_daemon_va(param_1,param_2,param_3,param_4,param_5,param_6,&stack0x0000001c);\n  return;\n}\n\n" (function_definition "void MHD_start_daemon(undefined4 param_1,undefined2 param_2,undefined4 param_3,undefined4 param_4,\n                     undefined4 param_5,undefined4 param_6)\n\n{\n  MHD_start_daemon_va(param_1,param_2,param_3,param_4,param_5,param_6,&stack0x0000001c);\n  return;\n}" primitive_type (function_declarator "MHD_start_daemon(undefined4 param_1,undefined2 param_2,undefined4 param_3,undefined4 param_4,\n                     undefined4 param_5,undefined4 param_6)" identifier (parameter_list "(undefined4 param_1,undefined2 param_2,undefined4 param_3,undefined4 param_4,\n                     undefined4 param_5,undefined4 param_6)" ( (parameter_declaration "undefined4 param_1" type_identifier identifier) , (parameter_declaration "undefined2 param_2" type_identifier identifier) , (parameter_declaration "undefined4 param_3" type_identifier identifier) , (parameter_declaration "undefined4 param_4" type_identifier identifier) , (parameter_declaration "undefined4 param_5" type_identifier identifier) , (parameter_declaration "undefined4 param_6" type_identifier identifier) ))) (compound_statement "{\n  MHD_start_daemon_va(param_1,param_2,param_3,param_4,param_5,param_6,&stack0x0000001c);\n  return;\n}" { (expression_statement "MHD_start_daemon_va(param_1,param_2,param_3,param_4,param_5,param_6,&stack0x0000001c);" (call_expression "MHD_start_daemon_va(param_1,param_2,param_3,param_4,param_5,param_6,&stack0x0000001c)" identifier (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,&stack0x0000001c)" ( identifier , identifier , identifier , identifier , identifier , identifier , (pointer_expression "&stack0x0000001c" & identifier) ))) ;) (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) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , (pointer_expression & IDENT) ))) ;) (return_statement return ;) })))
(function_definition "void MHD_start_daemon(undefined4 param_1,undefined2 param_2,undefined4 param_3,undefined4 param_4,\n                     undefined4 param_5,undefined4 param_6)\n\n{\n  MHD_start_daemon_va(param_1,param_2,param_3,param_4,param_5,param_6,&stack0x0000001c);\n  return;\n}" (primitive_type "void") (function_declarator "MHD_start_daemon(undefined4 param_1,undefined2 param_2,undefined4 param_3,undefined4 param_4,\n                     undefined4 param_5,undefined4 param_6)" (identifier "MHD_start_daemon") (parameter_list "(undefined4 param_1,undefined2 param_2,undefined4 param_3,undefined4 param_4,\n                     undefined4 param_5,undefined4 param_6)" (( "(") (parameter_declaration "undefined4 param_1" (type_identifier "undefined4") (identifier "param_1")) (, ",") (parameter_declaration "undefined2 param_2" (type_identifier "undefined2") (identifier "param_2")) (, ",") (parameter_declaration "undefined4 param_3" (type_identifier "undefined4") (identifier "param_3")) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) (, ",") (parameter_declaration "undefined4 param_5" (type_identifier "undefined4") (identifier "param_5")) (, ",") (parameter_declaration "undefined4 param_6" (type_identifier "undefined4") (identifier "param_6")) () ")"))) (compound_statement "{\n  MHD_start_daemon_va(param_1,param_2,param_3,param_4,param_5,param_6,&stack0x0000001c);\n  return;\n}" ({ "{") (expression_statement "MHD_start_daemon_va(param_1,param_2,param_3,param_4,param_5,param_6,&stack0x0000001c);" (call_expression "MHD_start_daemon_va(param_1,param_2,param_3,param_4,param_5,param_6,&stack0x0000001c)" (identifier "MHD_start_daemon_va") (argument_list "(param_1,param_2,param_3,param_4,param_5,param_6,&stack0x0000001c)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") (, ",") (identifier "param_3") (, ",") (identifier "param_4") (, ",") (identifier "param_5") (, ",") (identifier "param_6") (, ",") (pointer_expression "&stack0x0000001c" (& "&") (identifier "stack0x0000001c")) () ")"))) (; ";")) (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(type_2 flags,uint16_t port,type_3 apc,void *apc_cls,
                type_4 dh,void *dh_cls,...)

{
  type_1 *pMVar1;
  
  pMVar1 = var_1(flags,port,apc,apc_cls,dh,dh_cls,&stack0x0000001c);
  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: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (pointer_expression argument: (identifier))))) (return_statement))))

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

void MASKED(undefined4 param_1,undefined2 param_2,undefined4 param_3,undefined4 param_4,
                     undefined4 param_5,undefined4 param_6)

{
  MASKED_va(param_1,param_2,param_3,param_4,param_5,param_6,&stack0x0000001c);
  return;
}

