Function at 0x1401d5980
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 0x1401d5ad4
cmp qword [rcx + 0x30], rax
jne 0x1401d5af4
mov r14, qword [rcx + 0x10]
test r14, r14
je 0x1401d5b39
lea rdi, [r14*8]
mov rax, r14
shr rax, 0x3c
jne 0x1401d5c05
mov rbx, qword [rcx + 8]
movzx eax, byte [0x1404a5170]
xor ecx, ecx
mov rdx, rdi
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x1401d5c0f
mov rsi, rax
xor eax, eax
cmp r14, 6
jb 0x1401d5a70
mov rcx, rsi
sub rcx, rbx
cmp rcx, 0x20
jb 0x1401d5a70
mov rax, r14
and rax, 0xfffffffffffffffc
xor ecx, ecx
nop word [rax + rax]
movups xmm0, xmmword [rbx + rcx*8]
movups xmm1, xmmword [rbx + rcx*8 + 0x10]
movups xmmword [rsi + rcx*8], xmm0
movups xmmword [rsi + rcx*8 + 0x10], xmm1
add rcx, 4
cmp rax, rcx
jne 0x1401d5a50
cmp r14, rax
je 0x1401d5acf
mov rdx, r14
mov rcx, rax
and rdx, 3
je 0x1401d5a90
mov rcx, rax
nop
mov r8, qword [rbx + rcx*8]
mov qword [rsi + rcx*8], r8
inc rcx
dec rdx
jne 0x1401d5a80
sub rax, r14
cmp rax, 0xfffffffffffffffc
ja 0x1401d5acf
nop dword [rax]
mov rax, qword [rbx + rcx*8]
mov qword [rsi + rcx*8], rax
mov rax, qword [rbx + rcx*8 + 8]
mov qword [rsi + rcx*8 + 8], rax
mov rax, qword [rbx + rcx*8 + 0x10]
mov qword [rsi + rcx*8 + 0x10], rax
mov rax, qword [rbx + rcx*8 + 0x18]
mov qword [rsi + rcx*8 + 0x18], rax
add rcx, 4
cmp r14, rcx
jne 0x1401d5aa0
mov eax, r14d
jmp 0x1401d5b40
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 0x1401d59ea
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x1401d5b23
mov r8, qword [rcx + 0x38]
xor edx, edx
lea r9, [0x14046baec]
xor r10d, r10d
nop dword [rax]
movzx r11d, byte [r8 + r10]
or edx, dword [r9 + r11*4]
inc r10
cmp rax, r10
jne 0x1401d5b10
jmp 0x1401d5b25
xor edx, edx
mov dword [rsp + 0x98], edx
mov r14, qword [rcx + 0x10]
test r14, r14
jne 0x1401d59f7
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, [0x14043d67b]
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call sub.secur32.dll_AcquireCredentialsHandleA
test eax, eax
je 0x1401d5bc9
mov edi, eax
shl rdi, 0x20
or rdi, 2
mov ebx, 1
test r14, r14
je 0x1401d5bae
mov rcx, qword [0x1404a5110]
xor edx, edx
mov r8, rsi
call fcn.14021a7bc
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 [0x1404a5170]
mov edx, 0x20
xor ecx, ecx
call sym.std::sys::pal::windows::alloc::process_heap_alloc::h5a8f05db6a24897c
test rax, rax
je 0x1401d5c1c
mov rdi, rax
mov qword [rax], 1
mov qword [rax + 8], 1
movups xmmword [rax + 0x10], xmm6
xor ebx, ebx
test r14, r14
jne 0x1401d5b9d
jmp 0x1401d5bae
xor ecx, ecx
mov rdx, rdi
call sym.alloc::raw_vec::handle_error::h5313441c9bd13595
mov ecx, 8
mov rdx, rdi
call sym.alloc::raw_vec::handle_error::h5313441c9bd13595
mov ecx, 8
mov edx, 0x20
call sym.alloc::alloc::handle_alloc_error::h033f15fcf3b32b44
int3