Function at 0x14006cad0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1e0]
sub rsp, 0x2e0
mov rax, qword [0x14012ac00]
xor rax, rsp
mov qword [rbp + 0x1d0], rax
mov rax, qword [0x1401314d0]
test rax, rax
jne 0x14006cdb0
xor esi, esi
mov qword [rsp + 0x70], rsi
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
mov qword [rsp + 0x70], rax
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp - 0x7c]
call fcn.1400bd240
lea rdi, [rbp - 0x80]
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
mov dword [rbp - 0x80], 0x238
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x68], rsi
lea rdx, [rbp - 0x80]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14006cd9f
lea rdx, [rbp - 0x80]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x14006cd98
movabs r12, 0xbd6461dcce56cf3e
movabs r15, 0x86b3cef8709e05da
movabs r13, 0x85554ce9e367e26d
nop dword [rax + rax]
mov r8d, dword [rbp - 0x78]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14006cd5c
mov dword [rsp + 0x58], esi
lea r8, [rsp + 0x50]
mov edx, 0xe
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x14006cbf4
mov rcx, rdi
jmp 0x14006cd56
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x14006cd48
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14006cd48
mov ecx, dword [rsp + 0x58]
call fcn.14009408c
mov rbx, rax
test rax, rax
je 0x14006cd48
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x58]
mov r8, rbx
mov edx, 1
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14006cce3
mov qword [rsp + 0x60], rsi
lea rdx, [rsp + 0x60]
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidA]
test eax, eax
je 0x14006cce3
mov qword [rsp + 0x30], r12
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x30], r13
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1c0], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1c8], rax
movdqa xmm0, xmmword [rsp + 0x40]
xorps xmm0, xmmword [rbp + 0x1c0]
movdqa xmmword [rsp + 0x40], xmm0
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
call fcn.140093fbc
test eax, eax
je 0x14006cd01
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.14008ca40
jmp 0x14006cd5c
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 2
xor r8d, r8d
mov edx, 0x2000000
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov rcx, rbx
test eax, eax
jne 0x14006cd73
call fcn.14008ca40
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
jmp 0x14006cd56
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp - 0x80]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x14006cbb0
jmp 0x14006cd98
mov rax, qword [rsp + 0x68]
mov qword [0x1401314d0], rax
call fcn.14008ca40
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [0x1401314d0]
test r14, r14
je 0x14006cdad
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
mov rcx, qword [rbp + 0x1d0]
xor rcx, rsp
call fcn.1400a9a30
lea r11, [rsp + 0x2e0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret