Function at 0x14008b3f0
Capabilities:
Connect socket
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x158
mov rax, qword [0x140285110]
mov qword [rsp + 0x60], rdx
lea rbx, [rsp + 0x90]
mov edx, dword [rsp + 0x1c0]
mov rbp, rcx
mov ecx, 6
mov dword [rsp + 0x1b0], r8d
mov rdi, qword [rax]
mov qword [rsp + 0x148], rdi
xor edi, edi
xor eax, eax
mov rdi, rbx
test r9d, r9d
rep stosq qword [rdi], rax
mov dword [rsp + 0x1b8], r9d
mov dword [rsp + 0x98], 2
mov dword [rsp + 0x9c], edx
js 0x14008ba1d
mov r8d, dword [rsp + 0x1b0]
mov r12, qword [rsp + 0x60]
lea r10, str.net:_connecting_to___s_:_d
lea r11, str.net_ConnectDgram
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_network_udp.c
mov edx, 3
mov qword [rsp + 0x30], r10
mov rcx, rbp
mov dword [rsp + 0x20], 0x214
mov dword [rsp + 0x40], r8d
mov r8, qword [str.main]
mov qword [rsp + 0x28], r11
mov qword [rsp + 0x38], r12
call sym.libvlccore.dll_vlc_Log
mov edx, dword [rsp + 0x1b0]
lea r9, [rsp + 0x80]
mov r8, rbx
mov rcx, r12
call sym.libvlccore.dll_vlc_getaddrinfo
test eax, eax
jne 0x14008baa7
mov rbx, qword [rsp + 0x80]
test rbx, rbx
je 0x14008ba9a
mov byte [rsp + 0x6f], 0
mov r15, qword [sym.imp.WS2_32.dll_setsockopt]
mov r13d, dword [rsp + 0x1b8]
jmp 0x14008b579
call qword [sym.imp.msvcrt.dll__errno]
mov ecx, dword [rax]
call sym.libvlccore.dll_vlc_strerror_c
lea r9, str._s_port__d_:__s
mov edi, dword [rsp + 0x1b0]
mov r14, qword [rsp + 0x60]
lea r10, str.net_ConnectDgram
mov r8, qword [str.main]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], r9
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_network_udp.c
mov dword [rsp + 0x20], 0x244
mov dword [rsp + 0x40], edi
mov qword [rsp + 0x38], r14
mov edx, 2
mov qword [rsp + 0x28], r10
mov rcx, rbp
call sym.libvlccore.dll_vlc_Log
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rbx, qword [rbx + 0x28]
test rbx, rbx
je 0x14008b8f0
mov edx, dword [rbx + 4]
mov r9d, dword [rbx + 0xc]
mov rcx, rbp
mov r8d, dword [rbx + 8]
call fcn.140088c20
cmp eax, 0xffffffff
mov edi, eax
je 0x14008b56c
movsxd rsi, eax
mov dword [rsp + 0x70], 1
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x70]
mov r8d, 0x20
mov edx, 0xffff
mov rcx, rsi
call r15
test r13d, r13d
js 0x14008b634
mov r14d, dword [rbx + 4]
mov dword [rsp + 0x74], r13d
cmp r14d, 2
je 0x14008b8e0
cmp r14d, 0x17
je 0x14008b7b0
call qword [sym.imp.msvcrt.dll__errno]
mov ecx, 0x273f
mov dword [rax], 0x273f
call sym.libvlccore.dll_vlc_strerror_c
lea rcx, [0x14018b58b]
mov qword [rsp + 0x38], rax
mov r8, qword [str.main]
lea rax, str.net_SetMcastHopLimit
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_network_udp.c
mov dword [rsp + 0x20], 0xe7
mov qword [rsp + 0x30], rcx
mov edx, 2
mov rcx, rbp
mov qword [rsp + 0x28], rax
call sym.libvlccore.dll_vlc_Log
lea r12, [rsp + 0x88]
lea rdx, str.miface
mov r9, r12
mov r8d, 0x40
mov rcx, rbp
call sym.libvlccore.dll_var_Inherit
test eax, eax
jne 0x14008b6c9
mov r14, qword [rsp + 0x88]
test r14, r14
je 0x14008b6c9
cmp byte [r14], 0
je 0x14008b6c1
mov r8d, dword [rbx + 4]
mov rcx, r14
mov dword [rsp + 0x58], r8d
call sub.msvcrt.dll_atoi
test eax, eax
mov dword [rsp + 0x88], eax
je 0x14008ba55
cmp dword [rsp + 0x58], 0x17
jne 0x14008b940
mov dword [rsp + 0x20], 4
mov r9, r12
mov r8d, 9
mov edx, 0x29
mov rcx, rsi
call r15
test eax, eax
mov r10, qword [sym.imp.msvcrt.dll__errno]
jne 0x14008b95a
mov rcx, r14
call fcn.14016b6d8
lea rdx, str.dscp
mov r9, r12
mov r8d, 0x30
mov rcx, rbp
xor r12d, r12d
call sym.libvlccore.dll_var_Inherit
test eax, eax
jne 0x14008b6f1
movzx r12d, byte [rsp + 0x88]
mov dword [rsp + 0x7c], pe_nt_image_headers64
lea rdx, [rsp + 0xc0]
lea r8, [rsp + 0x7c]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x14008b736
movzx r8d, word [rsp + 0xc0]
cmp r8w, 2
je 0x14008b7a0
cmp r8w, 0x17
je 0x14008b770
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], 0x7b
mov rdx, qword [rbx + 0x20]
mov r8d, dword [rbx + 0x10]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x14008b9b0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2743
jne 0x14008b501
mov byte [rsp + 0x6f], 1
jmp 0x14008b563
mov r8d, 0x27
mov eax, 0x29
mov dword [rsp + 0x78], r12d
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x78]
mov edx, eax
mov rcx, rsi
call r15
jmp 0x14008b736
mov r8d, 3
jmp 0x14008b77b
mov r14d, 0x29
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x74]
mov r8d, 0xa
mov edx, r14d
mov rcx, rsi
lea r12, [rsp + 0x88]
call r15
test eax, eax
jns 0x14008b63c
mov rdx, qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov qword [rsp + 0x58], rdx
call rdx
mov ecx, eax
call sym.libvlccore.dll_vlc_strerror_c
mov r8d, dword [rsp + 0x74]
lea r9, str.cannot_set_hop_limit___d_:__s
lea r10, str.net_SetMcastHopLimit
mov qword [rsp + 0x40], rax
mov edx, 3
mov rcx, rbp
mov qword [rsp + 0x30], r9
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_network_udp.c
mov qword [rsp + 0x28], r10
mov dword [rsp + 0x38], r8d
mov r8, qword [str.main]
mov dword [rsp + 0x20], 0xf1
call sym.libvlccore.dll_vlc_Log
cmp dword [rsp + 0x74], 0xff
mov r11d, 0xff
mov rcx, rsi
cmovle r11d, dword [rsp + 0x74]
mov dword [rsp + 0x20], 1
mov r9, r12
mov r8d, 0xa
mov edx, r14d
mov byte [rsp + 0x88], r11b
call r15
test eax, eax
mov rcx, qword [rsp + 0x58]
je 0x14008b63c
call rcx
mov ecx, eax
lea r14, str.cannot_set_hop_limit___d_:__s
call sym.libvlccore.dll_vlc_strerror_c
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0x74]
lea rdx, str.net_SetMcastHopLimit
mov r8, qword [str.main]
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_network_udp.c
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], rdx
mov dword [rsp + 0x20], 0xf6
mov edx, 1
mov dword [rsp + 0x38], eax
mov rcx, rbp
call sym.libvlccore.dll_vlc_Log
jmp 0x14008b63c
xor r14d, r14d
jmp 0x14008b7b6
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
cmp byte [rsp + 0x6f], 0
jne 0x14008b9c3
mov edi, 0xffffffff
mov rbp, qword [0x140285110]
mov eax, edi
mov rsi, qword [rsp + 0x148]
xor rsi, qword [rbp]
jne 0x14008bb0d
add rsp, 0x158
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
mov r9, qword [sym.imp.msvcrt.dll__errno]
mov qword [rsp + 0x58], r9
call r9
mov r10, qword [rsp + 0x58]
mov dword [rax], 0x273f
call r10
mov ecx, dword [rax]
call sym.libvlccore.dll_vlc_strerror_c
lea r11, str.cannot_force_multicast_interface__s:__s
lea rcx, str.net_SetMcastOut
mov r8, qword [str.main]
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_network_udp.c
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], r11
mov edx, 1
mov dword [rsp + 0x20], 0x121
mov rcx, rbp
call sym.libvlccore.dll_vlc_Log
jmp 0x14008b6c1
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x14008b90e
mov esi, dword [rsp + 0x1b0]
mov r13, qword [rsp + 0x60]
lea r11, str.net_ConnectDgram
lea r15, str.Host__s_port__d_is_unreachable
mov r8, qword [str.main]
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_network_udp.c
mov qword [rsp + 0x28], r11
mov dword [rsp + 0x20], 0x24e
mov edx, 1
mov dword [rsp + 0x40], esi
mov qword [rsp + 0x38], r13
mov rcx, rbp
mov qword [rsp + 0x30], r15
mov edi, 0xffffffff
call sym.libvlccore.dll_vlc_Log
jmp 0x14008b90e
lea r9, [rsp + 0x88]
lea rdx, [0x14018b550]
mov r8d, 0x30
mov rcx, rbp
mov esi, 0
call sym.libvlccore.dll_var_Inherit
test eax, eax
cmove esi, dword [rsp + 0x88]
mov dword [rsp + 0x1b8], esi
jmp 0x14008b466
lea rax, str.invalid_multicast_interface:__s
lea rdx, str.net_SetMcastOut
mov r8, qword [str.main]
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_network_udp.c
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x20], 0x105
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov edx, 1
mov rcx, rbp
call sym.libvlccore.dll_vlc_Log
jmp 0x14008b6c1
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_freeaddrinfo]
jmp 0x14008b909
mov ecx, eax
lea r12, str.net_ConnectDgram
mov edi, 0xffffffff
call fcn.1400e7ef0
mov ecx, dword [rsp + 0x1b0]
mov qword [rsp + 0x48], rax
lea rdx, str.cannot_resolve___s_:_d_:__s
mov rax, qword [rsp + 0x60]
mov r8, qword [str.main]
lea r9, str._builds_videolan_vlc_extras_package_win32_.._.._.._src_network_udp.c
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], r12
mov edx, 1
mov dword [rsp + 0x40], ecx
mov dword [rsp + 0x20], 0x21a
mov rcx, rbp
mov qword [rsp + 0x38], rax
call sym.libvlccore.dll_vlc_Log
jmp 0x14008b90e
call fcn.1400c4ec0
nop
nop dword [rax]
nop word cs:[rax + rax]