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

Disassembly:
mov ecx, dword [esp + 4]
test ecx, ecx
jne 0x100ebb89
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.1007a58f
add esp, 4
push eax
call fcn.100a1e70
add esp, 0x18
jmp fcn.1008069d
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
test edx, edx
je 0x100ebb9b
cmp byte [eax + 0x14], 0
je 0x100ebb9f
mov byte [eax + 0x15], 1
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 4], ecx
jmp 0x10102d30
sub esp, 0x3c
push ebp
mov ebp, dword [esp + 0x44]
mov dword [esp + 4], 0
test ebp, ebp
je 0x10102f9d
push esi
mov esi, dword [esp + 0x50]
test esi, esi
je 0x10102fce
push ebx
push edi
push 0x48
call fcn.100a7a90
push 0x4400
mov ebx, eax
call fcn.100a7a50
push 0x4400
mov dword [ebx + 0x34], eax
mov dword [ebx + 0x24], 0x4400
call fcn.100a7a50
push 0x88
mov dword [ebx + 0x30], eax
mov dword [ebx + 0x20], 0x4400
call fcn.100a7a90
mov edi, eax
push 0x38
push 0
mov dword [edi], 5
mov dword [edi + 4], 0x101021f0
mov dword [edi + 0x28], 0x101023a0
mov dword [edi + 8], 0x10101ff0
mov dword [edi + 0xc], 0x101023b0
mov dword [edi + 0x10], 0x10102960
mov dword [edi + 0x14], 0x10102430
mov dword [edi + 0x18], 0x10102760
mov dword [edi + 0x1c], 0x101023f0
mov dword [edi + 0x20], 0x10101fa0
mov dword [edi + 0x2c], 0x101027d0
mov dword [edi + 0x30], 0x101027c0
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], 0x10102c00
mov dword [edi + 0x44], ebx
mov dword [edi + 0x48], 0xffffffff
mov dword [edi + 0x4c], 0xffffffff
mov dword [edi + 0x40], ebp
call fcn.10076270
add esp, 0x1c
mov dword [esp + 0x14], 4
cmp byte [esi + 0x14], 0
je 0x10102e4b
mov eax, 0x401808
jmp 0x10102e69
push esi
mov dword [esp + 0x48], 0x401820
call fcn.100f8a80
add esp, 4
test al, al
mov eax, dword [esp + 0x44]
jne 0x10102e6d
or eax, 0x200
mov dword [esp + 0x44], eax
cmp byte [esi + 0x15], 0
je 0x10102e7a
or eax, 4
mov dword [esp + 0x44], eax
cmp dword [esi + 8], 0
je 0x10102e8a
push esi
push ebx
call fcn.10104c80
add esp, 8
cmp dword [esi + 0x10], 0
je 0x10102e9a
push esi
push ebx
call fcn.10105240
add esp, 8
cmp dword [esi], 0
je 0x10102ec1
push esi
push ebx
call fcn.10104e70
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x10102ec1
lea eax, [esp + 0x10]
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], eax
push 0x10
mov dword [esp + 0x38], 0xa00
call fcn.100a7a90
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 0x10102f58
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 0x101dcf28
push str.stream_tls_secure_channel
push 0
call fcn.100b0660
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 0x10102f72
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.100b0660
add esp, 0xc
push esi
call fcn.100f8aa0
add esp, 4
test al, al
je 0x10102f93
push str.Setting_tlsDisableOCSPEndpointCheck_has_no_effect_when_built_against_Secure_Channel
push str.stream_tls_secure_channel
push 0
call fcn.100b0660
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.1007a58f
add esp, 4
push eax
call fcn.100a1e70
add esp, 0x18
call fcn.1008069d
push 0x1017e564
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.1007a58f
add esp, 4
push eax
call fcn.100a1e70
add esp, 0x18
call fcn.1008069d
int3