Function at 0x7ffd21bca5a0
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 - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x7ffd21c77690]
xor rax, rsp
mov qword [rbp + 0x3d8], rax
mov r14, rcx
mov qword [rsp + 0x48], rcx
xor r12d, r12d
test edx, edx
jne 0x7ffd21bca5ef
mov qword [rcx], r12
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
jmp 0x7ffd21bca823
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x3c0], xmm1
mov qword [rbp + 0x3d0], r12
mov dword [rbp - 0x80], 0x438
mov ecx, 0x18
call qword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x7ffd21bca850
lea rdx, [rbp - 0x80]
mov rcx, rax
call qword [sym.imp.kernel32.dll_Module32FirstW]
cmp eax, 1
jne 0x7ffd21bca7fa
lea ecx, [rax + 9]
movabs rdi, 0x2aaaaaaaaaaaaaab
movabs r13, 0x7ffffffffffffffe
nop dword [rax]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r12w
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], r12
lea rax, [rbp + 0x1b0]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x7ffd21bca684
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
cmp rbx, r13
ja 0x7ffd21bca86c
cmp rbx, 8
jae 0x7ffd21bca6d2
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], 7
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0x1b0]
lea rcx, [rsp + 0x20]
call sub.vcruntime140.dll_memcpy_1
mov word [rsp + rbx + 0x20], r12w
jmp 0x7ffd21bca72a
mov rsi, rbx
or rsi, 7
cmp rsi, r13
jbe 0x7ffd21bca6e3
mov rsi, r13
jmp 0x7ffd21bca6eb
cmp rsi, 0xa
cmovb rsi, rcx
lea rdx, [rsi + 1]
call fcn.7ffd21b931b0
mov rdi, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rbp + 0x1b0]
mov rcx, rax
call sub.vcruntime140.dll_memcpy_1
mov word [rbx + rdi], r12w
movabs rdi, 0x2aaaaaaaaaaaaaab
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.7ffd21bbeb40
lea rcx, [rsp + 0x20]
call fcn.7ffd21b92a60
mov rax, qword [rbp - 0x68]
mov qword [rsp + 0x70], rax
mov ecx, dword [rbp - 0x60]
mov qword [rsp + 0x78], rcx
mov rdx, qword [rbp + 0x3c8]
cmp rdx, qword [rbp + 0x3d0]
je 0x7ffd21bca79b
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r12w
mov qword [rdx + 0x20], rax
mov qword [rdx + 0x28], rcx
add qword [rbp + 0x3c8], 0x30
jmp 0x7ffd21bca7ad
lea r8, [rsp + 0x50]
lea rcx, [rbp + 0x3c0]
call fcn.7ffd21bcae20
nop
lea rcx, [rsp + 0x50]
call fcn.7ffd21b92a60
mov rcx, qword [rbp + 0x3c8]
sub rcx, qword [rbp + 0x3c0]
mov rax, rdi
imul rcx
sar rdx, 3
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rdx, 0xffffffffffffffff
jae 0x7ffd21bca7fa
lea rdx, [rbp - 0x80]
mov rcx, r15
call qword [sym.imp.kernel32.dll_Module32NextW]
cmp eax, 1
mov ecx, 0xa
je 0x7ffd21bca650
mov rcx, r15
call qword [sym.imp.kernel32.dll_CloseHandle]
mov rdx, qword [rbp + 0x3d0]
mov rcx, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3c0]
mov qword [r14], rax
mov qword [r14 + 8], rcx
mov qword [r14 + 0x10], rdx
mov rax, r14
mov rcx, qword [rbp + 0x3d8]
xor rcx, rsp
call fcn.7ffd21c3f7f0
mov rbx, qword [rsp + 0x530]
add rsp, 0x4e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [rsp + 0x20]
call fcn.7ffd21bca4d0
lea rdx, [0x7ffd21c733f0]
lea rcx, [rsp + 0x20]
call sub.vcruntime140.dll__CxxThrowException
nop
call fcn.7ffd21b78900
int3