Function at 0x1400885a0
Capabilities:
Enumerate processes

Disassembly:
mov r11, rsp
push r12
push r15
sub rsp, 0x328
mov rax, qword [0x140295040]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov r12, r8
mov dword [r11 - 0x78], 1
mov r15d, ecx
mov dword [r11 - 0x74], 1
lea r8, [r11 - 0x70]
xor ecx, ecx
lea rdx, str.SeTcbPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x1400888f0
xor edx, edx
mov qword [rsp + 0x348], rsi
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400888e8
mov qword [rsp + 0x320], rdi
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x310], r14
mov rcx, rax
xor r14d, r14d
mov dword [rsp + 0x70], 0x238
mov edi, 0x490
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400888a9
mov qword [rsp + 0x318], r13
movabs rax, 0x7ab0db4660038af4
movabs r13, 0x66c71f6308ad0882
mov qword [rsp + 0x340], rbx
movabs rcx, 0xc1528e52d5b03e8f
movabs rdx, 0x1544235e781ceef3
movabs r8, 0x7adcdb28606a8a83
movabs r9, 0xc13c8e3dd5d73ee0
movabs r10, 0x152123267879eedd
nop
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], rcx
lea rcx, [rsp + 0x9c]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], rdx
lea rdx, [rsp + 0x40]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], r8
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x2e0], rax
mov qword [rsp + 0x30], r9
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x2e8], rax
mov qword [rsp + 0x30], r10
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x2f0], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x2f8], rax
vmovdqu ymm0, ymmword [rsp + 0x2e0]
vpxor ymm1, ymm0, ymmword [rsp + 0x40]
vmovdqu ymmword [rsp + 0x40], ymm1
vzeroupper
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x140088847
mov r8d, dword [rsp + 0x78]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140088842
lea r8, [rsp + 0x60]
mov edx, 0xa
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140088839
mov rcx, qword [rsp + 0x60]
lea r8, [rsp + 0x2b0]
lea rdx, [rsp + 0x2c0]
call qword [sym.imp.ADVAPI32.dll_PrivilegeCheck]
test eax, eax
je 0x14008882e
cmp dword [rsp + 0x2b0], 0
je 0x14008882e
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x2b8]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x2b4]
mov edx, 0xc
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14008882e
cmp dword [rsp + 0x2b4], r15d
jne 0x14008882e
mov rcx, qword [rsp + 0x60]
mov r9d, 2
mov qword [rsp + 0x28], r12
xor r8d, r8d
mov edx, 4
mov dword [rsp + 0x20], 2
mov r14d, 1
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x140088826
xor edi, edi
jmp 0x14008882e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14d, r14d
jne 0x140088899
lea rdx, [rsp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
movabs rcx, 0xc1528e52d5b03e8f
movabs rdx, 0x1544235e781ceef3
test eax, eax
movabs r8, 0x7adcdb28606a8a83
movabs rax, 0x7ab0db4660038af4
movabs r9, 0xc13c8e3dd5d73ee0
movabs r10, 0x152123267879eedd
jne 0x1400886a0
mov rbx, qword [rsp + 0x340]
mov r13, qword [rsp + 0x318]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x310]
mov eax, edi
mov rdi, qword [rsp + 0x320]
mov rsi, qword [rsp + 0x348]
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.140089c70
add rsp, 0x328
pop r15
pop r12
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400888c4
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400888cc