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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x1401900d0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r12, rcx
xor r13d, r13d
mov qword [rbp - 9], r13
call fcn.140107820
mov qword [rbp - 1], rax
lea r9, [rbp - 9]
lea edx, [r13 + 1]
lea r8d, [r13 + 6]
mov r14d, 2
mov ecx, r14d
call fcn.140072c10
mov rbx, rax
mov qword [rbp - 0x19], rax
cmp rax, 0xffffffffffffffff
jne 0x140073573
cmp dword [rbp - 9], r13d
jne 0x1400739f0
mov dword [rbp + 7], 1
call fcn.140107820
mov qword [rbp + 0x17], r13
mov word [rbp + 0xf], r14w
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp + 0x13], eax
mov word [rbp + 0x11], r13w
jmp 0x1400739d6
mov dword [rbp + 7], 1
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x20], 4
lea r9, [rbp + 7]
mov edx, 0xffff
mov r8d, 4
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.140107820
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test edi, edi
jne 0x14007361a
call fcn.140107820
mov qword [rbp + 0x17], r13
mov word [rbp + 0xf], r14w
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp + 0x13], eax
mov word [rbp + 0x11], r13w
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov r8d, setsockopt
lea rdx, [rbp + 0xf]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_bind]
mov esi, eax
call fcn.140107820
mov rdi, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 9], eax
mov qword [rbp - 1], rdi
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
test esi, esi
jne 0x140073642
call fcn.140107820
jmp 0x14007364f
mov qword [rbp + 0x17], r13
mov word [rbp + 0xf], r14w
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp + 0x13], eax
mov word [rbp + 0x11], r13w
cmp rbx, 0xffffffffffffffff
je 0x1400739d6
jmp 0x1400735d4
cmp esi, 0xffffffff
jne 0x14007364f
test eax, eax
jne 0x1400739f0
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rbp + 0x27], setsockopt
lea r8, [rbp + 0x27]
lea rdx, [rbp + 0xf]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockname]
mov esi, eax
movsxd r15, dword [rbp + 0x27]
call fcn.140107820
mov rdi, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 9], eax
mov qword [rbp - 1], rdi
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
test esi, esi
jne 0x14007369e
call fcn.140107820
jmp 0x1400736ab
cmp esi, 0xffffffff
jne 0x1400736ab
test eax, eax
jne 0x1400739f0
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_htonl]
cmp dword [rbp + 0x13], eax
jne 0x1400736c6
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp + 0x13], eax
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov edx, 0x7fffffff
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_listen]
mov esi, eax
call fcn.140107820
mov rdi, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 9], eax
mov qword [rbp - 1], rdi
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
test esi, esi
jne 0x14007373e
mov dword [rbp - 9], r13d
call fcn.140107820
mov qword [rbp - 1], rax
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
lea r9, [rbp - 9]
mov edx, 1
lea r8d, [rdx + 5]
mov ecx, r14d
call fcn.140072c10
mov r14, rax
mov qword [rbp + 0x27], rax
cmp rax, 0xffffffffffffffff
je 0x140073a01
jmp 0x14007374d
cmp esi, 0xffffffff
jne 0x140073716
test eax, eax
jne 0x1400739f0
jmp 0x140073716
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov r8d, r15d
lea rdx, [rbp + 0xf]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_connect]
mov esi, eax
call fcn.140107820
mov rdi, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 9], eax
mov qword [rbp - 1], rdi
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
test esi, esi
jne 0x1400738bd
call fcn.140107820
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_accept]
mov rsi, rax
call fcn.140107820
mov rdi, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 9], eax
mov qword [rbp - 1], rdi
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
cmp rsi, 0xffffffffffffffff
je 0x1400737e8
mov dword [rbp - 9], r13d
call fcn.140107820
mov qword [rbp - 1], rax
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
mov eax, r13d
mov qword [rbp - 0x21], rsi
cmp rsi, 0xffffffffffffffff
jne 0x1400737fa
test eax, eax
jne 0x140073a4a
mov dword [rbp + 0x1f], 1
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r8, [rbp + 0x1f]
mov edx, 0x8004667e
mov rcx, r14
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov r15d, eax
call fcn.140107820
mov rdi, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 9], eax
mov qword [rbp - 1], rdi
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
test r15d, r15d
js 0x14007385d
mov dword [rbp - 9], r13d
call fcn.140107820
mov qword [rbp - 1], rax
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
mov eax, r13d
test r15d, r15d
je 0x140073867
test eax, eax
jne 0x140073a4a
mov dword [rbp + 7], 1
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x20], 4
lea r9, [rbp + 7]
mov edx, 6
lea r8d, [rdx - 5]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.140107820
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test edi, edi
jne 0x1400738aa
call fcn.140107820
mov dword [rbp + 0x1f], 1
cmp rsi, 0xffffffffffffffff
je 0x140073a31
jmp 0x1400738d3
cmp esi, 0xffffffff
jne 0x140073792
test eax, eax
jne 0x140073a20
jmp 0x140073792
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r8, [rbp + 0x1f]
mov edx, 0x8004667e
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov r15d, eax
call fcn.140107820
mov rdi, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 9], eax
mov qword [rbp - 1], rdi
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
test r15d, r15d
js 0x14007392f
mov dword [rbp - 9], r13d
call fcn.140107820
mov qword [rbp - 1], rax
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
mov eax, r13d
test r15d, r15d
je 0x140073939
test eax, eax
jne 0x140073a4a
mov dword [rbp + 7], 1
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x20], 4
lea r9, [rbp + 7]
mov edx, 6
lea r8d, [rdx - 5]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.140107820
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test edi, edi
jne 0x14007397c
call fcn.140107820
mov qword [r12], rsi
mov qword [r12 + 8], r14
mov qword [rbp - 9], r13
call fcn.140107820
mov qword [rbp - 1], rax
mov byte [rbp - 0x29], 0
lea r9, [rbp - 9]
mov r8b, 1
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.140072830
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140105820
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140107820
nop
mov dword [rbp - 9], 0x2719
mov qword [rbp - 1], rax
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 9]
call fcn.140013ee0
nop
cmp dword [rbp - 9], 0
jne 0x140073a20
call fcn.140107820
mov dword [rbp - 9], 0x2719
mov qword [rbp - 1], rax
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 9]
call fcn.140013ee0
nop
call fcn.140107820
mov dword [rbp - 9], 0x2719
mov qword [rbp - 1], rax
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 9]
call fcn.140013ee0
int3