Function at 0x140005600
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x1d8]
sub rsp, 0x2d0
mov rax, qword [0x14004b010]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
lea rcx, str.SeRestorePrivilege
call fcn.140005544
lea rcx, str.SeCreateTokenPrivilege
call fcn.140005544
lea rcx, str.SeImpersonatePrivilege
call fcn.140005544
lea rcx, str.SeCreateTokenPrivilege
call fcn.140005544
xor r14d, r14d
mov qword [rsp + 0x30], r14
mov esi, r14d
mov dword [rbp - 0x80], 0x238
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], r14w
lea rdx, str.explorer.exe
lea rcx, [rsp + 0x40]
call fcn.1400024b8
nop
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
xor r8d, r8d
lea rdx, [0x140044230]
lea rcx, [rsp + 0x40]
call fcn.1400023dc
or r8, 0xffffffffffffffff
cmp rax, r8
je 0x140005738
lea rdx, [0x140044230]
lea rcx, [rsp + 0x40]
call fcn.14000d260
movsxd r8, eax
inc r8
mov r9, qword [rsp + 0x50]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14000d1d0
mov rbx, rax
lea rax, [rsp + 0x40]
cmp rax, rbx
je 0x14000572e
lea rcx, [rsp + 0x40]
call fcn.1400025b8
movups xmm0, xmmword [rbx]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rbx + 0x10], r14
mov qword [rbx + 0x18], 7
mov word [rbx], r14w
lea rcx, [rsp + 0x60]
call fcn.1400025b8
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x140005795
jmp 0x14000577e
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae rcx, qword [rsp + 0x40]
lea rax, [rbp - 0x54]
sub rcx, rax
movzx edx, word [rax]
movzx r8d, word [rax + rcx]
sub edx, r8d
jne 0x14000577a
add rax, 2
test r8d, r8d
jne 0x140005764
test edx, edx
je 0x140005792
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x14000574c
jmp 0x140005795
mov esi, dword [rbp - 0x78]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rsp + 0x40]
call fcn.1400025b8
test esi, esi
jne 0x1400057b4
xor eax, eax
jmp 0x140005842
mov r8d, esi
xor edx, edx
mov edi, 0x2000000
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test rbx, rbx
je 0x14000583d
lea r8, [rsp + 0x30]
mov edx, 0x201eb
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140005834
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 1
xor r8d, r8d
mov edx, edi
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
je 0x140005829
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x38]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140010040
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret