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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x21], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140194020]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r12, rcx
xor r13d, r13d
mov qword [rbp - 9], r13
call fcn.1400e5a00
mov qword [rbp - 1], rax
lea r9, [rbp - 9]
lea edx, [r13 + 1]
lea r8d, [r13 + 6]
mov r15d, 2
mov ecx, r15d
call fcn.140044560
mov rbx, rax
mov qword [rbp - 0x19], rax
cmp rax, 0xffffffffffffffff
jne 0x14004504d
cmp dword [rbp - 9], r13d
jne 0x1400455c7
mov dword [rbp + 7], 1
cmp rbx, 0xffffffffffffffff
je 0x140045093
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.1400e5a00
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test edi, edi
jne 0x140045098
call fcn.1400e5a00
mov r14d, reloc.WS2_32.dll_recv
mov qword [rbp + 0x17], r13
mov word [rbp + 0xf], r15w
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp + 0x13], eax
mov word [rbp + 0x11], r13w
cmp rbx, 0xffffffffffffffff
jne 0x1400450db
call fcn.1400e5a00
mov dword [rbp - 9], 0x2719
mov qword [rbp - 1], rax
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
jmp 0x140045145
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov r8d, r14d
lea rdx, [rbp + 0xf]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_bind]
mov esi, eax
call fcn.1400e5a00
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 0x140045140
call fcn.1400e5a00
cmp rbx, 0xffffffffffffffff
jne 0x140045151
call fcn.1400e5a00
mov dword [rbp - 9], 0x2719
mov qword [rbp - 1], rax
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
jmp 0x1400451df
cmp esi, 0xffffffff
jne 0x14004511c
cmp dword [rbp - 9], 0
jne 0x140045583
jmp 0x14004511c
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rbp + 0x1f], r14d
lea r8, [rbp + 0x1f]
lea rdx, [rbp + 0xf]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_getsockname]
mov esi, eax
movsxd r14, dword [rbp + 0x1f]
call fcn.1400e5a00
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 0x1400451da
call fcn.1400e5a00
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_htonl]
cmp dword [rbp + 0x13], eax
jne 0x1400451b6
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp + 0x13], eax
cmp rbx, 0xffffffffffffffff
jne 0x1400451eb
call fcn.1400e5a00
mov dword [rbp - 9], 0x2719
mov qword [rbp - 1], rax
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
jmp 0x140045287
cmp esi, 0xffffffff
jne 0x14004519b
cmp dword [rbp - 9], 0
jne 0x140045594
jmp 0x14004519b
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.1400e5a00
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 0x140045282
mov dword [rbp - 9], r13d
call fcn.1400e5a00
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, r15d
call fcn.140044560
mov rdi, rax
mov qword [rbp + 0x1f], rax
cmp rax, 0xffffffffffffffff
jne 0x140045293
cmp dword [rbp - 9], 0
jne 0x1400455d8
call fcn.1400e5a00
mov dword [rbp - 9], 0x2719
mov qword [rbp - 1], rax
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
jmp 0x1400452f3
cmp esi, 0xffffffff
jne 0x14004523b
cmp dword [rbp - 9], 0
jne 0x1400455a5
jmp 0x14004523b
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov r8d, r14d
lea rdx, [rbp + 0xf]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_connect]
mov r14d, eax
call fcn.1400e5a00
mov rsi, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 9], eax
mov qword [rbp - 1], rsi
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
test r14d, r14d
jne 0x1400452ed
call fcn.1400e5a00
cmp rbx, 0xffffffffffffffff
jne 0x1400452ff
call fcn.1400e5a00
mov dword [rbp - 9], 0x2719
mov r14, rbx
jmp 0x140045345
cmp r14d, 0xffffffff
jne 0x1400452d6
cmp dword [rbp - 9], 0
jne 0x1400455b6
jmp 0x1400452d6
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 r14, rax
call fcn.1400e5a00
mov rsi, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 9], eax
mov qword [rbp - 1], rsi
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
cmp r14, 0xffffffffffffffff
je 0x140045352
mov dword [rbp - 9], r13d
call fcn.1400e5a00
mov qword [rbp - 1], rax
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
mov qword [rbp - 0x11], r14
cmp r14, 0xffffffffffffffff
jne 0x140045366
cmp dword [rbp - 9], 0
jne 0x1400455e9
mov dword [rbp + 0xb], 1
cmp rdi, 0xffffffffffffffff
jne 0x14004538e
call fcn.1400e5a00
mov dword [rbp - 9], 0x2719
mov qword [rbp - 1], rax
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
jmp 0x1400453e9
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r8, [rbp + 0xb]
mov edx, 0x8004667e
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov r15d, eax
call fcn.1400e5a00
mov rsi, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 9], eax
mov qword [rbp - 1], rsi
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
test r15d, r15d
js 0x1400453e7
mov dword [rbp - 9], r13d
call fcn.1400e5a00
mov qword [rbp - 1], rax
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
test r15d, r15d
je 0x1400453f3
cmp dword [rbp - 9], 0
jne 0x1400455fa
mov dword [rbp + 7], 1
cmp rdi, 0xffffffffffffffff
je 0x140045437
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, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov esi, eax
call fcn.1400e5a00
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
jne 0x14004543c
call fcn.1400e5a00
mov dword [rbp + 0xb], 1
cmp r14, 0xffffffffffffffff
jne 0x140045464
call fcn.1400e5a00
mov dword [rbp - 9], 0x2719
mov qword [rbp - 1], rax
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
jmp 0x1400454bf
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r8, [rbp + 0xb]
mov edx, 0x8004667e
mov rcx, r14
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov r15d, eax
call fcn.1400e5a00
mov rsi, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 9], eax
mov qword [rbp - 1], rsi
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
test r15d, r15d
js 0x1400454bd
mov dword [rbp - 9], r13d
call fcn.1400e5a00
mov qword [rbp - 1], rax
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 9], xmm0
test r15d, r15d
je 0x1400454c9
cmp dword [rbp - 9], 0
jne 0x140045572
mov dword [rbp + 7], 1
cmp r14, 0xffffffffffffffff
je 0x14004550d
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 esi, eax
call fcn.1400e5a00
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test esi, esi
jne 0x140045512
call fcn.1400e5a00
mov qword [r12], r14
mov qword [r12 + 8], rdi
cmp rbx, 0xffffffffffffffff
je 0x140045545
mov qword [rbp - 9], r13
call fcn.1400e5a00
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.140043f80
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400acdf0
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
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 9]
call fcn.14000af10
nop
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 9]
call fcn.14000af10
int3
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 9]
call fcn.14000af10
int3
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 9]
call fcn.14000af10
nop
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 9]
call fcn.14000af10
nop
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 9]
call fcn.14000af10
nop
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 9]
call fcn.14000af10
nop
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 9]
call fcn.14000af10
int3
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 9]
call fcn.14000af10
int3