Function at 0x14000c670
Capabilities:
Enumerate process modules

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
mov qword [rbp], 0xfffffffffffffffe
mov rbx, rdx
mov qword [rbp - 0x10], rcx
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 8
mov qword [rbp - 0x18], 0
mov dword [rbp - 4], 0
mov r14, qword [rdx]
mov edi, 8
xor r15d, r15d
xor esi, esi
jmp 0x14000c6dd
mov r13, r12
mov qword [rbp - 0x18], r13
mov r15, r13
mov esi, r12d
lea r8d, [r15*8]
mov dword [rsp + 0x20], 3
mov rcx, r14
mov rdx, rdi
lea r9, [rbp - 4]
call sub.psapi.dll_EnumProcessModulesEx
test eax, eax
je 0x14000c77d
mov r12d, dword [rbp - 4]
cmp r12d, esi
jbe 0x14000c7d9
mov rsi, r12
sub rsi, r15
jbe 0x14000c6d0
mov rax, qword [rbp - 0x28]
sub rax, r15
mov r13, r15
cmp rax, rsi
jae 0x14000c73b
lea rcx, [rbp - 0x28]
mov rdx, r15
mov r8, rsi
call fcn.1400275a0
mov rdi, qword [rbp - 0x20]
mov r13, qword [rbp - 0x18]
lea rcx, [rdi + r13*8]
cmp rsi, 2
jb 0x14000c76e
mov r8, r15
not r8
add r8, r12
shl r8, 3
xor edx, edx
call sub.VCRUNTIME140.dll_memset
lea rax, [r12 + r13]
sub rax, r15
lea rcx, [rdi + rax*8]
add rcx, 0xfffffffffffffff8
add r13, rsi
dec r13
mov qword [rcx], 0
inc r13
jmp 0x14000c6d3
call fcn.140016370
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp - 0x10]
mov qword [rcx], 0
mov qword [rcx + 8], rax
mov rax, qword [rbp - 0x30]
mov qword [rcx + 0x20], rax
movups xmm0, xmmword [rbp - 0x40]
movups xmmword [rcx + 0x10], xmm0
mov rdx, qword [rbp - 0x28]
test rdx, rdx
je 0x14000c7c4
shl rdx, 3
mov r8d, 8
mov rcx, rdi
call fcn.140003400
mov rax, qword [rbp - 0x10]
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov r14d, r12d
shr r14d, 3
cmp r15, r14
jb 0x14000c8ef
cmp r12d, 8
jae 0x14000c7fc
mov eax, 8
xor r14d, r14d
jmp 0x14000c8c6
mov r15, r14
shl r15, 4
movzx eax, byte [0x1400cd141]
mov edx, 8
mov rcx, r15
call fcn.1400033f0
test rax, rax
je 0x14000c903
lea rdx, [r14 - 1]
mov ecx, r14d
and ecx, 3
cmp rdx, 3
jae 0x14000c834
xor edx, edx
jmp 0x14000c88f
mov r8d, r14d
and r8d, 0xfffffffc
lea r9, [rax + 0x38]
xor edx, edx
nop word cs:[rax + rax]
mov r10, qword [rdi + rdx*8]
mov qword [r9 - 0x38], rbx
mov qword [r9 - 0x30], r10
mov r10, qword [rdi + rdx*8 + 8]
mov qword [r9 - 0x28], rbx
mov qword [r9 - 0x20], r10
mov r10, qword [rdi + rdx*8 + 0x10]
mov qword [r9 - 0x18], rbx
mov qword [r9 - 0x10], r10
mov r10, qword [rdi + rdx*8 + 0x18]
mov qword [r9 - 8], rbx
mov qword [r9], r10
add rdx, 4
add r9, 0x40
cmp r8, rdx
jne 0x14000c850
test rcx, rcx
je 0x14000c8c6
lea r8, [rdi + rdx*8]
shl rdx, 4
add rdx, rax
add rdx, 8
shl ecx, 3
xor r9d, r9d
nop dword [rax]
mov r10, qword [r8 + r9]
mov qword [rdx + r9*2 - 8], rbx
mov qword [rdx + r9*2], r10
add r9, 8
cmp rcx, r9
jne 0x14000c8b0
mov rcx, qword [rbp - 0x10]
mov qword [rcx + 8], r14
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], r14
mov qword [rcx], 4
mov rdx, qword [rbp - 0x28]
test rdx, rdx
jne 0x14000c7b2
jmp 0x14000c7c4
lea r8, str.C:Users_admin.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinproc_0.6.4_srcprocessmod.rs
mov rcx, r14
mov rdx, r15
call fcn.140028c10
jmp 0x14000c910
mov ecx, 8
mov rdx, r15
call fcn.140028600
ud2