Function at 0x14018db18
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x2f0]
mov eax, 0x3f0
call fcn.14024eae0
sub rsp, rax
mov rax, qword [0x14035d028]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
mov r14, rcx
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
and qword [rax], 0
mov rcx, qword [rdx]
test rcx, rcx
je 0x14018db77
mov rbx, qword [rcx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, rbx
test rbx, rbx
jne 0x14018db66
mov rax, qword [r14]
mov qword [rax], rax
mov rax, qword [r14]
mov qword [rax + 8], rax
and qword [r14 + 8], 0
mov dword [rsp + 0x20], 0x1000
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
xor esi, esi
mov qword [rsp + 0x38], rsi
xor r8d, r8d
mov ecx, 0x400
mov r15, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
mov rdx, r15
sub rdx, r8
sar rdx, 2
cmp rcx, rdx
jae 0x14018dbc8
lea r15, [r8 + rcx*4]
jmp 0x14018dc12
jbe 0x14018dc17
mov rax, rsi
sub rax, r8
sar rax, 2
cmp rcx, rax
jbe 0x14018dbf7
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.14018e800
mov rsi, qword [rsp + 0x38]
mov r15, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x28]
jmp 0x14018dc17
sub rcx, rdx
lea rbx, [rcx*4]
mov r8, rbx
xor edx, edx
mov rcx, r15
call sub.VCRUNTIME140.dll_memset
add r15, rbx
mov qword [rsp + 0x30], r15
mov r12, r15
sub r12, rdi
sar r12, 2
lea rax, [r12*4]
mov ecx, 0xffffffff
cmp rax, rcx
ja 0x14018dd60
lea r8, [rsp + 0x20]
mov edx, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x14018dd3b
mov ebx, dword [rsp + 0x20]
shr ebx, 2
mov ecx, ebx
cmp r12, rcx
jae 0x14018dcbe
mov r8, rdi
jmp 0x14018dbb3
mov eax, 0xffffffff
add ebx, eax
mov r12d, dword [rdi + rbx*4]
mov r15, qword [r14]
movabs rax, 0xaaaaaaaaaaaaaaa
cmp qword [r14 + 8], rax
je 0x14018dcf9
mov qword [rsp + 0x40], r14
and qword [rsp + 0x48], 0
mov ecx, 0x18
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
test rax, rax
je 0x14018dcf2
mov dword [rax + 0x10], r12d
inc qword [r14 + 8]
mov rcx, qword [r15 + 8]
mov qword [rax], r15
mov qword [rax + 8], rcx
and qword [rsp + 0x48], 0
mov qword [r15 + 8], rax
mov qword [rcx], rax
test ebx, ebx
jne 0x14018dc65
test rdi, rdi
je 0x14018dd10
mov rax, rdi
sub rsi, rdi
and rsi, 0xfffffffffffffffc
cmp rsi, 0x1000
jb 0x14018dd07
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14018dd07
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xbad_alloc_void_]
nop
lea rcx, str.list_too_long
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
nop
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.14024c6d0
lea r11, [rsp + 0x3f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rcx, [rsp + 0x50]
call fcn.14018e3dc
lea rdx, [0x140325060]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
call fcn.140009574
int3