Function at 0x140020c90
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 0x140020cfd
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 0x140020d9d
mov r12d, dword [rbp - 4]
cmp r12d, esi
jbe 0x140020df9
mov rsi, r12
sub rsi, r15
jbe 0x140020cf0
mov rax, qword [rbp - 0x28]
sub rax, r15
mov r13, r15
cmp rax, rsi
jae 0x140020d5b
lea rcx, [rbp - 0x28]
mov rdx, r15
mov r8, rsi
call fcn.14003f470
mov rdi, qword [rbp - 0x20]
mov r13, qword [rbp - 0x18]
lea rcx, [rdi + r13*8]
cmp rsi, 2
jb 0x140020d8e
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 0x140020cf3
call fcn.14002b8e0
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 0x140020de4
shl rdx, 3
mov r8d, 8
mov rcx, rdi
call fcn.140003ab0
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 0x140020f0f
cmp r12d, 8
jae 0x140020e1c
mov eax, 8
xor r14d, r14d
jmp 0x140020ee6
mov r15, r14
shl r15, 4
movzx eax, byte [0x14005a181]
mov edx, 8
mov rcx, r15
call fcn.140003aa0
test rax, rax
je 0x140020f23
lea rdx, [r14 - 1]
mov ecx, r14d
and ecx, 3
cmp rdx, 3
jae 0x140020e54
xor edx, edx
jmp 0x140020eaf
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 0x140020e70
test rcx, rcx
je 0x140020ee6
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 0x140020ed0
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 0x140020dd2
jmp 0x140020de4
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.140040b40
jmp 0x140020f30
mov ecx, 8
mov rdx, r15
call fcn.140040530
ud2