Function at 0x14000fad0
Capabilities:
Acquire debug privileges
Enumerate processes

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x360], rbx
mov rax, qword [0x140047080]
xor rax, rsp
mov qword [rbp + 0x208], rax
mov r13, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdx
xor ebx, ebx
mov dword [rsp + 0x30], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rdx, rax
mov r8b, 1
lea rcx, str.SeDebugPrivilege
call fcn.14000f600
mov qword [rdi], rbx
mov qword [rdi + 8], rbx
mov qword [rdi + 0x10], rbx
lea esi, [rbx + 1]
xor edx, edx
lea ecx, [rbx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov r12, rax
mov dword [rsp + 0x70], 0x238
cmp rax, 0xffffffffffffffff
je 0x14000fe1a
lea rdx, [rsp + 0x70]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14000fe10
lea rdx, [rsp + 0x70]
mov rcx, r12
call sub.KERNEL32.dll_Process32NextW
test eax, eax
je 0x14000fe10
mov ecx, dword [0x140048d60]
mov rax, qword gs:[0x58]
lea rax, [rax + rcx*8]
mov qword [rsp + 0x38], rax
lea rbx, vtable.ProcessHelpers::Process.0
mov r15d, esi
mov r8d, dword [rsp + 0x78]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
test rax, rax
je 0x14000fdf9
mov qword [rbp + 0x1b0], rbx
mov eax, dword [rsp + 0x78]
mov dword [rbp + 0x1b8], eax
mov eax, dword [rbp - 0x70]
mov dword [rbp + 0x1bc], eax
xor ecx, ecx
mov qword [rbp + 0x1d0], rcx
mov qword [rbp + 0x1d8], 7
mov word [rbp + 0x1c0], cx
xor eax, eax
mov qword [rbp + 0x1e0], rax
mov ebx, ecx
mov qword [rbp + 0x1f8], rcx
mov qword [rbp + 0x200], 7
mov word [rbp + 0x1e8], cx
or esi, 2
mov dword [rsp + 0x30], esi
xor edx, edx
mov r8d, 0x800
lea rsi, [0x140047fa0]
mov rcx, rsi
call fcn.140014390
mov r9d, 0x400
mov r8, rsi
xor edx, edx
mov rcx, r14
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
jne 0x14000fca9
mov ecx, 4
mov rax, qword [rsp + 0x38]
mov rax, qword [rax]
mov ecx, dword [rcx + rax]
cmp dword [0x1400487a8], ecx
jg 0x14000fe61
mov rax, qword [0x1400487a0]
test rax, rax
je 0x14000fca9
mov dword [rsp + 0x34], 0x400
lea r9, [rsp + 0x34]
mov r8, rsi
xor edx, edx
mov rcx, r14
call rax
test eax, eax
jne 0x14000fca9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x14000fce0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rsi + r8*2], bx
jne 0x14000fcc0
mov rdx, rsi
lea rcx, [rbp + 0x1e8]
call fcn.140002080
mov rbx, qword [rbp + 0x1f8]
lea rcx, [rbp + 0x1c0]
call fcn.140002230
movups xmm0, xmmword [rbp + 0x1e8]
movups xmmword [rbp + 0x1c0], xmm0
movups xmm1, xmmword [rbp + 0x1f8]
movups xmmword [rbp + 0x1d0], xmm1
mov esi, r15d
and esi, 0xfffffffd
mov dword [rsp + 0x30], esi
test rbx, rbx
jne 0x14000fd3d
lea rax, [rbp - 0x64]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14000fd22
lea rdx, [rbp - 0x64]
lea rcx, [rbp + 0x1c0]
call fcn.140002080
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x68]
lea rdx, [rbp + 0x1e0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
mov rcx, qword [r13 + 0x38]
test rcx, rcx
je 0x14000fd7b
mov rax, qword [rcx]
lea rdx, [rbp + 0x1b0]
call qword [rax + 0x10]
test al, al
je 0x14000fdd5
mov rbx, qword [rdi + 8]
cmp qword [rdi + 0x10], rbx
je 0x14000fdc3
lea rax, vtable.ProcessHelpers::Process.0
mov qword [rbx], rax
mov eax, dword [rbp + 0x1b8]
mov dword [rbx + 8], eax
mov eax, dword [rbp + 0x1bc]
mov dword [rbx + 0xc], eax
lea rdx, [rbp + 0x1c0]
lea rcx, [rbx + 0x10]
call fcn.140001be0
mov rax, qword [rbp + 0x1e0]
mov qword [rbx + 0x30], rax
add qword [rdi + 8], 0x38
jmp 0x14000fdd5
lea r8, [rbp + 0x1b0]
mov rdx, rbx
mov rcx, rdi
call fcn.140008b10
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rbx, vtable.ProcessHelpers::Process.0
mov qword [rbp + 0x1b0], rbx
lea rcx, [rbp + 0x1c0]
call fcn.140002230
lea rdx, [rsp + 0x70]
mov rcx, r12
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14000fbb1
xor ebx, ebx
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [r13 + 0x38]
test rcx, rcx
je 0x14000fe34
mov r8, qword [rcx]
cmp rcx, r13
setne dl
call qword [r8 + 0x20]
mov qword [r13 + 0x38], rbx
mov rax, rdi
mov rcx, qword [rbp + 0x208]
xor rcx, rsp
call fcn.140012200
mov rbx, qword [rsp + 0x360]
add rsp, 0x310
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x1400487a8]
call fcn.140012444
cmp dword [0x1400487a8], 0xffffffff
jne 0x14000fc7c
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.QueryFullProcessImageNameW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400487a0], rax
lea rcx, [0x1400487a8]
call fcn.1400123e4
jmp 0x14000fc7c