Function at 0x1400a9330
Capabilities:
Get client handle via schannel
Get outbound credentials handle via credssp

Disassembly:
sub rsp, 0x38
test rcx, rcx
je 0x1400a9353
test r9d, r9d
je 0x1400a9345
cmp byte [r8 + 0x28], 0
je 0x1400a934a
mov byte [r8 + 0x29], 1
add rsp, 0x38
jmp 0x1400c2db0
mov ecx, 2
call fcn.14002e9a4
mov rcx, rax
lea r8, str.C:Userslxrs_vcpkg_buildtreesmongo_c_driver_src1.26.1_690bc2849a.clean_srclibmongoc_srcmongocmongoc_stream_tls.c
lea rax, str.base_stream
mov r9d, 0xd2
mov qword [rsp + 0x28], rax
lea rdx, str._s:_d__s__:_precondition_failed:__s_n
lea rax, str.mongoc_stream_tls_new_with_hostname
mov qword [rsp + 0x20], rax
call fcn.140052ea0
call fcn.14002eb84
int3
mov rax, rsp
push rbx
push rbp
push r14
sub rsp, 0xb0
xor r14d, r14d
mov rbx, r8
mov qword [rax - 0x78], r14
mov rbp, rcx
test rcx, rcx
je 0x1400c310a
test rbx, rbx
je 0x1400c314e
mov qword [rax + 0x10], rsi
lea ecx, [r14 + 0x70]
mov qword [rax + 0x18], rdi
call fcn.14005a420
mov ecx, 0x4400
mov rdi, rax
call fcn.14005a3d0
mov ecx, 0x4400
mov qword [rdi + 0x58], rax
mov qword [rdi + 0x38], 0x4400
call fcn.14005a3d0
mov ecx, 0x108
mov qword [rdi + 0x50], rax
mov qword [rdi + 0x30], 0x4400
call fcn.14005a420
mov rsi, rax
mov dword [rax], 5
lea rax, [0x1400c2050]
mov qword [rsi + 8], rax
lea rax, [0x1400c2260]
mov qword [rsi + 0x50], rax
lea rax, [0x1400c1e20]
mov qword [rsi + 0x10], rax
lea rax, [0x1400c2270]
mov qword [rsi + 0x18], rax
lea rax, [0x1400c2930]
mov qword [rsi + 0x20], rax
lea rax, [0x1400c2490]
mov qword [rsi + 0x28], rax
lea rax, [0x1400c26c0]
mov qword [rsi + 0x30], rax
lea rax, [0x1400c22d0]
mov qword [rsi + 0x38], rax
lea rax, [0x1400c1db0]
mov qword [rsi + 0x40], rax
lea rax, [0x1400c2740]
mov qword [rsi + 0x58], rax
lea rax, [0x1400c2730]
mov qword [rsi + 0x60], rax
lea rax, [0x1400c2c60]
movups xmm0, xmmword [rbx]
movups xmmword [rsi + 0x98], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsi + 0xa8], xmm1
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rsi + 0xb8], xmm0
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rsi + 0xc8], xmm1
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rsi + 0xd8], xmm0
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rsi + 0xe8], xmm1
movsd xmm0, qword [rbx + 0x60]
movsd qword [rsi + 0xf8], xmm0
xorps xmm0, xmm0
mov qword [rsi + 0x100], rax
mov qword [rsi + 0x88], rdi
mov qword [rsi + 0x90], 0xffffffffffffffff
mov qword [rsi + 0x80], rbp
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x60], 4
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0xa0], xmm0
cmp byte [rbx + 0x28], r14b
je 0x1400c2f58
mov eax, 0x401808
jmp 0x1400c2f7a
mov rcx, rbx
mov dword [rsp + 0xa8], 0x401820
call fcn.1400b7260
test al, al
mov eax, dword [rsp + 0xa8]
jne 0x1400c2f81
bts eax, 9
mov dword [rsp + 0xa8], eax
cmp byte [rbx + 0x29], r14b
je 0x1400c2f91
or eax, 4
mov dword [rsp + 0xa8], eax
cmp qword [rbx + 0x10], r14
je 0x1400c2fa2
mov rdx, rbx
mov rcx, rdi
call fcn.1400c5550
cmp qword [rbx + 0x20], r14
je 0x1400c2fb3
mov rdx, rbx
mov rcx, rdi
call fcn.1400c5c50
cmp qword [rbx], r14
je 0x1400c2fdf
mov rdx, rbx
mov rcx, rdi
call fcn.1400c57c0
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1400c2fdf
lea rax, [rsp + 0x50]
mov dword [rsp + 0x64], 1
mov qword [rsp + 0x68], rax
mov ecx, 0x18
mov dword [rsp + 0x98], 0xa00
call fcn.14005a420
xor r9d, r9d
mov qword [rdi + 8], rax
lea rdx, str.Microsoft_Unified_Security_Protocol_Provider
lea rcx, [rax + 0x10]
mov qword [rsp + 0x40], rcx
lea r8d, [r9 + 2]
mov qword [rsp + 0x38], rax
xor ecx, ecx
mov qword [rsp + 0x30], r14
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call sub.Secur32.dll_AcquireCredentialsHandleA
mov edi, eax
test eax, eax
je 0x1400c30af
mov qword [rsp + 0xd0], r14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], r14
xor r9d, r9d
mov r8d, eax
mov dword [rsp + 0x28], r14d
lea rax, [rsp + 0xd0]
xor edx, edx
mov ecx, 0x3100
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov rax, qword [rsp + 0xd0]
lea r8, [0x14019c5a0]
movzx ecx, di
lea rdx, str.stream_tls_secure_channel
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
xor ecx, ecx
sar edi, 0x10
movzx r9d, di
call fcn.140065c80
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
jmp 0x1400c30ee
cmp qword [rbx + 0x18], r14
je 0x1400c30ca
lea r8, str.Setting_mongoc_ssl_opt_t.ca_dir_has_no_effect_when_built_against_Secure_Channel
xor ecx, ecx
lea rdx, str.stream_tls_secure_channel
call fcn.140065c80
mov rcx, rbx
call fcn.1400b7270
test al, al
je 0x1400c30eb
lea r8, str.Setting_tlsDisableOCSPEndpointCheck_has_no_effect_when_built_against_Secure_Channel
xor ecx, ecx
lea rdx, str.stream_tls_secure_channel
call fcn.140065c80
mov rax, rsi
mov rsi, qword [rsp + 0xd8]
mov rdi, qword [rsp + 0xe0]
add rsp, 0xb0
pop r14
pop rbp
pop rbx
ret
mov ecx, 2
call fcn.14002e9a4
mov rcx, rax
lea r8, str.C:Userslxrs_vcpkg_buildtreesmongo_c_driver_src1.26.1_690bc2849a.clean_srclibmongoc_srcmongocmongoc_stream_tls_secure_channel.c
lea rax, str.base_stream
mov r9d, 0x3a5
mov qword [rsp + 0x28], rax
lea rdx, str._s:_d__s__:_precondition_failed:__s_n
lea rax, str.mongoc_stream_tls_secure_channel_new
mov qword [rsp + 0x20], rax
call fcn.140052ea0
call fcn.14002eb84
int3
mov ecx, 2
call fcn.14002e9a4
mov rcx, rax
lea r8, str.C:Userslxrs_vcpkg_buildtreesmongo_c_driver_src1.26.1_690bc2849a.clean_srclibmongoc_srcmongocmongoc_stream_tls_secure_channel.c
lea rax, [0x14013d930]
mov r9d, 0x3a6
mov qword [rsp + 0x28], rax
lea rdx, str._s:_d__s__:_precondition_failed:__s_n
lea rax, str.mongoc_stream_tls_secure_channel_new
mov qword [rsp + 0x20], rax
call fcn.140052ea0
call fcn.14002eb84
int3