Function at 0x14006c0c0
Capabilities:
Get socket status
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 - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x1400a8580]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rdi, rcx
mov r14b, 1
mov eax, 1
xchg byte [rcx + 0xb0], al
mov rcx, qword [rcx + 0x40]
test rcx, rcx
je 0x14006c364
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + 0x48]
nop
cmp rax, 0xffffffffffffffff
je 0x14006c305
movabs r12, 0x7ffffffffff0bdbf
movabs r15, 0x7fffffffffffffff
movabs r13, 0x20c49ba5e353f7cf
nop
mov rdx, qword [rdi + 0x48]
nop
mov rcx, qword [rdi + 0x88]
mov rax, qword [rdi + 0x80]
mov qword [rbp - 0x58], rdx
mov dword [rbp - 0x60], 1
mov dword [rbp - 0x68], eax
mov dword [rbp - 0x64], ecx
lea esi, [rdx + 1]
nop word [rax + rax]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x60]
mov ecx, esi
call qword [sym.imp.WS2_32.dll_select]
mov ebx, eax
test eax, eax
jns 0x14006c1ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x14006c180
test ebx, ebx
jne 0x14006c1c0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x18]
jmp 0x14006c2db
mov rcx, qword [rdi + 0x48]
nop
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WS2_32.dll_accept]
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14006c22a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0x18
jne 0x14006c2ec
lea rcx, [rsp + 0x40]
call fcn.140045df0
mov rax, qword [rsp + 0x40]
cmp rax, r12
jge 0x14006c216
add rax, 0xf4240
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.140018b00
jmp 0x14006c2db
mov qword [rsp + 0x38], r15
lea rcx, [rsp + 0x38]
call fcn.140018b00
jmp 0x14006c2db
mov rax, r13
imul qword [rdi + 0x68]
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, dword [rdi + 0x60], 0x3e8
add edx, eax
mov dword [rbp - 0x70], edx
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x70]
mov edx, 0xffff
mov r8d, 0x1006
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, r13
imul qword [rdi + 0x78]
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, dword [rdi + 0x70], 0x3e8
add edx, eax
mov dword [rbp - 0x6c], edx
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x6c]
mov edx, 0xffff
mov r8d, 0x1005
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
lea rax, vtable.std::_Func_impl_no_alloc_class__lambda_f96494d07fbcb6e23ee4eeb78b46c56c___void___.0
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], rbx
lea rax, [rsp + 0x50]
mov qword [rbp - 0x78], rax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rsp + 0x50]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rdi + 0x48]
nop
cmp rax, 0xffffffffffffffff
jne 0x14006c150
jmp 0x14006c305
mov rax, qword [rdi + 0x48]
nop
cmp rax, 0xffffffffffffffff
je 0x14006c305
mov rcx, qword [rdi + 0x48]
nop
call qword [sym.imp.WS2_32.dll_closesocket]
xor r14b, r14b
mov rbx, qword [rsp + 0x30]
mov r8, qword [rbx]
mov rcx, rbx
call qword [r8 + reloc.WS2_32.dll_recv]
nop
test rbx, rbx
je 0x14006c328
mov r8, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [r8]
xor ecx, ecx
xchg byte [rdi + 0xb0], cl
movzx eax, r14b
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400795e0
lea r11, [rsp + 0x2c0]
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 sub.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_
int3