Function at 0x7ff78718c850
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0xb80]
sub rsp, 0xc80
mov rsi, rcx
xor edx, edx
mov r8d, 0x410
lea rcx, [rbp + 0x770]
call sub.ntdll.dll_memset
xor edx, edx
mov r8d, 0x434
lea rcx, [rbp + 0x334]
call sub.ntdll.dll_memset
mov dword [rbp + 0x330], 0x438
call qword [sym.imp.kernel32.dll_GetCurrentProcessId]
mov edx, eax
mov ecx, 8
call qword [sym.imp.kernel32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
lea rdx, [rbp + 0x330]
mov rcx, rax
call qword [sym.imp.kernel32.dll_Module32FirstW]
mov ebx, eax
test eax, eax
je 0x7ff78718c8f7
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleA]
cmp qword [rbp + 0x358], rax
je 0x7ff78718c8f7
lea rdx, [rbp + 0x330]
mov rcx, rdi
call qword [sym.imp.kernel32.dll_Module32NextW]
mov ebx, eax
test eax, eax
jne 0x7ff78718c8d0
mov rcx, rdi
call qword [sym.imp.kernel32.dll_CloseHandle]
test ebx, ebx
je 0x7ff78718ccc6
mov edx, 0x208
mov r8d, edx
lea rax, [rbp + 0x560]
cmp word [rax], 0
je 0x7ff78718c927
add rax, 2
sub r8, 1
jne 0x7ff78718c917
mov rcx, rdx
sub rcx, r8
xor r10d, r10d
test r8, r8
cmove rcx, r10
mov eax, r10d
cmovne rax, rcx
lea rcx, [rbp + 0x560]
lea rcx, [rcx + rax*2]
nop dword [rax]
movzx eax, word [rcx]
lea rcx, [rcx - 2]
cmp ax, 0x5c
jne 0x7ff78718c950
mov word [rcx + 4], r10w
lea rcx, [rbp + 0x770]
lea r8, [rbp + 0x560]
lea rax, [rbp + 0x770]
sub r8, rax
nop word [rax + rax]
lea rax, [rdx + 0x7ffffdf6]
test rax, rax
je 0x7ff78718c9a3
movzx eax, word [r8 + rcx]
test ax, ax
je 0x7ff78718c9a3
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x7ff78718c980
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], r10w
movups xmm0, xmmword [0x7ff787449c88]
movups xmmword [rbp - 0x70], xmm0
mov edx, 0x104
mov r8d, edx
lea rcx, [rbp + 0x120]
lea r9, [rbp + 0x770]
lea rax, [rbp + 0x120]
sub r9, rax
nop dword [rax]
lea rax, [r8 + 0x7ffffefa]
test rax, rax
je 0x7ff78718ca03
movzx eax, word [r9 + rcx]
test ax, ax
je 0x7ff78718ca03
mov word [rcx], ax
add rcx, 2
sub r8, 1
jne 0x7ff78718c9e0
lea rax, [rcx - 2]
test r8, r8
cmovne rax, rcx
mov word [rax], r10w
mov rcx, rdx
lea rax, [rbp + 0x120]
nop dword [rax]
cmp word [rax], r10w
je 0x7ff78718ca30
add rax, 2
sub rcx, 1
jne 0x7ff78718ca20
mov rax, rdx
sub rax, rcx
test rcx, rcx
cmove rax, r10
je 0x7ff78718ca88
sub rdx, rax
lea rax, [rbp + rax*2 + 0x120]
je 0x7ff78718ca79
mov ecx, 0x7ffffffe
lea r9, [rbp - 0x70]
sub r9, rax
test rcx, rcx
je 0x7ff78718ca79
movzx r8d, word [r9 + rax]
test r8w, r8w
je 0x7ff78718ca79
mov word [rax], r8w
add rax, 2
dec rcx
sub rdx, 1
jne 0x7ff78718ca58
lea rcx, [rax - 2]
test rdx, rdx
cmovne rcx, rax
mov word [rcx], r10w
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll__time64]
mov qword [rbp + 0xb98], rax
lea rdx, [rbp + 0xb98]
lea rcx, [rbp + 0xf0]
call qword [sym.imp.ucrtbase.dll__localtime64_s]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], eax
lea r9, [rbp + 0xf0]
lea r8, [0x7ff787449cc8]
lea edx, [rax + 0x1e]
lea rcx, [rbp - 0x60]
call qword [sym.imp.ucrtbase.dll_wcsftime]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x70], ax
xorps xmm1, xmm1
movups xmmword [rsp + 0x30], xmm1
mov word [rsp + 0x40], ax
movups xmmword [rsp + 0x48], xmm0
mov word [rsp + 0x58], ax
movups xmmword [rsp + 0x78], xmm1
mov word [rbp - 0x78], ax
mov r9d, dword [rsi + 0x1c]
lea r8, [0x7ff787449cb8]
lea edx, [rax + 9]
lea rcx, [rsp + 0x60]
call fcn.7ff78718c790
mov r9d, dword [rsi + 0x20]
lea r8, [0x7ff787449d70]
mov edx, 9
lea rcx, [rsp + 0x30]
call fcn.7ff78718c790
mov r9d, dword [rsi + 0x24]
lea r8, [0x7ff787449d60]
mov edx, 9
lea rcx, [rsp + 0x48]
call fcn.7ff78718c790
mov r9d, dword [rsi + 0x28]
lea r8, [0x7ff787449da0]
mov edx, 9
lea rcx, [rsp + 0x78]
call fcn.7ff78718c790
lea rdx, [rbp + 0x120]
lea rcx, [rbp - 0x20]
call fcn.7ff78718d650
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::good_void_const___ptr64]
test al, al
je 0x7ff78718cc80
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x20]
call fcn.7ff78714b890
lea rdx, [0x7ff78718da00]
mov rcx, rax
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__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x7ff787449d80]
lea rcx, [rbp - 0x20]
call fcn.7ff78714b890
mov edx, dword [rsi + 0x18]
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___unsigned_int____ptr64]
lea rdx, [0x7ff78718da00]
mov rcx, rax
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__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x7ff787449d30]
lea rcx, [rbp - 0x20]
call fcn.7ff78714b890
mov rcx, rax
lea rdx, [rsp + 0x30]
call fcn.7ff78714b890
lea rdx, [0x7ff78718da00]
mov rcx, rax
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__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x7ff787449d00]
lea rcx, [rbp - 0x20]
call fcn.7ff78714b890
mov rcx, rax
lea rdx, [rsp + 0x48]
call fcn.7ff78714b890
lea rdx, [0x7ff78718da00]
mov rcx, rax
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__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rdx, [0x7ff78718da00]
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__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rbp - 0x18]
call fcn.7ff78718d940
test rax, rax
jne 0x7ff78718cc80
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x20]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 2]
call qword [0x7ff787386660]
nop
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [0x7ff78744d158]
mov qword [rbp + rcx - 0x20], rax
mov rax, qword [rbp - 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x24], edx
lea rcx, [rbp - 0x18]
call fcn.7ff78718d5e0
lea rcx, [rbp - 0x10]
call qword [sym.imp.msvcp140.dll_public_virtual:_void___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rbp + 0x88]
call qword [0x7ff787386818]
lea r11, [rsp + 0xc80]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret