tun2socks 0.0.1

High performance tun2socks
Documentation
/*
 ============================================================================
 Name        : hev-task-execute-x86.s
 Author      : Heiher <r@hev.cc>
 Copyright   : Copyright (c) 2017 - 2018 everyone.
 Description :
 ============================================================================
 */

#include "asm.h"

NESTED(hev_task_execute)
    mov  %esp, %eax
    mov  0x4(%esp), %edx
    mov  0x8(%esp), %ecx
    mov  (%edx), %esp
    sub  $0x8, %esp
    push %eax

    push %edx
    call  *%ecx

    mov  0x4(%esp), %esp
    ret
END(hev_task_execute)