Function at 0x140006a90
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x14005e040]
xor rax, rsp
mov qword [rbp + 0x390], rax
mov rbx, rdx
mov r13, rcx
mov qword [rsp + 0x20], rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x140006ade
mov r14, qword [rdx]
mov rsi, r14
add r14, qword [rdx + 0x10]
jmp 0x140006ae8
mov rsi, rbx
mov r14, qword [rdx + 0x10]
add r14, rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0x370], xmm0
xor r12d, r12d
mov edi, 7
mov qword [rbp + 0x380], r12
mov qword [rbp + 0x388], rdi
cmp rsi, r14
jne 0x140006b1a
mov word [rbp + 0x370], r12w
jmp 0x140006c40
mov rax, r14
sub rax, rsi
mov r15, r12
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
ja 0x140006e5e
cmp rax, rdi
jbe 0x140006be0
mov rdi, rax
or rdi, 7
cmp rdi, rcx
jbe 0x140006b5e
mov rdi, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140006b8d
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140006e58
add rcx, rcx
cmp rcx, 0x1000
jb 0x140006bbc
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140006e58
mov rcx, rax
call fcn.14004c760
mov rcx, rax
test rax, rax
je 0x140006d4e
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140006bcb
test rcx, rcx
je 0x140006bc8
call fcn.14004c760
jmp 0x140006bcb
mov rax, r12
mov qword [rbp + 0x370], rax
mov qword [rbp + 0x388], rdi
nop dword [rax]
lea rcx, [rbp + 0x370]
cmp rdi, 7
cmova rcx, qword [rbp + 0x370]
movsx eax, byte [rsi]
mov word [rcx + r15*2], ax
mov r15, qword [rbp + 0x380]
inc r15
mov qword [rbp + 0x380], r15
inc rsi
cmp rsi, r14
je 0x140006c1d
mov rdi, qword [rbp + 0x388]
jmp 0x140006be0
lea rax, [rbp + 0x370]
cmp qword [rbp + 0x388], 7
cmova rax, qword [rbp + 0x370]
mov word [rax + r15*2], r12w
mov rdi, qword [rbp + 0x388]
mov edx, dword [r13 + 8]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x140006c9f
cmp rdi, 7
jbe 0x140006de0
lea rdx, [rdi*2 + 2]
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006dda
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006d4e
jmp 0x140006dda
mov dword [rsp + 0x30], 0x438
lea rdx, [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
mov rsi, qword [rbp + 0x370]
test eax, eax
je 0x140006d0a
lea r8, [rbp + 0x370]
cmp rdi, 7
cmova r8, rsi
lea rax, [rsp + 0x60]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140006cf4
add rax, 2
test ecx, ecx
jne 0x140006ce0
mov rcx, r14
test edx, edx
je 0x140006d55
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140006cc0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp rdi, 7
jbe 0x140006de0
lea rdx, [rdi*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140006dd7
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006dd7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x48]
cmp rdi, 7
jbe 0x140006d98
lea rdx, [rdi*2 + 2]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140006d8f
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006d4e
mov rcx, rsi
call fcn.14004c7a4
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140006dd2
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140006dcd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006e51
mov rcx, r8
call fcn.14004c7a4
mov rax, r14
jmp 0x140006e18
mov rcx, rsi
call fcn.14004c7a4
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140006e16
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140006e11
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006e51
mov rcx, r8
call fcn.14004c7a4
xor eax, eax
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], r12
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.14004c740
mov rbx, qword [rsp + 0x4f0]
add rsp, 0x4a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140001100
nop
call fcn.1400011a0
int3