Function at 0x140063d10
Capabilities:
Query environment variable
Set socket configuration

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402c94a0]
xor rax, rsp
mov qword [rbp + 0xc8], rax
mov r15, rcx
mov rdx, qword [rcx + 0x30]
call fcn.14005a6c0
cmp dword [rax + 4], 0
je 0x140064254
mov rdx, qword [r15 + 0x30]
call fcn.14005a6c0
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 + 0x48]
call fcn.140061fc0
nop
mov rdi, qword [r15 + 0x268]
mov ecx, 0x170
call fcn.1401e4cb4
mov r14, rax
mov qword [rsp + 0x68], rax
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj_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 + 0x40], rbx
mov rdx, rdi
mov rcx, rbx
call fcn.140073c20
nop
mov rax, qword [rbx]
lea rcx, [rsi + 0x70]
mov r8, qword [rax + 0x18]
mov rdx, qword [rsp + 0x50]
call fcn.140062c00
nop
mov qword [rbp + 0x98], rsi
mov qword [r15 + 0x2b0], rsi
mov rbx, qword [r15 + 0x2b8]
mov qword [rbp - 0x68], rbx
mov qword [r15 + 0x2b8], r14
mov edi, 0xffffffff
test rbx, rbx
je 0x140063e3f
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140063e3f
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140063e3f
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
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 0x140063e90
call fcn.1400a9490
mov rcx, qword [rbx + 0x70]
call fcn.1400b7640
mov r8, rax
xor edx, edx
mov rcx, qword [rbx + 0x70]
call fcn.1400b81c0
call fcn.1400a9490
jmp 0x14006404b
call fcn.1400a9490
mov rcx, qword [rbx + 0x70]
call fcn.1400b7640
mov r8, rax
mov edx, 1
mov rcx, qword [rbx + 0x70]
call fcn.1400b81c0
call fcn.1400a9490
mov rdx, qword [r15 + 0x30]
add rdx, 0xc0
lea rcx, [rbp + 0xa8]
call fcn.140029330
nop
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0x20]
call fcn.140029330
lea rax, [rbp + 0x20]
mov qword [rsp + 0x40], rax
lea rdx, [rbp + 0x20]
lea rcx, [rbp]
call fcn.140029330
lea rax, [rbp]
mov qword [rsp + 0x38], rax
lea rdx, [rbp]
lea rcx, [rbp - 0x20]
call fcn.140029330
nop
lea rcx, [rbp]
call fcn.14002bed0
nop
lea rcx, [rbp + 0x20]
call fcn.14002bed0
lea rax, [rbp - 0x20]
mov qword [rsp + 0x40], rax
mov rbx, qword [r15 + 0x2b0]
call fcn.1400a9490
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.140029330
lea rax, [rbp - 0x40]
mov qword [rsp + 0x38], rax
mov ecx, 0x28
call fcn.1401e4cb4
mov rsi, rax
mov qword [rsp + 0x68], rax
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.140029330
lea rax, [rbp - 0x60]
mov qword [rsp + 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 + 0x78], rcx
lea rdx, [rbp - 0x60]
call fcn.140029330
nop
lea rcx, [rbp - 0x60]
call fcn.14002bed0
nop
xor edx, edx
mov rcx, qword [rbx + 0x70]
call fcn.1400b75f0
test rax, rax
je 0x140063fc4
xor edx, edx
mov rcx, qword [rbx + 0x70]
call fcn.1400b75f0
test rax, rax
je 0x140063fc4
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.1400b8190
mov rcx, qword [rbx + 0x70]
call fcn.1400b7650
mov edx, eax
lea r8, [0x140062730]
mov rcx, qword [rbx + 0x70]
call fcn.1400b81c0
call fcn.1400a9490
nop
lea rcx, [rbp - 0x40]
call fcn.14002bed0
nop
lea rcx, [rbp - 0x20]
call fcn.14002bed0
nop
mov rdx, qword [rbp + 0xc0]
cmp rdx, 0x10
jb 0x14006404b
inc rdx
mov rcx, qword [rbp + 0xa8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140064046
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140064046
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401e507c
lea rdx, str.ROOT
xor ecx, ecx
call qword [sym.imp.CRYPT32.dll_CertOpenSystemStoreA]
mov r14, rax
test rax, rax
jne 0x14006411e
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400640dc
call fcn.1400b6120
test rax, rax
je 0x140064093
mov r8, qword [rax]
lea edx, [r14 + 1]
mov rcx, rax
call qword [r8]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1400b6660
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1400b6130
test rax, rax
je 0x1400640d2
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1400b6130
test rax, rax
je 0x1400640c3
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1400b6670
mov rcx, qword [rsp + 0x50]
call fcn.1400b5f30
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x140064348
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140064348
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140064348
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x140064348
call fcn.140101900
mov r12, rax
xor edx, edx
mov rcx, r14
call qword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
mov rbx, rax
test rax, rax
je 0x14006417e
nop dword [rax]
lea rdx, [rbx + 8]
mov r8d, dword [rbx + 0x10]
xor ecx, ecx
call fcn.1400fd2d0
mov rsi, rax
test rax, rax
je 0x14006416a
mov rdx, rax
mov rcx, r12
call fcn.1401015d0
mov rcx, rsi
call fcn.1400fd220
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
mov rbx, rax
test rax, rax
jne 0x140064140
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 + 0x50]
call fcn.1400b65a0
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140064217
call fcn.1400b6120
test rax, rax
je 0x1400641ce
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1400b6660
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1400b6130
test rax, rax
je 0x14006420d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1400b6130
test rax, rax
je 0x1400641fe
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.1400b6670
mov rcx, qword [rsp + 0x50]
call fcn.1400b5f30
mov rbx, qword [rsp + 0x60]
test rbx, rbx
je 0x140064248
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140064248
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140064248
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [r15 + 0x280]
jmp 0x1400642f5
mov rdi, qword [r15 + 0x268]
mov ecx, 0x78
call fcn.1401e4cb4
mov rsi, rax
mov qword [rsp + 0x78], rax
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_obj_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.140073c20
nop
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rsi
lea rdx, [rbp - 0x80]
lea rcx, [r15 + 0x2c0]
call fcn.14006f570
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x1400642e7
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x1400642e7
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 0x1400642e7
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 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 + 0xc8]
xor rcx, rsp
call fcn.1401e4940
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret