Function at 0x14003b7d0
Capabilities:
Check if file exists
Copy file
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rax, qword [0x1400e9070]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rdx
mov rsi, rcx
cmp qword [rcx + 0x18], 8
jb 0x14003b802
mov rcx, qword [rcx]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14003b896
mov rax, qword [0x1400ed810]
test rax, rax
je 0x14003b857
lea rdx, str.Source_file_does_not_exist_in_CopyFileFromSourceToDestination
mov qword [rsp + 0x28], rdx
lea r8, [0x1400c3148]
mov qword [rsp + 0x20], r8
mov r9, r8
lea r8, str.FileUtils
lea rdx, str.OOBEUtils
mov ecx, PathResolve
call qword [case.0x140049d6d.0]
xor al, al
jmp 0x14003baa6
mov rcx, qword [0x1400ed818]
test rcx, rcx
je 0x14003b88f
mov rax, qword [rcx]
lea rdx, str.Source_file_does_not_exist_in_CopyFileFromSourceToDestination
mov qword [rsp + 0x20], rdx
lea r9, str.FileUtils
lea r8, [0x1400c3148]
mov edx, PathResolve
mov rax, qword [rax + 0x68]
call qword [case.0x140049d6d.0]
xor al, al
jmp 0x14003baa6
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140004480
nop
mov rbp, qword [rsp + 0x60]
test rbp, rbp
je 0x14003b958
lea r14, [rbp + 1]
mov eax, 2
mul r14
mov r15, 0xffffffffffffffff
cmovo rax, r15
mov rcx, rax
call fcn.140080e28
mov rbx, rax
test rax, rax
je 0x14003b958
lea r8, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae r8, qword [rsp + 0x50]
mov rdx, r14
mov rcx, rax
call fcn.140080dac
lea rax, [rbp - 1]
lea rax, [rbx + rax*2]
cmp word [rax], 0x5c
jne 0x14003b92c
xor ecx, ecx
nop word [rax + rax]
mov word [rax], cx
mov rax, r15
inc rax
cmp word [rbx + rax*2], cx
jne 0x14003b916
dec rax
lea rax, [rbx + rax*2]
cmp word [rax], 0x5c
je 0x14003b910
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
test eax, eax
jne 0x14003b943
mov rcx, rbx
call fcn.140079b70
jmp 0x14003b958
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140002cb0
mov rcx, rbx
call fcn.140080e14
lea rcx, [rsp + 0x50]
call fcn.14003abd0
cmp qword [rsi + 0x18], 8
jb 0x14003b96c
mov rsi, qword [rsi]
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x14003b979
mov rdx, qword [rdi]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14003ba4b
cmp qword [0x1400ed810], 0
je 0x14003b9ef
cmp qword [rdi + 0x18], 8
jb 0x14003b9a1
mov rdi, qword [rdi]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rdi
lea rax, str.Failed_to_copy_file_at_the_destination:_s._LastError:__d
mov qword [rsp + 0x28], rax
lea r8, [0x1400c3148]
mov qword [rsp + 0x20], r8
mov r9, r8
lea r8, str.FileUtils
lea rdx, str.OOBEUtils
mov ecx, PathResolve
mov rax, qword [0x1400ed810]
call qword [case.0x140049d6d.0]
xor bl, bl
jmp 0x14003ba65
mov rbx, qword [0x1400ed818]
test rbx, rbx
je 0x14003ba47
cmp qword [rdi + 0x18], 8
jb 0x14003ba05
mov rdi, qword [rdi]
mov rbx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdi
lea rax, str.Failed_to_copy_file_at_the_destination:_s._LastError:__d
mov qword [rsp + 0x20], rax
lea r9, str.FileUtils
lea r8, [0x1400c3148]
mov edx, PathResolve
mov rcx, qword [0x1400ed818]
mov rax, qword [rbx + 0x68]
call qword [case.0x140049d6d.0]
xor bl, bl
jmp 0x14003ba65
cmp qword [rdi + 0x18], 8
jb 0x14003ba55
mov rdi, qword [rdi]
mov edx, 0x80
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov bl, 1
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x14003baa3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ba9e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003baca
call fcn.140079b70
movzx eax, bl
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140079b50
mov rbx, qword [rsp + 0xc0]
add rsp, 0x80
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140080d34
int3