Function at 0x1800049c0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x420]
sub rsp, 0x520
mov rax, qword [0x18003b240]
xor rax, rsp
mov qword [rbp + 0x410], rax
mov r14, r8
mov r15, rdx
mov qword [rbp - 0x70], rdx
mov qword [rbp - 0x70], r8
xor r13d, r13d
mov edx, dword [rcx + 0x18]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r12, rax
cmp rax, 0xffffffffffffffff
je 0x180004e1e
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [r14 + 0x10], r13
mov qword [r14 + 0x18], 7
mov word [r14], r13w
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.180002e10
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
movdqa xmm1, xmmword [0x180036a00]
movdqu xmmword [rsp + 0x30], xmm1
mov word [rsp + 0x20], r13w
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.180005c00
nop
lea rdx, [rsp + 0x20]
mov rcx, r14
call fcn.180005c80
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x180004acb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004ac5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004ac5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180014a38
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x180004b10
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004b0b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180004b0b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.180014a38
xor edx, edx
mov r8d, 0x434
lea rcx, [rbp - 0x5c]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp - 0x60], 0x438
lea rdx, [rbp - 0x60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Module32FirstW]
test eax, eax
je 0x180004e1e
mov r8d, 0xa
movabs rdx, 0x7fffffffffffffff
movabs rcx, 0x7ffffffffffffffe
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
lea rax, [rbp - 0x30]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180004b74
cmp rbx, rcx
ja 0x180004ea2
cmp rbx, 7
ja 0x180004bba
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], 7
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x20], r13w
jmp 0x180004c4f
mov rsi, rbx
or rsi, 7
cmp rsi, rcx
jbe 0x180004c02
mov rsi, rcx
lea rcx, [rdx + rdx]
cmp rcx, 0x1000
jb 0x180004c21
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x180004ea8
mov rcx, rax
call fcn.180014684
test rax, rax
je 0x180004e10
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x180004c29
cmp rsi, 0xa
cmovb rsi, r8
lea rcx, [rsi + 1]
cmp rcx, rdx
ja 0x180004ea8
add rcx, rcx
jne 0x180004bcd
mov rdi, r13
jmp 0x180004c29
call fcn.180014684
mov rdi, rax
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x30]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], r13w
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x50]
call fcn.180002e10
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x3e0], xmm0
mov qword [rbp + 0x3f0], r13
mov qword [rbp + 0x3f8], 7
mov word [rbp + 0x3e0], r13w
mov rdx, rax
lea rcx, [rbp + 0x3e0]
call fcn.180005c00
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x180004cd5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004cd0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004e10
call fcn.180014a38
mov ecx, dword [rbp - 0x40]
mov rax, qword [rbp - 0x48]
mov qword [rbp + 0x400], rax
mov qword [rbp + 0x408], rcx
mov rcx, r14
cmp qword [r14 + 0x18], 7
jbe 0x180004cf7
mov rcx, qword [r14]
lea r8, [rbp + 0x3e0]
mov r9, qword [rbp + 0x3e0]
mov r10, qword [rbp + 0x3f8]
cmp r10, 7
cmova r8, r9
mov rdx, qword [rbp + 0x3f0]
cmp rdx, qword [r14 + 0x10]
jne 0x180004dc7
test rdx, rdx
je 0x180004d48
sub r8, rcx
nop dword [rax]
movzx eax, word [rcx + r8]
cmp ax, word [rcx]
jne 0x180004dc7
add rcx, 2
sub rdx, 1
jne 0x180004d30
xorps xmm0, xmm0
movups xmmword [r15], xmm0
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], 7
mov word [r15], r13w
lea rdx, [rbp + 0x3e0]
mov rcx, r15
call fcn.180005c80
movups xmm0, xmmword [rbp + 0x400]
movups xmmword [r15 + 0x20], xmm0
mov byte [r15 + 0x30], 1
mov rdx, qword [rbp + 0x3f8]
cmp rdx, 7
jbe 0x180004e23
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x3e0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180004dc0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004e17
call fcn.180014a38
jmp 0x180004e23
cmp r10, 7
jbe 0x180004dfe
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x180004df6
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004e17
mov rcx, r9
call fcn.180014a38
lea rdx, [rbp - 0x60]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_Module32NextW]
jmp 0x180004b35
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov byte [r15 + 0x30], 0
mov rdx, qword [r14 + 0x18]
cmp rdx, 7
jbe 0x180004e5e
lea rdx, [rdx*2 + 2]
mov rcx, qword [r14]
cmp rdx, 0x1000
jb 0x180004e59
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180004e9b
mov rcx, r8
call fcn.180014a38
mov word [r14], r13w
mov qword [r14 + 0x18], 7
mov qword [r14 + 0x10], r13
mov rax, r15
mov rcx, qword [rbp + 0x410]
xor rcx, rsp
call fcn.180014580
mov rbx, qword [rsp + 0x578]
add rsp, 0x520
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.180001250
nop
call fcn.1800011b0
int3