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

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xc08]
sub rsp, 0xce0
mov qword [rbp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140033670]
xor rax, rsp
mov qword [rbp + 0xbb0], rax
mov rsi, rcx
lea rcx, [rbp + 0xe0]
call fcn.140015f28
nop
xor r12d, r12d
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x28], r12
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x10], xmm1
mov dword [rbp], 0x2d0
mov qword [rbp + 8], r12
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
movss dword [rbp + 0x10], xmm0
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], r12
xor r8d, r8d
xor edx, edx
call fcn.1400131fc
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x28], r12
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
movss xmm0, dword [0x140028a48]
movss dword [rbp + 0x10], xmm0
lea edx, [r12 + 8]
lea rcx, [rbp + 0x10]
call fcn.140012848
nop
mov r13d, r12d
mov ebx, r12d
mov qword [rsp + 0x40], rbx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoInitializeEx]
movzx r15d, r12b
lea edi, [r12 + 1]
test eax, eax
cmovns r15d, edi
mov dword [rsp + 0x30], r15d
mov byte [rsp + 0x34], r15b
mov r14d, r12d
mov dword [rsp + 0x3c], r12d
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x9a0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
mov qword [rbp + 0x70], r12
mov dword [rsp + 0x38], r12d
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x70]
mov r8d, edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WTSAPI32.dll_WTSEnumerateProcessesW]
test eax, eax
je 0x140006f5b
mov edi, r12d
cmp dword [rsp + 0x38], r12d
jbe 0x140006f5b
mov eax, edi
lea r8, [rax + rax*2]
lea rdx, str.sedlauncher.exe
mov rcx, qword [rbp + 0x70]
mov rcx, qword [rcx + r8*8 + 8]
call qword [sym.imp.api_ms_win_core_string_obsolete_l1_1_0.dll_lstrcmpiW]
test eax, eax
je 0x140006f55
inc edi
cmp edi, dword [rsp + 0x38]
jb 0x140006f2b
jmp 0x140006f5b
mov r14d, 1
mov rcx, qword [rbp + 0x70]
test rcx, rcx
je 0x140006f6e
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov qword [rbp + 0x70], r12
xor ecx, ecx
call fcn.140008b64
test r14d, r14d
jne 0x14000703a
lea rdx, [rsp + 0x3c]
lea rcx, [rbp + 0xe0]
call fcn.140006370
test eax, eax
js 0x14000703a
cmp dword [rsp + 0x3c], r12d
je 0x14000703a
mov edi, 0x104
mov r8d, edi
lea rdx, [rbp + 0x9a0]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_GetModuleFileNameW]
mov edx, edi
lea rcx, [rbp + 0x9a0]
call qword [sym.imp.api_ms_win_core_path_l1_1_0.dll_PathCchRemoveFileSpec]
lea rcx, [rbp + 0x8a0]
cmp qword [rbp + 0x8b8], 8
cmovae rcx, qword [rbp + 0x8a0]
lea rax, [rbp + 0x8c0]
cmp qword [rbp + 0x8d8], 8
cmovae rax, qword [rbp + 0x8c0]
mov qword [rsp + 0x50], rax
lea rax, [rbp + 0x9a0]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rcx
lea rcx, [rsp + 0x50]
call fcn.14001b21c
test eax, eax
js 0x14000702c
call fcn.140014034
test eax, eax
jns 0x14000703a
lea rdx, str.Failed_to_delete_iteration_counts
jmp 0x140007033
lea rdx, str.Failed_to_update_the_plugins_payload
mov ecx, eax
call fcn.14000821c
cmp dword [rsi + 0x50], r12d
jne 0x1400072bb
mov r14d, 0x5a0
lea r8, [rbp + 0xe0]
lea rdx, [rsp + 0x70]
call fcn.140015c90
mov edi, eax
mov r8d, eax
lea rdx, str.Result_of_initializing_onesettings:_HR__0x_08x
mov ecx, eax
call fcn.140008434
cmp dword [rbp + 0x6ac], r12d
jne 0x1400072b6
cmp dword [rbp + 0x680], r12d
je 0x1400070b4
lea rdx, str.ExecuteLegacyRemediations
xor ecx, ecx
call fcn.140008434
mov rcx, rsi
call fcn.1400069b8
mov r8d, eax
lea rdx, str.Result_of_ExecuteLegacyRemediations:_HR__0x_08x
mov ecx, eax
call fcn.140008434
mov r14d, dword [rbp + 0x748]
jmp 0x140007133
cmp dword [rbp + 0x67c], r12d
je 0x140007133
lea rdx, str.ExecuteEventDrivenRemediations
xor ecx, ecx
call fcn.140008434
test rbx, rbx
jne 0x1400070fd
lea rcx, str.reminthndlers.dll
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_LoadLibraryW]
mov rbx, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400070fd
lea rdx, str.ExecuteModel
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_GetProcAddress]
mov r13, rax
test r13, r13
je 0x14000711b
lea rcx, [rsi + 8]
cmp qword [rcx + 0x18], 0x10
jb 0x140007110
mov rcx, qword [rcx]
mov rax, r13
call qword [0x1400218d8]
mov edi, eax
mov r8d, edi
lea rdx, str.Result_of_ExecuteEventDrivenRemediations:_HR__0x_08x
mov ecx, edi
call fcn.140008434
mov r14d, dword [rbp + 0x740]
mov r12d, 0x3200000
cmp dword [rbp + 0x738], r12d
cmova r12d, dword [rbp + 0x738]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentProcess]
mov rdi, rax
mov r8d, 0x50
lea rdx, [rbp + 0x90]
mov rcx, rax
call qword [sym.imp.api_ms_win_core_psapi_l1_1_0.dll_K32GetProcessMemoryInfo]
mov r15, qword [rbp + 0xd8]
test rdi, rdi
je 0x14000717c
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov edi, r12d
lea rax, str.Current_memory_bytes__lli
lea rdx, str.Current_bytes__lli_exceeds_maximum
cmp r15, rdi
cmovbe rdx, rax
mov r8, r15
xor ecx, ecx
call fcn.140008434
cmp r15, rdi
ja 0x1400072b3
lea edi, [r14 + r14*2]
shl edi, 2
lea rcx, [rbp + 0x80]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetLocalTime]
xor r12d, r12d
jmp 0x140007261
mov eax, edi
dec edi
test eax, eax
jle 0x14000727e
mov ecx, 0x1388
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
cmp dword [rsi + 0x50], r12d
jne 0x1400072a3
lea rcx, [rbp + 0x70]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetLocalTime]
movaps xmm7, xmmword [rbp + 0x70]
movdqa xmmword [rbp + 0x60], xmm7
movaps xmm6, xmmword [rbp + 0x80]
movdqa xmmword [rsp + 0x50], xmm6
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x50]
call fcn.1400139ec
mov r9d, eax
psrldq xmm6, 8
movq rcx, xmm6
mov r8, rcx
shr r8, 0x10
movzx ecx, cx
imul edx, ecx, 0x3c
add r8w, dx
psrldq xmm7, 8
movq rcx, xmm7
mov rdx, rcx
shr rdx, 0x10
movzx eax, cx
imul ecx, eax, 0x3c
add dx, cx
imul ecx, r9d, 0x5a0
movzx eax, r8w
sub ecx, eax
movzx eax, dx
add ecx, eax
cmp ecx, r14d
jg 0x14000726d
cmp dword [rsi + 0x50], r12d
je 0x1400071c3
jmp 0x14000727e
mov r8d, ecx
lea rdx, str.The_number_of_elapsed_minutes__d_has_exceeded_the_delayIntervalMinutes
xor ecx, ecx
call fcn.140008434
mov r8d, r14d
lea rdx, str.Waited_specified_delay_of__d_minutes
xor ecx, ecx
call fcn.140008434
cmp dword [rbp + 0x6ac], r12d
jne 0x1400072b6
cmp dword [rsi + 0x50], r12d
jne 0x1400072b6
jmp 0x140007044
lea rdx, str.Sediment_pack_service_is_stopping___exiting_shell_iteration_loop
xor ecx, ecx
call fcn.140008434
jmp 0x1400072b6
xor r12d, r12d
mov r15d, dword [rsp + 0x30]
mov rcx, qword [rsi + 0x58]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
test eax, eax
jne 0x1400072df
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
jmp 0x1400072e2
mov edi, r12d
test r15b, r15b
je 0x1400072ee
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoUninitialize]
nop
test rbx, rbx
je 0x1400072fd
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_FreeLibrary]
nop
lea rcx, [rsp + 0x70]
call fcn.140011248
lea rcx, [rbp + 0x28]
call fcn.140012368
lea rcx, [rbp + 0x18]
call fcn.1400123e0
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x140007333
mov qword [rbp + 8], r12
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [0x1400218d8]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop
lea rcx, [rbp + 0x980]
call fcn.140009ee8
lea rcx, [rbp + 0x960]
call fcn.140009ee8
lea rcx, [rbp + 0x940]
call fcn.140009ee8
lea rcx, [rbp + 0x920]
call fcn.140009ee8
lea rcx, [rbp + 0x900]
call fcn.140009ee8
lea rcx, [rbp + 0x8e0]
call fcn.140009ee8
lea rcx, [rbp + 0x8c0]
call fcn.140009ee8
lea rcx, [rbp + 0x8a0]
call fcn.140009ee8
lea rcx, [rbp + 0x880]
call fcn.140009ee8
lea rcx, [rbp + 0x860]
call fcn.140009ee8
lea rcx, [rbp + 0x840]
call fcn.140009ee8
lea rcx, [rbp + 0x820]
call fcn.140009ee8
lea rcx, [rbp + 0x800]
call fcn.140009ee8
lea rcx, [rbp + 0x7e0]
call fcn.140009ee8
lea rcx, [rbp + 0x7c0]
call fcn.140009ee8
lea rcx, [rbp + 0x7a0]
call fcn.140009ee8
lea rcx, [rbp + 0x5d0]
call fcn.140012368
lea rcx, [rbp + 0x5c0]
call fcn.1400123e0
lea rcx, [rbp + 0x1d8]
call fcn.140009ee8
lea rcx, [rbp + 0x1b8]
call fcn.140009ee8
lea rcx, [rbp + 0x198]
call fcn.140009ee8
lea rcx, [rbp + 0x178]
call fcn.140009ee8
mov eax, edi
mov rcx, qword [rbp + 0xbb0]
xor rcx, rsp
call fcn.14001c1f0
lea r11, [rsp + 0xce0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret