Function at 0x14006d5b0
Capabilities:
Query environment variable
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 - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x1402cf480]
xor rax, rsp
mov qword [rbp + 0xb0], rax
mov r15, rcx
xor r12d, r12d
mov rdx, qword [rcx + 0x30]
call fcn.140064ec0
cmp dword [rax + 4], r12d
je 0x14006db29
mov rdx, qword [r15 + 0x30]
call fcn.140064ec0
mov edx, reloc.WS2_32.dll_ntohs
mov ecx, reloc.WS2_32.dll_send
cmp dword [rax + 4], 1
cmovne edx, ecx
lea rcx, [rsp + 0x58]
call fcn.14006bb30
nop
mov rdi, qword [r15 + 0x268]
mov ecx, 0x170
call fcn.1401fb140
mov r14, rax
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_boost::asio::ssl::stream_class_boost::asio::basic_stream_socket_class_boost::asio::ip::tcp___.0
mov qword [r14], rax
lea rsi, [r14 + 0x10]
mov qword [rsp + 0x38], rsi
lea rbx, [rsi + 8]
mov qword [rsp + 0x50], rbx
mov rdx, rdi
mov rcx, rbx
call fcn.14007f610
nop
mov r8, qword [rbx]
lea rcx, [rsi + 0x70]
mov r8, qword [r8 + 0x18]
mov rdx, qword [rsp + 0x60]
call fcn.14006c630
nop
mov qword [r15 + 0x2b0], rsi
mov rbx, qword [r15 + 0x2b8]
mov qword [r15 + 0x2b8], r14
lea edi, [r12 - 1]
test rbx, rbx
je 0x14006d6d3
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14006d6d3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14006d6d3
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [r15 + 0x2b0]
add rax, 8
mov qword [r15 + 0x280], rax
lea rcx, str.SSL_NOVERIFY
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rbx, qword [r15 + 0x2b0]
test rax, rax
je 0x14006d738
call fcn.1400b35b0
mov rcx, qword [rbx + 0x70]
call fcn.1400c2810
mov r8, rax
xor edx, edx
mov rcx, qword [rbx + 0x70]
call fcn.1400c33c0
mov dword [rsp + 0x40], r12d
call fcn.1400b35b0
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x70], xmm0
jmp 0x14006d91c
call fcn.1400b35b0
mov rcx, qword [rbx + 0x70]
call fcn.1400c2810
mov r8, rax
mov edx, 1
mov rcx, qword [rbx + 0x70]
call fcn.1400c33c0
mov dword [rsp + 0x40], r12d
call fcn.1400b35b0
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp + 0x80], xmm0
mov rdx, qword [r15 + 0x30]
add rdx, 0xc0
lea rcx, [rbp + 0x90]
call fcn.140032a90
nop
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x20]
call fcn.140032a90
lea rax, [rbp + 0x20]
mov qword [rsp + 0x50], rax
lea rdx, [rbp + 0x20]
lea rcx, [rbp]
call fcn.140032a90
lea rax, [rbp]
mov qword [rsp + 0x38], rax
lea rdx, [rbp]
lea rcx, [rbp - 0x20]
call fcn.140032a90
nop
lea rcx, [rbp]
call fcn.140033f30
nop
lea rcx, [rbp + 0x20]
call fcn.140033f30
lea rax, [rbp - 0x20]
mov qword [rsp + 0x50], rax
mov rbx, qword [r15 + 0x2b0]
call fcn.1400b35b0
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.140032a90
lea rax, [rbp - 0x40]
mov qword [rsp + 0x38], rax
mov ecx, 0x28
call fcn.1401fb140
mov rsi, rax
mov qword [rsp + 0x78], rax
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.140032a90
lea rax, [rbp - 0x60]
mov qword [rbp - 0x70], rax
lea rax, vtable.boost::asio::ssl::detail::verify_callback_class_verbose_verification_class_boost::asio::ssl::rfc2818_verification__.0
mov qword [rsi], rax
lea rcx, [rsi + 8]
mov qword [rsp + 0x40], rcx
lea rdx, [rbp - 0x60]
call fcn.140032a90
nop
lea rcx, [rbp - 0x60]
call fcn.140033f30
nop
xor edx, edx
mov rcx, qword [rbx + 0x70]
call fcn.1400c27c0
test rax, rax
je 0x14006d882
xor edx, edx
mov rcx, qword [rbx + 0x70]
call fcn.1400c27c0
test rax, rax
je 0x14006d882
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov r8, rsi
xor edx, edx
mov rcx, qword [rbx + 0x70]
call fcn.1400c3390
mov rcx, qword [rbx + 0x70]
call fcn.1400c2820
mov edx, eax
lea r8, [0x14006c250]
mov rcx, qword [rbx + 0x70]
call fcn.1400c33c0
mov dword [rsp + 0x40], r12d
call fcn.1400b35b0
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x40]
call fcn.140033f30
nop
lea rcx, [rbp - 0x20]
call fcn.140033f30
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x14006d91c
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006d917
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14006d917
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fb494
lea rdx, str.ROOT
xor ecx, ecx
call qword [sym.imp.CRYPT32.dll_CertOpenSystemStoreA]
mov r14, rax
test rax, rax
jne 0x14006d9ef
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14006d9ad
call fcn.1400c1200
test rax, rax
je 0x14006d964
mov r8, qword [rax]
lea edx, [r14 + 1]
mov rcx, rax
call qword [r8]
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400c17a0
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400c1210
test rax, rax
je 0x14006d9a3
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400c1210
test rax, rax
je 0x14006d994
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400c17b0
mov rcx, qword [rsp + 0x60]
call fcn.1400c1010
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14006dc2a
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14006dc2a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14006dc2a
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x14006dc2a
call fcn.14010d160
mov r12, rax
xor edx, edx
mov rcx, r14
call qword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
mov rbx, rax
test rax, rax
je 0x14006da4e
nop word [rax + rax]
lea rdx, [rbx + 8]
mov r8d, dword [rbx + 0x10]
xor ecx, ecx
call fcn.1401088b0
mov rsi, rax
test rax, rax
je 0x14006da3a
mov rdx, rax
mov rcx, r12
call fcn.14010ce10
mov rcx, rsi
call fcn.140108800
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
mov rbx, rax
test rax, rax
jne 0x14006da10
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
xor edx, edx
mov rcx, r14
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov rdx, r12
mov rcx, qword [rsp + 0x60]
call fcn.1400c1680
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14006dae7
call fcn.1400c1200
test rax, rax
je 0x14006da9e
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400c17a0
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400c1210
test rax, rax
je 0x14006dadd
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400c1210
test rax, rax
je 0x14006dace
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call fcn.1400c17b0
mov rcx, qword [rsp + 0x60]
call fcn.1400c1010
mov rbx, qword [rsp + 0x70]
test rbx, rbx
je 0x14006dbd0
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14006dbd0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14006dbd0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x14006dbd0
mov rdi, qword [r15 + 0x268]
mov ecx, 0x78
call fcn.1401fb140
mov rsi, rax
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj2_class_boost::asio::basic_stream_socket_class_boost::asio::ip::tcp__.0
mov qword [rsi], rax
lea rbx, [rsi + 0x10]
mov rdx, rdi
mov rcx, rbx
call fcn.14007f610
nop
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rsi
lea rdx, [rbp - 0x80]
lea rcx, [r15 + 0x2c0]
call fcn.140079ea0
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14006dbc2
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14006dbc2
mov rbx, qword [rbp - 0x78]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14006dbc2
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [r15 + 0x2c0]
mov qword [r15 + 0x280], rax
mov dword [rsp + 0x30], 0x2710
mov rax, qword [r15 + 0x280]
mov rcx, qword [rax + 8]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov r8d, 0x1006
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, qword [r15 + 0x280]
mov rcx, qword [rax + 8]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x30]
mov edx, 0xffff
mov r8d, 0x1005
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1401fb000
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret