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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov r15, rdx
mov rdi, rcx
mov r14d, dword [0x10001e15c]
mov dword [rsp + 0x44], r14d
mov eax, dword [0x10001e138]
mov dword [rsp + 0xd0], eax
movsxd rsi, dword [0x10001e140]
movsxd rbp, dword [0x1000803a4]
movsxd r12, dword [0x1000803a0]
mov r13d, dword [0x10001e144]
mov dword [rsp + 0x40], r13d
lea rdx, [r11 - 0x70]
call fcn.10001417c
mov rbx, rax
lea rdx, [rsp + 0x50]
mov rcx, r15
call fcn.10001330c
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_AfxThrowNotSupportedException
nop
lea rcx, [rsp + 0x50]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x58]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.1000141bc
nop
bt dword [rdi + 0x58], 0xa
jae 0x100014b8f
mov r9d, r14d
mov r8d, 0x2395
mov rdx, r15
mov rcx, rdi
call fcn.100014978
xor r14d, r14d
mov rbx, r12
mov qword [rsp + 0x48], rbx
mov r15, rbp
mov qword [rsp + 0x60], rsi
lea ebp, [r14 + 1]
mov r12d, dword [rsp + 0xd0]
mov esi, dword [rsp + 0xd0]
cmp dword [0x1000803a8], 0
je 0x100014c1c
bt dword [rdi + 0x58], 0xe
jae 0x100014c1c
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call sub.MFC42u.dll_CControlBar::CControlBar
mov r8d, esi
mov rdx, rax
mov rcx, rdi
call fcn.100013b30
mov r12d, eax
test byte [rdi + 0x58], 0x10
je 0x100014bf1
or rcx, 0xffffffffffffffff
jmp 0x100014bf5
mov rcx, qword [rdi + 0x68]
mov qword [rsp + 0x20], rcx
mov r9d, r13d
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, rdi
call fcn.100015298
test eax, eax
jne 0x100014e3f
jmp 0x100014df7
test rbx, rbx
jne 0x100014c31
test r15, r15
je 0x100014c31
bt dword [rdi + 0x58], 0xe
jae 0x100014d75
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call sub.MFC42u.dll_CControlBar::CControlBar
mov r8d, dword [rsp + 0xd0]
mov rdx, rax
mov rcx, rdi
call fcn.100013b30
mov r12d, eax
xor esi, esi
lea eax, [rsi + 8]
cmp qword [rsp + 0x60], rsi
cmovne esi, eax
test rbx, rbx
je 0x100014c6b
or esi, 2
cmp dword [0x100080368], 0
je 0x100014c78
bts esi, 0xb
cmp dword [0x1000803a8], 0
je 0x100014d31
mov edx, 0x80
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
or r9d, 0xffffffff
mov r8d, 0x2395
mov rdx, qword [rsp + 0xd8]
mov rcx, rdi
call fcn.100014978
test eax, eax
jne 0x100014cca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x100014d1e
xor edx, edx
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_DecryptFileW]
test eax, eax
jne 0x100014ce7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x100014d1e
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r13d, eax
cmp eax, 0xffffffff
jne 0x100014d06
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
test eax, eax
jne 0x100014d19
bt r13d, 0xe
jae 0x100014d2c
mov ebx, 0x1771
mov r13d, dword [rsp + 0x40]
jmp 0x100014d1e
mov r13d, dword [rsp + 0x40]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test ebx, ebx
jne 0x100014d6e
jmp 0x100014d31
mov r13d, dword [rsp + 0x40]
mov eax, r13d
neg eax
sbb r9, r9
and r9, rdi
mov dword [rsp + 0x28], esi
and qword [rsp + 0x20], 0
lea r8, [fcn.100009854]
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CopyFileExW]
test eax, eax
jne 0x100014f2b
mov esi, dword [rsp + 0xd0]
jmp 0x100014d75
mov esi, dword [rsp + 0xd0]
test r15, r15
je 0x100014de4
bt dword [rdi + 0x58], 0xe
jb 0x100014ddd
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x80]
call sub.MFC42u.dll_CControlBar::CControlBar
mov r8d, dword [rsp + 0xd0]
mov rdx, rax
mov rcx, rdi
call fcn.100013b30
mov r12d, eax
test byte [rdi + 0x58], 0x10
je 0x100014db5
or rax, 0xffffffffffffffff
jmp 0x100014db9
mov rax, qword [rdi + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, r13d
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, rdi
call fcn.100014f84
test eax, eax
jne 0x100014e7c
jmp 0x100014deb
mov rbx, qword [rsp + 0x48]
jmp 0x100014df7
mov rbx, qword [rsp + 0x48]
jmp 0x100014df7
mov rbx, qword [rsp + 0x48]
mov esi, dword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7b
jne 0x100014e0d
bt dword [rdi + 0x58], 0xe
jae 0x100014eda
cmp eax, 2
je 0x100014eda
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_SetLastError]
add r14d, ebp
mov r9d, r14d
mov r8d, dword [rsp + 0x44]
mov edx, 0x2395
mov rcx, rdi
call fcn.100009c64
test eax, eax
je 0x100014eaa
jmp 0x100014bb5
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xd0]
call sub.MFC42u.dll_CControlBar::CControlBar
mov r8d, r12d
mov rdx, rax
mov rcx, rdi
call fcn.100013ba0
nop
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov eax, ebp
jmp 0x100014f63
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xd0]
call sub.MFC42u.dll_CControlBar::CControlBar
mov r8d, r12d
mov rdx, rax
mov rcx, rdi
call fcn.100013ba0
nop
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
jmp 0x100014f1d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xd0]
call sub.MFC42u.dll_CControlBar::CControlBar
mov r8d, r12d
mov rdx, rax
mov rcx, rdi
call fcn.100013ba0
nop
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
xor ebp, ebp
jmp 0x100014f1d
lea r9d, [rbp + r14]
xor r8d, r8d
mov edx, 0x2395
mov rcx, rdi
call fcn.100009c64
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xd0]
call sub.MFC42u.dll_CControlBar::CControlBar
mov r8d, r12d
mov rdx, rax
mov rcx, rdi
call fcn.100013ba0
nop
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
xor ebp, ebp
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov eax, ebp
jmp 0x100014f63
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xd0]
call sub.MFC42u.dll_CControlBar::CControlBar
mov r8d, r12d
mov rdx, rax
mov rcx, rdi
call fcn.100013ba0
nop
lea rcx, [rsp + 0x38]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
nop
lea rcx, [rsp + 0x30]
call sub.MFC42u.dll_CDocObjectServer::XOleDocument::AddRef
mov eax, ebp
mov rbx, qword [rsp + 0xe0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret