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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x140205108]
xor rax, rsp
mov qword [rbp + 0x200], rax
mov rdi, rcx
mov r14b, 1
mov eax, 1
xchg byte [rcx + 0x98], al
lea rcx, vtable.std::_Func_impl_no_alloc_class__lambda_5750d679e545c4fac735689bda97e618___void___.0
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x68], rdi
lea rax, [rsp + 0x60]
mov qword [rbp - 0x68], rax
xor ebx, ebx
mov qword [rbp - 0x28], rbx
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x60]
call qword [method.std::_Func_impl_no_alloc_class__lambda_5750d679e545c4fac735689bda97e618___void___.virtual_0]
mov qword [rbp - 0x28], rax
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140072146
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov ecx, ebx
mov qword [rbp - 0x68], rbx
mov byte [rbp - 0x20], r14b
test rcx, rcx
je 0x140072164
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp - 0x68], rbx
mov rcx, qword [rdi + 0x40]
test rcx, rcx
je 0x1400723d9
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi + 0x48]
nop
cmp rax, 0xffffffffffffffff
je 0x140072287
movabs r15, 0x20c49ba5e353f7cf
lea r12, vtable.std::_Func_impl_no_alloc_class__lambda_f96494d07fbcb6e23ee4eeb78b46c56c___void___.0
nop dword [rax]
mov rsi, qword [rdi + 0x48]
nop
mov rcx, qword [rdi + 0x88]
mov rax, qword [rdi + 0x80]
mov qword [rbp - 8], rsi
mov dword [rbp - 0x10], 1
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x44], ecx
nop word [rax + rax]
lea ecx, [rsi + 1]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x10]
call qword [sym.imp.WS2_32.dll_select]
movsxd rbx, eax
test eax, eax
jns 0x1400721fe
call fcn.14017e884
cmp dword [rax], 4
je 0x1400721d0
test rbx, rbx
jne 0x140072213
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x18]
jmp 0x1400723bf
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 0x140072307
call fcn.14017e884
cmp dword [rax], 0x18
jne 0x140072252
mov qword [rsp + 0x30], 1
lea rcx, [rsp + 0x30]
call fcn.1400301d0
jmp 0x1400723bf
call fcn.14017e884
cmp dword [rax], 4
je 0x1400723bf
call fcn.14017e884
cmp dword [rax], 0xb
je 0x1400723bf
mov rax, qword [rdi + 0x48]
nop
cmp rax, 0xffffffffffffffff
je 0x140072287
mov rcx, qword [rdi + 0x48]
nop
call qword [sym.imp.WS2_32.dll_closesocket]
xor r14b, r14b
mov rbx, qword [rsp + 0x38]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
cmp byte [rbp - 0x20], 0
je 0x1400722bd
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1400723d3
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1400722d8
mov r8, qword [rcx]
lea rax, [rbp - 0x60]
cmp rcx, rax
setne dl
call qword [r8 + 0x20]
nop
movzx eax, r14b
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1401677c0
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov rax, r15
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 [rsp + 0x30], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov r8d, 0x1006
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, r15
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 [rsp + 0x30], edx
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov r8d, 0x1005
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], r12
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsp + 0x68], xmm0
lea rax, [rsp + 0x60]
mov qword [rbp - 0x68], rax
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
lea rdx, [rsp + 0x60]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [rdi + 0x48]
nop
cmp rax, 0xffffffffffffffff
je 0x140072287
jmp 0x1400721a0
call fcn.140168c28
nop
call fcn.140168c28
int3