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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x140097050]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov r14, rdx
mov esi, ecx
xor r15d, r15d
mov qword [rbp - 0x21], r15
mov dword [rbp - 0x29], r15d
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x21]
xor edx, edx
xor ecx, ecx
lea r8d, [r15 + 1]
call sub.WTSAPI32.dll_WTSEnumerateProcessesW
cmp eax, 1
je 0x140038f2e
lea rax, str.WTSEnumerateProcessesW:
mov qword [rbp - 0x19], rax
mov qword [rbp - 0x11], 0x18
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 0x19], xmm0
lea rdx, [rbp - 0x19]
lea rcx, [rbp + 0x17]
call fcn.140001350
mov rbx, rax
mov rdx, rax
mov rcx, r14
call fcn.140002f90
mov eax, dword [rbx + 0x20]
mov dword [r14 + 0x20], eax
lea rcx, [rbp + 0x17]
call fcn.1400012e0
mov eax, 0xffffffff
jmp 0x14003908b
mov eax, dword [rbp - 0x29]
lea rcx, [rax + rax*2]
mov rbx, qword [rbp - 0x21]
lea rdi, [rbx + rcx*8]
cmp rbx, rdi
je 0x140038faa
cmp dword [rbx], esi
jne 0x140038f9c
mov rcx, qword [rbx + 8]
mov qword [rbp - 0x19], rcx
mov rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r15w
jne 0x140038f55
mov qword [rbp - 0x11], rax
movaps xmm0, xmmword [rbp - 0x19]
movdqa xmmword [rbp - 9], xmm0
movups xmm1, xmmword [str.winlogon.exe]
movaps xmmword [rbp + 7], xmm1
lea rdx, [rbp - 9]
lea rcx, [rbp + 7]
call fcn.14002f180
test al, al
je 0x140038f9c
mov edx, 0x16
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.ADVAPI32.dll_IsWellKnownSid]
cmp eax, 1
je 0x140038fa2
add rbx, 0x18
jmp 0x140038f3d
mov ebx, dword [rbx + 4]
jmp 0x14003907b
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x2f], 7
mov edx, 0x30
lea rcx, [rbp + 0x17]
call fcn.140003c60
movdqa xmm0, xmmword [0x14005ba10]
movdqu xmmword [rbp + 0x27], xmm0
movaps xmm1, xmmword [str.a_suitable_system_process_could_not_be_found]
movups xmmword [rax], xmm1
movaps xmm0, xmmword [0x14005b580]
movups xmmword [rax + 0x10], xmm0
movaps xmm1, xmmword [0x14005b590]
movups xmmword [rax + 0x20], xmm1
movaps xmm0, xmmword [0x14005b5a0]
movups xmmword [rax + 0x30], xmm0
movaps xmm1, xmmword [0x14005b5b0]
movups xmmword [rax + 0x40], xmm1
movsd xmm0, qword [0x14005b5c0]
movsd qword [rax + 0x50], xmm0
mov word [rax + 0x58], r15w
mov qword [rbp + 0x17], rax
mov dword [rbp + 0x37], 1
lea rdx, [rbp + 0x17]
mov rcx, r14
call fcn.140002f90
mov eax, dword [rbp + 0x37]
mov dword [r14 + 0x20], eax
mov rdx, qword [rbp + 0x2f]
cmp rdx, 8
jb 0x140039076
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140039071
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400390b4
call fcn.14003ac6c
mov ebx, 0xffffffff
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x140039089
call sub.WTSAPI32.dll_WTSFreeMemory
mov eax, ebx
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14003ac10
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140041558
int3