Function at 0x1400413c0
Capabilities:
Enumerate process modules

Disassembly:
jmp 0x14005e170
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x478
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xb6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x498]
mov rax, qword [0x1400f9300]
xor rax, rbp
mov qword [rbp + 0x448], rax
mov dword [rbp + 0x434], 0
lea rcx, [0x140111529]
call fcn.140043e1d
nop
mov r8d, dword [rbp + 0x478]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x14005e256
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x444], eax
lea rdx, [0x1400d34b0]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140042716
mov ecx, dword [rbp + 0x444]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.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_long_int____ptr64]
lea rdx, [0x1400425b3]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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]
nop
lea rdx, [0x1400d1a2c]
mov rcx, qword [rbp + 0x470]
call fcn.140041e74
mov eax, dword [rbp + 0x434]
or eax, 1
mov dword [rbp + 0x434], eax
mov rax, qword [rbp + 0x470]
jmp 0x14005e350
lea r9, [rbp + 0x274]
mov r8d, 8
lea rdx, [rbp + 0x258]
mov rcx, qword [rbp + 8]
call fcn.1400413a2
test eax, eax
je 0x14005e294
mov r9d, 0x104
lea r8, [rbp + 0x30]
mov rdx, qword [rbp + 0x258]
mov rcx, qword [rbp + 8]
call fcn.1400422ed
nop
jmp 0x14005e30b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x444], eax
lea rdx, [0x1400d3510]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.140042716
mov ecx, dword [rbp + 0x444]
mov edx, ecx
mov rcx, rax
call qword [sym.imp.MSVCP140D.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_long_int____ptr64]
lea rdx, [0x1400425b3]
mov rcx, rax
call qword [sym.imp.MSVCP140D.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]
nop
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [0x1400d1a2c]
mov rcx, qword [rbp + 0x470]
call fcn.140041e74
mov eax, dword [rbp + 0x434]
or eax, 1
mov dword [rbp + 0x434], eax
mov rax, qword [rbp + 0x470]
jmp 0x14005e350
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp + 0x30]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov qword [rbp + 0x298], rax
mov rdx, qword [rbp + 0x298]
mov rcx, qword [rbp + 0x470]
call fcn.140041e74
mov eax, dword [rbp + 0x434]
or eax, 1
mov dword [rbp + 0x434], eax
mov rax, qword [rbp + 0x470]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x1400d29e0]
call fcn.1400435df
mov rax, rdi
mov rcx, qword [rbp + 0x448]
xor rcx, rbp
call fcn.140042581
lea rsp, [rbp + 0x458]
pop rdi
pop rbp
ret