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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0xd8
movaps xmmword [rsp + 0xc0], xmm6
mov r15, rcx
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
mov dword [rsp + 0x70], 4
mov dword [rsp + 0xb8], 0x400010
mov rax, qword [rdx]
test rax, rax
je 0x14013c095
mov ecx, dword [rdx + 0x10]
mov dword [rsp + 0x98], ecx
mov qword [rsp + 0xa0], rax
mov r8, qword [rdx + 0x18]
test r8, r8
je 0x14013c100
mov r9, qword [rdx + 0x28]
test r9, r9
je 0x14013c0f7
xor edi, edi
lea rsi, [0x14013c34c]
xor ebx, ebx
jmp 0x14013c0d0
mov eax, 0x200
or ebx, eax
add rdi, 1
cmp r9, rdi
je 0x14013c0f9
movzx ecx, byte [r8 + rdi]
mov eax, 0x20
movsxd rcx, dword [rsi + rcx*4]
add rcx, rsi
jmp rcx
mov eax, 0x80
jmp case.0x14013c0e1.0
mov eax, 0x800
jmp case.0x14013c0e1.0
xor ebx, ebx
mov dword [rsp + 0xa8], ebx
mov rbx, qword [rdx + 0x30]
mov rsi, qword [rdx + 0x40]
lea r14, [rsi*8]
test rsi, rsi
je 0x14013c197
call sub.KERNEL32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, r14
call sub.KERNEL32.dll_HeapAlloc
mov r12, rax
test rax, rax
je 0x14013c32b
lea rcx, [rbx + rsi*8]
cmp rbx, rcx
je 0x14013c1a6
movabs rax, 0x7fffffff8
lea r9, [rax + rsi*8]
shr r9, 3
lea r8, [rsi*8 - 8]
test r8, r8
je 0x14013c175
cmp r12, rcx
jae 0x14013c29b
lea rax, [r12 + rsi*8]
cmp rax, rbx
jbe 0x14013c29b
mov rdx, r12
mov rdi, rbx
sub rcx, rdi
xor eax, eax
mov rbx, qword [rdi + rax]
mov qword [rdx + rax], rbx
add rax, 8
cmp rcx, rax
jne 0x14013c180
add r9d, 1
jmp 0x14013c1a9
mov r12d, 8
lea rcx, [rbx + rsi*8]
cmp rbx, rcx
jne 0x14013c140
xor r9d, r9d
mov dword [rsp + 0x74], r9d
mov qword [rsp + 0x78], r12
lea rax, [0x1402ced60]
mov qword [rsp + 0x48], rax
mov rax, qword [0x1402ced78]
cmp rax, 3
jne 0x14013c2e0
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call sub.Secur32.dll_AcquireCredentialsHandleA
test eax, eax
je 0x14013c258
shl rax, 0x20
mov qword [r15 + 8], rax
mov qword [r15 + 0x10], 0
mov qword [r15], 1
test r14, r14
je 0x14013c23f
call sub.KERNEL32.dll_GetProcessHeap
mov rcx, rax
xor edx, edx
mov r8, r12
call fcn.14021dfcd
movaps xmm6, xmmword [rsp + 0xc0]
add rsp, 0xd8
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
movaps xmm6, xmmword [rsp + 0x60]
call sub.KERNEL32.dll_GetProcessHeap
mov r8d, 0x20
mov rcx, rax
xor edx, edx
call sub.KERNEL32.dll_HeapAlloc
test rax, rax
je 0x14013c33a
movaps xmm0, xmmword [0x1402207f0]
movups xmmword [rax], xmm0
movups xmmword [rax + 0x10], xmm6
mov qword [r15 + 8], rax
mov qword [r15], 0
test r14, r14
jne 0x14013c22d
jmp 0x14013c23f
shr r8, 3
add r8, 1
mov rsi, r8
and rsi, 0xfffffffffffffffe
lea rdx, [r12 + rsi*8]
lea rdi, [rbx + rsi*8]
xor eax, eax
nop word cs:[rax + rax]
nop
movups xmm0, xmmword [rbx + rax*8]
movups xmmword [r12 + rax*8], xmm0
add rax, 2
cmp rsi, rax
jne 0x14013c2c0
cmp r8, rsi
jne 0x14013c17b
jmp 0x14013c191
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x58], rax
lea rcx, [0x1402ced78]
lea r8, [0x1402716d8]
lea rdx, [rsp + 0x58]
call fcn.14014eb60
jmp 0x14013c1d0
lea rcx, [0x1402772a0]
lea r8, str.C:Usersdarkarp.cargo_registry_srcgithub.com_1ecc6299db9ec823_schannel_0.1.19_src_schannel_cred.rsassertion_failed:_enabled_protocols.iter__.all_a_n__________________________________n_____________________________________match_a__n_________________________________________Protocol::__ForExtensibility___n_________________________________________false__n_____________________________________________true__n______________________________________n__________________________________
mov edx, 0x28
call fcn.14001f9d0
ud2
mov edx, 8
mov rcx, r14
call fcn.1400182a0
ud2
mov ecx, 0x20
mov edx, 8
call fcn.1400182a0
ud2