Function at 0x140023b30
Capabilities:
Enumerate processes

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x320
lea rbp, [rsp + 0x40]
mov qword [rbp + 0x330], rbx
vmovaps xmmword [rbp + 0x2d0], xmm6
mov rax, qword [0x1400f8340]
xor rax, rbp
mov qword [rbp + 0x2c0], rax
mov r15, rdx
mov qword [rbp], rdx
mov rdi, rcx
mov qword [rbp + 0x30], rdx
lea rcx, [rbp + 0x10]
call fcn.14001caf0
mov rsi, rax
mov dword [rbp + 0x80], 0x238
xor edx, edx
lea ecx, [rdx + 0xf]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
lea rdx, [rbp + 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor r12d, r12d
movabs r13, 0xffffffffffffff0
nop word [rax + rax]
lea rcx, [rbp + 0xac]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rcx + rax*2], r12w
jne 0x140023bd0
lea edx, [rax + 1]
cmp edx, 0x3fffffff
jg 0x140023c4d
cdqe
lea rax, [rax*2 + 2]
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140023bfb
mov rcx, r13
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.1400c7920
sub rsp, rcx
lea rbx, [rsp + 0x40]
test rbx, rbx
je 0x140023c4d
mov byte [rbx], r12b
lea eax, [rdx + rdx]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 0xffffffff
lea r8, [rbp + 0xac]
xor edx, edx
lea ecx, [rdx + 3]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
test eax, eax
cmove rbx, r12
jmp 0x140023c50
mov rbx, r12
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140023c5d
mov rdx, qword [rsi]
sub rdx, rbx
movzx ecx, byte [rbx]
movzx eax, byte [rbx + rdx]
sub ecx, eax
jne 0x140023c72
inc rbx
test eax, eax
jne 0x140023c60
test ecx, ecx
mov rcx, r14
je 0x140023ca5
lea rdx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140023bc0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call fcn.140008120
mov dword [rdi + 0x10], r12d
jmp 0x140023cc0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rbp + 0x88]
mov rcx, rsi
call fcn.140008120
mov dword [rdi + 0x10], ebx
test ebx, ebx
jne 0x140023cd2
mov rcx, r15
call fcn.140008120
mov eax, 1
jmp 0x140023f48
mov rdx, r15
lea rcx, [rbp + 0x10]
call fcn.14001caf0
mov rdx, rax
mov rcx, rdi
call fcn.140023220
mov qword [rdi + 0x18], rax
test rax, rax
jne 0x140023d04
mov rcx, r15
call fcn.140008120
mov eax, 3
jmp 0x140023f48
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.RtlAdjustPrivilege
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtDuplicateObject
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 8], rax
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtOpenProcess
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r13, rax
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rcx, rax
lea rdx, str.NtQuerySystemInformation
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rsi, rax
mov dword [rbp + 0x50], 0x30
mov dword [rbp + 0x68], r12d
mov qword [rbp + 0x58], r12
mov qword [rbp + 0x70], r12
mov qword [rbp + 0x60], r12
vpxor xmm0, xmm0, xmm0
vmovups xmmword [rbp + 0x38], xmm0
lea r9, [rbp + 0x48]
xor r8d, r8d
mov dl, 1
lea ecx, [r8 + 0x14]
call rbx
mov ebx, 0x20
vmovsd xmm6, qword [0x1400df4f8]
mov rcx, qword [rdi + 0x20]
call fcn.1400c6cec
mov eax, ebx
vxorps xmm0, xmm0, xmm0
vcvtsi2sd xmm0, xmm0, rax
vmulsd xmm1, xmm0, xmm6
vcvttsd2si rbx, xmm1
mov ecx, ebx
call fcn.1400c6d20
mov qword [rdi + 0x20], rax
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
mov r8d, ebx
mov rdx, qword [rdi + 0x20]
lea ecx, [r9 + 0x10]
call rsi
cmp eax, 0xc0000004
je 0x140023dc1
test eax, eax
js 0x140023f35
mov esi, r12d
mov rax, qword [rdi + 0x20]
cmp dword [rax], r12d
jbe 0x140023f25
mov rax, qword gs:[0x58]
mov r12, qword [rax]
xor ebx, ebx
mov ecx, 8
mov eax, dword [rcx + r12]
cmp dword [0x1401c3520], eax
jle 0x140023e69
lea rcx, [0x1401c3520]
call fcn.1400c6928
cmp dword [0x1401c3520], 0xffffffff
jne 0x140023e69
mov dword [0x1401c3524], esi
lea rcx, [0x1401c3520]
call fcn.1400c68bc
cmp dword [0x1401c3524], 0x64
jg 0x140023f31
mov rax, qword [rdi + 0x20]
cmp byte [rbx + rax + 0xc], 7
jne 0x140023efe
mov eax, dword [rbx + rax + 8]
mov qword [rbp + 0x38], rax
lea r9, [rbp + 0x38]
lea r8, [rbp + 0x50]
mov edx, 0x40
lea rcx, [rdi + 0x28]
call r13
mov rcx, qword [rdi + 0x28]
cmp rcx, 0xffffffffffffffff
je 0x140023efe
test eax, eax
js 0x140023efe
mov rax, qword [rdi + 0x20]
movzx edx, word [rbx + rax + 0xe]
xor eax, eax
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 0x1fffff
lea r9, [rdi + 0x30]
lea r8, [rax - 1]
call qword [rbp + 8]
mov rcx, qword [rdi + 0x30]
cmp rcx, 0xffffffffffffffff
je 0x140023efe
test eax, eax
js 0x140023efe
call qword [sym.imp.KERNEL32.dll_GetProcessId]
mov rcx, qword [rdi + 0x30]
cmp eax, dword [rdi + 0x10]
je 0x140023f11
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
add rbx, 0x18
mov rax, qword [rdi + 0x20]
cmp esi, dword [rax]
jae 0x140023f21
jmp 0x140023e31
mov qword [rdi + 8], rcx
mov byte [rdi], 1
mov rcx, qword [rdi + 0x20]
call fcn.1400c6cec
mov r15, qword [rbp]
mov rcx, r15
call fcn.140008120
xor eax, eax
jmp 0x140023f48
mov r15, qword [rbp]
mov rcx, r15
jmp 0x140023f3e
call fcn.140008120
mov eax, 2
mov rcx, qword [rbp + 0x2c0]
xor rcx, rbp
call fcn.1400c6860
mov rbx, qword [rbp + 0x330]
vmovaps xmm6, xmmword [rbp + 0x2d0]
lea rsp, [rbp + 0x2e0]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret