Function at 0x14000be60
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
cmp dword [rcx], 0
je 0x14000be97
mov rcx, qword [rcx + 8]
test rcx, rcx
je 0x14000be97
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor r14d, r14d
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], r14
mov dword [rdi + 0x20], r14d
mov dword [rdi], 1
mov eax, dword [rbx]
test eax, eax
jne 0x14000bebc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rdi + 0x20], eax
mov r8d, eax
xor edx, edx
mov ecx, dword [rsi]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rdi + 8], rax
test rax, rax
je 0x14000c17c
lea rax, [rbp - 0x38]
mov qword [rbp + 0x48], rax
lea rax, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x38], rax
lea r15, vtable.CVolObject.0
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x28], r14
lea r12, vtable.CVolMem.0
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], r14
mov r13d, 0x40
mov qword [rbp - 8], r13
mov qword [rbp - 8], 0x100
mov dword [rbp + 0x40], r14d
mov dword [rsp + 0x20], 3
lea r9, [rbp + 0x40]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rdi + 8]
call qword [sym.imp.PSAPI.DLL_EnumProcessModulesEx]
mov eax, dword [rbp + 0x40]
shr rax, 3
lea rsi, [rax*8]
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14000bfca
cmp rsi, qword [rbp - 0x10]
je 0x14000c009
test rsi, rsi
jne 0x14000bf8d
mov rdx, rcx
lea rcx, [rbp - 0x38]
mov rax, qword [rbp - 0x38]
call qword [rax + 0x18]
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], r14
mov rcx, r14
jmp 0x14000c009
mov rbx, qword [rbp - 8]
test rbx, rbx
cmovle rbx, r13
mov rax, qword [rbp - 0x18]
cmp rax, rsi
jl 0x14000bfa9
sub rax, rsi
cmp rax, rbx
jle 0x14000c005
mov rax, rsi
cqo
idiv rbx
sub rbx, rdx
add rbx, rsi
mov r8, rbx
mov rdx, rcx
lea rcx, [rbp - 0x38]
mov rax, qword [rbp - 0x38]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
jmp 0x14000bffa
test rsi, rsi
jne 0x14000bfd4
mov rcx, r14
jmp 0x14000c009
mov rbx, qword [rbp - 8]
test rbx, rbx
cmovle rbx, r13
mov rax, rsi
cqo
idiv rbx
sub rbx, rdx
add rbx, rsi
mov rdx, rbx
lea rcx, [rbp - 0x38]
mov rax, qword [rbp - 0x38]
call qword [rax]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rbx
mov rcx, rax
mov qword [rbp - 0x10], rsi
mov r8, rsi
xor edx, edx
call fcn.1401ce7f0
mov rdx, qword [rbp - 0x20]
cmp qword [rbp - 0x10], 0
cmove rdx, r14
mov dword [rsp + 0x20], 3
lea r9, [rbp + 0x40]
mov r8d, dword [rbp + 0x40]
mov rcx, qword [rdi + 8]
call qword [sym.imp.PSAPI.DLL_EnumProcessModulesEx]
mov rax, qword [rbp - 0x10]
test rax, 0xfffffffffffffff8
ja 0x14000c077
lea rax, [rbp - 0x38]
mov qword [rbp + 0x48], rax
mov qword [rbp - 0x38], r12
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x14000c066
lea rcx, [rbp - 0x38]
mov rax, qword [rbp - 0x38]
call qword [rax + 0x18]
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], r14
jmp 0x14000c173
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], rcx
mov rdx, qword [rbp - 0x20]
test rax, rax
cmove rdx, r14
lea r9d, [rcx + 0x18]
lea r8, [rbp - 0x50]
mov rdx, qword [rdx]
mov rcx, qword [rdi + 8]
call qword [sym.imp.PSAPI.DLL_GetModuleInformation]
test eax, eax
jne 0x14000c0d9
lea rax, [rbp - 0x38]
mov qword [rbp + 0x48], rax
mov qword [rbp - 0x38], r12
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x14000c0c8
lea rcx, [rbp - 0x38]
mov rax, qword [rbp - 0x38]
call qword [rax + 0x18]
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], r14
jmp 0x14000c173
mov rax, qword [rbp - 0x50]
mov qword [rdi + 0x10], rax
mov rax, qword [rbp - 0x10]
mov rdx, qword [rbp - 0x20]
test rax, rax
cmove rdx, r14
mov r9d, 0x18
lea r8, [rbp - 0x50]
mov rdx, qword [rdx + rax - 8]
mov rcx, qword [rdi + 8]
call qword [sym.imp.PSAPI.DLL_GetModuleInformation]
test eax, eax
jne 0x14000c13b
lea rax, [rbp - 0x38]
mov qword [rbp + 0x48], rax
mov qword [rbp - 0x38], r12
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x14000c12d
lea rcx, [rbp - 0x38]
mov rax, qword [rbp - 0x38]
call qword [rax + 0x18]
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], r14
jmp 0x14000c173
mov eax, dword [rbp - 0x48]
add rax, qword [rbp - 0x50]
mov qword [rdi + 0x18], rax
lea rax, [rbp - 0x38]
mov qword [rbp + 0x48], rax
mov qword [rbp - 0x38], r12
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x14000c167
lea rcx, [rbp - 0x38]
mov r8, qword [rbp - 0x38]
call qword [r8 + 0x18]
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x38], r15
mov eax, 1
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret