Function at 0x18005c6a0
Capabilities:
Enumerate process modules

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xbb8]
sub rsp, 0xc90
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x180075040]
xor rax, rsp
mov qword [rbp + 0xb60], rax
mov r14, rcx
mov qword [rsp + 0x40], rcx
xor edi, edi
mov r13d, edi
mov dword [rsp + 0x30], edi
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x68], edi
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x68]
mov r8d, 0x400
lea rdx, [rbp + 0x20]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
mov eax, dword [rsp + 0x68]
shr eax, 3
mov dword [0x180076148], eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], 7
mov qword [rbp - 0x48], 0xf
mov rax, qword [0x18006a850]
mov dword [rbp - 0x60], eax
movzx eax, word [0x18006a854]
mov word [rbp - 0x5c], ax
movzx eax, byte [0x18006a856]
mov byte [rbp - 0x5a], al
mov byte [rbp - 0x59], dil
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], 9
mov qword [rbp - 0x28], 0xf
movsd xmm0, qword [str.ntdll.dll]
movsd qword [rbp - 0x40], xmm0
movzx eax, byte [0x180069e20]
mov byte [rbp - 0x38], al
mov byte [rbp - 0x37], dil
mov dword [rbp - 0x14], edi
mov qword [rbp - 0x10], 0xc
mov qword [rbp - 8], 0xf
movsd xmm0, qword [str.KERNEL32.DLL]
movsd qword [rbp - 0x20], xmm0
mov eax, dword [0x18006a848]
mov dword [rbp - 0x18], eax
mov byte [rbp - 0x14], dil
mov word [rbp + 0xe], di
mov qword [rbp + 0x10], 0xe
mov qword [rbp + 0x18], 0xf
movsd xmm0, qword [str.KERNELBASE.dll]
movsd qword [rbp], xmm0
mov eax, dword [0x18006a868]
mov dword [rbp + 8], eax
movzx eax, word [0x18006a86c]
mov word [rbp + 0xc], ax
mov byte [rbp + 0xe], dil
xor edx, edx
mov r8d, 0x105
lea rcx, [rbp + 0xa50]
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x104
lea r8, [rbp + 0xa50]
xor edx, edx
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x420]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x6c], edi
mov dword [rsp + 0x20], 2
lea r9, [rsp + 0x6c]
mov r8d, 0x400
lea rdx, [rbp + 0x420]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
mov eax, dword [rsp + 0x6c]
shr eax, 3
mov dword [0x180076148], eax
mov dword [rsp + 0x68], edi
test eax, eax
je 0x18005cd6e
lea r15, [rbp + 0x420]
mov qword [rsp + 0x48], r15
movss xmm7, dword [0x18006ac08]
mov eax, edi
nop word [rax + rax]
mov rbx, qword [r15]
test rbx, rbx
je 0x18005cd53
xor edx, edx
mov r8d, 0x105
lea rcx, [rbp + 0x830]
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x104
lea r8, [rbp + 0x830]
mov rdx, rbx
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
xor edx, edx
mov r8d, 0x105
lea rcx, [rbp + 0x940]
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x104
lea r8, [rbp + 0x940]
mov rdx, qword [r15]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
mov r9d, 0x18
lea r8, [rsp + 0x50]
mov rdx, qword [r15]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
lea rbx, [rbp - 0x60]
lea rax, [rbp + 0x830]
mov rdi, 0xffffffffffffffff
nop
inc rdi
cmp byte [rax + rdi], 0
jne 0x18005c940
nop dword [rax]
mov r8, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x18005c961
mov rcx, qword [rbx]
cmp r8, rdi
jne 0x18005c976
lea rdx, [rbp + 0x830]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x18005c988
add rbx, 0x20
lea rax, [rbp + 0x20]
cmp rbx, rax
jne 0x18005c950
jmp 0x18005cd4f
lea rax, [rbp + 0x20]
cmp rbx, rax
je 0x18005cd4f
mov r12, qword [r15]
movsxd rsi, dword [rsp + 0x58]
cmp qword [r14], 0
jne 0x18005c9ad
xor edi, edi
mov ebx, edi
or r13d, 1
jmp 0x18005c9e2
mov rcx, rsi
call fcn.1800603c8
mov rbx, rax
mov r8, rsi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r9, rsi
xor edi, edi
mov qword [rsp + 0x20], rdi
mov r8, rbx
mov rdx, r12
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
or r13d, 3
mov dword [rsp + 0x30], r13d
mov qword [rbp - 0x70], rbx
mov rcx, rbx
call qword [sym.imp.dbghelp.dll_ImageNtHeader]
movzx ecx, word [rax + 6]
mov dword [rsp + 0x38], ecx
movzx r13d, word [rax + 0x14]
add r13, rax
xor edx, edx
mov r8d, 0x110
lea rcx, [rbp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x940]
lea rcx, [rbp + 0x20]
call fcn.18005db90
nop
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x20]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
jne 0x18005ccf6
mov dword [rsp + 0x34], edi
cmp dword [rsp + 0x38], 0
jbe 0x18005ccf6
add r13, 0x24
nop word [rax + rax]
mov rcx, rdi
lea rdx, str..text
nop word [rax + rax]
movzx eax, byte [rcx + r13 - 0xc]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x18005ccd4
cmp rcx, 6
jne 0x18005ca70
mov r14d, dword [r13]
add r14, rbx
mov r15d, dword [r13 + 4]
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov qword [rbp - 0x80], rdi
test r15, r15
je 0x18005cb3d
mov r8d, r15d
lea edx, [rcx - 0x1d]
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rdi, rax
test rax, rax
je 0x18005cb3d
sub rdi, r14
cmp rdi, 0xffffffffffffffff
je 0x18005cb3d
mov rsi, qword [rsp + 0x78]
lea rcx, [rdi + r14]
sub ecx, ebx
add rcx, r12
mov qword [rbp - 0x78], rcx
cmp rsi, qword [rbp - 0x80]
je 0x18005caf8
mov qword [rsi], rcx
mov rsi, qword [rsp + 0x78]
add rsi, 8
mov qword [rsp + 0x78], rsi
jmp 0x18005cb0e
lea r8, [rbp - 0x78]
mov rdx, rsi
lea rcx, [rsp + 0x70]
call fcn.18005e210
mov rsi, qword [rsp + 0x78]
inc rdi
cmp rdi, r15
jae 0x18005cb42
mov r8, r15
sub r8, rdi
lea rcx, [rdi + r14]
mov edx, 0xffffffe9
call sub.VCRUNTIME140.dll_memchr
mov rdi, rax
test rax, rax
je 0x18005cb42
sub rdi, r14
cmp rdi, 0xffffffffffffffff
jne 0x18005cad2
jmp 0x18005cb42
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x70]
cmp rdi, rsi
je 0x18005cc8d
mov r15, qword [rdi]
mov ecx, r15d
sub ecx, r12d
mov r14d, ecx
sub ecx, dword [r13]
mov edx, dword [r13 + 8]
add edx, ecx
xor r8d, r8d
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
xor eax, eax
mov dword [rbp + 0x820], eax
mov byte [rbp + 0x824], al
lea r8d, [rax + 5]
lea rdx, [rbp + 0x820]
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
mov eax, dword [r14 + rbx]
cmp eax, dword [rbp + 0x820]
jne 0x18005cbb4
movzx eax, byte [r14 + rbx + 4]
cmp al, byte [rbp + 0x824]
je 0x18005cc7b
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax]
test rcx, rcx
je 0x18005cbe8
mov qword [rbp - 0x78], 0
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [rbp + 0x820]
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
lea rdx, [0x180062bee]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1800024e0
mov rdx, r15
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x180063ba8]
call fcn.1800024e0
mov eax, dword [0x18007614c]
inc eax
movd xmm6, eax
cvtdq2ps xmm6, xmm6
movd xmm0, dword [0x180076148]
cvtdq2ps xmm0, xmm0
divss xmm6, xmm0
mulss xmm6, xmm7
inc eax
mov dword [0x18007614c], eax
lea rdx, str._rClearing:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1800024e0
movaps xmm1, xmm6
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___float____ptr64]
mov rcx, rax
lea rdx, [0x18006a87c]
call fcn.1800024e0
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::flush_void____ptr64]
add rdi, 8
cmp rdi, rsi
jne 0x18005cb50
mov rdi, qword [rsp + 0x70]
test rdi, rdi
je 0x18005ccd2
mov rax, qword [rbp - 0x80]
sub rax, rdi
sar rax, 3
lea rdx, [rax*8]
mov rax, rdi
cmp rdx, 0x1000
jb 0x18005ccca
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18005cde5
mov rcx, rdi
call fcn.18005fc84
xor edi, edi
mov eax, dword [rsp + 0x34]
inc eax
mov dword [rsp + 0x34], eax
add r13, 0x28
cmp eax, dword [rsp + 0x38]
jl 0x18005ca60
mov r14, qword [rsp + 0x40]
mov r15, qword [rsp + 0x48]
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x20], rax
mov rax, qword [rbp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1c], edx
lea rcx, [rbp + 0x30]
call fcn.18005dab0
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0xd0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
test rbx, rbx
je 0x18005cd4a
mov rcx, rbx
call fcn.18005fc84
mov r13d, dword [rsp + 0x30]
mov eax, dword [rsp + 0x68]
inc eax
mov dword [rsp + 0x68], eax
add r15, 8
mov qword [rsp + 0x48], r15
cmp eax, dword [0x180076148]
jl 0x18005c8b0
lea rdx, str._rClearing:_100_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1800024e0
lea rdx, [0x1800026b0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
lea r9, [0x180002360]
mov edx, 0x20
lea r8d, [rdx - 0x1c]
lea rcx, [rbp - 0x60]
call fcn.18005ff18
mov rcx, qword [rbp + 0xb60]
xor rcx, rsp
call fcn.18005fc20
lea r11, [rsp + 0xc90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
int3