Function at 0x14006c090
Capabilities:
Enumerate process modules

Disassembly:
push rdi
sub rsp, 0x600
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x620], rbx
mov rax, qword [0x14025a030]
xor rax, rsp
mov qword [rsp + 0x5f0], rax
mov rdi, rdx
mov edx, ecx
mov ecx, 0x18
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
cmp rax, 0xffffffffffffffff
jne 0x14006c0db
xor al, al
jmp 0x14006c2c3
mov dword [rsp + 0x1b0], 0x438
lea rdx, [rsp + 0x1b0]
mov rcx, rax
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
jne 0x14006c10a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x14006c2c3
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
nop word [rax + rax]
lea rcx, [rsp + 0x100]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void____ptr64]
nop
lea rcx, [rsp + 0x128]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void____ptr64]
nop
lea rcx, [rsp + 0x150]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void____ptr64]
nop
lea rcx, [rsp + 0x178]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void____ptr64]
nop
lea rdx, [rsp + 0x1e0]
lea rcx, [rsp + 0x100]
call qword [reloc.MSVCP90.dll___4__basic_string__WU__char_traits__W_std__V__allocator__W_2__std__QEAAAEAV01_PEB_W_Z]
lea rdx, [rsp + 0x3e0]
lea rcx, [rsp + 0x128]
call qword [reloc.MSVCP90.dll___4__basic_string__WU__char_traits__W_std__V__allocator__W_2__std__QEAAAEAV01_PEB_W_Z]
mov r11d, dword [rsp + 0x1d0]
mov dword [rsp + 0x1a0], r11d
lea rdx, [rsp + 0x3e0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const____ptr64____ptr64]
lea rdx, [rsp + 0x150]
mov rcx, rax
call fcn.14006da60
lea rdx, [rsp + 0x3e0]
lea rcx, [rsp + 0x30]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const____ptr64____ptr64]
lea rdx, [rsp + 0x178]
mov rcx, rax
call fcn.14006c400
lea rdx, [rsp + 0x100]
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64]
nop
lea rdx, [rsp + 0x128]
lea rcx, [rsp + 0x80]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64]
nop
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0xa8]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64]
nop
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0xd0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64]
mov r11d, dword [rsp + 0x1a0]
mov dword [rsp + 0xf8], r11d
lea rcx, [rsp + 0x58]
call fcn.14006c340
test al, al
je 0x14006c265
lea rdx, [rsp + 0x100]
mov rcx, rdi
call fcn.14006e180
nop
lea rcx, [rsp + 0x178]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x150]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x128]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x100]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
lea rdx, [rsp + 0x1b0]
mov rcx, rbx
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x14006c120
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov rcx, qword [rsp + 0x5f0]
xor rcx, rsp
call fcn.140155650
mov rbx, qword [rsp + 0x620]
add rsp, 0x600
pop rdi
ret