Function at 0x466f20
Capabilities:
Create tcp socket
Create thread
Create udp socket
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570b8b
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x5e8ea4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ecx, ecx
call fcn.00465960
xor ebx, ebx
xor edi, edi
mov dword [0x5f02e4], ebx
call dword [sym.imp.WS2_32.dll_WSACleanup]
lea eax, [ebp - 0x2c0]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x466f94
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____WSAStartup_fails__Code__lu.
call fcn.004612c0
add esp, 8
jmp 0x467258
mov eax, dword [ebp - 0x2c0]
cmp al, 2
jne 0x46721a
shr eax, 8
cmp al, 2
jne 0x46721a
push 0x5f02c0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 0
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
cmp esi, 0xffffffff
je 0x467204
push 0
push 0
lea eax, [ebp - 0x114]
mov dword [ebp - 0x124], 0x25a207b9
push eax
push 4
push 0x5f02d8
push 0x10
lea eax, [ebp - 0x124]
mov dword [ebp - 0x120], 0x4660ddf3
push eax
push 0xc8000006
push esi
mov dword [ebp - 0x11c], 0xe576e98e
mov dword [ebp - 0x118], 0x3e06748c
call dword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
jne 0x467204
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
jne 0x467204
push 0x100
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
je 0x467060
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [0x5f02e0], eax
jmp 0x467065
mov eax, dword [0x5f02e0]
test eax, eax
je 0x467121
mov eax, dword [eax + 0xc]
cmp dword [eax], ebx
je 0x467121
xor esi, esi
nop word [eax + eax]
mov eax, dword [esi + eax]
lea edx, [ebp - 0x114]
lea ecx, [ebp - 0x12c]
lea esi, [esi + 4]
mov eax, dword [eax]
mov dword [ebp - 0x114], eax
call fcn.00466000
mov dword [ebp - 4], 0
lea eax, [ebp - 0x12c]
cmp dword [ebp - 0x118], 8
cmovae eax, dword [ebp - 0x12c]
push eax
push str.___Current_IP:__s
call fcn.004612c0
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov edx, dword [ebp - 0x118]
cmp edx, 8
jb 0x46710f
mov ecx, dword [ebp - 0x12c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x467105
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x467274
push edx
push ecx
call fcn.0052cac7
add esp, 8
mov eax, dword [0x5f02e0]
mov eax, dword [eax + 0xc]
cmp dword [esi + eax], 0
jne 0x467080
call fcn.00465aa0
push 0
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [0x5f02dc], eax
test eax, eax
jne 0x467156
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Cant_create_io_completion_port__Code__lu.
call fcn.004612c0
add esp, 8
jmp 0x467227
call fcn.00466120
test eax, eax
jne 0x467178
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Cant_get_subnets__Code__lu.
call fcn.004612c0
add esp, 8
jmp 0x467227
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x4663d0
push 0
push 0
call esi
mov ebx, eax
test ebx, ebx
jne 0x4671ab
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Cant_create_host_thread__Code__lu.
call fcn.004612c0
add esp, 8
jmp 0x467227
push 0
push 0
push 0
push 0x466c40
push 0
push 0
call esi
mov edi, eax
test edi, edi
jne 0x4671d8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Cant_create_port_scan_thread__Code__lu.
call fcn.004612c0
add esp, 8
jmp 0x467227
push 0
push 1
push 0
push dword [0x5f02dc]
call dword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
mov esi, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0xffffffffffffffff
push edi
call esi
or ecx, 0xffffffff
call fcn.004666a0
push 0xffffffffffffffff
push ebx
call esi
jmp 0x467227
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Cant_get_ConnectEx__Code__lu.
call fcn.004612c0
add esp, 8
jmp 0x467227
push str.____Network_stack_is_outdated.
call fcn.004612c0
add esp, 4
push 0x5f02c0
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [0x5f02dc]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x467244
push eax
call esi
test ebx, ebx
je 0x46724b
push ebx
call esi
test edi, edi
je 0x467252
push edi
call esi
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0052c886
mov esp, ebp
pop ebp
ret
call fcn.00548571
int3