Function at 0x1800166e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x240]
sub rsp, 0x340
mov rax, qword [0x18028c940]
xor rax, rsp
mov qword [rbp + 0x230], rax
mov rbx, rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.180003d90
nop
lea rcx, vtable.CVolCommonBaseWithMemManager.0
mov qword [rsp + 0x20], rcx
lea r12, vtable.CVolObject.0
mov qword [rsp + 0x20], r12
xor r15d, r15d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], r15
lea rax, vtable.CWString.0
mov qword [rsp + 0x20], rax
lea rax, [rsp + 0x40]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], r15
lea r13, vtable.CVolMem.0
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x70], 0x40
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x70], 0xfe
lea rcx, [rbp - 0x70]
call fcn.180025f60
cmp qword [rax + 0x28], r15
mov r8d, r15d
je 0x1800167cc
mov r8, qword [rax + 0x18]
mov rsi, 0xffffffffffffffff
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x1800167ec
mov rcx, rsi
nop
inc rcx
cmp word [rax + rcx*2], 0
jne 0x1800167e0
jmp 0x1800167fb
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x18001681f
shr rcx, 1
dec rcx
test rcx, rcx
jle 0x18001681f
movzx edx, word [r8]
lea eax, [rdx - 0x41]
cmp ax, 0x19
ja 0x180016815
add dx, 0x20
mov word [r8], dx
add r8, 2
sub rcx, 1
jne 0x180016800
cmp r14, rsi
je 0x180016a7d
mov dword [rbp - 0x10], 0x238
lea rdx, [rbp - 0x10]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x180016a71
nop dword [rax]
nop dword [rax + rax]
mov rbx, r15
mov qword [rsp + 0x38], rbx
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x180016874
lea rcx, [rsp + 0x40]
mov rax, qword [rsp + 0x40]
call qword [rax + 0x18]
mov rbx, qword [rsp + 0x38]
mov qword [rsp + 0x58], r15
mov rdx, r15
mov qword [rsp + 0x68], rdx
mov rcx, r15
mov qword [rsp + 0x60], rcx
cmp word [rbp + 0x1c], cx
je 0x1800168e3
lea r8, [rbp + 0x1c]
mov rax, rsi
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [r8 + rax*2], cx
jne 0x1800168a0
lea rdi, [rax*2 + 2]
test rdi, rdi
jle 0x1800168e3
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.180025260
mov r8, rdi
lea rdx, [rbp + 0x1c]
mov rcx, rax
call fcn.1801c62e0
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x1800169a9
mov rax, rsi
nop
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x1800168f0
lea rdi, [rax*2 + 2]
mov rdx, r15
mov qword [rsp + 0x68], rdx
cmp rcx, rdi
jl 0x18001696e
cmp rdi, 2
jne 0x180016930
movzx ecx, word [rbx]
mov rax, qword [rsp + 0x58]
mov word [rax], cx
mov rdx, qword [rsp + 0x68]
add rdx, rdi
mov qword [rsp + 0x68], rdx
jmp 0x1800169a1
cmp rdi, 4
jne 0x18001694e
mov ecx, dword [rbx]
mov rax, qword [rsp + 0x58]
mov dword [rax], ecx
mov rdx, qword [rsp + 0x68]
add rdx, rdi
mov qword [rsp + 0x68], rdx
jmp 0x1800169a1
cmp rdi, 8
jne 0x18001696e
mov rcx, qword [rbx]
mov rax, qword [rsp + 0x58]
mov qword [rax], rcx
mov rdx, qword [rsp + 0x68]
add rdx, rdi
mov qword [rsp + 0x68], rdx
jmp 0x1800169a1
test rdi, rdi
jle 0x1800169a1
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.180025260
mov r8, rdi
mov rcx, rax
test rbx, rbx
je 0x180016995
mov rdx, rbx
call fcn.1801c62e0
jmp 0x18001699c
xor edx, edx
call fcn.1801c6990
mov rdx, qword [rsp + 0x68]
mov rbx, r15
mov qword [rsp + 0x38], rbx
mov r8, qword [rsp + 0x58]
test rdx, rdx
cmove r8, r15
test rbx, rbx
je 0x1800169cc
mov rcx, rsi
nop dword [rax]
inc rcx
cmp word [rbx + rcx*2], 0
jne 0x1800169c0
jmp 0x1800169da
test rdx, rdx
je 0x180016a09
mov rcx, rdx
shr rcx, 1
dec rcx
test rcx, rcx
jle 0x180016a09
nop
movzx edx, word [r8]
lea eax, [rdx - 0x41]
cmp ax, 0x19
ja 0x1800169f5
add dx, 0x20
mov word [r8], dx
add r8, 2
sub rcx, 1
jne 0x1800169e0
mov rdx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x38]
mov r8, qword [rbp - 0x58]
test r8, r8
jne 0x180016a23
lea r8, [0x18024d640]
cmp qword [rbp - 0x28], 0
cmovne r8, qword [rbp - 0x38]
test rbx, rbx
jne 0x180016a38
lea rbx, [0x18024d640]
test rdx, rdx
cmovne rbx, qword [rsp + 0x58]
sub r8, rbx
nop dword [rax + rax]
movzx ecx, word [rbx]
movzx eax, word [rbx + r8]
sub ecx, eax
jne 0x180016a54
add rbx, 2
test eax, eax
jne 0x180016a40
test ecx, ecx
mov rcx, r14
je 0x180016b22
lea rdx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180016850
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, r15d
lea rax, [rsp + 0x40]
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x40], r13
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x180016aa2
lea rcx, [rsp + 0x40]
mov rax, qword [rsp + 0x40]
call qword [rax + 0x18]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x20], r12
lea rax, [rbp - 0x50]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x50], r13
mov rdx, qword [rbp - 0x38]
test rdx, rdx
je 0x180016adc
lea rcx, [rbp - 0x50]
mov r8, qword [rbp - 0x50]
call qword [r8 + 0x18]
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x70], r12
mov eax, esi
mov rcx, qword [rbp + 0x230]
xor rcx, rsp
call fcn.1801c3b40
lea r11, [rsp + 0x340]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov esi, dword [rbp - 8]
jmp 0x180016a7d