Function at 0x4690a0
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 0x5730eb
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x5eaea4]
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.00467ae0
xor ebx, ebx
xor edi, edi
mov dword [0x5f2308], 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 0x469114
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____WSAStartup_fails__Code__lu.
call fcn.00463390
add esp, 8
jmp 0x4693d8
mov eax, dword [ebp - 0x2c0]
cmp al, 2
jne 0x46939a
shr eax, 8
cmp al, 2
jne 0x46939a
push 0x5f22e4
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 0x469384
push 0
push 0
lea eax, [ebp - 0x114]
mov dword [ebp - 0x124], 0x25a207b9
push eax
push 4
push 0x5f22fc
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 0x469384
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
jne 0x469384
push 0x100
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
je 0x4691e0
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [0x5f2304], eax
jmp 0x4691e5
mov eax, dword [0x5f2304]
test eax, eax
je 0x4692a1
mov eax, dword [eax + 0xc]
cmp dword [eax], ebx
je 0x4692a1
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.00468180
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.00463390
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov edx, dword [ebp - 0x118]
cmp edx, 8
jb 0x46928f
mov ecx, dword [ebp - 0x12c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x469285
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4693f4
push edx
push ecx
call fcn.0052edf8
add esp, 8
mov eax, dword [0x5f2304]
mov eax, dword [eax + 0xc]
cmp dword [esi + eax], 0
jne 0x469200
call fcn.00467c20
push 0
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [0x5f2300], eax
test eax, eax
jne 0x4692d6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Cant_create_io_completion_port__Code__lu.
call fcn.00463390
add esp, 8
jmp 0x4693a7
call fcn.004682a0
test eax, eax
jne 0x4692f8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Cant_get_subnets__Code__lu.
call fcn.00463390
add esp, 8
jmp 0x4693a7
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x468550
push 0
push 0
call esi
mov ebx, eax
test ebx, ebx
jne 0x46932b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Cant_create_host_thread__Code__lu.
call fcn.00463390
add esp, 8
jmp 0x4693a7
push 0
push 0
push 0
push 0x468dc0
push 0
push 0
call esi
mov edi, eax
test edi, edi
jne 0x469358
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Cant_create_port_scan_thread__Code__lu.
call fcn.00463390
add esp, 8
jmp 0x4693a7
push 0
push 1
push 0
push dword [0x5f2300]
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.00468820
push 0xffffffffffffffff
push ebx
call esi
jmp 0x4693a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Cant_get_ConnectEx__Code__lu.
call fcn.00463390
add esp, 8
jmp 0x4693a7
push str.____Network_stack_is_outdated.
call fcn.00463390
add esp, 4
push 0x5f22e4
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [0x5f2300]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4693c4
push eax
call esi
test ebx, ebx
je 0x4693cb
push ebx
call esi
test edi, edi
je 0x4693d2
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.0052ebb7
mov esp, ebp
pop ebp
ret
call fcn.0054a8a1
int3