Function at 0x406fa0
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
xor byte [ecx - 0x2da9f3a3], cl
aas
or byte [edi - 0x75], dl
jge 0x406def
test di, di
cmp bh, ch
adc byte [ecx + ecx*4 + 0xf74085e], ah
push edi
bound edx, qword [0x4042a8]
inc esi
mov dword [esi + 0x2a], eax
mov word [esi + 0xc], di
inc edx
inc eax
add byte [esi - 0x77], al
inc esi
sub ah, byte [esi - 0x77]
jle 0x406e06
cmp ebx, 0xffffff83
dec esi
sbb byte [ecx + 0x4a10], ah
mov dword [esi + 0x18], 0x40000004
mov dword [esi + 0x14], eax
mov dword [esi + 0x1c], eax
xchg dword [esi + 0x2c], eax
mov dword [esi + 0x20], eax
pop edi
pop esi
sbb byte [eax + eax], al
add byte [eax - 0x77], al
inc esi
adc al, 0x89
inc esi
sbb al, 0x87
inc esi
sub al, 0x89
inc esi
and byte [edi + 0x5e], bl
add byte [ebp - 0x3d], bl
nop
ficom dword [eax - 0x137aaa70]
cmpsb byte [esi], byte es:[edi]
scasd eax, dword es:[edi]
or byte [ebx + 0x558b0c4d], cl
adc byte [ebx - 0x75], dl
pop ebp
adc al, 0x56
mov dword [eax], 0xabe500
push edi
and al, 0xff
add byte [eax], al
add byte [ecx], bh
mov edi, ebx
or ecx, 0xffffffff
mov bl, 0xc0
xchg bh, al
add al, byte [eax]
add dl, dh
scasb al, byte es:[edi]
not ecx
dec ecx
add eax, 0x3bff1974
mov edi, esi
jb 0x406e95
je 0x406e6b
invalid
mov eax, dword [0x40c196]
cmp dword [eax], 1
jle 0x406e75
xor ecx, ecx
push 4
dec ebp
pminsw mm7, mm7
adc eax, 0xdbd78368
add esp, 8
jmp 0x406e50
in eax, dx
mov ecx, es
inc eax
add byte [edx + edx*8 + 0x67], bl
pop ss
mov ecx, dword [eax]
mov al, byte [edi + edx]
and eax, 4
test eax, eax
je 0x406e91
lodsb al, byte [esi]
cmp edi, ebx
jae 0x406e59
jmp 0x406eac
insb byte es:[edi], dx
sti
jae 0x406eba
bnd call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
adc dword [ebp + 1], 0x7c
and edi, dword [0x37ffff]
jg 0x406ec7
mov edx, dword [ebp + 0x10]
pop edi
pop esi
push ebp
adc byte [edi + 0x5e], bl
je 0x406f18
mov dword [edx], eax
xor esi, dword [esi + 0x14ce5d]
cmp byte [edi], 0x3a
jne 0x406ef5
pop es
invalid
xor bh, byte fs:[ebx]
sti
jne 0x406ed3
pop edi
pop esi
mov eax, 0x4098
pop ebx
pop ebp
ret 0x14
lea eax, [edi - 0x37]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov dword [0xf88304c4], eax
add dword [edx + 0x3d], edi
invalid
jg 0x406ec1
mov ecx, dword [ebp + 0x10]
lea esi, [edi - 1]
mov word [ecx], ax
js 0x406eea
mov eax, dword [ebp + 0x18]
inc esi
mov ebx, esi
lea edx, [ebx + 1]
push edx
push eax
call 0x3fbf1a
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov ebx, dword [edi + 0x289f88b]
mov eax, ecx
shr ecx, 2
mov esp, 0xe16bc841
add ebx, dword [esi - 0x745b0c40]
or bl, byte [edi + 0x5e]
mov byte [ebx + ecx], 0
cmp dword [ebp - 0x33], ebx
adc al, 0
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x18]
xor eax, dword [edi]
or byte [edi + 0xd], dh
push esi
mov edi, 0xe0830c75
add edx, dword [edi - 0x39]
add al, byte [eax]
add byte [eax], al
add dh, al
sub ebx, ebp
dec esi
je 0x406f6b
sar byte [0x75ff8510], cl
adc eax, 0x7403f883
adc dh, dh
rol edi, 0x74
xchg ebp, eax
in eax, dx
mov eax, 0x16
or ebx, dword [ebp - 0x3e]
das
add byte [ebx - 0x3f7afabb], cl
jne 0x406f82
mov ch, 0x97
mov bl, 0
mov edi, dword [ebp + 0x1c]
push edi
push ecx
mov ecx, dword [ebp + 0x14]
push ecx
xchg byte [ebp + 0x52], ch
call 0x4115a0
rol esp, 0x18
pop edi
arpl word [ebp - 0x3e], bx
jns 0x406f9c
loope 0x406f2e
mov byte [eax - 0x7c1374ab], dl
invalid