Function at 0x1401737f0
Capabilities:
Check if file exists
Copy file
Create directory
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x198]
sub rsp, 0x280
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14041da10]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x40], esi
mov eax, dword [0x140433430]
test al, 1
jne 0x140173863
or eax, 1
mov dword [0x140433430], eax
lea rdx, str.Logs
lea rcx, [0x140433438]
call fcn.1400f41b0
lea rcx, [0x1403054c0]
call fcn.1402be804
nop
lea rdx, [rsp + 0x20]
lea rcx, [0x140433438]
call fcn.1402053e0
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14017389b
test al, 0x10
je 0x14017389b
cmp dword [rsp + 0x28], 0
jle 0x1401738be
mov rcx, qword [rsp + 0x20]
call fcn.1402bd0e0
jmp 0x1401738be
cmp dword [rsp + 0x28], 0
jle 0x1401738ac
mov rcx, qword [rsp + 0x20]
call fcn.1402bd0e0
xor r8d, r8d
mov rdx, qword [0x140433438]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea rcx, [rsp + 0x30]
call fcn.1401736e0
nop
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.1402053e0
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401738ff
test al, 0x10
je 0x1401738ff
cmp dword [rsp + 0x28], 0
jle 0x140173959
mov rcx, qword [rsp + 0x20]
call fcn.1402bd0e0
jmp 0x140173959
cmp dword [rsp + 0x28], 0
jle 0x140173910
mov rcx, qword [rsp + 0x20]
call fcn.1402bd0e0
xor r8d, r8d
mov rdx, qword [rsp + 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x140173959
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.CreateDirectory
lea rdx, str._ls___failed__error__d_
mov ecx, 2
call fcn.140172980
mov rdx, qword [0x14041eee8]
mov rcx, rdi
call fcn.140200840
jmp 0x140173b43
mov qword [rsp + 0x28], rsi
mov edx, 0xf
lea rcx, [rsp + 0x20]
call fcn.1402028a0
mov eax, dword [rsp + 0x28]
inc eax
movsxd rdx, eax
mov r9d, 0xf
lea r8, str.SophosClean.exe
mov rcx, qword [rsp + 0x20]
call fcn.1402c06dc
mov edx, 0xf
lea rcx, [rsp + 0x20]
call fcn.140203bb0
nop
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x48]
call fcn.1400d4050
mov rbx, rax
mov edx, dword [rax + 0xc]
lea rcx, [rsp + 0x30]
call fcn.1402028a0
movsxd r9, dword [rbx + 0xc]
mov ecx, dword [rsp + 0x38]
inc ecx
movsxd rdx, ecx
mov r8, qword [rbx]
mov rcx, qword [rsp + 0x30]
call fcn.1402c06dc
mov edx, dword [rbx + 0xc]
lea rcx, [rsp + 0x30]
call fcn.140203bb0
nop
cmp dword [rsp + 0x50], 0
jle 0x1401739fb
mov rcx, qword [rsp + 0x48]
call fcn.1402bd0e0
nop
cmp dword [rsp + 0x28], 0
jle 0x140173a0c
mov rcx, qword [rsp + 0x20]
call fcn.1402bd0e0
mov r8d, 0x104
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor r8d, r8d
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x30]
call fcn.140202b80
lea r14, [0x14034d1a0]
test al, al
jne 0x140173b03
lea rax, [rsp + 0x60]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140173a50
mov qword [rsp + 0x28], rsi
test ebx, ebx
jne 0x140173a6a
mov qword [rsp + 0x20], r14
jmp 0x140173a91
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.1402028a0
movsxd r9, ebx
mov eax, dword [rsp + 0x28]
inc eax
movsxd rdx, eax
lea r8, [rsp + 0x60]
mov rcx, qword [rsp + 0x20]
call fcn.1402c06dc
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.140203bb0
xor r8d, r8d
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne bl
cmp dword [rsp + 0x28], 0
jle 0x140173ac6
mov rcx, qword [rsp + 0x20]
call fcn.1402bd0e0
test bl, bl
jne 0x140173aed
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.CopyFile
lea rdx, str._ls___failed__error__d_
mov ecx, 2
call fcn.140172980
jmp 0x140173b03
mov r8, qword [rsp + 0x30]
lea rdx, str.Copied_to__ls
mov ecx, 1
call fcn.140172980
mov qword [rdi + 8], rsi
mov edx, dword [rsp + 0x3c]
test edx, edx
jne 0x140173b14
mov qword [rdi], r14
jmp 0x140173b3a
mov rcx, rdi
call fcn.1402028a0
movsxd r9, dword [rsp + 0x3c]
mov eax, dword [rdi + 8]
inc eax
movsxd rdx, eax
mov r8, qword [rsp + 0x30]
mov rcx, qword [rdi]
call fcn.1402c06dc
mov edx, dword [rsp + 0x3c]
mov rcx, rdi
call fcn.140203bb0
nop
cmp dword [rsp + 0x38], 0
jle 0x140173b54
mov rcx, qword [rsp + 0x30]
call fcn.1402bd0e0
mov rax, rdi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1402bcad0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret