Function at 0x180045860
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x6f0]
sub rsp, 0x7f0
mov rax, qword [0x1802b53c0]
xor rax, rsp
mov qword [rbp + 0x6e0], rax
mov r14, rcx
mov qword [rsp + 0x48], rcx
xor eax, eax
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0xb0]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x80], 0
mov dword [rsp + 0x20], 2
lea r9, [rbp + 0x80]
mov r8d, 0x400
lea rdx, [rbp + 0xb0]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_K32EnumProcessModulesEx]
xor r15d, r15d
mov qword [rsp + 0x50], r15
mov ebx, dword [rbp + 0x80]
shr rbx, 3
mov qword [rsp + 0x38], rbx
test rbx, rbx
je 0x180045df3
mov rax, rbx
nop dword [rax]
mov rbx, qword [rbp + r15*8 + 0xb0]
test rbx, rbx
je 0x180045de2
xor edx, edx
mov r8d, 0x105
lea rcx, [rbp + 0x5d0]
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x104
lea r8, [rbp + 0x5d0]
mov rdx, rbx
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameA]
xor edx, edx
mov r8d, 0x105
lea rcx, [rbp + 0x4c0]
call sub.VCRUNTIME140.dll_memset
mov r9d, 0x104
lea r8, [rbp + 0x4c0]
mov rdx, qword [rbp + r15*8 + 0xb0]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
mov r9d, 0x18
lea r8, [rsp + 0x58]
mov rdx, qword [rbp + r15*8 + 0xb0]
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov r12, qword [rbp + r15*8 + 0xb0]
movsxd rsi, dword [rsp + 0x60]
cmp qword [r14], 0
jne 0x1800459ca
xor ebx, ebx
mov esi, dword [rsp + 0x34]
or esi, 1
jmp 0x180045a04
mov rcx, rsi
call fcn.18004c4b8
mov rbx, rax
mov r8, rsi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov r9, rsi
mov qword [rsp + 0x20], 0
mov r8, rbx
mov rdx, r12
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov esi, dword [rsp + 0x34]
or esi, 3
mov qword [rbp + 0xa8], rbx
mov rcx, rbx
call qword [sym.imp.dbghelp.dll_ImageNtHeader]
movzx r13d, word [rax + 6]
mov dword [rsp + 0x40], r13d
movzx edi, word [rax + 0x14]
add rdi, rax
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x1802a9dc0]
mov qword [rsp + 0x70], rax
lea rcx, [rbp + 0x20]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or esi, 4
mov dword [rsp + 0x34], esi
mov dword [rsp + 0x30], esi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x70]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rsi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x80], rax
mov byte [rbp - 4], 0
mov byte [rbp - 0xf], 0
lea rcx, [rbp - 0x80]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp], 0
mov rax, qword [0x1802b65d8]
mov qword [rbp - 0xc], rax
mov qword [rbp - 0x18], 0
mov r8d, 0x21
lea rdx, [rbp + 0x4c0]
lea rcx, [rbp - 0x80]
call fcn.180046eb0
test rax, rax
jne 0x180045b13
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x70]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
jne 0x180045d91
mov dword [rsp + 0x30], 0
test r13d, r13d
je 0x180045d91
lea r13, [rdi + 0x24]
nop word [rax + rax]
xor ecx, ecx
lea rdx, str..text
nop dword [rax]
movzx eax, byte [rcx + r13 - 0xc]
inc rcx
cmp al, byte [rdx + rcx - 1]
jne 0x180045d68
cmp rcx, 6
jne 0x180045b60
mov r14d, dword [r13]
add r14, rbx
mov r15d, dword [r13 + 4]
xor eax, eax
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x90], xmm1
mov qword [rbp + 0xa0], rax
test r15, r15
je 0x180045c4c
mov r8d, r15d
lea edx, [rcx - 0x1d]
mov rcx, r14
call sub.VCRUNTIME140.dll_memchr
mov rdi, rax
test rax, rax
je 0x180045c4c
sub rdi, r14
cmp rdi, 0xffffffffffffffff
je 0x180045c4c
mov rsi, qword [rbp + 0x98]
nop
lea rcx, [rdi + r14]
sub ecx, ebx
add rcx, r12
mov qword [rbp + 0x88], rcx
cmp rsi, qword [rbp + 0xa0]
je 0x180045c00
mov qword [rsi], rcx
mov rsi, qword [rbp + 0x98]
add rsi, 8
mov qword [rbp + 0x98], rsi
jmp 0x180045c1d
lea r8, [rbp + 0x88]
mov rdx, rsi
lea rcx, [rbp + 0x90]
call fcn.18000fcf0
mov rsi, qword [rbp + 0x98]
inc rdi
cmp rdi, r15
jae 0x180045c53
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 0x180045c53
sub rdi, r14
cmp rdi, 0xffffffffffffffff
jne 0x180045bd0
jmp 0x180045c53
mov rsi, qword [rbp + 0x98]
mov rdi, qword [rbp + 0x90]
cmp rdi, rsi
je 0x180045d20
nop dword [rax]
nop word [rax + rax]
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, [rsp + 0x70]
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 + 0x4b0], eax
mov byte [rbp + 0x4b4], al
lea r8d, [rax + 5]
lea rdx, [rbp + 0x4b0]
lea rcx, [rsp + 0x70]
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 + 0x4b0]
jne 0x180045cd2
movzx eax, byte [r14 + rbx + 4]
cmp al, byte [rbp + 0x4b4]
je 0x180045d0c
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax]
test rcx, rcx
je 0x180045d0c
mov qword [rbp + 0x88], 0
lea rax, [rbp + 0x88]
mov qword [rsp + 0x20], rax
mov r9d, 5
lea r8, [rbp + 0x4b0]
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
add rdi, 8
cmp rdi, rsi
jne 0x180045c70
mov rdi, qword [rbp + 0x90]
test rdi, rdi
je 0x180045d68
mov rax, qword [rbp + 0xa0]
sub rax, rdi
sar rax, 3
lea rdx, [rax*8]
mov rax, rdi
cmp rdx, 0x1000
jb 0x180045d60
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180045e23
mov rcx, rdi
call fcn.18004bc34
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
add r13, 0x28
cmp eax, dword [rsp + 0x40]
jl 0x180045b50
mov r14, qword [rsp + 0x48]
mov r15, qword [rsp + 0x50]
lea rsi, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], rsi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rbp - 0x80]
call fcn.180046a90
lea rcx, [rbp - 0x78]
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 + 0x20]
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 0x180045ddd
mov rcx, rbx
call fcn.18004bc34
mov rax, qword [rsp + 0x38]
inc r15
mov qword [rsp + 0x50], r15
cmp r15, rax
jl 0x180045920
mov rcx, qword [rbp + 0x6e0]
xor rcx, rsp
call fcn.18004bbd0
lea r11, [rsp + 0x7f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
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