Function at 0x1400ef510
Capabilities:
Copy file
Delete file
Set file attributes

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x390]
sub rsp, 0x490
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x4b0], rbx
mov rax, qword [0x140398250]
xor rax, rsp
mov qword [rbp + 0x380], rax
mov rsi, r9
mov rdi, r8
mov rbx, rdx
xor r8d, r8d
lea rdx, str.CBaseUtyMgr::MoveFile
lea rcx, [rsp + 0x48]
call fcn.1400075a0
nop
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
mov r9, rbx
lea r8, str.lpSrcDir___s__lpDstDir___s__lpFileName___s
mov edx, 1
lea rcx, [rsp + 0x48]
call fcn.140007780
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x60]
call fcn.14024b970
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x170]
call fcn.14024b970
mov r9, rsi
mov r8, rbx
lea rdx, [0x1402dd6b0]
lea rcx, [rsp + 0x60]
call qword [sym.imp.USER32.dll_wsprintfW]
mov r9, rsi
mov r8, rdi
lea rdx, [0x1402dd6b0]
lea rcx, [rbp + 0x170]
call qword [sym.imp.USER32.dll_wsprintfW]
lea r9, [rsp + 0x60]
lea r8, str._t_t_t______MoveFile_SRC___s
mov edx, 7
lea rcx, [rsp + 0x48]
call fcn.140007780
lea r9, [rbp + 0x170]
lea r8, str._t_t_t______MoveFile_DST___s
mov edx, 7
lea rcx, [rsp + 0x48]
call fcn.140007780
mov edx, 0x20
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400ef6c1
xor ebx, ebx
mov qword [rsp + 0x40], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x409
mov r8d, edi
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x1400ef693
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
lea r9, str._t_t_tSetFileAttributes_MoveFile_SRC__
lea r8, str.ApiName:__s__ErrorCode:__d_:__s
lea edx, [rbx + 6]
lea rcx, [rsp + 0x48]
call fcn.140007780
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400ef6a3
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x48]
call fcn.140007780
nop
jmp 0x1400ef882
xor r8d, r8d
lea rdx, [rbp + 0x170]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1400ef7f4
mov edx, 0x20
lea rcx, [rbp + 0x170]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x1400ef78b
xor ebx, ebx
mov qword [rsp + 0x40], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x409
mov r8d, edi
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x1400ef75d
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
lea r9, str._t_t_tSetFileAttributes_MoveFile_DST__
lea r8, str.ApiName:__s__ErrorCode:__d_:__s
lea edx, [rbx + 6]
lea rcx, [rsp + 0x48]
call fcn.140007780
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400ef76d
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x48]
call fcn.140007780
nop
jmp 0x1400ef882
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rsp + 0x48]
test eax, eax
jne 0x1400ef7c9
lea rdx, str._t_t_tDeleteFile
call fcn.140029dc0
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x48]
call fcn.140007780
nop
jmp 0x1400ef882
mov r9d, 1
lea r8, str.return___08x
lea edx, [r9 + 1]
call fcn.140007780
nop
lea rcx, [rsp + 0x48]
call fcn.140007730
mov eax, 1
jmp 0x1400ef88e
xor ebx, ebx
mov qword [rsp + 0x40], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x409
mov r8d, edi
xor edx, edx
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x1400ef859
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], edi
lea r9, str._t_t_tCopyFile
lea r8, str.ApiName:__s__ErrorCode:__d_:__s
lea edx, [rbx + 6]
lea rcx, [rsp + 0x48]
call fcn.140007780
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400ef869
call qword [sym.imp.KERNEL32.dll_LocalFree]
xor r9d, r9d
lea r8, str.return___08x
lea edx, [r9 + 2]
lea rcx, [rsp + 0x48]
call fcn.140007780
nop
lea rcx, [rsp + 0x48]
call fcn.140007730
xor eax, eax
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140245660
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x490
pop rdi
pop rsi
pop rbp
ret