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

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
mov rbp, rsp
push rbx
push rdi
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x118
lea rdx, [rbp - 0x38]
sub rdx, rsp
sub rsp, 0x20
lea rcx, [rsp + 0x20]
call fcn.180009e0b
add rsp, 0x20
sub rsp, 0x20
mov rcx, qword [rbp + 0x20]
mov rdx, 0x10
call fcn.180009e0b
add rsp, 0x20
sub rsp, 0x20
mov rcx, qword [rbp + 0x28]
mov rdx, 0x10
call fcn.180009e0b
add rsp, 0x20
mov dword [rbp - 0x88], 4
mov dword [rbp - 0x40], 0x18
sub rsp, 0x50
mov rcx, 0
movabs rdx, str.Microsoft_Unified_Security_Protocol_Provider
mov r8, 2
mov r9, 0
lea rax, [rbp - 0x88]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov rax, qword [rbp + 0x28]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 0
call qword [sym.imp.secur32.dll_AcquireCredentialsHandleA]
add rsp, 0x50
cmp rax, 0
jne 0x1800076a6
sub rsp, 0x20
lea rcx, [rbp - 0x90]
mov rdx, qword [rbp + 0x10]
mov r8, qword [rbp + 0x18]
mov r9, 0xa
call fcn.180006241
add rsp, 0x20
test rax, rax
je 0x1800076a6
sub rsp, 0x20
lea rcx, [rbp - 0x90]
mov rdx, qword [rbp + 0x30]
mov r8, 8
call fcn.180009fab
add rsp, 0x20
mov qword [rbp - 0xd8], 0xc11c
mov dword [rbp - 0xf8], 0
mov dword [rbp - 0xf4], 2
mov qword [rbp - 0xf0], 0
mov dword [rbp - 0xe8], 0
mov dword [rbp - 0xe4], 1
lea rax, [rbp - 0xf8]
mov qword [rbp - 0xe0], rax
sub rsp, 0x60
mov rcx, qword [rbp + 0x28]
mov rdx, 0
mov r8, qword [rbp + 0x10]
mov r9, qword [rbp - 0xd8]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0x10
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], 0
mov rax, qword [rbp + 0x20]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0xe8]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x130]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
call qword [sym.imp.secur32.dll_InitializeSecurityContextA]
add rsp, 0x60
cmp dword [rbp - 0xf8], 0
je 0x1800076a6
cmp qword [rbp - 0xf0], 0
je 0x1800076a6
mov r8d, dword [rbp - 0xf8]
sub rsp, 0x20
mov rcx, qword [rbp - 0x90]
mov rdx, qword [rbp - 0xf0]
mov r9, 0
call fcn.18000311d
add rsp, 0x20
sub rsp, 0x20
mov rcx, qword [rbp - 0xf0]
call qword [sym.imp.secur32.dll_FreeContextBuffer]
add rsp, 0x20
sub rsp, 0x20
mov rcx, 0
mov rdx, 0x8000
mov r8, 0x3000
mov r9, 4
call qword [sym.imp.kernel32.dll_VirtualAlloc]
add rsp, 0x20
test rax, rax
je 0x1800076a6
mov qword [rbp - 0x138], rax
mov qword [rbp - 0x150], 0x90312
mov qword [rbp - 0x140], 0
jmp 0x18000764d
cmp qword [rbp - 0x140], 0
je 0x18000739f
cmp dword [rbp - 0x150], 0x80090318
jne 0x1800073f5
mov rax, qword [rbp - 0x138]
add rax, qword [rbp - 0x140]
mov r12, 0x8000
sub r12, qword [rbp - 0x140]
sub rsp, 0x20
mov rcx, qword [rbp - 0x90]
mov rdx, rax
mov r8, r12
mov r9, 0xa
call fcn.1800032f8
add rsp, 0x20
cmp eax, 0
je 0x18000767f
cmp eax, 0
jl 0x18000767f
add qword [rbp - 0x140], rax
mov dword [rbp - 0xf8], 0
mov dword [rbp - 0xf4], 2
mov qword [rbp - 0xf0], 0
mov dword [rbp - 0xe8], 0
mov dword [rbp - 0xe4], 1
lea rax, [rbp - 0xf8]
mov qword [rbp - 0xe0], rax
sub rsp, 0x20
lea rcx, [rbp - 0x140]
lea rdx, [rbp - 0x128]
mov r8, 4
call fcn.180009fab
add rsp, 0x20
mov dword [rbp - 0x124], 2
sub rsp, 0x20
lea rcx, [rbp - 0x138]
lea rdx, [rbp - 0x120]
mov r8, 8
call fcn.180009fab
add rsp, 0x20
mov dword [rbp - 0x118], 0
mov dword [rbp - 0x114], 0
mov qword [rbp - 0x110], 0
mov dword [rbp - 0x108], 0
mov dword [rbp - 0x104], 2
lea rax, [rbp - 0x128]
mov qword [rbp - 0x100], rax
sub rsp, 0x60
mov rcx, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x20]
mov r8, 0
mov r9, qword [rbp - 0xd8]
mov qword [rsp + 0x20], 0
mov qword [rsp + 0x28], 0x10
lea rax, [rbp - 0x108]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], 0
lea rax, [rbp - 0xe8]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x130]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0
call qword [sym.imp.secur32.dll_InitializeSecurityContextA]
add rsp, 0x60
mov qword [rbp - 0x150], rax
cmp dword [rbp - 0x150], 0x80090318
je 0x18000764d
cmp dword [rbp - 0x150], 0
jl 0x18000767f
cmp qword [rbp - 0x150], 0
je 0x180007588
cmp qword [rbp - 0x150], 0x90312
jne 0x1800075c6
cmp dword [rbp - 0xf8], 0
je 0x1800075c6
cmp qword [rbp - 0xf0], 0
je 0x1800075c6
mov r8d, dword [rbp - 0xf8]
sub rsp, 0x20
mov rcx, qword [rbp - 0x90]
mov rdx, qword [rbp - 0xf0]
mov r9, 0
call fcn.18000311d
add rsp, 0x20
sub rsp, 0x20
mov rcx, qword [rbp - 0xf0]
call qword [sym.imp.secur32.dll_FreeContextBuffer]
add rsp, 0x20
cmp qword [rbp - 0x150], 0x90320
jne 0x1800075d8
jmp 0x18000767f
cmp dword [rbp - 0x114], 5
jne 0x180007642
mov r12, qword [rbp - 0x140]
sub rsp, 0x20
lea rcx, [rbp - 0x118]
lea rdx, [rbp - 0x140]
mov r8, 4
call fcn.180009fab
add rsp, 0x20
mov rdx, qword [rbp - 0x138]
add rdx, r12
mov r8d, dword [rbp - 0x118]
sub rdx, r8
sub rsp, 0x20
mov rcx, rdx
mov rdx, qword [rbp - 0x138]
call fcn.180009fab
add rsp, 0x20
mov qword [rbp - 0x150], 0x90312
jmp 0x18000764d
mov qword [rbp - 0x140], 0
cmp qword [rbp - 0x150], 0x90312
je 0x180007389
cmp dword [rbp - 0x150], 0x80090318
je 0x180007389
cmp qword [rbp - 0x150], 0x90320
je 0x180007389
sub rsp, 0x20
lea rcx, [rbp - 0x138]
call fcn.180009da1
add rsp, 0x20
cmp qword [rbp - 0x150], 0
jne 0x1800076a6
mov rax, qword [rbp - 0x90]
jmp 0x1800076a9
xor rax, rax
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rdi
pop rbx
pop rbp
ret