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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x238
mov rbx, rcx
xor r15d, r15d
cmp r15, qword [rcx + 0x30]
jo 0x14014c852
mov rax, qword [rbx + 0x40]
test rax, rax
je 0x14014c852
mov rcx, qword [rbx + 0x38]
xor r15d, r15d
lea rdx, [0x1402877c8]
xor r8d, r8d
movzx r9d, byte [rcx + r8]
or r15d, dword [rdx + r9*4]
inc r8
cmp rax, r8
jne 0x14014c841
movabs r13, 0x8000000000000000
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
movups xmmword [rsp + 0x80], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x50], 4
mov dword [rsp + 0x98], 0x400010
mov dword [rsp + 0x88], r15d
mov rbp, qword [rbx + 8]
mov r14, qword [rbx + 0x10]
mov edx, 8
mov r8d, 8
mov rcx, r14
call fcn.14008b679
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], rdx
and qword [rsp + 0x130], 0
cmp rax, r14
jb 0x14014cb00
mov rsi, rdx
xor r12d, r12d
test r14, r14
je 0x14014c90f
lea rax, [rsi + r12*8]
xor edx, edx
mov rcx, rdx
mov rdx, qword [rbp + rdx*8]
mov qword [rax + rcx*8], rdx
lea rdx, [rcx + 1]
cmp r14, rdx
jne 0x14014c8e2
add r12, rcx
inc r12
mov rdi, qword [rsp + 0x120]
mov rsi, qword [rsp + 0x128]
jmp 0x14014c912
mov rdi, rax
mov dword [rsp + 0x54], r12d
mov qword [rsp + 0x58], rsi
xorps xmm0, xmm0
movaps xmmword [rsp + 0xb0], xmm0
movaps xmmword [rsp + 0xa0], xmm0
and qword [rsp + 0xc0], 0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xf0], xmm0
and qword [rsp + 0x110], 0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
cmp qword [rbx + 0x18], r13
jne 0x14014ca20
lea rcx, [0x14027b684]
call sub.KERNEL32.dll_GetModuleHandleW
test rax, rax
je 0x14014ca33
lea rdx, str.RtlGetVersion
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
test rax, rax
je 0x14014ca33
mov rbx, rax
lea r14, [rsp + 0x124]
mov r8d, 0x110
mov rcx, r14
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [r14 - 4], 0x114
lea r14, [rsp + 0x120]
mov rcx, r14
call rbx
cmp dword [r14 + 4], 0xa
ja 0x14014c9de
jne 0x14014ca33
cmp dword [rsp + 0x12c], 0x4562
jbe 0x14014ca33
test r15d, r15d
je 0x14014c9ee
not r15d
mov dword [rsp + 0xb0], r15d
lea rax, [rsp + 0xd0]
mov dword [rax], 5
movabs rcx, 0x100400010
mov qword [rax + 0x34], rcx
mov dword [rax + 8], r12d
mov qword [rax + 0x10], rsi
lea rcx, [rsp + 0xa0]
mov qword [rax + 0x40], rcx
jmp 0x14014ca35
mov eax, dword [rbx + 0x28]
mov dword [rsp + 0x78], eax
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x80], rax
xor eax, eax
test rax, rax
lea rcx, [rsp + 0x50]
cmovne rcx, rax
xorps xmm0, xmm0
lea rax, [rsp + 0x120]
movaps xmmword [rax], xmm0
mov qword [rsp + 0x38], rax
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rcx
and 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 0x14014ca91
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov r14d, 1
jmp 0x14014cacf
mov r14, qword [rsp + 0x120]
mov r15, qword [rsp + 0x128]
mov ecx, 8
mov edx, 0x20
call fcn.14007d586
test rax, rax
je 0x14014cb31
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], r15
xor r14d, r14d
mov r8d, 8
mov r9d, 8
mov rcx, rdi
mov rdx, rsi
call fcn.14007ca4c
mov rax, r14
mov rdx, rbx
add rsp, 0x238
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov qword [rsp + 0x20], 8
lea rdi, [rsp + 0x120]
mov r9d, 8
mov rcx, rdi
xor edx, edx
mov r8, r14
call fcn.140017359
mov rsi, qword [rdi + 8]
mov r12, qword [rdi + 0x10]
jmp 0x14014c8dc
mov ecx, 8
mov edx, 0x20
call fcn.14003a45d
int3