Function at 0x14000bf30
Capabilities:
Check if file exists
Copy file
Enumerate files on windows
Get common file path
Get file attributes

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x420
mov qword [rsp + 0x190], 0xfffffffffffffffe
mov rax, qword [0x14003f5b0]
xor rax, rsp
mov qword [rsp + 0x410], rax
mov r8, qword [str.SynRemoveUserSettings.dat]
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x430]
call fcn.1400076b0
nop
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0xe8], rax
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14000bfc4
mov dword [rsp + 0x48], 0
mov rax, qword [rsp + 0x30]
sub rax, 0x18
mov qword [rsp + 0x128], rax
mov rcx, qword [rsp + 0x128]
call fcn.1400095c0
mov eax, dword [rsp + 0x48]
jmp 0x14000c4a6
mov byte [rsp + 0x300], 0
lea rax, [rsp + 0x301]
mov rdi, rax
xor eax, eax
mov ecx, 0x103
rep stosb byte [rdi], al
mov dword [rsp + 0x68], 0x104
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x300]
call qword [sym.imp.USERENV.dll_GetProfilesDirectoryA]
test eax, eax
jne 0x14000c02e
mov dword [rsp + 0x78], 0
mov rax, qword [rsp + 0x30]
sub rax, 0x18
mov qword [rsp + 0xa8], rax
mov rcx, qword [rsp + 0xa8]
call fcn.1400095c0
mov eax, dword [rsp + 0x78]
jmp 0x14000c4a6
lea rdx, [rsp + 0x300]
lea rcx, [rsp + 0x138]
call fcn.140001980
mov qword [rsp + 0x188], rax
mov rax, qword [rsp + 0x188]
mov qword [rsp + 0xb8], rax
lea r8, [0x140030218]
mov rdx, qword [rsp + 0xb8]
lea rcx, [rsp + 0x40]
call fcn.140002690
nop
mov rax, qword [rsp + 0x138]
sub rax, 0x18
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.1400095c0
lea r8, [0x1400300e0]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x148]
call fcn.140002690
mov qword [rsp + 0x180], rax
mov rax, qword [rsp + 0x180]
mov rax, qword [rax]
mov qword [rsp + 0xd8], rax
lea rdx, [rsp + 0x1c0]
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x148]
sub rax, 0x18
mov qword [rsp + 0x90], rax
mov rcx, qword [rsp + 0x90]
call fcn.1400095c0
cmp qword [rsp + 0x70], 0xffffffffffffffff
jne 0x14000c15c
mov dword [rsp + 0x7c], 0
mov rax, qword [rsp + 0x40]
sub rax, 0x18
mov qword [rsp + 0x170], rax
mov rcx, qword [rsp + 0x170]
call fcn.1400095c0
nop
mov rax, qword [rsp + 0x30]
sub rax, 0x18
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0xf8]
call fcn.1400095c0
mov eax, dword [rsp + 0x7c]
jmp 0x14000c4a6
lea rdx, str.AppDataRoamingMicrosoftWindowsStart_MenuProgramsStartup_
lea rcx, [rsp + 0x88]
call fcn.140001980
nop
lea r9, [0x140030218]
lea r8, [0x1400302c8]
xor edx, edx
lea rcx, [rsp + 0x1a0]
call fcn.140015b40
mov qword [rsp + 0x158], rax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
cmp qword [rax + 0x18], 0x10
jb 0x14000c1cb
mov rax, qword [rsp + 0x198]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov qword [rsp + 0x60], rax
jmp 0x14000c1d5
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x118]
call fcn.140001980
mov qword [rsp + 0x108], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x178], rax
lea r8, str.SynRemoveUserSettings.bat
mov rdx, qword [rsp + 0x178]
lea rcx, [rsp + 0x80]
call fcn.140002690
nop
mov rax, qword [rsp + 0x118]
sub rax, 0x18
mov qword [rsp + 0x168], rax
mov rcx, qword [rsp + 0x168]
call fcn.1400095c0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x1a0]
call fcn.14000de70
mov dword [rsp + 0x20], 0
mov dword [rsp + 0x38], 0
mov eax, dword [rsp + 0x1c0]
and eax, 0x10
test eax, eax
je 0x14000c3f3
lea rdx, [0x140030b0c]
lea rcx, [rsp + 0x1ec]
call fcn.140018cd0
test eax, eax
je 0x14000c3f3
lea rdx, [0x140030b10]
lea rcx, [rsp + 0x1ec]
call fcn.140018cd0
test eax, eax
je 0x14000c3f3
lea r8, [rsp + 0x1ec]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xb0]
call fcn.140002690
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
lea r8, [rsp + 0x88]
mov rdx, qword [rsp + 0xa0]
lea rcx, [rsp + 0x28]
call fcn.140002570
nop
mov rax, qword [rsp + 0xb0]
sub rax, 0x18
mov qword [rsp + 0xc0], rax
mov rcx, qword [rsp + 0xc0]
call fcn.1400095c0
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14000c3d5
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xe0], rax
mov edx, 0x80
mov rcx, qword [rsp + 0xe0]
call fcn.1400190ac
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x28]
call fcn.1400027b0
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x100], rax
xor r8d, r8d
mov rdx, qword [rsp + 0xf0]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x14000c3d5
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x110], rax
mov edx, 0xc0
mov rcx, qword [rsp + 0x110]
call fcn.1400190ac
nop
mov rax, qword [rsp + 0x28]
sub rax, 0x18
mov qword [rsp + 0x120], rax
mov rcx, qword [rsp + 0x120]
call fcn.1400095c0
lea rdx, [rsp + 0x1c0]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x14000c260
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [rsp + 0x20]
mov dword [rsp + 0x58], eax
mov rax, qword [rsp + 0x80]
sub rax, 0x18
mov qword [rsp + 0x130], rax
mov rcx, qword [rsp + 0x130]
call fcn.1400095c0
nop
mov rax, qword [rsp + 0x88]
sub rax, 0x18
mov qword [rsp + 0x140], rax
mov rcx, qword [rsp + 0x140]
call fcn.1400095c0
nop
mov rax, qword [rsp + 0x40]
sub rax, 0x18
mov qword [rsp + 0x150], rax
mov rcx, qword [rsp + 0x150]
call fcn.1400095c0
nop
mov rax, qword [rsp + 0x30]
sub rax, 0x18
mov qword [rsp + 0x160], rax
mov rcx, qword [rsp + 0x160]
call fcn.1400095c0
mov eax, dword [rsp + 0x58]
mov rcx, qword [rsp + 0x410]
xor rcx, rsp
call fcn.140019ef0
add rsp, 0x420
pop rdi
ret