Function at 0x180007c70
Capabilities:
Enumerate processes

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x11d0]
mov eax, 0x12d0
call fcn.1800231b0
sub rsp, rax
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x12f8], rbx
mov qword [rsp + 0x1300], rsi
mov qword [rsp + 0x1308], rdi
mov rax, qword [0x1800960d0]
xor rax, rsp
mov qword [rbp + 0x11c0], rax
mov rsi, rcx
mov qword [rsp + 0x78], rcx
xor edi, edi
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x48], rdi
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x58], 0x400
mov dword [rsp + 0x54], 0x400
mov qword [rcx + 0x10], rdi
mov qword [rcx + 0x18], 7
mov word [rcx], di
xor r8d, r8d
lea rdx, [0x180070688]
call fcn.1800058b0
mov dword [rsp + 0x50], 1
xor edx, edx
mov r8d, 0x238
lea rcx, [rbp - 0x80]
call fcn.1800423b0
xor edx, edx
lea ecx, [rdi + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x180007d81
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x180007d78
lea rdx, str.EXPLORER.EXE
lea rcx, [rbp - 0x54]
call fcn.18004c7b4
mov rcx, rbx
test eax, eax
je 0x180007d6c
lea rdx, [rbp - 0x80]
call sub.KERNEL32.dll_Process32NextW
jmp 0x180007d46
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, dword [rbp - 0x78]
jmp 0x180007d84
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, edi
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r15, rax
lea r8, [rsp + 0x48]
mov edx, 8
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x180007e9a
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov r9d, dword [rsp + 0x40]
test r9d, r9d
je 0x180007dee
mov edx, r9d
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rdi, rax
mov r9d, dword [rsp + 0x40]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r8, rdi
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x180007e86
mov r14, qword [rdi]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x1c0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rbp + 0x9c0]
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupAccountSidW]
lea rcx, str.Advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
test rax, rax
je 0x180007e7d
lea rdx, str.ConvertSidToStringSidW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x180007e7d
lea rdx, [rsp + 0x60]
mov rcx, r14
call rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x60]
test rdx, rdx
je 0x180007ed2
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x180007eb4
mov rcx, rsi
call fcn.1800058b0
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rax, rsi
mov rcx, qword [rbp + 0x11c0]
xor rcx, rsp
call fcn.180023170
lea r11, [rsp + 0x12d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret