Function at 0x140048740
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r12
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
mov rax, qword [0x14005f040]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r12, r8
mov dword [rbp + 0x1b0], 1
mov r15d, 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 0x140048a50
xor edx, edx
mov qword [rsp + 0x338], rsi
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140048a48
mov qword [rsp + 0x348], rdi
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x300], r14
mov rcx, rax
xor r14d, r14d
mov dword [rsp + 0x60], 0x238
mov edi, 0x490
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140048a09
mov qword [rsp + 0x308], r13
movabs rax, 0x554e03b8f81ca938
movabs r13, 0x7ccc3de14ff0d6ca
mov qword [rsp + 0x330], rbx
movabs rcx, 0x1c3bc97098964457
movabs rdx, 0x222202a88d58a6d7
movabs r8, 0x552203d6f875a94f
movabs r9, 0x1c55c91f98f14438
movabs r10, 0x224702d08d3da6f9
nop dword [rax]
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x74]
mov qword [rsp + 0x40], rdx
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x30], rax
movdqa xmm0, xmmword [rsp + 0x30]
mov qword [rsp + 0x48], r13
movdqa xmm1, xmmword [rsp + 0x40]
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 [rsp + 0x30], xmm0
movdqa xmmword [rsp + 0x40], xmm1
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
jne 0x1400489a7
mov r8d, dword [rsp + 0x68]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1400489a2
lea r8, [rsp + 0x50]
mov edx, 0xa
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140048999
mov rcx, qword [rsp + 0x50]
lea r8, [rbp + 0x1a0]
lea rdx, [rbp + 0x1b0]
call qword [sym.imp.ADVAPI32.dll_PrivilegeCheck]
test eax, eax
je 0x14004898e
cmp dword [rbp + 0x1a0], 0
je 0x14004898e
mov rcx, qword [rsp + 0x50]
lea rax, [rbp + 0x1a8]
mov r9d, 4
mov qword [rsp + 0x20], rax
lea r8, [rbp + 0x1a4]
mov edx, 0xc
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x14004898e
cmp dword [rbp + 0x1a4], r15d
jne 0x14004898e
mov rcx, qword [rsp + 0x50]
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 0x140048986
xor edi, edi
jmp 0x14004898e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14d, r14d
jne 0x1400489f9
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
movabs rcx, 0x1c3bc97098964457
movabs rdx, 0x222202a88d58a6d7
test eax, eax
movabs r8, 0x552203d6f875a94f
movabs rax, 0x554e03b8f81ca938
movabs r9, 0x1c55c91f98f14438
movabs r10, 0x224702d08d3da6f9
jne 0x140048850
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.14004ab60
add rsp, 0x310
pop r15
pop r12
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140048a24
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x140048a2c