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

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x270
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1e0], xmm6
mov qword [rbp + 0x1d8], 0xfffffffffffffffe
mov rsi, rcx
xor r14d, r14d
cmp r14, qword [rcx + 0x30]
jo 0x1401dd0d1
mov rax, qword [rsi + 0x40]
test rax, rax
je 0x1401dd0d1
mov rcx, qword [rsi + 0x38]
xor r14d, r14d
lea rdx, [0x1402e4f00]
xor r8d, r8d
nop word cs:[rax + rax]
movzx r9d, byte [rcx + r8]
or r14d, dword [rdx + r9*4]
inc r8
cmp rax, r8
jne 0x1401dd0c0
xorps xmm6, xmm6
movups xmmword [rbp + 0x150], xmm6
movups xmmword [rbp + 0x140], xmm6
movups xmmword [rbp + 0x130], xmm6
movups xmmword [rbp + 0x120], xmm6
mov dword [rbp + 0x110], 4
mov dword [rbp + 0x158], 0x400010
mov dword [rbp + 0x148], r14d
mov r12, qword [rsi + 0x10]
test r12, r12
je 0x1401dd14d
mov rbx, qword [rsi + 8]
lea rdi, [r12*8]
movzx eax, byte [0x14034f150]
xor ecx, ecx
mov rdx, rdi
call fcn.1401fcae0
test rax, rax
je 0x1401dd359
mov r15, rax
mov rcx, rax
mov rdx, rbx
mov r8, rdi
call fcn.14025a776
jmp 0x1401dd153
mov r15d, 8
mov dword [rbp + 0x114], r12d
mov qword [rbp + 0x118], r15
movaps xmmword [rbp + 0xf0], xmm6
movaps xmmword [rbp + 0xe0], xmm6
mov qword [rbp + 0x100], 0
movaps xmmword [rbp + 0x190], xmm6
movaps xmmword [rbp + 0x180], xmm6
movaps xmmword [rbp + 0x170], xmm6
movaps xmmword [rbp + 0x160], xmm6
mov qword [rbp + 0x1a0], 0
xor eax, eax
cmp rax, qword [rsi + 0x18]
jno 0x1401dd25d
lea rcx, [0x1402d6ac4]
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x1401dd271
lea rdx, str.RtlGetVersion
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetProcAddress]
test rax, rax
je 0x1401dd271
mov rsi, rax
lea rcx, [rbp - 0x34]
mov r8d, 0x110
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x38], 0x114
lea rcx, [rbp - 0x38]
call rsi
cmp dword [rbp - 0x34], 0xa
ja 0x1401dd20e
jne 0x1401dd271
cmp dword [rbp - 0x2c], 0x4562
jbe 0x1401dd271
test r14d, r14d
je 0x1401dd21d
not r14d
mov dword [rbp + 0xf0], r14d
mov dword [rbp + 0x160], 5
movabs rax, 0x100400010
mov qword [rbp + 0x194], rax
mov dword [rbp + 0x168], r12d
mov qword [rbp + 0x170], r15
lea rax, [rbp + 0xe0]
mov qword [rbp + 0x1a0], rax
lea rax, [rbp + 0x160]
jmp 0x1401dd273
mov eax, dword [rsi + 0x28]
mov dword [rbp + 0x138], eax
mov rax, qword [rsi + 0x20]
mov qword [rbp + 0x140], rax
xor eax, eax
test rax, rax
lea rcx, [rbp + 0x110]
cmovne rcx, rax
xorps xmm0, xmm0
movaps xmmword [rbp + 0x1b0], xmm0
lea rax, [rbp + 0x1b0]
mov qword [rsp + 0x38], rax
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x40], 0
lea rdx, str.Microsoft_Unified_Security_Protocol_Provider
xor ecx, ecx
mov r8d, 2
xor r9d, r9d
call qword [sym.imp.secur32.dll_AcquireCredentialsHandleA]
test eax, eax
je 0x1401dd30b
mov esi, eax
shl rsi, 0x20
or rsi, 2
mov edi, 1
test r12, r12
je 0x1401dd2ec
mov rcx, qword [0x14034f0b8]
xor edx, edx
mov r8, r15
call qword [sym.imp.kernel32.dll_HeapFree]
mov rax, rdi
mov rdx, rsi
movaps xmm6, xmmword [rbp + 0x1e0]
add rsp, 0x270
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
mov qword [rbp - 0x38], 1
mov qword [rbp - 0x30], 1
movaps xmm0, xmmword [rbp + 0x1b0]
movups xmmword [rbp - 0x28], xmm0
movzx eax, byte [0x14034f150]
mov edx, 0x20
xor ecx, ecx
call fcn.1401fcae0
test rax, rax
je 0x1401dd366
mov rsi, rax
movups xmm0, xmmword [rbp - 0x38]
movups xmm1, xmmword [rbp - 0x28]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
xor edi, edi
test r12, r12
jne 0x1401dd2da
jmp 0x1401dd2ec
mov ecx, 8
mov rdx, rdi
call fcn.14025b3e0
mov qword [rbp + 0x1c8], r12
mov qword [rbp + 0x1d0], r15
mov ecx, 8
mov edx, 0x20
call fcn.14025b400
ud2