Function at 0x1400069e0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x14005d040]
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 0x140006a30
mov r15, qword [rdx]
mov r14, r15
add r15, qword [rdx + 0x10]
jmp 0x140006a3a
mov r14, rbx
mov r15, qword [rdx + 0x10]
add r15, rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0x370], xmm0
xor edi, edi
cmp r14, r15
jne 0x140006a69
mov qword [rbp + 0x380], rdi
mov qword [rbp + 0x388], 7
mov word [rbp + 0x370], di
jmp 0x140006ba8
mov rax, r15
sub rax, r14
mov rdx, rdi
mov qword [rbp + 0x380], rdx
mov esi, 7
mov qword [rbp + 0x388], rsi
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
ja 0x140006e02
cmp rax, rsi
jbe 0x140006b50
mov rsi, rax
or rsi, 7
cmp rsi, rcx
jbe 0x140006ac0
mov rsi, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x140006aef
mov eax, 0xa
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x140006dfc
add rcx, rcx
cmp rcx, 0x1000
jb 0x140006b25
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140006dfc
mov rcx, rax
call fcn.14004c5a0
mov rcx, rax
test rax, rax
je 0x140006d4a
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov rdx, qword [rbp + 0x380]
jmp 0x140006b3b
test rcx, rcx
je 0x140006b38
call fcn.14004c5a0
mov rdx, qword [rbp + 0x380]
jmp 0x140006b3b
mov rax, rdi
mov qword [rbp + 0x370], rax
mov qword [rbp + 0x388], rsi
nop dword [rax]
lea rcx, [rbp + 0x370]
cmp rsi, 7
cmova rcx, qword [rbp + 0x370]
movsx eax, byte [r14]
mov word [rcx + rdx*2], ax
mov rdx, qword [rbp + 0x380]
inc rdx
mov qword [rbp + 0x380], rdx
inc r14
cmp r14, r15
je 0x140006b8d
mov rsi, qword [rbp + 0x388]
jmp 0x140006b50
lea rax, [rbp + 0x370]
cmp qword [rbp + 0x388], 7
cmova rax, qword [rbp + 0x370]
mov word [rax + rdx*2], di
mov edx, dword [r13 + 8]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140006c99
mov rdx, qword [rbp + 0x388]
cmp rdx, 7
jbe 0x140006c0a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006c05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006d4a
call fcn.14004c5e4
mov qword [rbp + 0x380], rdi
mov qword [rbp + 0x388], 7
mov word [rbp + 0x370], di
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140006c5d
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140006c58
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006df5
mov rcx, r8
call fcn.14004c5e4
xor eax, eax
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.14004c580
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
mov dword [rsp + 0x30], 0x438
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x140006cf8
nop dword [rax]
nop word [rax + rax]
lea rdx, [rbp + 0x370]
cmp qword [rbp + 0x388], 7
cmova rdx, qword [rbp + 0x370]
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rsi
test eax, eax
je 0x140006d51
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x140006cc0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp + 0x388]
cmp rdx, 7
jbe 0x140006c0a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006c05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006c05
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 rsi, qword [rsp + 0x48]
mov rdx, qword [rbp + 0x388]
cmp rdx, 7
jbe 0x140006d9e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006d99
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006d4a
call fcn.14004c5e4
mov qword [rbp + 0x380], rdi
mov qword [rbp + 0x388], 7
mov word [rbp + 0x370], di
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140006ded
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140006de8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140006df5
mov rcx, r8
call fcn.14004c5e4
mov rax, rsi
jmp 0x140006c5f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140001100
int3
call fcn.1400011a0
int3