Function at 0x1400023e0
Capabilities:
Get inbound credentials handle via credssp
Get outbound credentials handle via credssp

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov rax, qword [0x140020008]
xor rax, rsp
mov qword [rbp + 0x20], rax
xor ebx, ebx
mov qword [rbp - 0x70], 0xffffffffffffffff
lea rax, [rbp - 0x30]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rdx, str.NTLM
lea rax, [rbp]
xor ecx, ecx
mov qword [rsp + 0x38], rax
lea r8d, [rbx + 2]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.Secur32.dll_AcquireCredentialsHandleW]
test eax, eax
js 0x140002770
lea rax, [rbp - 0x28]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea r8d, [rbx + 1]
lea rax, [rbp + 0x10]
xor ecx, ecx
mov qword [rsp + 0x38], rax
lea rdx, str.NTLM
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.Secur32.dll_AcquireCredentialsHandleW]
test eax, eax
js 0x140002789
lea rax, [rsp + 0x60]
mov dword [rbp - 0x68], ebx
mov qword [rbp - 0x60], rax
mov dword [rbp - 0x64], 1
mov dword [rsp + 0x60], 0x2ee0
mov dword [rsp + 0x64], 2
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea edx, [rbx + 8]
mov r8d, 0x2ee0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x68], rax
mov r9d, 0x400
xor r8d, r8d
lea rcx, [rbp]
lea rax, [rbp - 0x30]
xor edx, edx
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], ebx
call qword [sym.imp.Secur32.dll_InitializeSecurityContextW]
test eax, eax
js 0x1400027a2
mov edx, dword [rsp + 0x60]
lea rcx, str.NTLM_Negotiate_Type1_buffer__size__d_:__n
call fcn.140001010
mov r8d, dword [rsp + 0x60]
mov rdx, qword [rsp + 0x68]
call fcn.140002810
lea rax, [rsp + 0x70]
mov dword [rbp - 0x58], ebx
mov qword [rbp - 0x50], rax
mov dword [rbp - 0x54], 1
mov dword [rsp + 0x70], 0x2ee0
mov dword [rsp + 0x74], 2
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea edx, [rbx + 8]
mov r8d, 0x2ee0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x78], rax
mov r9d, 0x400
lea r8, [rbp - 0x68]
xor edx, edx
lea rax, [rbp - 0x28]
mov qword [rsp + 0x40], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp - 0x34]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.Secur32.dll_AcceptSecurityContext]
test eax, eax
js 0x1400027bb
mov edx, dword [rsp + 0x70]
lea rcx, str.NTLM_Challenge_Type2_buffer__size__d_:__n
call fcn.140001010
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x78]
call fcn.140002810
lea rax, [rbp - 0x80]
mov dword [rbp - 0x48], ebx
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x44], 1
mov dword [rbp - 0x80], 0x2ee0
mov dword [rbp - 0x7c], 2
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea edx, [rbx + 8]
mov r8d, 0x2ee0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp - 0x78], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x10]
lea rax, [rbp - 0x30]
xor ecx, ecx
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x58]
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], ebx
call qword [sym.imp.Secur32.dll_InitializeSecurityContextW]
test eax, eax
js 0x1400027d4
mov edx, dword [rbp - 0x80]
lea rcx, str.NTLM_Authenticate_Type3_buffer__size__d_:__n
call fcn.140001010
mov r8d, dword [rbp - 0x80]
mov rdx, qword [rbp - 0x78]
call fcn.140002810
lea rax, [rbp - 0x28]
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea r8, [rbp - 0x48]
lea rax, [rbp - 0x34]
xor ecx, ecx
mov qword [rsp + 0x38], rax
lea rdx, [rbp - 0x20]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.Secur32.dll_AcceptSecurityContext]
test eax, eax
js 0x1400027ed
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x20]
call qword [sym.imp.Secur32.dll_QuerySecurityContextToken]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x68]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rsp + 0x78]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp - 0x78]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rcx, [rbp]
call qword [sym.imp.Secur32.dll_FreeCredentialsHandle]
lea rcx, [rbp + 0x10]
call qword [sym.imp.Secur32.dll_FreeCredentialsHandle]
lea rcx, [rbp - 0x10]
call qword [sym.imp.Secur32.dll_DeleteSecurityContext]
lea rcx, [rbp - 0x20]
call qword [sym.imp.Secur32.dll_DeleteSecurityContext]
mov rax, qword [rbp - 0x70]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400029b0
mov rbx, qword [rsp + 0x140]
add rsp, 0x130
pop rbp
ret
mov edx, eax
lea rcx, str.AcquireCredentialsHandle_Client_failed_with_secstatus_code_0x_x__n
call fcn.140001010
mov ecx, 0xffffffff
call fcn.140006df8
int3
mov edx, eax
lea rcx, str.AcquireCredentialsHandle_Server_failed_with_secstatus_code_0x_x__n
call fcn.140001010
mov ecx, 0xffffffff
call fcn.140006df8
int3
mov edx, eax
lea rcx, str.InitializeSecurityContext_Type_1_failed_with_secstatus_code_0x_x__n
call fcn.140001010
mov ecx, 0xffffffff
call fcn.140006df8
int3
mov edx, eax
lea rcx, str.AcceptSecurityContext_Type_2_failed_with_secstatus_code_0x_x__n
call fcn.140001010
mov ecx, 0xffffffff
call fcn.140006df8
int3
mov edx, eax
lea rcx, str.InitializeSecurityContext_Type_3_failed_with_secstatus_code_0x_x__n
call fcn.140001010
mov ecx, 0xffffffff
call fcn.140006df8
int3
mov edx, eax
lea rcx, str.AcceptSecurityContext_failed_with_secstatus_code_0x_x__n
call fcn.140001010
mov ecx, 0xffffffff
call fcn.140006df8
int3