Function at 0x180012fd4
Capabilities:
Acquire debug privileges
Enumerate process modules
Enumerate processes
Get file size
Get process image filename

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xac0]
sub rsp, 0xbc0
mov r15, qword [rcx]
xor edx, edx
and qword [rbp + 0xaf8], 0
lea rcx, [rbp - 0x2c]
and dword [rbp + 0xaf0], 0
mov r8d, 0x234
call sub.ntdll.dll_memset
xor edx, edx
lea rcx, [rbp + 0x8b0]
mov r8d, 0x208
call sub.ntdll.dll_memset
mov esi, 0x48
lea rcx, [rbp - 0x80]
mov r8d, esi
xor edx, edx
call sub.ntdll.dll_memset
lea edx, [rsi - 0x47]
lea rcx, str.SeDebugPrivilege
call fcn.180015448
xor edx, edx
lea ecx, [rsi - 0x46]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180013301
call fcn.180003854
lea rdx, [rbp - 0x30]
mov dword [rbp - 0x30], 0x238
mov rcx, rbx
mov r14, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x180013240
mov r8d, dword [rbp - 0x28]
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test dword [rbp - 0x28], 0xfffffffb
mov rdi, rax
je 0x180013225
cmp dword [rbp - 0x28], 8
je 0x180013225
xor edx, edx
lea rcx, [rbp + 0x210]
mov r8d, 0x694
call sub.ntdll.dll_memset
lea rdx, [rbp - 4]
lea rcx, [rbp + 0x210]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [rbp - 0x28]
mov rcx, rdi
mov dword [rbp + 0x418], eax
call qword [sym.imp.KERNEL32.dll_GetPriorityClass]
mov dword [rbp + 0x41c], eax
lea rdx, [rbp + 0x424]
mov eax, dword [rbp - 0x14]
mov rcx, rdi
mov dword [rbp + 0x420], eax
call fcn.180015ba4
mov ecx, dword [rbp - 0x28]
lea rdx, [rbp + 0x488]
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
mov r8, rsi
lea rcx, [rbp - 0x80]
xor edx, edx
call qword [sym.imp.ntdll.dll_memset]
mov r8d, esi
mov dword [rbp - 0x80], esi
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_K32GetProcessMemoryInfo]
test eax, eax
je 0x180013145
mov rax, qword [rbp - 0x70]
shr rax, 0xa
mov dword [rbp + 0x48c], eax
jmp 0x18001314c
and dword [rbp + 0x48c], 0
lea r9, [rbp + 0xaf0]
mov r8d, 8
lea rdx, [rbp + 0xaf8]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModules]
mov r8d, 0x104
lea rdx, [rbp + 0x8b0]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_K32GetProcessImageFileNameW]
test eax, eax
jne 0x180013199
lea rdx, str.unknown
lea rcx, [rbp + 0x494]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
jmp 0x1800131ac
lea rdx, [rbp + 0x494]
lea rcx, [rbp + 0x8b0]
call fcn.1800159a4
and qword [rsp + 0x30], 0
lea rcx, [rbp + 0x494]
and dword [rsp + 0x28], 0
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x180013205
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
shr eax, 0xa
mov dword [rbp + 0x490], eax
test rsi, rsi
je 0x18001320c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18001320c
and dword [rbp + 0x490], 0
mov r8d, 0x694
lea rdx, [rbp + 0x210]
mov rcx, r14
call qword [r14 + 0x28]
mov esi, 0x48
test rdi, rdi
je 0x180013233
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbp - 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
xor edx, edx
test eax, eax
jne 0x180013081
lea rcx, str.SeDebugPrivilege
call fcn.180015448
test rbx, rbx
je 0x180013264
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
mov rcx, r14
mov dword [rsp + 0x74], 0x2072024
mov dword [rsp + 0x64], 0x5000
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [r14 + 0x30]
and dword [rsp + 0x70], 0
mov dword [rsp + 0x68], eax
call fcn.180003854
mov r8d, gethostname
lea rdx, [rsp + 0x40]
mov rcx, rax
mov rdi, rax
call qword [rax + 0x28]
mov rcx, r14
call qword [r14 + 0x30]
xor edx, edx
mov rcx, r14
mov ebx, eax
call qword [r14 + gethostname]
mov r8d, ebx
mov rcx, rdi
mov rdx, rax
call qword [rdi + 0x28]
mov rcx, rdi
call qword [rdi + 0x30]
xor edx, edx
mov rcx, rdi
mov ebx, eax
call qword [rdi + gethostname]
mov r8d, ebx
mov rcx, r15
mov rdx, rax
call qword [r15 + 0x30]
mov rcx, r14
call fcn.18000397c
mov rcx, rdi
call fcn.18000397c
mov rbx, qword [rsp + 0xc00]
xor eax, eax
add rsp, 0xbc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret