Function at 0x1800030f0
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
movzx r15d, r9b
mov r12, r8
mov rdi, rdx
mov r14, rcx
xor r13d, r13d
mov qword [rsp + 0x28], r13
mov rax, qword [0x18002f080]
test rax, rax
jne 0x18000316e
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.WTSGetActiveConsoleSessionId
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18002f080], rax
test rax, rax
jne 0x18000316e
mov ebx, r13d
jmp 0x180003172
call rax
mov ebx, eax
lea rcx, str.Wtsapi32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x180003196
lea rcx, str.Wtsapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
je 0x1800031d7
mov rax, qword [0x18002f070]
test rax, rax
jne 0x1800031c6
lea rcx, str.Wtsapi32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.WTSQueryUserToken
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x18002f070], rax
lea rdx, [rsp + 0x28]
mov ecx, ebx
call rax
test eax, eax
jne 0x1800032c6
mov esi, 0xffffffff
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x64]
call fcn.180009a00
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800032c6
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1800032c6
nop dword [rax]
nop dword [rax + rax]
lea rdx, str.explorer.exe
lea rcx, [rbp - 0x74]
call fcn.18000c0a8
test eax, eax
je 0x180003258
lea rdx, [rsp + 0x60]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x18000325c
jmp 0x180003230
mov esi, dword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0xffffffff
je 0x1800032c6
mov r8d, esi
xor edx, edx
mov ecx, 0x2000000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x20], rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1800032bc
lea r8, [rsp + 0x28]
mov edx, 0x2000000
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1800032ae
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x1800032c6
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
jmp 0x1800032c6
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x180003368
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
jne 0x1800032f1
lea rcx, str.ImpersonateLoggedOnUser__r_n
call fcn.180002f40
xor al, al
jmp 0x1800034f6
mov qword [rsp + 0x20], r13
lea rdx, [rsp + 0x20]
mov ecx, 0xf003f
call qword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
je 0x18000331d
lea rcx, str.RegOpenCurrentUser__r_n
call fcn.180002f40
xor al, al
jmp 0x1800034f6
mov rdx, qword [rsp + 0x20]
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOverridePredefKey]
test eax, eax
je 0x180003346
lea rcx, str.RegOverridePredefKey__r_n
call fcn.180002f40
xor al, al
jmp 0x1800034f6
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
je 0x180003368
lea rcx, str.RegCloseKey__r_n
call fcn.180002f40
xor al, al
jmp 0x1800034f6
mov rcx, r14
call fcn.180003fb0
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x5f]
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x27]
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x25]
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetSetOptionW]
mov byte [r14 + 0x61], r15b
mov rcx, r12
call fcn.18000cc48
mov word [r14 + 0x88], ax
movdqa xmm0, xmmword [0x1800279f0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], 0
jne 0x1800033d5
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.180006c10
lea rbx, [r14 + 0x68]
lea rax, [rsp + 0x30]
cmp rbx, rax
je 0x180003455
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x18000343a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x180003435
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18000351d
mov rcx, r8
call fcn.180007c1c
mov qword [rbx + 0x18], 7
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rbx + 0x10], xmm1
jmp 0x180003497
mov rdx, qword [rsp + 0x48]
cmp rdx, 8
jb 0x180003497
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180003492
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003523
call fcn.180007c1c
movdqa xmm0, xmmword [0x180027a00]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea rdx, [0x18002729d]
lea rcx, [rsp + 0x30]
call fcn.180006da0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1800034f4
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800034ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180003517
call fcn.180007c1c
mov al, 1
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.18000e488
int3
call fcn.18000e488
int3
call fcn.18000e488
int3