Function at 0x140007570
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
mov rcx, qword [rcx]
xor r14d, r14d
test rcx, rcx
je 0x1400075b3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi], r14
mov qword [rdi + 8], r14
mov qword [rdi + 0x10], r14
mov dword [rdi + 0x18], r14d
mov eax, dword [rbx]
test eax, eax
jne 0x1400075bf
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rdi + 0x18], eax
mov r8d, eax
xor edx, edx
mov ecx, dword [rsi]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rdi], rax
test rax, rax
je 0x140007879
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]
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 0x1400076cb
cmp rsi, qword [rbp - 0x10]
je 0x14000770a
test rsi, rsi
jne 0x14000768e
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 0x14000770a
mov rbx, qword [rbp - 8]
test rbx, rbx
cmovle rbx, r13
mov rax, qword [rbp - 0x18]
cmp rax, rsi
jl 0x1400076aa
sub rax, rsi
cmp rax, rbx
jle 0x140007706
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 + 0x10]
jmp 0x1400076fb
test rsi, rsi
jne 0x1400076d5
mov rcx, r14
jmp 0x14000770a
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.140014990
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]
call qword [sym.imp.PSAPI.DLL_EnumProcessModulesEx]
mov rax, qword [rbp - 0x10]
test rax, 0xfffffffffffffff8
ja 0x140007777
lea rax, [rbp - 0x38]
mov qword [rbp + 0x48], rax
mov qword [rbp - 0x38], r12
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x140007766
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 0x140007870
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]
call qword [sym.imp.PSAPI.DLL_GetModuleInformation]
test eax, eax
jne 0x1400077d8
lea rax, [rbp - 0x38]
mov qword [rbp + 0x48], rax
mov qword [rbp - 0x38], r12
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x1400077c7
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 0x140007870
mov rax, qword [rbp - 0x50]
mov qword [rdi + 8], 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]
call qword [sym.imp.PSAPI.DLL_GetModuleInformation]
test eax, eax
jne 0x140007839
lea rax, [rbp - 0x38]
mov qword [rbp + 0x48], rax
mov qword [rbp - 0x38], r12
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x14000782b
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 0x140007870
mov eax, dword [rbp - 0x48]
add rax, qword [rbp - 0x50]
mov qword [rdi + 0x10], rax
lea rax, [rbp - 0x38]
mov qword [rbp + 0x48], rax
mov qword [rbp - 0x38], r12
mov rdx, qword [rbp - 0x20]
test rdx, rdx
je 0x140007864
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 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