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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x108]
sub rsp, 0x1e0
mov qword [rbp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140329490]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov r14, rcx
mov rdx, qword [rcx + 0x30]
call fcn.14006b090
cmp dword [rax + 4], 0
je 0x140074fc4
mov rdx, qword [r14 + 0x30]
call fcn.14006b090
mov edx, reloc.WS2_32.dll_ntohs
mov ecx, reloc.WS2_32.dll_shutdown
cmp dword [rax + 4], 1
cmovne edx, ecx
lea rcx, [rsp + 0x40]
call fcn.140072cf0
nop
mov rbx, qword [r14 + 0x290]
mov ecx, 0x1a0
call fcn.140221304
mov r15, rax
mov qword [rsp + 0x60], 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__class_boost::asio::executor___.0
mov qword [r15], rax
lea rsi, [r15 + 0x10]
mov qword [rsp + 0x30], rsi
lea rcx, [rsi + 8]
mov qword [rsp + 0x68], rcx
mov rdx, rbx
call fcn.1400873b0
nop
mov rbx, qword [rsi + 0x70]
lea r12, vtable.boost::asio::executor::impl_class_boost::asio::io_context::executor_type__class_std::allocator_void__.0
test rbx, rbx
je 0x140074b0a
mov rax, qword [rbx]
mov rdx, qword [rax]
cmp rax, r12
jne 0x1400750ed
mov eax, 1
lock xadd dword [rbx + 0x10], eax
mov qword [rsp + 0x68], rbx
lea rcx, [rsi + 0x80]
lea r8, [rsp + 0x68]
mov rdx, qword [rsp + 0x48]
call fcn.1400858f0
nop
mov edi, 0xffffffff
test rbx, rbx
je 0x140074b63
mov rax, qword [rbx]
mov rdx, qword [rax + 8]
cmp rax, r12
jne 0x1400750e3
mov eax, edi
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x140074b63
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax + 0x60]
lea edx, [rdi + 0x29]
mov rcx, rbx
call fcn.1402216cc
nop
mov qword [rbp + 0xa0], rsi
mov qword [r14 + 0x2d8], rsi
mov rbx, qword [r14 + 0x2e0]
mov qword [rbp - 0x60], rbx
mov qword [r14 + 0x2e0], r15
test rbx, rbx
je 0x140074bb3
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140074bb3
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140074bb3
mov rcx, qword [rbp - 0x60]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [r14 + 0x2d8]
add rax, 8
mov qword [r14 + 0x2a8], rax
lea rcx, str.SSL_NOVERIFY
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov rbx, qword [r14 + 0x2d8]
mov rcx, qword [rbx + 0x80]
test rax, rax
je 0x140074c00
call fcn.1400dc6b0
mov r8, rax
xor edx, edx
mov rcx, qword [rbx + 0x80]
call fcn.1400dd230
jmp 0x140074db4
call fcn.1400dc6b0
mov r8, rax
mov edx, 1
mov rcx, qword [rbx + 0x80]
call fcn.1400dd230
mov rdx, qword [r14 + 0x30]
add rdx, 0xc0
lea rcx, [rbp + 0xb0]
call fcn.140032810
nop
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x28]
call fcn.140032810
lea rax, [rbp + 0x28]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 8]
call fcn.140032810
lea rax, [rbp + 8]
mov qword [rsp + 0x60], rax
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x18]
call fcn.140032810
nop
lea rcx, [rbp + 8]
call fcn.140035780
nop
lea rcx, [rbp + 0x28]
call fcn.140035780
lea rax, [rbp - 0x18]
mov qword [rbp - 0x70], rax
mov rbx, qword [r14 + 0x2d8]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x38]
call fcn.140032810
lea rax, [rbp - 0x38]
mov qword [rsp + 0x30], rax
mov ecx, 0x28
call fcn.140221304
mov rsi, rax
mov qword [rsp + 0x60], rax
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x58]
call fcn.140032810
lea rax, [rbp - 0x58]
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 - 0x58]
call fcn.140032810
nop
lea rcx, [rbp - 0x58]
call fcn.140035780
nop
xor edx, edx
mov rcx, qword [rbx + 0x80]
call fcn.1400dc660
test rax, rax
je 0x140074d29
xor edx, edx
mov rcx, qword [rbx + 0x80]
call fcn.1400dc660
test rax, rax
je 0x140074d29
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov r8, rsi
xor edx, edx
mov rcx, qword [rbx + 0x80]
call fcn.1400dd200
mov rcx, qword [rbx + 0x80]
call fcn.1400dc6c0
mov edx, eax
lea r8, [0x1400734e0]
mov rcx, qword [rbx + 0x80]
call fcn.1400dd230
nop
lea rcx, [rbp - 0x38]
call fcn.140035780
nop
lea rcx, [rbp - 0x18]
call fcn.140035780
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x140074db4
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140074daf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140074daf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402216cc
lea rdx, str.ROOT
xor ecx, ecx
call qword [sym.imp.CRYPT32.dll_CertOpenSystemStoreA]
mov r15, rax
test rax, rax
jne 0x140074e87
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140074e45
call fcn.1400db100
test rax, rax
je 0x140074dfc
mov r8, qword [rax]
lea edx, [r15 + 1]
mov rcx, rax
call qword [r8]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.1400db640
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.1400db110
test rax, rax
je 0x140074e3b
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.1400db110
test rax, rax
je 0x140074e2c
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.1400db650
mov rcx, qword [rsp + 0x48]
call fcn.1400daf10
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x1400750b8
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400750b8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400750b8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1400750b8
call fcn.1401269c0
mov r12, rax
xor edx, edx
mov rcx, r15
call qword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
mov rbx, rax
test rax, rax
je 0x140074eee
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbx + 8]
mov r8d, dword [rbx + 0x10]
xor ecx, ecx
call fcn.1401222f0
mov rsi, rax
test rax, rax
je 0x140074eda
mov rdx, rax
mov rcx, r12
call fcn.140126670
mov rcx, rsi
call fcn.140122240
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
mov rbx, rax
test rax, rax
jne 0x140074eb0
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
xor edx, edx
mov rcx, r15
call qword [sym.imp.CRYPT32.dll_CertCloseStore]
mov rdx, r12
mov rcx, qword [rsp + 0x48]
call fcn.1400db580
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140074f87
call fcn.1400db100
test rax, rax
je 0x140074f3e
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.1400db640
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.1400db110
test rax, rax
je 0x140074f7d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.1400db110
test rax, rax
je 0x140074f6e
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.1400db650
mov rcx, qword [rsp + 0x48]
call fcn.1400daf10
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x140074fb8
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140074fb8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140074fb8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [r14 + 0x2a8]
jmp 0x140075065
mov rdi, qword [r14 + 0x290]
mov ecx, 0x88
call fcn.140221304
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__class_boost::asio::executor__.0
mov qword [rsi], rax
lea rbx, [rsi + 0x10]
mov rdx, rdi
mov rcx, rbx
call fcn.1400873b0
nop
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rsi
lea rdx, [rbp - 0x80]
lea rcx, [r14 + 0x2e8]
call fcn.140080e80
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140075057
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140075057
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 0x140075057
mov rcx, qword [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [r14 + 0x2e8]
mov qword [r14 + 0x2a8], rax
mov dword [rsp + 0x38], 0x2710
mov rcx, qword [rax + 8]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x38]
mov edx, 0xffff
mov r8d, 0x1006
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rax, qword [r14 + 0x2a8]
mov rcx, qword [rax + 8]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x38]
mov edx, 0xffff
mov r8d, 0x1005
call qword [sym.imp.WS2_32.dll_setsockopt]
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.140220f90
lea r11, [rsp + 0x1e0]
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 rcx, rbx
call rdx
jmp 0x140074b63
mov rcx, rbx
call rdx
mov rbx, rax
jmp 0x140074b0a