Function at 0x180014e70
Capabilities:
Get socket status
Set socket configuration

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x480
mov rax, qword [0x180195940]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov qword [rsp + 0x30], rcx
mov rdi, r9
mov rcx, r8
mov r13, r8
mov rbx, rdx
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x1800150e1
mov eax, dword [r13 + 0x4c]
cmp eax, 0x7fffffff
je 0x18001503e
mov rcx, rbx
call fcn.1800254c0
mov rcx, r13
mov rbp, rax
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test rbp, rbp
je 0x1800150dc
mov rbx, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rcx, rbx
mov dword [rsp + 0x40], 1
mov edx, 0x8004667e
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor edx, edx
mov ecx, ebx
call fcn.180051630
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov rcx, rax
mov rbx, rax
lea edx, [r9 + 0x66]
lea r8d, [r9 + 1]
call fcn.180051830
mov r8, rbx
mov rdx, rbx
mov rcx, rbp
call fcn.180025bb0
mov rcx, qword [rdi + 8]
mov r14, qword [rcx + 0x68]
mov r15, qword [rcx + 0x60]
mov rcx, qword [rdi]
mov rsi, qword [rcx]
mov rcx, rbp
call fcn.180024950
cmp eax, 1
je 0x1800150ab
mov edx, eax
mov rcx, rbp
call fcn.180025220
sub eax, 2
je 0x180014fc0
cmp eax, 1
jne 0x18001501a
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x44], r14d
nop dword [rax]
nop dword [rax + rax]
lea rax, [rsp + 0x40]
xor r9d, r9d
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor edx, edx
lea ecx, [rsi + 1]
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test eax, eax
jns 0x180015012
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x180014f90
jmp 0x180015012
mov qword [rsp + 0x268], rsi
mov dword [rsp + 0x260], 1
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x4c], r14d
nop dword [rax]
lea rax, [rsp + 0x48]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x260]
lea ecx, [rsi + 1]
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test eax, eax
jns 0x180015012
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x180014fe0
test ebx, ebx
jg 0x180014f48
mov rcx, rbp
call fcn.180025e10
mov rcx, r13
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
jne 0x1800150e1
mov eax, dword [r13 + 0x4c]
cmp eax, 0x7fffffff
jne 0x180015050
dec eax
mov ecx, 6
mov dword [r13 + 0x4c], eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov rcx, rbp
call fcn.180024f00
mov rcx, r13
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov edx, 0x8004667e
mov dword [rsp + 0x40], 0
call qword [sym.imp.WS2_32.dll_ioctlsocket]
xor eax, eax
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.18010eb20
mov rbx, qword [rsp + 0x4d0]
add rsp, 0x480
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rsp + 0x38]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x66]
call fcn.180051830
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
mov edx, 0x8004667e
mov dword [rsp + 0x40], 0
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov rax, rbp
jmp 0x180015080
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3