Function at 0x466b00
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bfcce
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x66bf78]
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
mov eax, dword [ebp + 8]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0xc]
push 0x2c
mov dword [ebp - 0x98], eax
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0xa4], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x466b66
mov ecx, eax
call fcn.00460980
mov esi, eax
jmp 0x466b68
xor esi, esi
mov al, byte [ebp + 0x14]
mov ecx, esi
push dword [ebp + 0x10]
mov byte [esi + 4], al
xor edi, edi
mov al, byte [ebp + 0x18]
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x9c], esi
mov byte [esi + 5], al
call fcn.00466da0
mov ebx, dword [esi + 0x20]
push 6
push 1
push dword [0x682208]
call dword [sym.imp.WS2_32.dll_socket]
mov dword [ebx], eax
cmp eax, 0xffffffff
jne 0x466bb6
push str.sendConnectScanProbe
push str.Socket_creation_in__s
call fcn.00431fe0
push eax
call fcn.004b65a0
push dword [ebx]
call fcn.004669c0
push dword [0x682144]
push dword [ebx]
call fcn.00403150
mov eax, dword [0x6821c0]
add esp, 0x10
test eax, eax
je 0x466bed
push eax
push dword [0x6821bc]
push dword [ebx]
call fcn.00403130
add esp, 0xc
mov ecx, dword [ebp - 0x98]
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x90]
push eax
mov ecx, dword [ecx]
call fcn.00474510
test eax, eax
je 0x466c1b
push str.sendConnectScanProbe
push str.Failed_to_get_target_socket_address_in__s
call fcn.00431e30
movzx eax, word [esi + 0x1a]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [ebp - 0x94]
mov word [ebp - 0x8e], ax
push 0
mov eax, dword [ecx + 0x10]
mov dword [esi + 8], eax
mov eax, dword [ecx + 0x14]
mov ecx, dword [ebp - 0x98]
mov dword [esi + 0xc], eax
call fcn.00463720
push dword [ebp - 0xa0]
lea eax, [ebp - 0x90]
push eax
push dword [ebx]
call dword [sym.imp.WS2_32.dll_connect]
mov ecx, dword [ebp - 0x94]
add ecx, 0x10
mov dword [ebp - 0xa8], eax
push 0
push ecx
call fcn.004b6680
add esp, 8
cmp dword [ebp - 0xa8], 0xffffffff
jne 0x466c8b
call sub.WS2_32.dll_WSAGetLastError
mov edi, eax
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x9c]
add eax, 0x28
push edx
mov dword [ebp - 0xac], eax
mov ecx, dword [eax]
mov dword [ebp - 0xa4], ecx
push dword [ecx + 4]
push ecx
mov ecx, eax
call fcn.00445220
mov edx, dword [ebp - 0xac]
mov ecx, 0x15555554
mov dword [ebp - 0x9c], eax
mov eax, dword [edx + 4]
sub ecx, eax
cmp ecx, 1
jae 0x466cda
push str.list_T__too_long
call dword [sym.imp.MSVCP120.dll_void___cdecl_std::_Xlength_error_char_const__]
mov ecx, dword [ebp - 0x9c]
inc eax
mov dword [edx + 4], eax
mov eax, dword [ebp - 0xa4]
mov dword [eax + 4], ecx
mov eax, dword [ecx + 4]
mov dword [eax], ecx
mov eax, dword [edx]
mov edx, dword [ebp - 0x94]
mov eax, dword [eax + 4]
mov ecx, dword [edx + 0x18]
inc dword [ecx + 0x88]
mov ecx, dword [ebp - 0x98]
inc dword [ecx + 0x30]
cmp dword [ebp - 0xa8], 0xffffffff
jne 0x466d5e
cmp edi, 0x2734
je 0x466d28
cmp edi, 0x2733
jne 0x466d5e
lea eax, [edx + 0x10]
push eax
push edi
push 0xffffffffffffffff
push dword [ebp - 0xa0]
lea eax, [ebp - 0x90]
push eax
push 6
call fcn.0047ade0
mov eax, dword [ebp - 0x94]
add esp, 0x18
mov ecx, dword [eax + 0x18]
push dword [ebx]
mov ecx, dword [ecx + 0x100]
call fcn.00466de0
jmp 0x466d6e
push 1
push edi
push eax
push ecx
push edx
call fcn.00466520
add esp, 0x14
xor esi, esi
mov eax, dword [ebp - 0x94]
add eax, 0x10
push 0
push eax
call fcn.004b6680
add esp, 8
mov eax, esi
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.004bb11e
mov esp, ebp
pop ebp
ret