Function at 0x486c6d
Capabilities:
Set socket configuration
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x6dad44]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
push 0x11e
push 0x7576d0
mov dword [esp + 0x1c], eax
mov edi, 0x80
mov eax, dword [ebp + 0x10]
mov ebx, ecx
push 1
push edi
mov dword [esp + 0x20], eax
call fcn.005f5c60
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x486cd2
push 0x11f
push 0x7576f4
push 0x757718
call fcn.00401109
add esp, 0xc
xor eax, eax
jmp 0x486f06
push edi
xor eax, eax
push eax
push esi
call fcn.005c3840
xor eax, eax
lea edi, [esp + 0x24]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
push 2
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop eax
push dword [ebp + 8]
mov word [esp + 0x1c], ax
call dword [sym.imp.WS2_32.dll_htons]
push 7
pop ecx
mov word [esp + 0x1a], ax
lea edi, [esp + 0x28]
xor eax, eax
rep stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
push 0x17
pop eax
push edi
mov word [esp + 0x2c], ax
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, str.ILibMulticastSocket
mov word [esp + 0x2a], ax
call fcn.004873e9
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x2c], eax
mov eax, dword [esp + 0x14]
mov word [esi + 0x3c], di
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
mov dword [esi + 8], 0x486c61
mov dword [esi + 0x10], ebx
mov dword [esi + 0x34], 4
mov dword [esi + 0x38], 1
mov dword [esi + 0x40], 0x401325
test eax, eax
je 0x486e2f
push 0x10
pop edx
push edx
push eax
lea ecx, [esi + 0x44]
call fcn.004854ad
xor eax, eax
pop ecx
pop ecx
cmp word [esi + 0x46], ax
jne 0x486d8f
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi + 0x46], ax
xor eax, eax
push esi
push eax
push 0x486730
lea eax, [esp + 0x24]
xor edx, edx
push 1
push eax
mov ecx, ebx
call fcn.004855da
add esp, 0x14
mov dword [esi + 0x20], eax
test eax, eax
jne 0x486dd4
push 1
push esi
call fcn.005f5b20
push 0x13d
push 0x757744
push 0x757768
call fcn.00401109
add esp, 0x14
jmp 0x486ccb
mov ecx, dword [eax + 0x18]
call fcn.004876b9
mov eax, dword [esi + 0x20]
lea ecx, [esi + 0x34]
push 4
push ecx
push 0xa
mov dword [eax + 0x18], str.ILibMulticastSocketListener_v4
mov eax, dword [esi + 0x20]
push 0
push dword [eax + 0x34]
call edi
test eax, eax
jne 0x486f18
mov eax, dword [esi + 0x20]
lea ecx, [esi + 0x38]
push 4
push ecx
push 0xb
push 0
push dword [eax + 0x34]
call edi
test eax, eax
je 0x486e2f
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x142
mov edx, 0x7577c4
jmp 0x486f2c
cmp dword [esp + 0x10], 0
je 0x486ef2
push esi
xor eax, eax
xor edx, edx
push eax
push 0x486759
lea eax, [esp + 0x34]
mov ecx, ebx
push 1
push eax
call fcn.004855da
add esp, 0x14
mov dword [esi + 0x24], eax
test eax, eax
je 0x486ef2
mov ecx, dword [eax + 0x18]
call fcn.004876b9
mov eax, dword [esi + 0x24]
lea ecx, [esi + 0x54]
push 0x1c
pop edx
push edx
push dword [esp + 0x14]
mov dword [eax + 0x18], str.ILibMulticastSocketListener_v6
call fcn.004854ad
xor eax, eax
pop ecx
pop ecx
cmp word [esi + 0x56], ax
jne 0x486e9a
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi + 0x56], ax
mov eax, dword [esi + 0x24]
lea ecx, [esi + 0x34]
push 4
push ecx
push 0xa
push 0x29
push dword [eax + 0x34]
call edi
test eax, eax
je 0x486ec6
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x159
mov edx, 0x757808
jmp 0x486f2c
mov eax, dword [esi + 0x24]
lea ecx, [esi + 0x38]
push 4
push ecx
push 0xb
push 0x29
push dword [eax + 0x34]
call edi
test eax, eax
je 0x486ef2
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x15a
mov edx, 0x75782c
jmp 0x486f2c
xor edx, edx
mov ecx, esi
call fcn.0048678e
mov edx, esi
mov ecx, ebx
call fcn.00488084
mov eax, esi
mov ecx, dword [esp + 0x44]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005c0e20
mov esp, ebp
pop ebp
ret
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x141
mov edx, 0x7577a0
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push 0xfd
call fcn.005d08b0
int3