Function at 0x140011140
Capabilities:
Enumerate files on windows
Move file

Disassembly:
jmp 0x140016a40
push rbp
push rdi
sub rsp, 0x578
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xf6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x140028040]
xor rax, rbp
mov qword [rbp + 0x540], rax
lea rcx, [0x14002e0f5]
call fcn.1400117bc
nop
lea rdx, [rbp + 0x10]
lea rcx, [0x140023ab8]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rbp + 0x278], rax
cmp qword [rbp + 0x278], 0xffffffffffffffff
jne 0x140016ac9
lea rdx, str.Failed_to_find_files_in_directory.
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.1400110eb
lea rdx, [0x14001105a]
mov rcx, rax
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
jmp 0x140016d2e
lea rdx, [rbp + 0x3c]
lea rcx, [rbp + 0x298]
call fcn.14001128f
nop
lea rdx, [0x140023af4]
lea rcx, [rbp + 0x298]
call fcn.1400112ad
movzx eax, al
test eax, eax
jne 0x140016b0e
lea rdx, [0x140023af8]
lea rcx, [rbp + 0x298]
call fcn.1400112ad
movzx eax, al
test eax, eax
je 0x140016b20
lea rcx, [rbp + 0x298]
call fcn.1400116ef
nop
jmp 0x140016d07
lea rdx, [rbp + 0x298]
lea rcx, [rbp + 0x2d8]
call fcn.140011023
nop
mov r8, 0xffffffffffffffff
mov dx, 0x2e
lea rcx, [rbp + 0x2d8]
call fcn.1400115c3
mov qword [rbp + 0x318], rax
cmp qword [rbp + 0x318], 0xffffffffffffffff
je 0x140016be2
mov r9, qword [rbp + 0x318]
xor r8d, r8d
lea rdx, [rbp + 0x4b8]
lea rcx, [rbp + 0x2d8]
call fcn.1400111cc
mov qword [rbp + 0x528], rax
mov rax, qword [rbp + 0x528]
mov qword [rbp + 0x530], rax
lea r8, str..txt
mov rdx, qword [rbp + 0x530]
lea rcx, [rbp + 0x4f8]
call fcn.1400114ba
mov qword [rbp + 0x538], rax
mov rdx, qword [rbp + 0x538]
lea rcx, [rbp + 0x2d8]
call fcn.140011663
lea rcx, [rbp + 0x4f8]
call fcn.1400116ef
nop
lea rcx, [rbp + 0x4b8]
call fcn.1400116ef
nop
jmp 0x140016bf6
lea rdx, str..txt
lea rcx, [rbp + 0x2d8]
call fcn.140011410
nop
lea rcx, [rbp + 0x2d8]
call fcn.14001129e
mov qword [rbp + 0x528], rax
lea rcx, [rbp + 0x298]
call fcn.14001129e
mov rcx, qword [rbp + 0x528]
mov rdx, rcx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x140016c8e
lea rdx, str.Renamed_
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14001141a
lea rdx, [rbp + 0x298]
mov rcx, rax
call fcn.14001147e
lea rdx, [0x140023b10]
mov rcx, rax
call fcn.14001141a
lea rdx, [rbp + 0x2d8]
mov rcx, rax
call fcn.14001147e
lea rdx, [0x140023b0c]
mov rcx, rax
call fcn.14001141a
lea rdx, [0x1400113e3]
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
jmp 0x140016ced
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x524], eax
lea rdx, str.Error_renaming_file_
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.14001141a
lea rdx, [rbp + 0x298]
mov rcx, rax
call fcn.14001147e
lea rdx, [0x140023b38]
mov rcx, rax
call fcn.14001141a
mov ecx, dword [rbp + 0x524]
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, [0x1400113e3]
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 rcx, [rbp + 0x2d8]
call fcn.1400116ef
nop
lea rcx, [rbp + 0x298]
call fcn.1400116ef
nop
lea rdx, [rbp + 0x10]
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140016ac9
mov rcx, qword [rbp + 0x278]
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rbp - 0x20]
lea rdx, [0x1400230a0]
call fcn.1400116a4
mov rcx, qword [rbp + 0x540]
xor rcx, rbp
call fcn.1400113d9
lea rsp, [rbp + 0x558]
pop rdi
pop rbp
ret