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

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xc8
movaps xmmword [rsp + 0xb0], xmm6
movabs rax, 0x8000000000000000
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0xa0], xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x70], xmm0
mov dword [rsp + 0x60], 4
mov dword [rsp + 0xa8], 0x400010
cmp qword [rcx + 0x18], rax
jne 0x1400d25e4
cmp qword [rcx + 0x30], rax
jne 0x1400d2604
mov r14, qword [rcx + 0x10]
test r14, r14
je 0x1400d2649
mov rax, r14
shr rax, 0x3c
jne 0x1400d273a
mov rdi, qword [rcx + 8]
movzx eax, byte [0x140205110]
mov rcx, qword [0x140205100]
test rcx, rcx
jne 0x1400d2513
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400d273a
mov rcx, rax
mov qword [0x140205100], rax
lea r8, [r14*8]
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400d273a
mov rsi, rax
xor eax, eax
cmp r14, 6
jb 0x1400d2570
mov rcx, rsi
sub rcx, rdi
cmp rcx, 0x20
jb 0x1400d2570
mov rax, r14
and rax, 0xfffffffffffffffc
xor ecx, ecx
nop dword [rax + rax]
movups xmm0, xmmword [rdi + rcx*8]
movups xmm1, xmmword [rdi + rcx*8 + 0x10]
movups xmmword [rsi + rcx*8], xmm0
movups xmmword [rsi + rcx*8 + 0x10], xmm1
add rcx, 4
cmp rax, rcx
jne 0x1400d2550
cmp r14, rax
je 0x1400d25df
mov rcx, rax
not rcx
add rcx, r14
mov rdx, r14
and rdx, 3
je 0x1400d25a0
nop word cs:[rax + rax]
mov r8, qword [rdi + rax*8]
mov qword [rsi + rax*8], r8
inc rax
dec rdx
jne 0x1400d2590
cmp rcx, 3
jb 0x1400d25df
nop word cs:[rax + rax]
mov rcx, qword [rdi + rax*8]
mov qword [rsi + rax*8], rcx
mov rcx, qword [rdi + rax*8 + 8]
mov qword [rsi + rax*8 + 8], rcx
mov rcx, qword [rdi + rax*8 + 0x10]
mov qword [rsi + rax*8 + 0x10], rcx
mov rcx, qword [rdi + rax*8 + 0x18]
mov qword [rsi + rax*8 + 0x18], rcx
add rax, 4
cmp r14, rax
jne 0x1400d25b0
mov eax, r14d
jmp 0x1400d2650
mov edx, dword [rcx + 0x28]
mov dword [rsp + 0x88], edx
mov rdx, qword [rcx + 0x20]
mov qword [rsp + 0x90], rdx
cmp qword [rcx + 0x30], rax
je 0x1400d24ca
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x1400d2633
mov r8, qword [rcx + 0x38]
xor edx, edx
lea r9, [0x1401f3270]
xor r10d, r10d
nop dword [rax]
movzx r11d, byte [r8 + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp rax, r10
jne 0x1400d2620
jmp 0x1400d2635
xor edx, edx
mov dword [rsp + 0x98], edx
mov r14, qword [rcx + 0x10]
test r14, r14
jne 0x1400d24d7
xor eax, eax
mov esi, 8
mov dword [rsp + 0x64], eax
mov qword [rsp + 0x68], rsi
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
lea rdx, str.Microsoft_Unified_Security_Protocol_Provider
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call sub.secur32.dll_AcquireCredentialsHandleA
test eax, eax
je 0x1400d26d9
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov ebx, 1
test r14, r14
je 0x1400d26be
mov rcx, qword [0x140205100]
xor edx, edx
mov r8, rsi
call sub.kernel32.dll_HeapFree
mov rax, rbx
mov rdx, rdi
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc8
pop rbx
pop rdi
pop rsi
pop r14
ret
movaps xmm6, xmmword [rsp + 0x50]
movzx eax, byte [0x140205110]
mov rcx, qword [0x140205100]
test rcx, rcx
jne 0x1400d2705
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400d273a
mov rcx, rax
mov qword [0x140205100], rax
mov r8d, 0x20
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400d273a
mov rdi, rax
mov qword [rax], 1
mov qword [rax + 8], 1
movups xmmword [rax + 0x10], xmm6
xor ebx, ebx
test r14, r14
jne 0x1400d26ad
jmp 0x1400d26be
ud2