Function at 0x14000cac0
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 [0x140073040]
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 0x14000cb10
mov r14, qword [rdx]
mov rsi, r14
add r14, qword [rdx + 0x10]
jmp 0x14000cb1a
mov rsi, rbx
mov r14, qword [rdx + 0x10]
add r14, rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0x370], xmm0
xor edi, edi
mov qword [rbp + 0x388], 7
mov qword [rbp + 0x380], rdi
cmp rsi, r14
jne 0x14000cb49
mov word [rbp + 0x370], di
jmp 0x14000cc70
sub r14, rsi
movabs rax, 0x7ffffffffffffffe
cmp r14, rax
ja 0x14000ceef
mov r15d, 7
cmp r14, r15
jbe 0x14000cc26
mov r15, r14
or r15, 7
cmp r15, rax
jbe 0x14000cb8d
mov r15, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x14000cbbc
mov eax, 0xa
cmp r15, rax
cmovb r15, rax
lea rcx, [r15 + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14000cee9
add rcx, rcx
cmp rcx, 0x1000
jb 0x14000cbf9
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000cee9
mov rcx, rax
call fcn.14005cc50
mov rcx, rax
test rax, rax
je 0x14000ce0b
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rbp + 0x370], rax
mov qword [rbp + 0x388], r15
jmp 0x14000cc2d
test rcx, rcx
je 0x14000cc13
call fcn.14005cc50
mov qword [rbp + 0x370], rax
mov qword [rbp + 0x388], r15
jmp 0x14000cc2d
mov rax, rdi
mov qword [rbp + 0x370], rax
mov qword [rbp + 0x388], r15
jmp 0x14000cc2d
mov rax, qword [rbp + 0x370]
lea r9, [rbp + 0x370]
cmp r15, 7
cmova r9, rax
mov rcx, r9
mov r8, r14
test r14, r14
je 0x14000cc64
nop word [rax + rax]
movsx eax, byte [rsi]
mov word [rcx], ax
lea rcx, [rcx + 2]
lea rsi, [rsi + 1]
sub r8, 1
jne 0x14000cc50
mov qword [rbp + 0x380], r14
mov word [r9 + r14*2], di
mov edx, dword [r13 + 8]
mov ecx, 8
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000cd61
mov rdx, qword [rbp + 0x388]
cmp rdx, 7
jbe 0x14000ccd2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cccd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ce0b
call fcn.14005cc94
mov qword [rbp + 0x380], rdi
mov qword [rbp + 0x388], 7
mov word [rbp + 0x370], di
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000cd25
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000cd20
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000cee2
mov rcx, r8
call fcn.14005cc94
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.14005cc30
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 0x14000cdb8
nop dword [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]
test eax, eax
je 0x14000ce12
lea rdx, [rsp + 0x30]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Module32NextW]
test eax, eax
jne 0x14000cd80
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x388]
cmp rdx, 7
jbe 0x14000ccd2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000cccd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000cccd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14000cfe0
mov rcx, rax
lea rdx, [rsp + 0x60]
call fcn.14000d250
lea rdx, [0x14000d430]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, qword [rsp + 0x48]
mov rdx, qword [rbp + 0x388]
cmp rdx, 7
jbe 0x14000ce8b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x370]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ce86
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ce0b
call fcn.14005cc94
mov qword [rbp + 0x380], rdi
mov qword [rbp + 0x388], 7
mov word [rbp + 0x370], di
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000ceda
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000ced5
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000cee2
mov rcx, r8
call fcn.14005cc94
mov rax, rsi
jmp 0x14000cd27
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140001930
int3
call fcn.1400019d0
int3