Function at 0x1400240b0
Capabilities:
Set socket configuration

Disassembly:
endbr64
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xb8
mov r12, qword [0x14013cc10]
mov rsi, rcx
mov rcx, qword [rdx + 8]
mov rbx, rdx
mov edi, r8d
mov rax, qword [r12]
mov qword [rsp + 0xa8], rax
xor eax, eax
mov rbp, r9
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
cmp rcx, 0xffffffffffffffff
je 0x140024378
lea r9, [rsp + 0x3c]
mov r8d, 1
mov edx, 6
mov dword [rsp + 0x20], 4
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x140024290
mov rcx, qword [rbx + 0xa0]
test edi, edi
je 0x140024210
cmp byte [rsi + 0x79], 0
je 0x140024240
cmp edi, 1
jne 0x140024165
mov rax, qword [rsi]
cmp qword [rsi + 8], rax
je 0x140024368
call sym.SSL_get_verify_callback
mov rcx, qword [rbx + 0xa0]
mov edx, 3
mov r8, rax
call sym.SSL_set_verify
mov ecx, 0x18
call sym.operator_new_unsigned_long_long_
mov rcx, qword [rbx + 0xa0]
xor edx, edx
mov rdi, rax
lea rax, fcn.14001f130
mov qword [rdi], rax
mov qword [rdi + 8], rsi
mov qword [rdi + 0x10], rbp
call sym.SSL_get_ex_data
test rax, rax
je 0x1400241cc
mov rcx, qword [rbx + 0xa0]
xor edx, edx
call sym.SSL_get_ex_data
mov rcx, rax
test rax, rax
je 0x1400241cc
mov rax, qword [rax]
call qword [rax + 8]
mov rcx, qword [rbx + 0xa0]
xor edx, edx
mov r8, rdi
call sym.SSL_set_ex_data
mov rcx, qword [rbx + 0xa0]
call sym.SSL_get_verify_mode
mov edx, eax
mov rax, qword [rsp + 0xa8]
sub rax, qword [r12]
jne 0x1400243c6
mov rcx, qword [rbx + 0xa0]
lea r8, [method.boost::asio::ssl::detail::engine.verify_callback_function_int__x509_store_ctx_st_]
jmp 0x140024263
cmp qword [rbp + 8], 0
je 0x140024280
test rcx, rcx
je 0x140024280
mov r9, qword [rbp]
xor r8d, r8d
mov edx, 0x37
call sym.SSL_ctrl
cmp byte [rsi + 0x79], 0
mov rcx, qword [rbx + 0xa0]
jne 0x140024165
nop
call sym.SSL_get_verify_callback
mov r8, rax
mov rax, qword [rsp + 0xa8]
sub rax, qword [r12]
jne 0x1400243c6
mov rcx, qword [rbx + 0xa0]
xor edx, edx
add rsp, 0xb8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
jmp sym.SSL_set_verify
cmp byte [rsi + 0x79], 0
jne 0x140024165
jmp 0x140024240
lea r13, [rsp + 0x60]
mov rcx, r13
call method.boost::asio::detail::socket_ops.get_last_error_boost::system::error_code__bool___clone_.part.0_
mov rax, qword [rsp + 0x70]
mov rdx, rax
and edx, 1
movdqu xmm1, xmmword [rsp + 0x60]
movups xmmword [rsp + 0x80], xmm1
cmp rax, 1
jbe 0x1400242cc
lea rax, str.C:_msys64_mingw64_include_boost_asio_detail_win_iocp_socket_service.hpp
or rax, rdx
mov rdx, rax
and edx, 1
lea rcx, str.set_option_boost::asio::detail::socket_option::boolean_6__1___
lea r10, str.C:_msys64_mingw64_include_boost_asio_basic_socket.hpp
movdqu xmm2, xmmword [rsp + 0x80]
mov qword [rsp + 0x90], rax
movq xmm0, r10
movq xmm3, rcx
mov qword [rsp + 0x70], rax
punpcklqdq xmm0, xmm3
movups xmmword [rsp + 0x60], xmm2
mov qword [rsp + 0x50], 0x408
movups xmmword [rsp + 0x40], xmm0
test rdx, rdx
je 0x14002413a
cmp rax, 1
jne 0x140024330
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14002413a
nop dword [rax]
lea rbx, [rsp + 0x80]
lea r8, str.set_option
mov rdx, r13
mov rcx, rbx
call method.boost::system::system_error.system_error_boost::system::error_code_const__char_const_
mov rax, qword [rsp + 0xa8]
sub rax, qword [r12]
jne 0x1400243c6
lea rdx, [rsp + 0x40]
mov rcx, rbx
call method.void_boost::throw_exception_boost::system.system_error__boost::system::system_error_const__boost::source_location_const_
nop dword [rax]
cmp qword [rsi + 0x20], 0
jne 0x140024165
jmp 0x140024240
lea r13, [rsp + 0x60]
mov edx, 0x2719
mov rcx, r13
call sym._ZN5boost6system10error_codeaSINS_4asio5error12basic_errorsEEERNS0_6detail9enable_ifIXsrNS0_18is_error_code_enumIT_EE5valueES1
mov rax, qword [rsp + 0x70]
mov rdx, rax
and edx, 1
jmp 0x1400242a8
call dbg.__stack_chk_fail
mov rcx, rsi
call sym._Unwind_Resume
nop
nop word cs:[rax + rax]
nop