Function at 0x4172f0
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4175e7
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, 0x417600
mov dl, 8
mov eax, dword [ebp - 4]
call fcn.00418ac8
mov eax, dword [ebp - 4]
mov byte [eax + 0x10090], 0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10298], 0
je 0x41734a
mov ecx, 0x417614
mov dl, 1
mov eax, dword [0x416e84]
call fcn.00459cc0
call fcn.00468e54
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x41736f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00418c20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4173aa
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10268], 0
jne 0x41742e
cmp dword [ebp - 8], 0
jle 0x4173d4
mov ecx, 0x417670
mov dl, 1
mov eax, dword [0x416e84]
call fcn.00459cc0
call fcn.00468e54
jmp 0x41742e
mov eax, dword [ebp - 4]
cmp word [eax + 0x10062], 0
jne 0x4173f9
mov ecx, 0x417670
mov dl, 1
mov eax, dword [0x416e84]
call fcn.00459cc0
call fcn.00468e54
jmp 0x41742e
mov byte [ebp - 9], 0
lea edx, [ebp - 9]
mov ebx, dword [ebp - 4]
mov eax, dword [ebx + 0x10064]
call dword [ebx + 0x10060]
cmp byte [ebp - 9], 0
jne 0x41742b
mov ecx, 0x417670
mov dl, 1
mov eax, dword [0x416e84]
call fcn.00459cc0
call fcn.00468e54
inc dword [ebp - 8]
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10268], 0
je 0x41734f
mov eax, dword [ebp - 4]
mov word [eax + 0x10264], 2
mov eax, dword [ebp - 4]
cmp dword [eax + 0x100a4], 0
jne 0x417472
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x100b4]
push eax
call sub.WSOCK32.DLL_htons
mov edx, dword [ebp - 4]
mov word [edx + 0x10266], ax
jmp 0x41748c
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x100a8]
push eax
call sub.WSOCK32.DLL_htons
mov edx, dword [ebp - 4]
mov word [edx + 0x10266], ax
mov eax, dword [ebp - 4]
mov byte [eax + 0x100d0], 0
mov eax, 0x10
mov edx, dword [ebp - 4]
mov byte [edx + 0x100b0], 1
push eax
mov eax, dword [ebp - 4]
add eax, 0x10264
push eax
mov eax, dword [ebp - 4]
movzx eax, word [eax + 0x10290]
push eax
call sub.WSOCK32.DLL_connect
inc eax
jne 0x4174d1
lea ecx, [ebp - 0x10]
mov dx, 0x2733
mov eax, dword [ebp - 4]
call fcn.004189fc
mov eax, dword [ebp - 4]
call fcn.00418358
push 2
call sub.KERNEL32.DLL_Sleep
mov eax, dword [0x4d45c8]
mov eax, dword [eax]
call fcn.0048d720
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10298], 0
jne 0x41751c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x100b1], 0
jne 0x41751c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
jne 0x41751c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x100b0], 0
jne 0x4174d9
mov eax, dword [ebp - 4]
call fcn.004183b0
mov eax, dword [ebp - 4]
cmp byte [eax + 0x100b1], 0
jne 0x41754c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
jne 0x41754c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x100b0], 0
jne 0x4175d1
mov eax, dword [ebp - 4]
cmp word [eax + 0x10082], 0
je 0x41756b
mov ebx, dword [ebp - 4]
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0x10084]
call dword [ebx + 0x10080]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x100b1], 0
je 0x41758d
mov ecx, 0x41768c
mov dl, 1
mov eax, dword [0x416e84]
call fcn.00459cc0
call fcn.00468e54
mov eax, dword [ebp - 4]
cmp byte [eax + 0x10090], 0
je 0x4175af
mov ecx, 0x4176ac
mov dl, 1
mov eax, dword [0x416e84]
call fcn.00459cc0
call fcn.00468e54
mov eax, dword [ebp - 4]
cmp byte [eax + 0x100b0], 0
jne 0x4175d1
mov ecx, 0x4176c8
mov dl, 1
mov eax, dword [0x416e84]
call fcn.00459cc0
call fcn.00468e54
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4175ee
lea eax, [ebp - 0x10]
call fcn.004693b8
ret