Function at 0x180015e60
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 [0x18028b940]
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.180003d40
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.1800255f0
cmp qword [rax + 0x28], r15
mov r8d, r15d
je 0x180015f4c
mov r8, qword [rax + 0x18]
mov rsi, 0xffffffffffffffff
mov rax, qword [rbp - 0x58]
test rax, rax
je 0x180015f6c
mov rcx, rsi
nop
inc rcx
cmp word [rax + rcx*2], 0
jne 0x180015f60
jmp 0x180015f7b
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x180015f9f
shr rcx, 1
dec rcx
test rcx, rcx
jle 0x180015f9f
movzx edx, word [r8]
lea eax, [rdx - 0x41]
cmp ax, 0x19
ja 0x180015f95
add dx, 0x20
mov word [r8], dx
add r8, 2
sub rcx, 1
jne 0x180015f80
cmp r14, rsi
je 0x1800161fd
mov dword [rbp - 0x10], 0x238
lea rdx, [rbp - 0x10]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1800161f1
nop dword [rax]
nop dword [rax + rax]
mov rbx, r15
mov qword [rsp + 0x38], rbx
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x180015ff4
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 0x180016063
lea r8, [rbp + 0x1c]
mov rax, rsi
nop word [rax + rax]
lea rax, [rax + 1]
cmp word [r8 + rax*2], cx
jne 0x180016020
lea rdi, [rax*2 + 2]
test rdi, rdi
jle 0x180016063
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1800248f0
mov r8, rdi
lea rdx, [rbp + 0x1c]
mov rcx, rax
call fcn.1801c5970
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x38]
test rbx, rbx
je 0x180016129
mov rax, rsi
nop
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x180016070
lea rdi, [rax*2 + 2]
mov rdx, r15
mov qword [rsp + 0x68], rdx
cmp rcx, rdi
jl 0x1800160ee
cmp rdi, 2
jne 0x1800160b0
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 0x180016121
cmp rdi, 4
jne 0x1800160ce
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 0x180016121
cmp rdi, 8
jne 0x1800160ee
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 0x180016121
test rdi, rdi
jle 0x180016121
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.1800248f0
mov r8, rdi
mov rcx, rax
test rbx, rbx
je 0x180016115
mov rdx, rbx
call fcn.1801c5970
jmp 0x18001611c
xor edx, edx
call fcn.1801c6020
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 0x18001614c
mov rcx, rsi
nop dword [rax]
inc rcx
cmp word [rbx + rcx*2], 0
jne 0x180016140
jmp 0x18001615a
test rdx, rdx
je 0x180016189
mov rcx, rdx
shr rcx, 1
dec rcx
test rcx, rcx
jle 0x180016189
nop
movzx edx, word [r8]
lea eax, [rdx - 0x41]
cmp ax, 0x19
ja 0x180016175
add dx, 0x20
mov word [r8], dx
add r8, 2
sub rcx, 1
jne 0x180016160
mov rdx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x38]
mov r8, qword [rbp - 0x58]
test r8, r8
jne 0x1800161a3
lea r8, [0x18024c630]
cmp qword [rbp - 0x28], 0
cmovne r8, qword [rbp - 0x38]
test rbx, rbx
jne 0x1800161b8
lea rbx, [0x18024c630]
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 0x1800161d4
add rbx, 2
test eax, eax
jne 0x1800161c0
test ecx, ecx
mov rcx, r14
je 0x1800162a2
lea rdx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x180015fd0
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 0x180016222
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 0x18001625c
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.1801c31d0
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 0x1800161fd