Function at 0x4654a4
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4659b0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x46c], 0xffffffff
je 0x4654ec
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4d2], 7
je 0x4654ec
mov edx, 0x4659c8
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x465995
mov eax, dword [ebp - 4]
cmp byte [eax + 0x490], 0
jne 0x46550a
mov edx, 0x4659f0
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x465995
mov eax, dword [ebp - 4]
cmp byte [eax + 0x47c], 0
jne 0x465528
mov edx, 0x465a14
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x465995
mov eax, dword [ebp - 4]
cmp byte [eax + 0x484], 0
jne 0x465546
mov edx, 0x465a40
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
jmp 0x465995
xor eax, eax
push ebp
push 0x465684
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 0x485], 0
jne 0x4655b8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x488]
call fcn.00464ba0
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x480], ebx
sub ebx, 6
je 0x465592
sub ebx, 0xb
jne 0x4655a1
mov eax, dword [ebp - 4]
mov dword [eax + 0x4a4], 2
jmp 0x4655ae
mov eax, dword [ebp - 4]
mov dword [eax + 0x4a4], 1
jmp 0x4655ae
mov eax, dword [ebp - 4]
mov dword [eax + 0x4a4], 3
mov eax, dword [ebp - 4]
mov byte [eax + 0x485], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x491], 0
jne 0x46560f
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004642dc
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x48c]
call fcn.00464998
movzx eax, ax
mov edx, dword [ebp - 4]
mov dword [edx + 0x494], eax
mov eax, dword [ebp - 4]
mov ax, word [eax + 0x494]
call fcn.00462f38
mov edx, dword [ebp - 4]
mov word [edx + 0x546], ax
mov eax, dword [ebp - 4]
mov byte [eax + 0x491], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x486], 0
jne 0x46564d
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004642dc
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x498]
call fcn.00464998
movzx eax, ax
mov edx, dword [ebp - 4]
mov dword [edx + 0x49c], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x486], 1
mov eax, dword [ebp - 4]
cmp byte [eax + 0x474], 0
jne 0x46567a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x470]
call fcn.0046473c
mov edx, dword [ebp - 4]
mov dword [edx + 0x548], eax
mov eax, dword [ebp - 4]
mov byte [eax + 0x474], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4656c1
mov eax, dword [ebp - 4]
call fcn.004661f4
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x480]
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4a4]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x478]
call fcn.00462ca8
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x46c], ebx
inc ebx
jne 0x465709
mov edx, 0x465a7c
mov eax, dword [ebp - 4]
call fcn.00466694
jmp 0x465995
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.0046396c
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4d2], 1
je 0x46573b
mov eax, 0x2726
call fcn.00462a24
mov edx, 0x465a98
mov eax, dword [ebp - 4]
call fcn.00466694
jmp 0x465995
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4a4], 2
jne 0x4657ee
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x50]
mov eax, dword [ebp - 4]
cmp byte [eax + 0x4c5], 0
je 0x46579f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4cc]
cmp eax, 1
je 0x46579f
mov dword [ebp - 8], eax
push 4
lea eax, [ebp - 8]
push eax
push 3
push 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
push eax
call sub.wsock32.dll_setsockopt
test eax, eax
je 0x46579f
mov edx, 0x465ad0
mov eax, dword [ebp - 4]
call fcn.00466694
jmp 0x465995
mov eax, dword [ebp - 4]
cmp dword [eax + 0x548], 0xffffffff
jne 0x4658dc
mov dword [ebp - 8], 1
lea eax, [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
mov ecx, 0x20
mov edx, 0xffff
call fcn.00462d28
test eax, eax
je 0x4658dc
mov edx, 0x465af8
mov eax, dword [ebp - 4]
call fcn.00466694
jmp 0x465995
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
mov ecx, 4
mov edx, 0xffff
call fcn.00462d28
test eax, eax
je 0x465829
mov edx, 0x465b1c
mov eax, dword [ebp - 4]
call fcn.00466694
jmp 0x465995
mov eax, dword [ebp - 4]
test byte [eax + 0x4d1], 2
je 0x465870
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
mov ecx, 1
mov edx, 6
call fcn.00462d28
test eax, eax
je 0x465870
mov edx, 0x465b40
mov eax, dword [ebp - 4]
call fcn.00466694
jmp 0x465995
mov eax, dword [ebp - 4]
call fcn.004653ec
mov dword [ebp - 8], 0xffffffff
lea eax, [ebp - 8]
push eax
push 4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
mov ecx, 8
mov edx, 0xffff
call fcn.00462d28
test eax, eax
je 0x4658b3
mov edx, 0x465b70
mov eax, dword [ebp - 4]
call fcn.00466694
jmp 0x465995
mov eax, dword [ebp - 4]
cmp dword [eax + 0x49c], 0
jne 0x4658d4
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x4a0]
mov edx, 0x465b94
call fcn.00404a94
je 0x4658dc
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x50]
mov edx, dword [ebp - 4]
mov eax, 0x3b
mov dword [edx + 0x4d8], eax
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax + 0x4c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
mov ecx, 0x401
call fcn.00462b9c
test eax, eax
je 0x465917
mov edx, 0x465ba4
mov eax, dword [ebp - 4]
call fcn.00466694
jmp 0x465995
mov eax, dword [ebp - 4]
cmp dword [eax + 0x4a4], 2
jne 0x465939
mov dl, 4
mov eax, dword [ebp - 4]
call fcn.0046396c
xor edx, edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x6c]
jmp 0x465995
mov eax, dword [ebp - 4]
lea edx, [eax + 0x544]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x46c]
mov ecx, 0x10
call fcn.00463028
test eax, eax
jne 0x465965
mov dl, 3
mov eax, dword [ebp - 4]
call fcn.0046396c
jmp 0x465995
call fcn.00462a60
cmp eax, 0x2733
jne 0x46597d
mov dl, 3
mov eax, dword [ebp - 4]
call fcn.0046396c
jmp 0x465995
call fcn.00462a60
mov edx, dword [ebp - 4]
mov dword [edx + 0x48], eax
mov edx, 0x465bbc
mov eax, dword [ebp - 4]
call fcn.00466694
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4659b7
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.004046bc
ret