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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 7]
sub rsp, 0x90
mov rax, qword [0x1402e8ed8]
xor rax, rsp
mov qword [rbp - 9], rax
and dword [rbp - 0x49], 0
mov r15d, 1
mov rdi, r9
movsxd rsi, edx
mov r14, rcx
mov dword [rbp - 0x45], r15d
lea eax, [r15 + 0x1b]
mov dword [rbp - 0x41], eax
cmp word [r9], r15w
jne 0x1400939a9
xor eax, eax
jmp 0x140093c39
lea r9, [rbp - 0x31]
mov edx, 8
lea r8, [rbp - 0x39]
mov ecx, 0xc0
call fcn.140098eb8
mov rax, qword [rbp - 0x31]
lea rcx, str.ILibAsyncServerSocket
mov rbx, qword [rbp - 0x39]
mov qword [rbx + 0x28], rax
call fcn.140098914
mov qword [rbx + 0x30], rax
lea rcx, [rsi*8]
lea rax, [0x1400934ac]
mov qword [rbx + 0x20], r14
mov qword [rbx], rax
lea rax, [0x140093514]
mov qword [rbx + 8], rax
lea rax, [0x140093744]
mov qword [rbx + 0x10], rax
lea rax, [0x140077370]
mov qword [rbx + 0x78], rax
lea rax, [0x140077750]
mov qword [rbx + 0x80], rax
lea rax, [fcn.1400014e0]
mov qword [rbx + 0x88], rax
lea rax, [0x140077820]
mov qword [rbx + 0x90], rax
lea rax, [0x140077790]
mov qword [rbx + 0x70], rax
mov dword [rbx + 0x40], esi
call fcn.1401d7f54
mov qword [rbx + 0x48], rax
test rax, rax
jne 0x140093a8a
mov rcx, rbx
call fcn.1401d6b80
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 0xfd
lea rdx, str.C:UsersDELLDesktopProjektySUPMANMeshAgentmicrostackILibAsyncServerSocket.c
mov r8d, 0x28c
mov dword [rsp + 0x20], eax
xor ecx, ecx
call fcn.1400a1918
jmp 0x1400939a2
cmp word [rdi], r15w
jne 0x140093abf
xor r8d, r8d
mov edx, r15d
mov ecx, r15d
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbx + 0x58], rax
cmp rax, 0xffffffffffffffff
jne 0x140093b19
mov rcx, qword [rbx + 0x48]
call fcn.1401d6b80
mov rcx, rbx
call fcn.1401d6b80
jmp 0x1400939a2
movzx ecx, word [rdi + 2]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rbx + 0x60], ax
mov r8d, 6
mov word [rbx + 0x62], ax
mov edx, r15d
movzx ecx, word [rdi]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbx + 0x58], rax
cmp rax, 0xffffffffffffffff
je 0x140093aa9
cmp word [rdi], 0x17
jne 0x140093b19
mov edx, 0x29
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x49]
mov rcx, rax
lea r8d, [rdx - 0xe]
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x140093c5c
mov rcx, qword [rbx + 0x58]
lea r9, [rbp - 0x45]
mov edx, 0xffff
mov dword [rsp + 0x20], 4
mov r8d, 0xfffffffb
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x140093c89
cmp word [rdi], 0x17
lea r8d, [rax + 0x10]
mov rcx, qword [rbx + 0x58]
lea eax, [r8 + 0xc]
cmove r8d, eax
mov rdx, rdi
call qword [sym.imp.WS2_32.dll_bind]
mov rcx, qword [rbx + 0x58]
test eax, eax
je 0x140093b72
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x140093aa9
lea r8, [rbp - 0x41]
lea rdx, [rbp - 0x29]
call qword [sym.imp.WS2_32.dll_getsockname]
cmp word [rdi], r15w
je 0x140093b94
movzx ecx, word [rbp - 0x27]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rbx + 0x60], ax
test rsi, rsi
jle 0x140093c01
xor edi, edi
lea rax, [0x1400938a0]
mov dword [rsp + 0x30], 8
mov qword [rsp + 0x28], rax
lea r9, [0x140093810]
lea rax, [0x140093848]
mov edx, 0x1000
lea r8, [0x140093778]
mov qword [rsp + 0x20], rax
mov rcx, r14
call fcn.140093e1c
mov rcx, qword [rbx + 0x48]
mov qword [rcx + rdi*8], rax
mov rax, qword [rbx + 0x48]
mov rcx, qword [rax + rdi*8]
test rcx, rcx
je 0x140093bf9
lea rax, [0x1400938cc]
mov qword [rcx + 0x230], rax
add rdi, r15
cmp rdi, rsi
jl 0x140093b9b
mov dword [rbp - 0x3d], r15d
lea r8, [rbp - 0x3d]
mov rcx, qword [rbx + 0x58]
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rcx, qword [rbx + 0x58]
mov edx, 4
mov dword [rbx + 0x64], r15d
call qword [sym.imp.WS2_32.dll_listen]
mov rdx, rbx
mov rcx, r14
call fcn.1400994a8
mov rax, rbx
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.1401c9740
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
and dword [rsp + 0x20], 0
lea rdx, str.C:UsersDELLDesktopProjektySUPMANMeshAgentmicrostackILibAsyncServerSocket.c
mov r9d, eax
mov r8d, 0x29b
xor ecx, ecx
call fcn.1400a1918
mov ecx, 0xfd
call fcn.1401d00dc
int3
call qword [sym.imp.KERNEL32.dll_GetLastError]
and dword [rsp + 0x20], 0
lea rdx, str.C:UsersDELLDesktopProjektySUPMANMeshAgentmicrostackILibAsyncServerSocket.c
mov r9d, eax
mov r8d, 0x2a6
xor ecx, ecx
call fcn.1400a1918
mov ecx, 0xfd
call fcn.1401d00dc
int3