Function 53, subfunction 5 - open TCP-socket.
Parameters:
- eax = 53 - function number
- ebx = 5 - subfunction number
- ecx = local port (only low word is taken into account)
- edx = remote port (only low word is taken into account)
- esi = remote IP
- edi = open mode: SOCKET_PASSIVE=0 or SOCKET_ACTIVE=1
Returned value:
- eax = -1 = 0xFFFFFFFF - error; ebx destroys
- eax = socket handle (some number which unambiguously identifies
socket and have sense only for the system) - success;
ebx destroyed