Function at 0x1315add0
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

Disassembly:
sub esp, 0x42c
mov al, 0x74
push ebx
mov byte [esp + 5], al
mov byte [esp + 6], al
mov al, 0x2f
push esi
mov byte [esp + 0xd], al
mov byte [esp + 0xe], al
lea eax, [esp + 8]
push edi
mov esi, 0x1315df70
push eax
mov ebx, ecx
push esi
mov byte [esp + 0x14], 0x68
mov byte [esp + 0x17], 0x70
mov byte [esp + 0x18], 0x3a
mov byte [esp + 0x1b], 0
call sub.msvcrt.dll_strstr
add esp, 8
test eax, eax
je 0x1315ae30
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov esi, ecx
add esi, 0x1315df70
push 0x131520dc
push esi
call sub.msvcrt.dll_strstr
add esp, 8
test eax, eax
je 0x1315aea4
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x24]
push 0x131520dc
rep stosd dword es:[edi], eax
push esi
call sub.msvcrt.dll_strcspn
push eax
lea ecx, [esp + 0x30]
push esi
push ecx
call sub.msvcrt.dll_strncpy
push 0x131520dc
push esi
call sub.msvcrt.dll_strcspn
add esi, eax
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x60]
rep stosd dword es:[edi], eax
mov edi, esi
or ecx, 0xffffffff
add esp, 0x1c
lea edx, [esp + 0x44]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 2
jae 0x1315aedb
mov edi, 0x131520dc
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x44]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x2a8]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ax, word [0x1315e074]
xor edx, edx
mov dword [esp + 0x14], edx
push eax
mov dword [esp + 0x1c], edx
mov word [esp + 0x18], 2
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], edx
call dword [sym.imp.WS2_32.dll_ntohs]
lea ecx, [esp + 0x24]
mov word [esp + 0x16], ax
push ecx
mov ecx, ebx
call fcn.1315b460
mov dword [esp + 0x18], eax
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x85]
mov byte [esp + 0x84], 0
mov esi, 0x13152434
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x47
lea edi, [esp + 0x188]
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x188]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x188]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call fcn.13157480
mov ecx, dword [0x1315e074]
add esp, 8
lea eax, [esp + 0x24]
lea edx, [esp + 0x24]
push eax
push ecx
lea eax, [esp + 0x4c]
push edx
lea ecx, [esp + 0x194]
push eax
lea edx, [esp + 0x94]
push ecx
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [0x1315ec04]
add esp, 0x18
test eax, eax
jne 0x1315b023
mov ebx, dword [sym.imp.WS2_32.dll_connect]
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_socket]
push 6
push 1
push 2
call ebp
mov esi, eax
lea eax, [esp + 0x18]
push 0x10
push eax
push esi
call ebx
lea edi, [esp + 0x88]
or ecx, 0xffffffff
xor eax, eax
push 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0x90]
push ecx
push esi
call dword [sym.imp.WS2_32.dll_send]
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
mov edx, dword [0x1315df6c]
push edx
call dword [sym.imp.kernel32.dll_Sleep]
mov eax, dword [0x1315ec04]
test eax, eax
je 0x1315afbf
pop ebp
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x42c
ret
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x42c
ret