Function at 0x1400050e0
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 0x14000514d
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 0x140005200
mov r12d, dword [rbp - 4]
cmp r12d, esi
jbe 0x14000525c
mov rsi, r12
sub rsi, r15
jbe 0x140005140
mov rax, qword [rbp - 0x28]
sub rax, r15
mov r13, r15
cmp rax, rsi
jae 0x1400051be
mov qword [rsp + 0x20], 8
mov r9d, 8
lea rcx, [rbp - 0x28]
mov rdx, r15
mov r8, rsi
call fcn.14002ad80
mov rdi, qword [rbp - 0x20]
mov r13, qword [rbp - 0x18]
lea rcx, [rdi + r13*8]
cmp rsi, 2
jb 0x1400051f1
mov r8, r15
not r8
add r8, r12
shl r8, 3
xor edx, edx
call fcn.14002a020
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 0x140005143
call fcn.14000cc60
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 0x140005247
shl rdx, 3
mov r8d, 8
mov rcx, rdi
call fcn.140003640
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 0x14000536f
cmp r12d, 8
jae 0x14000527f
mov eax, 8
xor r14d, r14d
jmp 0x140005346
mov r15, r14
shl r15, 4
movzx eax, byte [0x1401f2b41]
mov edx, 8
mov rcx, r15
call fcn.140003630
test rax, rax
je 0x140005383
lea rdx, [r14 - 1]
mov ecx, r14d
and ecx, 3
cmp rdx, 3
jae 0x1400052b7
xor edx, edx
jmp 0x14000530f
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 0x1400052d0
test rcx, rcx
je 0x140005346
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 0x140005330
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 0x140005235
jmp 0x140005247
lea r8, str.C:UsersAdministrator.cargo_registry_srcindex.crates.io_6f17d22bba15001fwinproc_0.6.4_srcprocessmod.rs
mov rcx, r14
mov rdx, r15
call fcn.14002bf80
jmp 0x140005397
lea r8, str.C:UsersAdministrator.rustup_toolchains_nightly_x86_64_pc_windows_msvclib_rustlib_src_rustlibrarycore_srciter_traitsiterator.rs
mov ecx, 8
mov rdx, r15
call fcn.14002ba63
ud2