Function at 0x469800
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 0x5739ab
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x5ebea4]
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.00468240
xor ebx, ebx
xor edi, edi
mov dword [0x5f333c], 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 0x469874
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____WSAStartup_fails__Code__lu.
call fcn.00463ab0
add esp, 8
jmp 0x469b38
mov eax, dword [ebp - 0x2c0]
cmp al, 2
jne 0x469afa
shr eax, 8
cmp al, 2
jne 0x469afa
push 0x5f3318
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 0x469ae4
push 0
push 0
lea eax, [ebp - 0x114]
mov dword [ebp - 0x124], 0x25a207b9
push eax
push 4
push 0x5f3330
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 0x469ae4
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
test eax, eax
jne 0x469ae4
push 0x100
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WS2_32.dll_gethostname]
cmp eax, 0xffffffff
je 0x469940
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov dword [0x5f3338], eax
jmp 0x469945
mov eax, dword [0x5f3338]
test eax, eax
je 0x469a01
mov eax, dword [eax + 0xc]
cmp dword [eax], ebx
je 0x469a01
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.004688e0
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.00463ab0
mov dword [ebp - 4], 0xffffffff
add esp, 8
mov edx, dword [ebp - 0x118]
cmp edx, 8
jb 0x4699ef
mov ecx, dword [ebp - 0x12c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4699e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x469b54
push edx
push ecx
call fcn.0052f5d6
add esp, 8
mov eax, dword [0x5f3338]
mov eax, dword [eax + 0xc]
cmp dword [esi + eax], 0
jne 0x469960
call fcn.00468380
push 0
push 0
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov dword [0x5f3334], eax
test eax, eax
jne 0x469a36
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Cant_create_io_completion_port__Code__lu.
call fcn.00463ab0
add esp, 8
jmp 0x469b07
call fcn.00468a00
test eax, eax
jne 0x469a58
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Cant_get_subnets__Code__lu.
call fcn.00463ab0
add esp, 8
jmp 0x469b07
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
push 0
push 0x468cb0
push 0
push 0
call esi
mov ebx, eax
test ebx, ebx
jne 0x469a8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Cant_create_host_thread__Code__lu.
call fcn.00463ab0
add esp, 8
jmp 0x469b07
push 0
push 0
push 0
push 0x469520
push 0
push 0
call esi
mov edi, eax
test edi, edi
jne 0x469ab8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Cant_create_port_scan_thread__Code__lu.
call fcn.00463ab0
add esp, 8
jmp 0x469b07
push 0
push 1
push 0
push dword [0x5f3334]
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.00468f80
push 0xffffffffffffffff
push ebx
call esi
jmp 0x469b07
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.____Cant_get_ConnectEx__Code__lu.
call fcn.00463ab0
add esp, 8
jmp 0x469b07
push str.____Network_stack_is_outdated.
call fcn.00463ab0
add esp, 4
push 0x5f3318
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov eax, dword [0x5f3334]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x469b24
push eax
call esi
test ebx, ebx
je 0x469b2b
push ebx
call esi
test edi, edi
je 0x469b32
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.0052f395
mov esp, ebp
pop ebp
ret
call fcn.0054b071
int3