Function at 0x4fda80
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6392f7
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6a6040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x30], edi
mov edx, dword [ebp + 8]
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0
sub esp, 0x14
movzx ecx, word [esi + 4]
mov eax, esp
push ecx
push edx
mov ecx, edi
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
call fcn.005d53f0
mov dword [edi], vtable.CMaaMulticastReceiver.0
mov eax, dword [esi]
mov dword [edi + 0x109], eax
mov eax, dword [esi + 4]
mov dword [edi + 0x10d], eax
mov eax, dword [esi + 8]
mov dword [edi + 0x111], eax
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov dword [edi + 0x115], eax
mov dword [edi + 0x119], ecx
mov eax, dword [esi + 0x14]
mov ecx, dword [esi + 0x18]
mov dword [edi + 0x11d], eax
mov dword [edi + 0x121], ecx
mov eax, dword [esi + 0x1c]
mov dword [edi + 0x125], eax
mov eax, dword [esi + 0x20]
mov dword [edi + 0x129], eax
mov dword [edi + 0x12d], 0
mov dword [edi + 0x131], 0
mov dword [edi + 0x135], 0
mov dword [edi + 0x139], 0
mov dword [edi + 0x13d], 0
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x141], 0
mov dword [edi + method.CMaaXmlElement.virtual_0], vtable.CMaaXmlNode.0
test eax, eax
je 0x4fdba0
lock inc dword [eax + 8]
mov ecx, eax
mov eax, dword [ebp + 0x10]
jmp 0x4fdba2
xor ecx, ecx
mov dword [edi + 0x149], ecx
mov dword [edi + 0x14d], 0
mov dword [edi + 0x151], 0
mov dword [edi + method.CMaaXmlElement.virtual_0], vtable.CMaaXmlNode.0
test eax, eax
je 0x4fdbd0
lock inc dword [eax + 8]
jmp 0x4fdbd2
xor eax, eax
mov dword [edi + 0x159], eax
mov dword [edi + 0x15d], 0
mov eax, dword [esi + 0x1c]
lea esi, [edi + 0x165]
mov dword [edi + 0x161], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0xc], 0
mov dword [esi + 0xd], 0
mov dword [esi + 0x11], 0
mov dword [esi + 0x15], 0
mov dword [esi + 0x19], 0
mov dword [esi + 0x1d], 0
mov dword [esi + 0x21], 0
mov dword [esi], vtable.CMaaSockTimerT_class_CMaaMulticastReceiver_.0
mov dword [esi + 0x29], edi
mov dword [esi + 0x2d], 0
lea eax, [edi + 0x196]
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [eax + 0xc], 0
mov dword [eax + 0xd], 0
mov dword [eax + 0x11], 0
mov dword [eax + 0x15], 0
mov dword [eax + 0x19], 0
mov dword [eax + 0x1d], 0
mov dword [eax + 0x21], 0
mov dword [eax], vtable.CMaaSockTimerT_class_CMaaMulticastReceiver_.0
mov dword [eax + 0x29], edi
mov dword [eax + 0x2d], 1
push 0
sub esp, 8
mov byte [ebp - 4], 6
lea ecx, [edi + 0x1c7]
push 0
push 1
call fcn.00509650
mov dword [edi + 0x1ec], 0
mov dword [edi + 0x1f0], 0
mov byte [edi + 0x1f4], 0
push dword [ebp - 0x28]
mov ecx, esi
mov byte [ebp - 4], 8
call fcn.005d7c00
push dword [ebp - 0x28]
lea ecx, [edi + 0x196]
call fcn.005d7c00
mov edx, dword [ebp - 0x2c]
push 0x14
mov eax, dword [edx + 0xc]
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x20], eax
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edx + 0x18]
mov dword [ebp - 0x18], eax
mov eax, dword [edx]
mov dword [ebp - 0x14], ecx
movups xmm0, xmmword [ebp - 0x20]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x24]
push eax
push 0xc
push 0x29
push dword [edi + 0x8d]
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
je 0x4fdd86
push 1
push 0
push 1
lea ecx, [edi + 0x196]
call fcn.0041b220
mov ecx, edi
call fcn.004fc120
mov ecx, dword [ebp + 0x10]
mov dword [ebp + 0xc], vtable.CMaaXmlNode.0
test ecx, ecx
je 0x4fdd67
or eax, 0xffffffff
lock xadd dword [ecx + 8], eax
dec eax
jne 0x4fdd67
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x4fdd67
mov ecx, esi
call fcn.005baee0
mov ecx, esi
call fcn.005bae00
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00606a47
mov esp, ebp
pop ebp
ret 0x10
mov ecx, str.setsockopt_for_IPPROTO_IPV6__IPV6_JOIN_GROUP__failed
call fcn.005d3070
int3