Function at 0x140074a10
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 [0x1403284b0]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov r14, rcx
mov rdx, qword [rcx + 0x30]
call fcn.14006b170
cmp dword [rax + 4], 0
je 0x140074fb4
mov rdx, qword [r14 + 0x30]
call fcn.14006b170
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.140072dd0
nop
mov rbx, qword [r14 + 0x290]
mov ecx, 0x1a0
call fcn.140222914
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.1400853e0
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 0x140074afa
mov rax, qword [rbx]
mov rdx, qword [rax]
cmp rax, r12
jne 0x1400750dd
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.140084a70
nop
mov edi, 0xffffffff
test rbx, rbx
je 0x140074b53
mov rax, qword [rbx]
mov rdx, qword [rax + 8]
cmp rax, r12
jne 0x1400750d3
mov eax, edi
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x140074b53
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax + 0x60]
lea edx, [rdi + 0x29]
mov rcx, rbx
call fcn.140222cdc
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 0x140074ba3
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140074ba3
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 0x140074ba3
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 0x140074bf0
call fcn.1400e1920
mov r8, rax
xor edx, edx
mov rcx, qword [rbx + 0x80]
call fcn.1400e24a0
jmp 0x140074da4
call fcn.1400e1920
mov r8, rax
mov edx, 1
mov rcx, qword [rbx + 0x80]
call fcn.1400e24a0
mov rdx, qword [r14 + 0x30]
add rdx, 0xc0
lea rcx, [rbp + 0xb0]
call fcn.140032670
nop
lea rdx, [rbp + 0xb0]
lea rcx, [rbp + 0x28]
call fcn.140032670
lea rax, [rbp + 0x28]
mov qword [rsp + 0x30], rax
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 8]
call fcn.140032670
lea rax, [rbp + 8]
mov qword [rsp + 0x60], rax
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x18]
call fcn.140032670
nop
lea rcx, [rbp + 8]
call fcn.1400355e0
nop
lea rcx, [rbp + 0x28]
call fcn.1400355e0
lea rax, [rbp - 0x18]
mov qword [rbp - 0x70], rax
mov rbx, qword [r14 + 0x2d8]
lea rdx, [rbp - 0x18]
lea rcx, [rbp - 0x38]
call fcn.140032670
lea rax, [rbp - 0x38]
mov qword [rsp + 0x30], rax
mov ecx, 0x28
call fcn.140222914
mov rsi, rax
mov qword [rsp + 0x60], rax
lea rdx, [rbp - 0x38]
lea rcx, [rbp - 0x58]
call fcn.140032670
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.140032670
nop
lea rcx, [rbp - 0x58]
call fcn.1400355e0
nop
xor edx, edx
mov rcx, qword [rbx + 0x80]
call fcn.1400e18d0
test rax, rax
je 0x140074d19
xor edx, edx
mov rcx, qword [rbx + 0x80]
call fcn.1400e18d0
test rax, rax
je 0x140074d19
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.1400e2470
mov rcx, qword [rbx + 0x80]
call fcn.1400e1930
mov edx, eax
lea r8, [0x1400735c0]
mov rcx, qword [rbx + 0x80]
call fcn.1400e24a0
nop
lea rcx, [rbp - 0x38]
call fcn.1400355e0
nop
lea rcx, [rbp - 0x18]
call fcn.1400355e0
nop
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0x10
jb 0x140074da4
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140074d9f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140074d9f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140222cdc
lea rdx, str.ROOT
xor ecx, ecx
call qword [sym.imp.CRYPT32.dll_CertOpenSystemStoreA]
mov r15, rax
test rax, rax
jne 0x140074e77
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140074e35
call fcn.1400e0400
test rax, rax
je 0x140074dec
mov r8, qword [rax]
lea edx, [r15 + 1]
mov rcx, rax
call qword [r8]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.1400e0940
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.1400e0410
test rax, rax
je 0x140074e2b
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.1400e0410
test rax, rax
je 0x140074e1c
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.1400e0950
mov rcx, qword [rsp + 0x48]
call fcn.1400e0210
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x1400750a8
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400750a8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400750a8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
jmp 0x1400750a8
call fcn.14012bf90
mov r12, rax
xor edx, edx
mov rcx, r15
call qword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
mov rbx, rax
test rax, rax
je 0x140074ede
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbx + 8]
mov r8d, dword [rbx + 0x10]
xor ecx, ecx
call fcn.140127950
mov rsi, rax
test rax, rax
je 0x140074eca
mov rdx, rax
mov rcx, r12
call fcn.14012bc60
mov rcx, rsi
call fcn.1401278a0
mov rdx, rbx
mov rcx, r15
call qword [sym.imp.CRYPT32.dll_CertEnumCertificatesInStore]
mov rbx, rax
test rax, rax
jne 0x140074ea0
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.1400e0880
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140074f77
call fcn.1400e0400
test rax, rax
je 0x140074f2e
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.1400e0940
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.1400e0410
test rax, rax
je 0x140074f6d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call fcn.1400e0410
test rax, rax
je 0x140074f5e
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.1400e0950
mov rcx, qword [rsp + 0x48]
call fcn.1400e0210
mov rbx, qword [rsp + 0x58]
test rbx, rbx
je 0x140074fa8
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140074fa8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140074fa8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_htonl]
mov rax, qword [r14 + 0x2a8]
jmp 0x140075055
mov rdi, qword [r14 + 0x290]
mov ecx, 0x88
call fcn.140222914
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.1400853e0
nop
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rsi
lea rdx, [rbp - 0x80]
lea rcx, [r14 + 0x2e8]
call fcn.140080b70
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140075047
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140075047
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 0x140075047
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.1402225a0
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 0x140074b53
mov rcx, rbx
call rdx
mov rbx, rax
jmp 0x140074afa