Function at 0x6aedb650
Capabilities:
Set socket configuration

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x364
mov eax, dword [0x6af09160]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], 0
push ebx
mov ebx, ecx
mov dword [ebp - 0x24], 0
push esi
push edi
mov edi, edx
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x348], edi
mov dword [ebp - 0x360], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x354], 0
mov dword [ebp - 0x350], 0
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x44], 1
cmp dword [ebx + 0xb8], eax
je 0x6aedb716
call dword [0x6af0e01c]
mov ecx, dword [ebx + 0xb8]
mov dword [ebp - 0x354], eax
cmp eax, ecx
je 0x6aedb716
push ecx
mov dword [ebp - 0x350], 1
call dword [0x6af0e02c]
test eax, eax
jne 0x6aedbd21
mov eax, dword [ebx + 0xd8]
xor esi, esi
mov ecx, dword [edi + 0x88]
push 0x81
shl ecx, 7
mov eax, dword [eax + 0x14]
push esi
push esi
push 6
movzx eax, word [ecx + eax]
movzx ecx, ax
mov dword [ebp - 0x358], eax
push 1
movzx eax, ax
push eax
mov dword [ebp - 0x34c], ecx
call dword [0x6af0e0c0]
mov edi, eax
mov dword [ebp - 0x35c], edi
cmp edi, 0xffffffff
jne 0x6aedb768
xor cl, cl
call fcn.6aeceefb
mov esi, eax
cmp dword [ebp - 0x350], 0
je 0x6aedb785
push dword [ebp - 0x354]
call dword [0x6af0e02c]
test eax, eax
je 0x6aedb785
mov ecx, eax
int 0x29
test esi, esi
jne 0x6aedbcf7
test byte [0x6af0b68c], 0x40
je 0x6aedb7a1
push esi
push esi
push edi
push dword [ebx + 4]
call fcn.6af00a0c
test byte [0x6af0b6d0], 4
je 0x6aedb7bf
push dword [ebx + 0xcc]
mov edx, 0x6aeb2f4c
mov ecx, 0x16
call fcn.6af08166
mov eax, dword [ebx + 0xcc]
mov esi, dword [ebp - 0x358]
test eax, eax
je 0x6aedb809
cmp si, 2
jne 0x6aedb7dc
push eax
call dword [0x6af0e0ec]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push 4
push eax
xor eax, eax
cmp word [ebp - 0x34c], 2
push 0x1f
sete al
dec eax
and eax, 0x29
push eax
push edi
call dword [0x6af0e108]
cmp eax, 0xffffffff
je 0x6aedbcee
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push 0x3007
push 0xffff
push edi
call dword [0x6af0e108]
cmp eax, 0xffffffff
je 0x6aedbcee
cmp word [ebx + 0x208], 0
lea eax, [ebx + 0x208]
je 0x6aedb8a8
mov ecx, 0x20
lea edi, [ebp - 0xc8]
mov esi, eax
rep movsd dword es:[edi], dword [esi]
test byte [0x6af0b6d0], 4
je 0x6aedb85f
push ebx
push eax
call section..wpp_sf
mov edi, dword [ebp - 0x35c]
push 0x80
lea eax, [ebp - 0xc8]
push eax
push edi
call dword [0x6af0e0d4]
cmp eax, 0xffffffff
jne 0x6aedb8c4
xor cl, cl
call fcn.6aeceefb
mov esi, eax
test byte [0x6af0b6c8], 4
je 0x6aedbcf7
push esi
mov edx, 0x6aeb2f4c
mov ecx, 0x18
call fcn.6af08166
jmp 0x6aedbcf7
push 0x7e
lea eax, [ebp - 0xc6]
push 0
push eax
call fcn.6aee0e40
add esp, 0xc
mov word [ebp - 0xc8], si
jmp 0x6aedb865
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 1
push eax
push 1
push 6
push edi
call dword [0x6af0e108]
cmp eax, 0xffffffff
je 0x6aedbcee
cmp dword [ebx + 0xb4], 2
lea eax, [ebx + 0xb4]
je 0x6aedb918
push 0
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0
push 4
push eax
push 0x98000018
push edi
call dword [0x6af0e0d0]
cmp eax, 0xffffffff
je 0x6aedbcee
cmp dword [ebx + 0xbc], 0
lea eax, [ebx + 0xbc]
je 0x6aedb94b
push 0
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0
push 0xc
push eax
push 0x98000004
push edi
call dword [0x6af0e0d0]
cmp eax, 0xffffffff
je 0x6aedbcee
cmp byte [ebx + 0xa8], 0
je 0x6aedb989
push 0
push 0
lea eax, [ebp - 8]
mov dword [ebp - 0x24], 2
push eax
push 0
push 0
push 8
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], 0x6000000
push eax
push 0x9800012c
push edi
call dword [0x6af0e0d0]
cmp eax, 0xffffffff
je 0x6aedbcee
mov eax, dword [ebx + 0xd8]
mov esi, dword [ebp - 0x348]
cmp byte [eax + 0x31], 0
je 0x6aedb9b3
cmp dword [esi + 0x88], 0
jne 0x6aedb9b3
mov eax, 0x12c
mov byte [ebp - 0xa], 0xfe
mov word [ebp - 0xc], ax
jmp 0x6aedb9d6
movzx eax, word [ebx + 0xaa]
mov edx, 0xffff
mov cl, byte [ebx + 0xac]
mov word [ebp - 0xc], ax
mov byte [ebp - 0xa], cl
cmp ax, dx
jne 0x6aedb9d6
cmp cl, 0xff
je 0x6aedb9fd
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 4
lea eax, [ebp - 0xc]
push eax
push 0x98000011
push edi
call dword [0x6af0e0d0]
cmp eax, 0xffffffff
je 0x6aedbcee
cmp dword [ebx + 0xb0], 0xffffffff
lea eax, [ebx + 0xb0]
je 0x6aedba29
push 4
push eax
push 0x1001
push 0xffff
push edi
call dword [0x6af0e108]
cmp eax, 0xffffffff
je 0x6aedbcee
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0x274
push eax
lea eax, [ebp - 0x340]
push eax
push 0x2005
push 0xffff
push edi
call dword [0x6af0e0a8]
cmp eax, 0xffffffff
je 0x6aedbcee
test dword [ebp - 0x340], 0x20000
mov byte [ebp - 0x341], 0
je 0x6aedba96
push 1
push edi
mov byte [ebp - 0x341], 1
call dword [0x6af0c0a8]
test eax, eax
jne 0x6aedba96
call dword [0x6af0c038]
mov esi, eax
test esi, esi
jne 0x6aedbcf7
mov esi, 0x54f
jmp 0x6aedbcf7
mov eax, dword [ebx + 0x1f8]
test eax, eax
je 0x6aedbac8
push 0
push 0
lea ecx, [ebp - 8]
push ecx
push 0
push 0
push dword [ebx + 0x1fc]
push eax
push 0x980000e7
push edi
call dword [0x6af0e0d0]
cmp eax, 0xffffffff
je 0x6aedbcee
test byte [0x6af0b6d0], 4
je 0x6aedbaef
mov eax, dword [ebx + 0xd8]
mov edx, 0x6aeb2f4c
push dword [ebx + 0xc8]
mov ecx, 0x19
push dword [eax + 0x2c]
call fcn.6af08181
mov ecx, dword [ebx + 0xd8]
cmp dword [ecx + 0x2c], 0
je 0x6aedbb80
mov eax, dword [0x6aeb2b3c]
mov dword [ebp - 0x40], eax
mov eax, dword [0x6aeb2b40]
mov dword [ebp - 0x3c], eax
mov eax, dword [0x6aeb2b44]
mov dword [ebp - 0x38], eax
mov eax, dword [0x6aeb2b48]
mov dword [ebp - 0x34], eax
mov eax, dword [ecx + 0x2c]
push 0
cdq
push 0
mov dword [ebp - 0x30], eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x18
lea eax, [ebp - 0x40]
mov dword [ebp - 0x2c], edx
push eax
push 0x98000013
push edi
call dword [0x6af0e0d0]
cmp eax, 0xffffffff
jne 0x6aedbb80
xor cl, cl
call fcn.6aeceefb
mov esi, eax
test byte [0x6af0b6c8], 4
je 0x6aedbcf7
mov eax, dword [ebx + 0xd8]
mov edx, 0x6aeb2f4c
push esi
mov ecx, 0x1a
push dword [eax + 0x2c]
call fcn.6af08251
jmp 0x6aedbcf7
cmp dword [esi + 0x9c], 0
je 0x6aedbbd7
test byte [0x6af0b6d0], 4
je 0x6aedbba1
mov edx, 0x6aeb2f4c
mov ecx, 0x1b
call fcn.6af08159
push 4
lea eax, [ebp - 0x44]
push eax
push 0xf
push 6
push edi
call dword [0x6af0e108]
cmp eax, 0xffffffff
jne 0x6aedbbd7
xor cl, cl
call fcn.6aeceefb
test byte [0x6af0b6c8], 4
je 0x6aedbbd7
push eax
mov edx, 0x6aeb2f4c
mov ecx, 0x1c
call fcn.6af08166
mov ecx, dword [ebx + 0xc8]
test ecx, ecx
je 0x6aedbc10
mov edx, edi
call fcn.6af0112f
mov esi, eax
test esi, esi
je 0x6aedbc10
test byte [0x6af0b6c8], 4
je 0x6aedbcf7
push esi
mov edx, 0x6aeb2f4c
mov ecx, 0x1d
call fcn.6af08166
jmp 0x6aedbcf7
push 0x6af0a660
push 0x6aecba70
push 0x6aeda0a0
push edi
call dword [0x6af0c218]
test eax, eax
jne 0x6aedbc41
call dword [0x6af0c038]
mov esi, eax
test esi, esi
jne 0x6aedbcf7
mov esi, 0x54f
jmp 0x6aedbc49
mov dword [ebp - 0x360], eax
xor esi, esi
test esi, esi
jne 0x6aedbcf7
lea esi, [ebx + 0xec]
push esi
call dword [0x6af0c198]
mov eax, dword [ebx + 0xf0]
mov dword [ebp - 0x34c], eax
mov eax, dword [ebx + 0xf4]
mov dword [ebp - 0x348], eax
mov eax, dword [ebp - 0x360]
mov dword [ebx + 0xf4], eax
mov al, byte [ebp - 0x341]
push esi
mov dword [ebx + 0xf0], edi
mov byte [ebx + 0x205], al
call dword [0x6af0c1a0]
mov esi, dword [ebp - 0x34c]
cmp esi, 0xffffffff
je 0x6aedbcca
test byte [0x6af0b68c], 0x40
je 0x6aedbcc3
push 0
push 8
push 0
push esi
push dword [ebx + 4]
mov edx, 0x6aeb2cc8
call fcn.6aef0393
push esi
call dword [0x6af0e0cc]
mov eax, dword [ebp - 0x348]
test eax, eax
je 0x6aedbcdb
push eax
call dword [0x6af0c220]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.6aee0390
mov esp, ebp
pop ebp
ret
xor cl, cl
call fcn.6aeceefb
mov esi, eax
cmp edi, 0xffffffff
je 0x6aedbd1f
test byte [0x6af0b68c], 0x40
je 0x6aedbd18
push esi
push 9
push 0
push edi
push dword [ebx + 4]
mov edx, 0x6aeb2cc8
call fcn.6aef0393
push edi
call dword [0x6af0e0cc]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.6aee0390
mov esp, ebp
pop ebp
ret