Function at 0x1400089a0
Capabilities:
Enumerate processes on remote desktop session host

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140174200]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor r15d, r15d
mov dword [rsp + 0x40], r15d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r15
mov qword [rcx + 8], r15
lea ecx, [r15 + 0x20]
call fcn.1400374ac
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rdi], rax
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x70], r15
mov dword [rsp + 0x78], r15d
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
xor edx, edx
xor ecx, ecx
lea r8d, [r15 + 1]
call qword [sym.imp.WTSAPI32.dll_WTSEnumerateProcessesW]
test eax, eax
je 0x140008bb7
mov esi, r15d
mov r9d, dword [rsp + 0x78]
test r9d, r9d
je 0x140008bb7
lea r14, str.explorer.exe
movabs r12, 0x7ffffffffffffff
mov r8, qword [rsp + 0x70]
mov eax, esi
lea rcx, [rax + rax*2]
lea rbx, [rcx*8]
lea r10, [rbx + r8]
mov rdx, qword [r10 + 8]
mov rax, 0xffffffffffffffff
nop dword [rax]
movzx ecx, word [rdx + rax*2 + 2]
cmp cx, word [r14 + rax*2 + 2]
jne 0x140008aa2
add rax, 2
cmp rax, 0xd
je 0x140008b13
movzx ecx, word [rdx + rax*2]
cmp cx, word [r14 + rax*2]
je 0x140008a80
sbb eax, eax
or eax, 1
test eax, eax
jne 0x140008bab
mov dword [rsp + 0x7c], 0x100
lea rax, [rbp - 0x80]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x7c]
lea r8, [rbp - 0x70]
mov rdx, qword [r10 + 0x10]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountSidA]
test eax, eax
jne 0x140008b2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x534
jne 0x140008b18
lea r8, str.NONE_MAPPED
mov edx, 0x100
lea rcx, [rbp - 0x70]
call fcn.140117d7c
jmp 0x140008b45
mov eax, r15d
jmp 0x140008aa7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.LookupAccountSid_Error__u_n
call fcn.140007cd0
jmp 0x140008b45
lea r8, [rbp - 0x70]
lea rdx, [rbp + 0x90]
lea rcx, str.User_is__s_s_n
call fcn.140007cd0
mov rcx, qword [rsp + 0x70]
mov eax, dword [rcx + rbx + 4]
mov dword [rsp + 0x48], eax
mov rax, qword [rcx + rbx + 8]
mov qword [rsp + 0x50], rax
mov rbx, qword [rdi]
cmp qword [rdi + 8], r12
je 0x140008bf8
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], r15
mov ecx, 0x20
call fcn.1400374ac
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rax + 0x10], xmm0
inc qword [rdi + 8]
mov rcx, qword [rbx + 8]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov qword [rsp + 0x60], r15
mov qword [rbx + 8], rax
mov qword [rcx], rax
mov r8, qword [rsp + 0x70]
mov r9d, dword [rsp + 0x78]
inc esi
cmp esi, r9d
jae 0x140008bbc
jmp 0x140008a60
mov r8, qword [rsp + 0x70]
test r8, r8
je 0x140008bca
mov rcx, r8
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov rax, rdi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400371f0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rcx, str.list_too_long
call fcn.140035cb4
int3