Function at 0x140001490
Capabilities:
Get logon sessions
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x2ded8]
mov eax, 0x2dfb0
call fcn.140002600
sub rsp, rax
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x2dea8], rax
mov qword [rsp + 0x40], rcx
lea rdx, [rbp - 0x40]
xor r14d, r14d
lea rcx, [rbp - 4]
mov dword [rbp - 4], r14d
mov qword [rbp - 0x40], r14
call qword [sym.imp.Secur32.dll_LsaEnumerateLogonSessions]
test eax, eax
jns 0x140001504
lea rcx, str.____Unable_to_acquire_sessions.
call fcn.140001008
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov al, byte [0x1400033c8]
lea rdx, [rbp + 0x2de80]
movsd xmm0, qword [str.Kerberos]
or rcx, 0xffffffffffffffff
mov byte [rbp + 0x2de88], al
mov rax, rcx
mov dword [rbp - 0x14], r14d
mov dword [rbp - 8], r14d
movsd qword [rbp + 0x2de80], xmm0
inc rax
cmp byte [rdx + rax], r14b
jne 0x140001536
movups xmm0, xmmword [str.User32LogonProcess]
mov word [rbp - 0x18], ax
lea rdx, [rbp + 0x2de80]
mov qword [rbp - 0x10], rdx
mov edx, 1
add ax, dx
mov qword [rbp - 0x30], r14
mov word [rbp - 0x16], ax
movzx eax, word [0x1400032d0]
mov word [rbp + 0x2dea0], ax
mov al, byte [0x1400032d2]
mov byte [rbp + 0x2dea2], al
lea rax, [rbp + 0x2de90]
mov dword [rbp - 0x24], r14d
mov dword [rbp], r14d
movups xmmword [rbp + 0x2de90], xmm0
inc rcx
cmp byte [rax + rcx], r14b
jne 0x140001595
mov word [rbp - 0x28], cx
lea rax, [rbp + 0x2de90]
add cx, dx
mov qword [rbp - 0x20], rax
mov word [rbp - 0x26], cx
lea r8, [rbp]
lea rcx, [rbp - 0x28]
lea rdx, [rbp - 0x30]
call qword [sym.imp.Secur32.dll_LsaRegisterLogonProcess]
test eax, eax
jns 0x1400015df
lea rcx, str.____SeTCBPrivilege_not_held__bailing_out...
call fcn.140001008
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rdi, qword [rbp - 0x30]
lea rsi, [0x1400033f0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.LsaLookupAuthenticationPackage
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r8, [rbp - 8]
mov rcx, rdi
lea rdx, [rbp - 0x18]
call rax
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.LsaDeregisterLogonProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
mov r13, rax
test ebx, ebx
jns 0x140001652
mov ecx, ebx
call qword [sym.imp.ADVAPI32.dll_LsaNtStatusToWinError]
mov edx, eax
lea rcx, str._s_n______Failed_LsaLookupAuthenticationPackage:
call fcn.140001008
jmp 0x1400017e2
xor edx, edx
mov dword [rbp + 0x20], r14d
mov r8d, 0x2de5c
lea rcx, [rbp + 0x24]
call sub.VCRUNTIME140.dll_memset
mov r8d, dword [rbp - 4]
lea rdx, [rbp + 0x20]
mov rcx, qword [rbp - 0x40]
call fcn.14000105c
mov rcx, rsi
movsxd rbx, eax
mov qword [rbp - 0x38], r14
mov dword [rbp + 0x10], 0xe
mov dword [rbp + 8], r14d
mov dword [rbp + 4], r14d
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x140003460]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp - 0x40], rbx
mov esi, r14d
mov qword [rsp + 0x48], rax
mov r15, rbx
test ebx, ebx
jle 0x1400017bf
lea rbx, [rbp + 0x28]
mov ecx, dword [rbx]
lea r8, [rbp + 0x10]
mov edx, dword [rbp - 8]
mov r9d, 0xc
mov dword [rbp + 0x14], ecx
lea rcx, [rbp + 4]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 8]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x20], rcx
mov rcx, rdi
call rax
test eax, eax
jns 0x140001704
lea rcx, str.LSA_failed_niggaaaaaaaaaaaa
call fcn.140001008
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x14000179e
mov r12d, r14d
cmp dword [rcx + 4], r14d
jbe 0x14000179e
mov r15, qword [rsp + 0x40]
movsxd rax, esi
imul r13, rax, 0xeb0
movups xmm0, xmmword [r14 + rcx + 8]
mov r8d, dword [rbp - 8]
lea r9, [rsp + 0x60]
movups xmm1, xmmword [r14 + rcx + 0x18]
mov rdx, rdi
mov qword [rsp + 0x20], r15
movaps xmmword [rsp + 0x60], xmm0
movups xmm0, xmmword [r14 + rcx + 0x28]
movaps xmmword [rsp + 0x70], xmm1
movups xmm1, xmmword [r14 + rcx + 0x38]
movaps xmmword [rbp - 0x80], xmm0
movups xmm0, xmmword [r14 + rcx + 0x48]
movaps xmmword [rbp - 0x70], xmm1
movups xmm1, xmmword [r14 + rcx + 0x58]
mov rcx, qword [rbp + r13 + 0x20]
movaps xmmword [rbp - 0x60], xmm0
movaps xmmword [rbp - 0x50], xmm1
call fcn.14000116c
mov rcx, qword [rbp - 0x38]
lea r14, [r14 + 0x60]
inc r12d
cmp r12d, dword [rcx + 4]
jb 0x14000172d
mov r15, qword [rbp - 0x40]
xor r14d, r14d
mov rax, qword [rsp + 0x48]
inc esi
add rbx, 0xeb0
sub r15, 1
mov qword [rbp - 0x40], r15
jne 0x1400016c2
mov r13, qword [rsp + 0x50]
lea rcx, [0x1400033f0]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, [0x1400034a0]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rbp - 0x38]
call rax
mov rcx, rdi
call r13
mov rcx, qword [rbp + 0x2dea8]
xor rcx, rsp
call fcn.140001900
lea r11, [rsp + 0x2dfb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret