Function at 0x14000346e
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push rbp
push rbx
sub rsp, 0x508
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x4a0], rcx
mov rax, qword [rbp + 0x4a0]
mov rcx, rax
call fcn.14009d7a0
lea rax, [rbp + 0x200]
mov qword [rsp + 0x20], rax
mov r9d, 0
mov r8d, 0
mov edx, 0x10
mov ecx, 0
mov rax, qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
call rax
test eax, eax
setne al
test al, al
je 0x1400034f9
lea rax, str.Failed_to_get_Desktop_directory_path.
mov rdx, rax
mov rax, qword [0x1400c36f0]
mov rcx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
mov rax, qword [method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____]
mov rdx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
jmp 0x140003748
lea rax, [rbp + 0x43f]
mov qword [rbp + 0x470], rax
nop
nop
lea rcx, [rbp + 0x43f]
lea rdx, [rbp + 0x200]
lea rax, [rbp + 0x410]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string_std.allocator_wchar_t____wchar_t_const__std::allocator_wchar_t__const_
lea rax, [rbp + 0x410]
lea rdx, [0x1400bda7e]
mov rcx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.append_wchar_t_const_
mov rcx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.c_str___const
mov rcx, rax
lea rax, [rbp - 0x50]
mov rdx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindFirstFileW]
call rax
mov qword [rbp + 0x478], rax
lea rax, [rbp + 0x410]
mov rcx, rax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
lea rax, [rbp + 0x43f]
mov rcx, rax
call method.std::__new_allocator_wchar_t_.__new_allocator__
nop
cmp qword [rbp + 0x478], 0xffffffffffffffff
je 0x1400036ac
mov eax, dword [rbp - 0x50]
and eax, 0x10
test eax, eax
je 0x140003670
lea rax, [rbp - 0x50]
add rax, 0x2c
lea rdx, [0x1400bda84]
mov rcx, rax
call sym.wcscmp
test eax, eax
je 0x1400035d9
lea rax, [rbp - 0x50]
add rax, 0x2c
lea rdx, [0x1400bda88]
mov rcx, rax
call sym.wcscmp
test eax, eax
je 0x1400035d9
mov eax, 1
jmp 0x1400035de
mov eax, 0
test al, al
je 0x140003670
lea rax, [rbp + 0x467]
mov qword [rbp + 0x468], rax
nop
nop
lea rcx, [rbp + 0x467]
lea rdx, [rbp + 0x200]
lea rax, [rbp + 0x440]
mov r8, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string_std.allocator_wchar_t____wchar_t_const__std::allocator_wchar_t__const_
lea rax, [rbp + 0x440]
lea rdx, [0x1400bda8e]
mov rcx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.append_wchar_t_const_
mov rcx, rax
lea rax, [rbp - 0x50]
add rax, 0x2c
mov rdx, rax
call method.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___.append_wchar_t_const_
mov rdx, rax
mov rax, qword [rbp + 0x4a0]
mov rcx, rax
call method.std::vector_std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t_____std::allocator_std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t_______.push_back_std::__cxx11::basic_string_w
lea rax, [rbp + 0x440]
mov rcx, rax
call sym.std::__cxx11::basic_string_wchar_t__std::char_traits_wchar_t___std::allocator_wchar_t___::basic_string__
lea rax, [rbp + 0x467]
mov rcx, rax
call method.std::__new_allocator_wchar_t_.__new_allocator__
nop
lea rdx, [rbp - 0x50]
mov rax, qword [rbp + 0x478]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindNextFileW]
call rax
test eax, eax
setne al
test al, al
jne 0x14000358e
mov rax, qword [rbp + 0x478]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindClose]
call rax
jmp 0x140003748
lea rax, str.Failed_to_find_folders_in_Desktop_directory.
mov rdx, rax
mov rax, qword [0x1400c36f0]
mov rcx, rax
call method.std::basic_ostream_char__std::char_traits_char____std::operator____std.char_traits_char____std::basic_ostream_char__std::char_traits_char_____char_const_
mov rcx, rax
mov rax, qword [method.std::basic_ostream_char__std::char_traits_char____std::endl_char__std.char_traits_char____std::basic_ostream_char__std::char_traits_char____]
mov rdx, rax
call method.std::ostream.operator___std::ostream____std::ostream__
jmp 0x140003748
mov rax, qword [rbp + 0x4a0]
add rsp, 0x508
pop rbx
pop rbp
ret