Function at 0x1400637e0
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r12
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x140198190]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r15, r8
mov dword [rbp + 0x1b0], 1
mov r12d, ecx
mov dword [rbp + 0x1b4], 1
lea r8, [rbp + 0x1b8]
xor ecx, ecx
lea rdx, str.SeTcbPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x140063af2
xor edx, edx
mov qword [rsp + 0x338], rsi
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140063aea
mov qword [rsp + 0x348], rdi
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x300], r14
mov rcx, rax
xor r14d, r14d
mov dword [rsp + 0x50], 0x238
mov edi, 0x490
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140063aab
mov qword [rsp + 0x308], r13
movabs rax, 0xc518049d351faf72
movabs r13, 0xc6869af493155158
mov qword [rsp + 0x330], rbx
movabs rcx, 0xe20876d1bc6f6da9
movabs rdx, 0x26079a29fc142499
movabs r8, 0xc57404f33576af05
movabs r9, 0xe26676bebc086dc6
movabs r10, 0x26629a51fc7124b7
nop word [rax + rax]
mov qword [rbp + 0x198], rcx
lea rcx, [rsp + 0x7c]
mov qword [rbp + 0x1a0], rdx
lea rdx, [rbp + 0x190]
mov qword [rbp + 0x190], rax
movdqa xmm0, xmmword [rbp + 0x190]
mov qword [rbp + 0x1a8], r13
movdqa xmm1, xmmword [rbp + 0x1a0]
mov qword [rbp + 0x1d0], r8
mov qword [rbp + 0x1d8], r9
xorps xmm0, xmmword [rbp + 0x1d0]
mov qword [rbp + 0x1e0], r10
mov qword [rbp + 0x1e8], r13
xorps xmm1, xmmword [rbp + 0x1e0]
movdqa xmmword [rbp + 0x190], xmm0
movdqa xmmword [rbp + 0x1a0], xmm1
call fcn.14012293c
test eax, eax
jne 0x140063a49
mov r8d, dword [rsp + 0x58]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x140063a44
lea r8, [rsp + 0x38]
mov edx, 0xa
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140063a3b
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x30]
lea rdx, [rbp + 0x1b0]
call qword [sym.imp.ADVAPI32.dll_PrivilegeCheck]
test eax, eax
je 0x140063a32
cmp dword [rsp + 0x30], 0
je 0x140063a32
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x40]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x34]
lea edx, [r9 + 8]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140063a32
cmp dword [rsp + 0x34], r12d
jne 0x140063a32
mov rcx, qword [rsp + 0x38]
mov r14d, 1
mov qword [rsp + 0x28], r15
xor r8d, r8d
mov dword [rsp + 0x20], 2
lea r9d, [r14 + 1]
lea edx, [r14 + 3]
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x140063a2a
xor edi, edi
jmp 0x140063a32
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14d, r14d
jne 0x140063a9b
lea rdx, [rsp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
movabs rcx, 0xe20876d1bc6f6da9
movabs rdx, 0x26079a29fc142499
test eax, eax
movabs r8, 0xc57404f33576af05
movabs rax, 0xc518049d351faf72
movabs r9, 0xe26676bebc086dc6
movabs r10, 0x26629a51fc7124b7
jne 0x1400638f0
mov rbx, qword [rsp + 0x330]
mov r13, qword [rsp + 0x308]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x300]
mov eax, edi
mov rdi, qword [rsp + 0x348]
mov rsi, qword [rsp + 0x338]
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.14010f620
add rsp, 0x310
pop r15
pop r12
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140063ac6
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140063ace