Function at 0x180001090
Capabilities:
Acquire debug privileges
Create process on windows
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
lea rbp, [rsp - 0x160]
sub rsp, 0x260
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov r12, rcx
call fcn.180001000
xor r13d, r13d
lea rdx, [rsp + 0x60]
mov ecx, eax
mov edi, eax
mov dword [rbp - 0x80], r13d
mov ebx, r13d
mov qword [rsp + 0x60], r13
mov qword [rsp + 0x68], r13
call qword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
jne 0x1800011c3
lea ecx, [rax + 2]
xor edx, edx
mov esi, r13d
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800011bc
lea rdx, [rbp + 0x20]
mov rcx, rax
mov dword [rbp + 0x20], 0x130
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x180001177
nop word [rax + rax]
lea rdx, str.explorer.exe
lea rcx, [rbp + 0x4c]
call fcn.1800018a8
test eax, eax
jne 0x180001161
mov ecx, dword [rbp + 0x28]
lea rdx, [rsp + 0x78]
mov dword [rsp + 0x78], r13d
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x180001161
cmp dword [rsp + 0x78], edi
je 0x180001174
lea rdx, [rbp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x180001130
jmp 0x180001177
mov esi, dword [rbp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x1800011bc
mov r8d, esi
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x1800011bc
lea r8, [rsp + 0x60]
mov edx, 0xf00ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x1800011c3
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x180001337
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1800011bc
mov r9d, 8
lea rax, [rbp - 0x80]
lea r8, [rbp - 0x60]
lea edx, [r9 + 0xb]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
mov esi, 0x2000000
test eax, eax
jne 0x180001236
lea r8, [rsp + 0x78]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov rcx, qword [rsp + 0x60]
lea r11, [rsp + 0x68]
mov qword [rsp + 0x28], r11
mov r9d, 1
xor r8d, r8d
mov edx, esi
mov dword [rsp + 0x20], 1
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov rdx, qword [rsp + 0x68]
jmp 0x18000123f
mov rdx, qword [rbp - 0x60]
mov qword [rsp + 0x68], rdx
lea rcx, [rsp + 0x70]
mov r8d, 1
mov qword [rsp + 0x70], r13
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x180001265
mov rdi, qword [rsp + 0x70]
mov esi, 0x2000400
jmp 0x18000126d
mov rdi, r13
mov qword [rsp + 0x70], r13
xor edx, edx
lea rcx, [rbp - 0x50]
lea r8d, [rdx + 0x68]
call fcn.1800033e0
mov rcx, qword [rsp + 0x68]
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
lea rax, [rbp - 0x78]
xor r9d, r9d
mov r8, r12
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x50]
xor edx, edx
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], r13d
mov dword [rbp - 0x50], 0x68
mov qword [rsp + 0x20], r13
mov dword [rbp - 0x14], 1
mov word [rbp - 0x10], r13w
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
cmp qword [rbp - 0x78], r13
je 0x1800012f4
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x180001304
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rbx, rbx
je 0x180001312
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x180001322
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x180001332
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov eax, 1
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1800016d0
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rbp
ret