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

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x100bab89
push str.base_stream
push str.mongoc_stream_tls_new_with_hostname
push 0xd2
push str.C:Usersprocr_vcpkg_buildtreesmongo_c_driver_src1.26.1_690bc2849a.clean_srclibmongoc_srcmongocmongoc_stream_tls.c
push str._s:_d__s__:_precondition_failed:__s_n
push 2
call fcn.1004c994
add esp, 4
push eax
call fcn.10070de0
add esp, 0x18
jmp fcn.10056f35
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
test edx, edx
je 0x100bab9b
cmp byte [eax + 0x14], 0
je 0x100bab9f
mov byte [eax + 0x15], 1
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 4], ecx
jmp 0x100d1d30
sub esp, 0x3c
push ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], 0
test ebp, ebp
je 0x100d1f9d
push esi
mov esi, dword [esp + 0x50]
test esi, esi
je 0x100d1fce
push ebx
push edi
push 0x48
call fcn.100769e0
push 0x4400
mov ebx, eax
call fcn.100769a0
push 0x4400
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x24], 0x4400
call fcn.100769a0
push 0x88
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x20], 0x4400
call fcn.100769e0
mov edi, eax
push 0x38
push 0
mov dword [edi], 5
mov dword [edi + 4], 0x100d11f0
mov dword [edi + 0x28], 0x100d13a0
mov dword [edi + 8], 0x100d0ff0
mov dword [edi + 0xc], 0x100d13b0
mov dword [edi + 0x10], 0x100d1960
mov dword [edi + 0x14], 0x100d1430
mov dword [edi + 0x18], 0x100d1760
mov dword [edi + 0x1c], 0x100d13f0
mov dword [edi + 0x20], 0x100d0fa0
mov dword [edi + 0x2c], 0x100d17d0
mov dword [edi + 0x30], 0x100d17c0
movups xmm0, xmmword [esi]
movups xmmword [edi + 0x50], xmm0
movups xmm0, xmmword [esi + 0x10]
movups xmmword [edi + 0x60], xmm0
movups xmm0, xmmword [esi + 0x20]
movups xmmword [edi + 0x70], xmm0
mov eax, dword [esi + 0x30]
mov dword [edi + 0x80], eax
lea eax, [esp + 0x2c]
push eax
mov dword [edi + 0x84], 0x100d1c00
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], 0xffffffff
mov dword [edi + 0x4c], 0xffffffff
mov dword [edi + 0x40], ebp
call fcn.10048bd0
add esp, 0x1c
mov dword [esp + 0x14], 4
cmp byte [esi + 0x14], 0
je 0x100d1e4b
mov eax, 0x401808
jmp 0x100d1e69
push esi
mov dword [esp + 0x48], 0x401820
call fcn.100c7a80
add esp, 4
test al, al
mov eax, dword [esp + 0x44]
jne 0x100d1e6d
or eax, 0x200
mov dword [esp + 0x44], eax
cmp byte [esi + 0x15], 0
je 0x100d1e7a
or eax, 4
mov dword [esp + 0x44], eax
cmp dword [esi + 8], 0
je 0x100d1e8a
push esi
push ebx
call fcn.100d3c80
add esp, 8
cmp dword [esi + 0x10], 0
je 0x100d1e9a
push esi
push ebx
call fcn.100d4240
add esp, 8
cmp dword [esi], 0
je 0x100d1ec1
push esi
push ebx
call fcn.100d3e70
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x100d1ec1
lea eax, [esp + 0x10]
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], eax
push 0x10
mov dword [esp + 0x38], 0xa00
call fcn.100769e0
add esp, 4
mov dword [ebx + 4], eax
lea ecx, [eax + 8]
push ecx
push eax
push 0
push 0
lea eax, [esp + 0x24]
push eax
push 0
push 2
push str.Microsoft_Unified_Security_Protocol_Provider
push 0
call sub.Secur32.dll_AcquireCredentialsHandleA
mov ebx, eax
test ebx, ebx
je 0x100d1f58
push 0
push 0
lea eax, [esp + 0x58]
mov dword [esp + 0x58], 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0
push 0x3100
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
push dword [esp + 0x50]
movzx eax, bx
push eax
sar ebx, 0x10
movzx eax, bx
push eax
push 0x101a0ab0
push str.stream_tls_secure_channel
push 0
call fcn.1007f5d0
add esp, 0x18
push dword [esp + 0x50]
call dword [sym.imp.KERNEL32.dll_LocalFree]
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
add esp, 0x3c
ret
cmp dword [esi + 0xc], 0
je 0x100d1f72
push str.Setting_mongoc_ssl_opt_t.ca_dir_has_no_effect_when_built_against_Secure_Channel
push str.stream_tls_secure_channel
push 0
call fcn.1007f5d0
add esp, 0xc
push esi
call fcn.100c7aa0
add esp, 4
test al, al
je 0x100d1f93
push str.Setting_tlsDisableOCSPEndpointCheck_has_no_effect_when_built_against_Secure_Channel
push str.stream_tls_secure_channel
push 0
call fcn.1007f5d0
add esp, 0xc
mov eax, edi
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x3c
ret
push str.base_stream
push str.mongoc_stream_tls_secure_channel_new
push 0x3a5
push str.C:Usersprocr_vcpkg_buildtreesmongo_c_driver_src1.26.1_690bc2849a.clean_srclibmongoc_srcmongocmongoc_stream_tls_secure_channel.c
push str._s:_d__s__:_precondition_failed:__s_n
push 2
call fcn.1004c994
add esp, 4
push eax
call fcn.10070de0
add esp, 0x18
call fcn.10056f35
push 0x101420a4
push str.mongoc_stream_tls_secure_channel_new
push 0x3a6
push str.C:Usersprocr_vcpkg_buildtreesmongo_c_driver_src1.26.1_690bc2849a.clean_srclibmongoc_srcmongocmongoc_stream_tls_secure_channel.c
push str._s:_d__s__:_precondition_failed:__s_n
push 2
call fcn.1004c994
add esp, 4
push eax
call fcn.10070de0
add esp, 0x18
call fcn.10056f35
int3