Function at 0x140037260
Capabilities:
Enumerate process modules

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x508
movaps xmmword [rsp + 0x4f0], xmm6
mov rsi, rcx
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x30], 8
mov qword [rsp + 0x38], 0
mov ecx, 8
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
je 0x14003759c
mov r14, rax
mov qword [rsp + 0x60], rsi
lea rsi, [rsp + 0xb8]
mov r8d, 0x438
mov rcx, rsi
xor edx, edx
call sub.msvcrt.dll_memset
mov dword [rsp + 0xb8], 0x438
mov rcx, r14
mov rdx, rsi
call sub.KERNEL32.dll_Module32FirstW
cmp eax, 1
jne 0x14003758f
lea rsi, [rsp + 0x40]
jmp 0x140037359
mov rdx, qword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov rcx, rdx
shl rcx, 6
movups xmm0, xmmword [rsp + 0x78]
movups xmm1, xmmword [rsp + 0x88]
movups xmm2, xmmword [rsp + 0x98]
movups xmm3, xmmword [rsp + 0xa8]
movups xmmword [rax + rcx + 0x30], xmm3
movups xmmword [rax + rcx + 0x20], xmm2
movups xmmword [rax + rcx + 0x10], xmm1
movups xmmword [rax + rcx], xmm0
inc rdx
mov qword [rsp + 0x38], rdx
nop
mov rcx, r14
lea rdx, [rsp + 0xb8]
call sub.KERNEL32.dll_Module32NextW
cmp eax, 1
jne 0x14003758f
mov eax, 0x208
xor r8d, r8d
nop word cs:[rax + rax]
cmp word [rsp + r8*2 + 0x2e8], 0
je 0x1400373e0
cmp word [rsp + r8*2 + 0x2ea], 0
je 0x1400373be
cmp word [rsp + r8*2 + 0x2ec], 0
je 0x1400373c3
cmp word [rsp + r8*2 + 0x2ee], 0
je 0x1400373c9
cmp word [rsp + r8*2 + 0x2f0], 0
je 0x1400373cf
add r8, 5
add rax, 0xfffffffffffffff6
jne 0x140037370
mov r8d, 0x104
jmp 0x1400373e0
inc r8
jmp 0x1400373e0
add r8, 2
jmp 0x1400373e0
add r8, 3
jmp 0x1400373e0
add r8, 4
nop word cs:[rax + rax]
mov rcx, rsi
lea rdx, [rsp + 0x2e8]
call sym.std::sys_common::wtf8::Wtf8Buf::from_wide::h291f248259eaa4f4
mov rbp, qword [rsp + 0x40]
mov r13, qword [rsp + 0x48]
movups xmm6, xmmword [rsp + 0x50]
mov r8, qword [rsp + 0x50]
mov rcx, rsi
mov rdx, r13
call sym.std::backtrace_rs::symbolize::gimli::mmap::h8ef954660cf19ff9
cmp qword [rsp + 0x40], 0
je 0x140037570
mov r12, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
mov r9d, 0x40
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call sym.___u8__as_object::read::read_ref::ReadRef_::read_bytes_at::h8eeaa6be65b8f314
test rax, rax
je 0x140037560
cmp rdx, 0x40
jb 0x140037560
movzx ecx, word [rax]
cmp ecx, 0x5a4d
jne 0x140037560
mov eax, dword [rax + 0x3c]
mov qword [rsp + 0x70], rax
mov rcx, rsi
mov rdx, rdi
mov r8, rbx
lea r9, [rsp + 0x70]
call sym.object::read::pe::file::ImageNtHeaders::parse::h74b3a99faffb2679
mov rax, qword [rsp + 0x40]
test rax, rax
je 0x140037560
mov r15, qword [rax + 0x30]
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x68], rax
mov rax, qword [str.1__r_]
movzx eax, byte [rax]
mov ecx, 0x10
mov edx, 8
call sym.__rust_alloc
test rax, rax
je 0x1400375cc
mov rbx, rax
mov eax, dword [rsp + 0xd8]
mov qword [rbx], r15
mov qword [rbx + 8], rax
mov rcx, rdi
call fcn.1400a2010
mov rcx, r12
call fcn.1400a22f8
movabs rax, 0x8000000000000000
cmp rbp, rax
je 0x140037340
mov rax, qword [rsp + 0x68]
sub rax, r15
mov qword [rsp + 0x78], rbp
mov qword [rsp + 0x80], r13
movups xmmword [rsp + 0x88], xmm6
mov qword [rsp + 0x98], 1
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], 1
mov qword [rsp + 0xb0], rax
mov rdx, qword [rsp + 0x38]
cmp rdx, qword [rsp + 0x28]
jne 0x1400372fa
lea rcx, [rsp + 0x28]
call sym.alloc::raw_vec::RawVec_T_A_::reserve_for_push::h4a9ce14d94fe263c
jmp 0x1400372f5
mov rcx, rdi
call fcn.1400a2010
mov rcx, r12
call fcn.1400a22f8
test rbp, rbp
je 0x140037340
mov r8d, 1
mov rcx, r13
mov rdx, rbp
call sym.__rust_dealloc
jmp 0x140037340
mov rcx, r14
call fcn.1400a22f8
mov rsi, qword [rsp + 0x60]
mov rax, qword [rsp + 0x38]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsi], xmm0
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x4f0]
add rsp, 0x508
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 8
mov edx, 0x10
call sym.alloc::alloc::handle_alloc_error::hc29ae932b255401d
ud2