Function at 0x14012abfe
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, 0x258
movaps xmmword [rsp + 0x240], xmm6
mov rbx, rcx
xor r15d, r15d
cmp r15, qword [rcx + 0x30]
jo 0x14012ac50
mov rax, qword [rbx + 0x40]
test rax, rax
je 0x14012ac50
mov rcx, qword [rbx + 0x38]
xor r15d, r15d
lea rdx, [0x140318b78]
xor r8d, r8d
movzx r9d, byte [rcx + r8]
or r15d, dword [rdx + r9*4]
inc r8
cmp rax, r8
jne 0x14012ac3f
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.14015b4cd
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x128], rdx
and qword [rsp + 0x130], 0
cmp rax, r14
jb 0x14012aef0
mov rsi, rdx
xor r12d, r12d
test r14, r14
je 0x14012ad0d
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 0x14012ace0
add r12, rcx
inc r12
mov rdi, qword [rsp + 0x120]
mov rsi, qword [rsp + 0x128]
jmp 0x14012ad10
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 0x14012ae1e
lea rcx, str.ntdll.dll
call sub.kernel32.dll_GetModuleHandleW
test rax, rax
je 0x14012ae31
lea rdx, str.RtlGetVersion
mov rcx, rax
call sub.kernel32.dll_GetProcAddress
test rax, rax
je 0x14012ae31
mov rbx, rax
lea r14, [rsp + 0x124]
mov r8d, 0x110
mov rcx, r14
xor edx, edx
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov dword [r14 - 4], 0x114
lea r14, [rsp + 0x120]
mov rcx, r14
call rbx
cmp dword [r14 + 4], 0xa
ja 0x14012addc
jne 0x14012ae31
cmp dword [rsp + 0x12c], 0x4562
jbe 0x14012ae31
test r15d, r15d
je 0x14012adec
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 0x14012ae33
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 0x14012ae8f
mov ebx, eax
shl rbx, 0x20
or rbx, 2
mov r14d, 1
jmp 0x14012aeb7
movaps xmm6, xmmword [rsp + 0x120]
mov ecx, 0x20
call fcn.14012a6bf
mov rbx, rax
mov eax, 1
mov qword [rbx], rax
mov qword [rbx + 8], rax
movups xmmword [rbx + 0x10], xmm6
xor r14d, r14d
mov r8d, 8
mov r9d, 8
mov rcx, rdi
mov rdx, rsi
call fcn.140050545
mov rax, r14
mov rdx, rbx
movaps xmm6, xmmword [rsp + 0x240]
add rsp, 0x258
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.140019b93
mov rsi, qword [rdi + 8]
mov r12, qword [rdi + 0x10]
jmp 0x14012acda