Function at 0x1400461f0
Capabilities:
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x1400a8010]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rbx, rcx
mov sil, 1
mov eax, 1
xchg byte [rcx + 0x98], al
lea rcx, vtable.std::_Func_impl_no_alloc_class__lambda_5750d679e545c4fac735689bda97e618___void___.0
mov qword [rbp - 0x79], rcx
mov qword [rbp - 0x71], rbx
lea rax, [rbp - 0x79]
mov qword [rbp - 0x41], rax
xor edi, edi
mov qword [rbp + 0x1f], rdi
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x79]
call qword [method.std::_Func_impl_no_alloc_class__lambda_5750d679e545c4fac735689bda97e618___void___.virtual_0]
mov qword [rbp + 0x1f], rax
mov rcx, qword [rbp - 0x41]
test rcx, rcx
je 0x14004627d
mov rax, qword [rcx]
lea rdx, [rbp - 0x79]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov ecx, edi
mov qword [rbp - 0x41], rcx
mov byte [rbp + 0x27], sil
test rcx, rcx
je 0x14004629a
mov rax, qword [rcx]
lea rdx, [rbp - 0x79]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov qword [rbp - 0x41], rdi
mov rcx, qword [rbx + 0x40]
test rcx, rcx
jne 0x1400462aa
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
int3
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rbp - 0x21], rax
mov rax, qword [rbx + 0x48]
cmp rax, 0xffffffffffffffff
je 0x140046370
movabs r14, 0x20c49ba5e353f7cf
lea r15, vtable.std::_Func_impl_no_alloc_class__lambda_f96494d07fbcb6e23ee4eeb78b46c56c___void___.0
mov rcx, qword [rbx + 0x48]
mov r8, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x80]
call fcn.14003b6a0
test rax, rax
jne 0x1400462fe
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
call qword [rax + 0x18]
jmp 0x140046471
mov rcx, qword [rbx + 0x48]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.WS2_32.dll_accept]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x1400463aa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0x18
jne 0x14004633b
mov qword [rbp - 0x29], 1
lea rcx, [rbp - 0x29]
call fcn.14006e6a0
jmp 0x140046471
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
je 0x140046471
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0xb
je 0x140046471
mov rax, qword [rbx + 0x48]
cmp rax, 0xffffffffffffffff
je 0x140046370
mov rcx, qword [rbx + 0x48]
call qword [sym.imp.WS2_32.dll_closesocket]
xor sil, sil
mov rbx, qword [rbp - 0x21]
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 + 0x27], 0
je 0x14004648a
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
jne 0x140046484
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_function_call_void_]
nop
mov rax, r14
imul qword [rbx + 0x68]
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, dword [rbx + 0x60], 0x3e8
add edx, eax
mov dword [rbp - 0x29], edx
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x29]
mov edx, 0xffff
mov r8d, 0x1006
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, r14
imul qword [rbx + 0x78]
sar rdx, 7
mov rax, rdx
shr rax, 0x3f
add rdx, rax
imul eax, dword [rbx + 0x70], 0x3e8
add edx, eax
mov dword [rbp - 0x29], edx
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x29]
mov edx, 0xffff
mov r8d, 0x1005
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], rdi
mov qword [rbp - 0x79], r15
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rbp - 0x71], xmm0
lea rax, [rbp - 0x79]
mov qword [rbp - 0x41], rax
mov rcx, qword [rbp - 0x21]
mov rax, qword [rcx]
lea rdx, [rbp - 0x79]
call qword [rax + ioctlsocket]
test al, al
jne 0x140046471
mov edx, 2
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_shutdown]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rax, qword [rbx + 0x48]
cmp rax, 0xffffffffffffffff
je 0x140046370
jmp 0x1400462d3
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [rbp + 0x1f]
test rcx, rcx
je 0x1400464a5
mov r8, qword [rcx]
lea rax, [rbp - 0x19]
cmp rcx, rax
setne dl
call qword [r8 + 0x20]
nop
movzx eax, sil
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140083df0
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret