Function at 0x1401b1720
Capabilities:
Check if file exists
Copy file
Delete file
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov rsi, rcx
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x40], rax
lea rdx, [0x140363bd0]
lea rcx, [rbp - 0x20]
call fcn.14000cb18
nop
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x40]
call fcn.140222e48
mov r12d, eax
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
or r13, 0xffffffffffffffff
mov ecx, r13d
lock xadd dword [rdx + 0x10], ecx
add ecx, r13d
test ecx, ecx
jg 0x1401b179f
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rbx, qword [rbp + 0x40]
test r12d, r12d
jne 0x1401b193a
cmp dword [rbx - 0x10], r12d
jne 0x1401b17bd
mov r12d, 2
jmp 0x1401b193a
mov qword [rbp + 0x38], r13
mov dword [rsp + 0x20], 2
mov r9d, 1
mov r8d, 0x40000000
mov rdx, rbx
lea rcx, [rbp + 0x38]
call fcn.140021fb8
test eax, eax
jne 0x1401b17f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
jmp 0x1401b192a
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x48], rax
mov rdi, qword [rsi + 8]
jmp 0x1401b183d
mov r8, qword [rdi]
lea rdx, [0x140364498]
lea rcx, [rbp + 0x48]
call fcn.14000d9c8
mov r8b, 1
lea rdx, [rbp + 0x48]
lea rcx, [rbp + 0x38]
call fcn.14001fbc0
test eax, eax
je 0x1401b1845
add rdi, 8
cmp rdi, qword [rsi + 0x10]
jne 0x1401b1812
jmp 0x1401b184e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
mov rcx, qword [rbp + 0x38]
cmp rcx, r13
je 0x1401b1861
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 0x38], r13
test r12d, r12d
jne 0x1401b18c5
mov qword [rbp - 0x18], r13
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov r8d, 0xc0000000
mov rdx, qword [rsi]
lea rcx, [rbp - 0x18]
call fcn.140021fb8
test eax, eax
sete dil
mov rcx, qword [rbp - 0x18]
cmp rcx, r13
je 0x1401b189c
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test dil, dil
je 0x1401b18a9
mov r12d, 5
jmp 0x1401b18c5
xor r8d, r8d
mov rdx, qword [rsi]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1401b18c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r12d, eax
xor edx, edx
mov rcx, rbx
call fcn.140223418
test eax, eax
jne 0x1401b18fc
lea ecx, [rax + 1]
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov esi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor edi, edi
cmp eax, 0xffffffff
setne dil
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
test edi, edi
je 0x1401b1906
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rbp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x1401b1926
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rbp + 0x40]
mov rcx, qword [rbp + 0x38]
cmp rcx, r13
je 0x1401b193a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rbx - 0x18]
mov eax, r13d
lock xadd dword [rdx + 0x10], eax
add eax, r13d
test eax, eax
jg 0x1401b1956
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, r12d
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret