Function at 0x140001af0
Capabilities:
Create directory
Create thread
Enumerate processes
Get session user name
Query or enumerate registry value
Terminate process

Disassembly:
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
xor esi, esi
mov rdi, rax
lea r14d, [rsi + 1]
cmp rax, 0xffffffffffffffff
je 0x140001c81
xor edx, edx
mov qword [rsp + 0x3d0], rbx
mov r8d, 0x234
lea rcx, [rsp + 0x54]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x238
mov rcx, rdi
mov ebx, esi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140001bd7
xor edx, edx
lea rcx, [rbp + 0x1a0]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x38], rsi
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0x7c]
mov dword [rsp + 0x28], 0x104
mov r9d, 0x104
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rdx, [rbp + 0x1a0]
lea rcx, str.pcss.exe
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
cmove ebx, r14d
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x140001c6a
nop dword [rax]
test ebx, ebx
jne 0x140001c6a
xor edx, edx
lea rcx, [rbp + 0x1a0]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x38], rsi
lea rax, [rbp + 0x1a0]
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0x7c]
mov dword [rsp + 0x28], 0x104
mov r9d, 0x104
xor edx, edx
mov qword [rsp + 0x20], rax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rdx, [rbp + 0x1a0]
lea rcx, str.pcss.exe
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
test eax, eax
lea rdx, [rsp + 0x50]
mov ebx, esi
mov rcx, rdi
sete bl
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140001bf0
cmp ebx, 2
mov rbx, qword [rsp + 0x3d0]
jb 0x140001c81
mov ecx, r14d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x48], 0x101
lea rcx, [rbp + 0x1a0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea r8, [rbp + 0x1a0]
lea rdx, str.C:Users_sAppDataLocalPackagesYSMond.exe
lea rcx, [0x140005660]
call fcn.140001010
lea r8, [rbp + 0x1a0]
lea rdx, str.C:Users_sAppDataLocalDiagnostics_
lea rcx, [0x140005880]
call fcn.140001010
lea r8, [rbp + 0x1a0]
lea rdx, str.C:Users_sAppDataLocalDiagnosticsDCBC2A71_70D8_4DAN_EHR8_E0D61DEA3FDF.ini
lea rcx, [0x140005770]
call fcn.140001010
xor edx, edx
lea rcx, [0x140005880]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x4c], 4
mov r9d, 0xf003f
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersionDevices
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140001d64
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
lea rdx, str.mVersion
lea rax, [0x140005768]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x28], rsi
lea r8, [0x140001480]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
xor r9d, r9d
mov qword [rsp + 0x28], rsi
lea r8, [0x1400011e0]
mov qword [rbp + 0x198], rax
xor edx, edx
mov dword [rsp + 0x20], esi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r9d, 0xffffffff
lea rdx, [rbp + 0x190]
mov r8d, r14d
mov qword [rbp + 0x190], rax
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.140001e00
lea r11, [rsp + 0x3c0]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret