Function at 0x1800021b0
Capabilities:
Enumerate processes
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x180048040]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
mov ebx, edx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x40], 1
xor eax, eax
mov dword [rsp + 0x50], eax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], SafeArrayGetLBound
mov byte [rcx], al
mov dword [rsp + 0x40], 1
lea rcx, str.kernel32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r14, rax
lea rdx, str.CreateToolhelp32Snapshot
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
xor edx, edx
lea ecx, [rdx + 2]
call rax
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x18000245b
mov dword [rsp + 0x60], 0x238
lea rdx, [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x180002451
cmp dword [rsp + 0x68], ebx
je 0x180002285
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180002268
jmp 0x180002451
lea rdx, str.OpenProcess
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r8d, dword [rsp + 0x68]
xor edx, edx
mov ecx, 0x400
call rax
mov r12, rax
test rax, rax
je 0x180002451
lea rdx, str.OpenProcessToken
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea r8, [rsp + 0x58]
mov edx, 8
mov rcx, r12
call rax
test rax, rax
je 0x180002448
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbx, rax
lea rdx, str.GetTokenInformation
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
mov rcx, qword [rsp + 0x58]
call rax
test eax, eax
jne 0x18000243d
lea rdx, str.LocalAlloc
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edx, dword [rsp + 0x50]
mov ecx, 0x40
call rax
mov r15, rax
test rax, rax
je 0x18000243d
lea rdx, str.GetTokenInformation
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rsp + 0x50]
mov r8, r15
mov edx, 1
mov rcx, qword [rsp + 0x58]
call rax
test rax, rax
je 0x180002434
mov dword [rbp + 0x1a4], 0x104
mov dword [rbp + 0x1a0], 0x104
lea rdx, str.LookupAccountSidA
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rcx, [rbp + 0x1a8]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0x1a0]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x2c0]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x1a4]
lea r8, [rbp + 0x1b0]
mov rdx, qword [r15]
xor ecx, ecx
call rax
test eax, eax
je 0x180002434
lea rax, [rbp + 0x1b0]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x1800023e7
mov rax, qword [rdi + 0x18]
cmp rbx, rax
ja 0x180002422
mov r14, rdi
cmp rax, 0xf
jbe 0x180002405
mov r14, qword [rdi]
mov qword [rdi + 0x10], rbx
mov r8, rbx
lea rdx, [rbp + 0x1b0]
mov rcx, r14
call fcn.180032950
mov byte [r14 + rbx], 0
jmp 0x180002434
lea r9, [rbp + 0x1b0]
mov rdx, rbx
mov rcx, rdi
call fcn.18000eee0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rdi
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.180012db0
lea r11, [rsp + 0x4e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret