Function at 0xe33e10
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Send data
Send data on socket
Set socket configuration

Disassembly:
sub esp, 0x47c
push ebx
push ebp
push esi
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0xf5]
mov byte [esp + 0xf4], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x1f9]
mov byte [esp + 0x1f8], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 0x2fc]
mov dword [esp + 0x14], 1
push eax
push 2
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0xe340cb
lea ecx, [esp + 0x490]
push ecx
call fcn.00e369b0
add esp, 4
mov esi, eax
mov word [esp + 0x1c], 2
push 0x50
call sub.WS2_32.dll_htons
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov word [esp + 0x1e], ax
mov dword [esp + 0x20], esi
call ebx
mov ecx, dword [esp + 0x694]
lea ecx, [ecx + ecx*2]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea esi, [ecx + ecx*4]
shl esi, 5
add esi, eax
mov dword [esp + 0x18], esi
call ebx
cmp eax, esi
jae 0xe340cb
jmp 0xe33ed1
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, dword [0xe446a0]
test eax, eax
jne 0xe340cb
lea esi, [esp + 0x2c]
mov edi, 0x32
push 0
push 1
push 2
call sub.WS2_32.dll_socket
cmp eax, 0xffffffff
mov dword [esi], eax
je 0xe33f09
lea edx, [esp + 0x14]
push edx
push 0x8004667e
push eax
call sub.WS2_32.dll_ioctlsocket
add esi, 4
dec edi
jne 0xe33ee7
lea esi, [esp + 0x2c]
mov edi, 0x32
mov ecx, dword [esi]
lea eax, [esp + 0x1c]
push 0x10
push eax
push ecx
call sub.WS2_32.dll_connect
add esi, 4
dec edi
jne 0xe33f18
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call ebx
mov ecx, eax
mov eax, dword [esp + 0x690]
lea eax, [eax + eax*2]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea edx, [eax + eax*4]
lea eax, [esp + 0x490]
shl edx, 5
add ecx, edx
push eax
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x69c]
push ecx
call fcn.00e340e0
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
add esp, 8
lea edx, [esp + 0xf4]
mov esi, eax
push str.X_a:_b_r_n
push edx
call edi
lea eax, [esp + 0x1f8]
push str.Connection:_Close_r_n_r_n
push eax
call edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebp, eax
lea edi, [esp + 0x2c]
mov ebx, 0x32
mov eax, dword [0xe43418]
push 0
test eax, eax
push ebp
push esi
je 0xe33fbc
mov ecx, dword [edi]
push ecx
call eax
jmp 0xe33fc4
mov edx, dword [edi]
push edx
call sub.WS2_32.dll_send
add edi, 4
dec ebx
jne 0xe33fa8
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [esp + 0xf4]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esp + 0x10]
jae 0xe3405a
mov eax, dword [0xe446a0]
test eax, eax
jne 0xe3405a
push 0x9c4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ebp, 0x32
lea esi, [esp + 0x2c]
mov ebx, ebp
mov eax, dword [0xe43418]
push 0
test eax, eax
push edi
je 0xe3402f
mov edx, dword [esi]
lea ecx, [esp + 0xfc]
push ecx
push edx
call eax
test eax, eax
jg 0xe34044
jmp 0xe34043
mov ecx, dword [esi]
lea eax, [esp + 0xfc]
push eax
push ecx
call sub.WS2_32.dll_send
test eax, eax
jg 0xe34044
dec ebp
add esi, 4
dec ebx
jne 0xe34010
test ebp, ebp
je 0xe3405a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esp + 0x10]
jb 0xe33ff1
lea edx, [esp + 0x1f8]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
lea esi, [esp + 0x2c]
mov ebx, 0x32
mov eax, dword [0xe43418]
push 0
test eax, eax
push edi
je 0xe3408e
mov edx, dword [esi]
lea ecx, [esp + 0x200]
push ecx
push edx
call eax
jmp 0xe3409e
mov ecx, dword [esi]
lea eax, [esp + 0x200]
push eax
push ecx
call sub.WS2_32.dll_send
add esi, 4
dec ebx
jne 0xe34073
lea esi, [esp + 0x2c]
mov edi, 0x32
mov edx, dword [esi]
push edx
call sub.WS2_32.dll_closesocket
add esi, 4
dec edi
jne 0xe340ad
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [esp + 0x18]
jb 0xe33ecb
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x47c
ret