Function at 0x48678e
Capabilities:
Resolve function by parsing pe exports
Set socket configuration
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, ecx
mov eax, edx
push edi
xor edi, edi
mov dword [esp + 0x24], eax
xor ecx, ecx
mov dword [esp + 0x1c], edi
mov ebp, edi
mov dword [esp + 0x14], edi
inc ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x18], ebp
mov ebx, edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
test eax, eax
jne 0x486881
lea ecx, [esp + 0x14]
call fcn.004870df
mov dword [esp + 0x1c], eax
cmp eax, dword [esi + 0x74]
jne 0x4867f2
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x4867ed
cmp dword [esi + 0x70], edi
je 0x486811
jmp 0x4867f2
cmp dword [esi + 0x70], ebx
jne 0x4867f9
xor ecx, ecx
lea ebx, [ecx + 1]
jmp 0x486811
shl eax, 4
push eax
push dword [esi + 0x70]
push ecx
call fcn.006502a0
add esp, 0xc
test eax, eax
push 1
pop ecx
cmovne ebx, ecx
cmp dword [esi + 0x24], edi
je 0x486859
lea ecx, [esp + 0x18]
call fcn.00487248
mov ebp, dword [esp + 0x18]
mov dword [esp + 0x20], eax
cmp eax, dword [esi + 0x7c]
jne 0x48687e
test ebp, ebp
je 0x48684f
cmp dword [esi + 0x78], edi
je 0x48687e
shl eax, 2
push eax
push dword [esi + 0x78]
push ebp
call fcn.006502a0
add esp, 0xc
test eax, eax
push 1
pop ecx
cmovne ebx, ecx
jmp 0x48685c
xor ecx, ecx
inc ecx
cmp dword [esi + 0x78], edi
jne 0x486881
jmp 0x48685c
xor ecx, ecx
inc ecx
test ebx, ebx
jne 0x486881
push ecx
push dword [esp + 0x18]
call fcn.005f5b20
xor ecx, ecx
inc ecx
push ecx
push ebp
call fcn.005f5b20
add esp, 0x10
xor eax, eax
jmp 0x486b2b
xor ecx, ecx
inc ecx
cmp dword [esi + 0x70], edi
je 0x486894
push ecx
push dword [esi + 0x70]
call fcn.005f5b20
pop ecx
pop ecx
mov dword [esi + 0x70], edi
cmp dword [esi + 0x78], edi
je 0x4868aa
xor eax, eax
inc eax
push eax
push dword [esi + 0x78]
call fcn.005f5b20
pop ecx
pop ecx
mov dword [esi + 0x78], edi
cmp dword [esi + 0x28], edi
je 0x4868df
mov ebx, edi
cmp dword [esi + 0x74], edi
jle 0x4868ce
mov eax, dword [esi + 0x28]
mov edx, dword [eax + ebx*4]
test edx, edx
je 0x4868c8
mov ecx, dword [esi + 0x10]
call fcn.00487ef2
inc ebx
cmp ebx, dword [esi + 0x74]
jl 0x4868b6
xor eax, eax
inc eax
push eax
push dword [esi + 0x28]
call fcn.005f5b20
pop ecx
pop ecx
mov dword [esi + 0x28], edi
cmp dword [esp + 0x24], edi
jne 0x486877
movzx eax, word [esi + 0x3c]
mov ebx, dword [sym.imp.WS2_32.dll_htons]
push eax
call ebx
movzx eax, word [esi + 0x3c]
push eax
call ebx
mov eax, dword [esp + 0x14]
test eax, eax
je 0x486add
cmp word [esi + 0x44], di
je 0x486ad1
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x74], ecx
mov dword [esi + 0x70], eax
test ecx, ecx
jle 0x486add
xor eax, eax
mov ebx, 0x9c
push ebx
inc eax
push 0x7575bc
push eax
mov eax, ecx
shl eax, 2
push eax
call fcn.005f5c60
add esp, 0x10
mov dword [esi + 0x28], eax
test eax, eax
je 0x486b33
mov ebx, edi
cmp dword [esi + 0x74], edi
jle 0x486add
mov dword [esp + 0x14], edi
movzx eax, word [esi + 0x3c]
push eax
call dword [sym.imp.WS2_32.dll_htons]
mov ecx, dword [esi + 0x70]
mov edx, dword [esp + 0x14]
push esi
push edi
push 0x486730
mov word [edx + ecx + 2], ax
xor eax, eax
mov ecx, dword [esi + 0x10]
inc eax
push eax
mov eax, dword [esi + 0x70]
add eax, edx
xor edx, edx
push eax
call fcn.004855da
mov ecx, dword [esi + 0x28]
add esp, 0x14
mov dword [ecx + ebx*4], eax
mov eax, dword [esi + 0x28]
mov ecx, dword [eax + ebx*4]
test ecx, ecx
je 0x486a73
mov ecx, dword [ecx + 0x18]
call fcn.004876b9
mov eax, dword [esi + 0x28]
lea edx, [esi + 0x44]
mov eax, dword [eax + ebx*4]
mov dword [eax + 0x18], str.ILibMulticastSocket_v4
mov ecx, dword [esi + 0x28]
mov eax, dword [esi + 0x70]
add eax, dword [esp + 0x14]
push eax
mov ecx, dword [ecx + ebx*4]
call fcn.004857c5
pop ecx
mov ecx, dword [esi + 0x70]
add ecx, dword [esp + 0x14]
push 0x10
pop eax
push 0x1c
cmp word [ecx], 0x17
pop edx
cmove eax, edx
push eax
mov eax, dword [esi + 0x28]
push ecx
mov ecx, dword [eax + ebx*4]
add ecx, 0x5c
call section..text
mov eax, dword [esi + 0x28]
pop ecx
pop ecx
push 4
mov eax, dword [eax + ebx*4]
mov ecx, dword [eax + 0x34]
lea eax, [esi + 0x34]
push eax
push 0xa
push edi
push ecx
mov dword [esp + 0x2c], ecx
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x486abd
push 4
lea eax, [esi + 0x38]
push eax
push 0xb
push edi
push dword [esp + 0x28]
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x486aa9
push 4
lea eax, [esi + 0x38]
push eax
push 0xb
push edi
push dword [esp + 0x28]
call dword [sym.imp.WS2_32.dll_setsockopt]
push edi
test eax, eax
jne 0x486a84
mov eax, dword [esi + 0x70]
xor edx, edx
mov ecx, dword [esp + 0x18]
push edi
mov word [ecx + eax + 2], dx
lea eax, [esp + 0x30]
push eax
push edi
push edi
push 4
lea eax, [esp + 0x44]
push eax
push 0x9800000c
push dword [esp + 0x38]
call dword [sym.imp.WS2_32.dll_WSAIoctl]
add dword [esp + 0x14], 0x10
inc ebx
cmp ebx, dword [esi + 0x74]
jl 0x486958
jmp 0x486add
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xac
mov edx, 0x7576ac
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push 0xfd
jmp 0x486b64
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xab
mov edx, 0x757688
jmp 0x486a95
push edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0xaa
mov edx, 0x757664
jmp 0x486a95
xor ecx, ecx
inc ecx
push ecx
push eax
call fcn.005f5b20
pop ecx
pop ecx
mov eax, dword [esp + 0x20]
test eax, eax
je 0x486b18
test ebp, ebp
je 0x486b28
cmp word [esi + 0x54], di
je 0x486b18
cmp dword [esi + 0x24], edi
je 0x486b18
mov dword [esi + 0x7c], eax
mov dword [esi + 0x78], ebp
test eax, eax
jle 0x486b28
mov eax, dword [esi + 0x78]
lea edx, [esi + 0x54]
mov ecx, dword [esi + 0x24]
push dword [eax + edi*4]
call fcn.00485804
inc edi
pop ecx
cmp edi, dword [esi + 0x7c]
jl 0x486afe
jmp 0x486b28
test ebp, ebp
je 0x486b28
xor eax, eax
inc eax
push eax
push ebp
call fcn.005f5b20
pop ecx
pop ecx
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov esi, 0xfe
mov edx, 0x7575e0
push esi
push ebx
xor ecx, ecx
call fcn.0048f95e
add esp, 0xc
push ebx
push 0x757604
push 0x757628
call fcn.00401109
add esp, 0xc
push esi
call fcn.005d08b0
int3