Function at 0x1400112cb
Capabilities:
Read file on windows
Write file on windows

Disassembly:
jmp 0x140016bd0
push rbp
push rdi
mov eax, 0x1b88
call fcn.1400110cd
sub rsp, rax
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x552
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [section..data]
xor rax, rbp
mov qword [rbp + 0x1b38], rax
lea rcx, [0x1400250f4]
call fcn.140011406
nop
lea rdx, str.Enter_the_source_file_path:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14001121c
nop
mov r8d, 0x104
lea rdx, [rbp + 0x10]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::getline_wchar_t____ptr64__long_long___int64_____ptr64]
nop
lea rdx, str.Enter_the_destination_file_path:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14001121c
nop
mov r8d, 0x104
lea rdx, [rbp + 0x240]
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t___std::wcin]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_istream_wchar_t__struct_std::char_traits_wchar_t__::getline_wchar_t____ptr64__long_long___int64_____ptr64]
nop
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x468], rax
cmp qword [rbp + 0x468], 0xffffffffffffffff
jne 0x140016ccc
lea rdx, str.Error_opening_source_file._Make_sure_the_file_exists._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.14001121c
nop
mov eax, 1
jmp 0x140016e42
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
lea rcx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 0x488], rax
cmp qword [rbp + 0x488], 0xffffffffffffffff
jne 0x140016d3a
lea rdx, str.Error_creating_destination_file._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.14001121c
nop
mov rcx, qword [rbp + 0x468]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, 1
jmp 0x140016e42
xor eax, eax
cmp eax, 1
je 0x140016e10
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x14c4]
mov r8d, 0x1000
lea rdx, [rbp + 0x4b0]
mov rcx, qword [rbp + 0x468]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rbp + 0x1504], eax
cmp dword [rbp + 0x1504], 0
je 0x140016d87
cmp dword [rbp + 0x14c4], 0
jne 0x140016d8c
jmp 0x140016e10
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x14e4]
mov r8d, dword [rbp + 0x14c4]
lea rdx, [rbp + 0x4b0]
mov rcx, qword [rbp + 0x488]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rbp + 0x1524], eax
cmp dword [rbp + 0x1524], 0
je 0x140016dd4
mov eax, dword [rbp + 0x14c4]
cmp dword [rbp + 0x14e4], eax
je 0x140016e0b
lea rdx, str.Error_writing_to_destination_file._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
call fcn.14001121c
nop
mov rcx, qword [rbp + 0x468]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0x488]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, 1
jmp 0x140016e42
jmp 0x140016d3a
lea rdx, str.File_copied_successfully._n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14001121c
nop
mov rcx, qword [rbp + 0x468]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 0x488]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001bd40]
call fcn.140011393
mov rax, rdi
mov rcx, qword [rbp + 0x1b38]
xor rcx, rbp
call fcn.1400111f4
lea rsp, [rbp + 0x1b48]
pop rdi
pop rbp
ret