Function at 0x14005b4b0
Capabilities:
Check if file exists
Copy file
Create directory
Delete file
Get common file path
Read .ini file
Write file to startup folder

Disassembly:
mov rax, rsp
push r13
push r14
push r15
sub rsp, 0x3c0
mov qword [rsp + 0x90], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x14011d8d0]
xor rax, rsp
mov qword [rsp + 0x3b0], rax
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.1400598e0
movzx r15d, al
mov byte [rsp + 0x32], al
test al, al
je 0x14005bdb8
mov byte [rsp + 0x31], 0
mov byte [rsp + 0x30], 0
mov byte [rsp + 0x68], 0
xor eax, eax
mov qword [rsp + 0x69], rax
mov byte [rsp + 0x71], al
lea rcx, [0x14011d880]
mov rdx, qword [0x14011d880]
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov rsi, qword [rsp + 0x38]
mov rcx, rsi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
xor r13d, r13d
test eax, eax
je 0x14005b9c7
mov word [rsp + 0xa0], r13w
xor edx, edx
mov r8d, 0xfe
lea rcx, [rsp + 0xa2]
call sub.MSVCR100.dll_memset
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x80
lea r9, [rsp + 0xa0]
lea r8, [0x1400de328]
lea rdx, str.Version
lea rcx, str.Version
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0xa0]
lea rax, [rsp + 0xa0]
test rax, 0xffffffffffff0000
jne 0x14005b627
movzx edi, cx
xor edx, edx
mov ecx, edi
call fcn.1400017e0
test rax, rax
je 0x14005b61e
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140001f70
or r12, 0xffffffffffffffff
mov rbx, qword [rsp + 0x40]
jmp 0x14005b73a
or r12, 0xffffffffffffffff
jmp 0x14005b73a
xor eax, eax
or r12, 0xffffffffffffffff
mov rcx, r12
lea rdi, [rsp + 0xa0]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x14005b6ad
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14005b73a
cmp dword [rdx + 0x10], eax
jge 0x14005b67a
cmp dword [rbx - 0xc], eax
jge 0x14005b66d
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rbx - 0x10], r13d
mov word [rbx], r13w
jmp 0x14005b73a
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005b691
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x40], rbx
mov rsi, qword [rsp + 0x38]
jmp 0x14005b73a
mov r15d, dword [rbx - 0x10]
lea r14, [rsp + 0xa0]
sub r14, rbx
sar r14, 1
test ecx, ecx
jns 0x14005b6ce
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14005b6f0
mov edx, edi
lea rcx, [rsp + 0x40]
call fcn.140001c20
mov rbx, qword [rsp + 0x40]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r14, r15
lea r15, [rax + rax]
mov r9, r15
ja 0x14005b715
lea r8, [rbx + r14*2]
call qword [sym.imp.MSVCR100.dll_memmove_s]
jmp 0x14005b723
lea r8, [rsp + 0xa0]
call qword [sym.imp.MSVCR100.dll_memcpy_s]
cmp edi, dword [rbx - 0xc]
jg 0x14005b9bc
mov dword [rbx - 0x10], edi
mov word [r15 + rbx], r13w
movzx r15d, byte [rsp + 0x32]
lea rdx, [0x1400e6180]
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll__wcsicmp]
test eax, eax
jns 0x14005b994
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x60], rbx
lea rdi, [rsp + 0xa0]
xor eax, eax
mov ecx, 0x100
rep stosb byte [rdi], al
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x80
lea r9, [rsp + 0xa0]
xor r8d, r8d
lea rdx, str.InfoFileURLBase
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
mov rcx, r12
lea rdi, [rsp + 0xa0]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rsi, rcx
test ecx, ecx
jne 0x14005b826
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14005b8ad
cmp dword [rdx + 0x10], eax
jge 0x14005b7f8
cmp dword [rbx - 0xc], eax
jge 0x14005b7eb
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rbx - 0x10], r13d
mov word [rbx], r13w
jmp 0x14005b8ad
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005b80f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x60], rbx
jmp 0x14005b8ad
mov r14d, dword [rbx - 0x10]
lea rdi, [rsp + 0xa0]
sub rdi, rbx
sar rdi, 1
test ecx, ecx
jns 0x14005b847
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, ecx
jge 0x14005b869
mov edx, esi
lea rcx, [rsp + 0x60]
call fcn.140001c20
mov rbx, qword [rsp + 0x60]
movsxd rax, esi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp rdi, r14
lea r14, [rax + rax]
mov r9, r14
ja 0x14005b88e
lea r8, [rbx + rdi*2]
call qword [sym.imp.MSVCR100.dll_memmove_s]
jmp 0x14005b89c
lea r8, [rsp + 0xa0]
call qword [sym.imp.MSVCR100.dll_memcpy_s]
cmp esi, dword [rbx - 0xc]
jg 0x14005b989
mov dword [rbx - 0x10], esi
mov word [r14 + rbx], r13w
mov r8d, dword [rbx - 0x10]
test r8d, r8d
je 0x14005b915
lea rcx, [rbx - 0x18]
mov rdi, qword [rsp + 0x58]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x14005b915
cmp dword [rdi + 0x10], 0
jl 0x14005b908
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14005b908
call fcn.140001b90
mov rbx, rax
mov ecx, r12d
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14005b8f8
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 8]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x58], rax
mov rbx, qword [rsp + 0x60]
jmp 0x14005b915
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.140001e80
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x38]
call fcn.14005a270
mov sil, 1
mov byte [rsp + 0x30], sil
movzx edi, sil
mov byte [rsp + 0x31], sil
mov byte [rsp + 0x33], sil
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
jmp 0x14005b967
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005b982
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x40]
jmp 0x14005b994
mov ecx, 0x80070057
call fcn.140001000
nop
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005b9af
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
cmp byte [rsp + 0x31], 0
je 0x14005bd96
jmp 0x14005b9cb
mov ecx, 0x80070057
call fcn.140001000
nop
or r12, 0xffffffffffffffff
lea rcx, [rsp + 0x58]
call fcn.1400596e0
mov edi, eax
test eax, eax
je 0x14005bd96
lea rcx, [0x14011d880]
mov rdx, qword [0x14011d880]
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x48]
mov ecx, edi
call fcn.14005a0b0
test al, al
je 0x14005bd75
mov rax, qword [rsp + 0x48]
cmp dword [rax - 0x10], 0
je 0x14005bd75
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x50], rbx
mov word [rsp + 0x1a0], r13w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x1a2]
call sub.MSVCR100.dll_memset
xor r9d, r9d
lea r8d, [r9 + 0x23]
lea rdx, [rsp + 0x1a0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor eax, eax
mov rcx, r12
lea rdi, [rsp + 0x1a0]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x14005bae8
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14005bb6f
cmp dword [rdx + 0x10], eax
jge 0x14005baba
cmp dword [rbx - 0xc], eax
jge 0x14005baad
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rbx - 0x10], r13d
mov word [rbx], r13w
jmp 0x14005bb6f
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005bad1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
jmp 0x14005bb6f
mov r14d, dword [rbx - 0x10]
lea rsi, [rsp + 0x1a0]
sub rsi, rbx
sar rsi, 1
test ecx, ecx
jns 0x14005bb09
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14005bb2b
mov edx, edi
lea rcx, [rsp + 0x50]
call fcn.140001c20
mov rbx, qword [rsp + 0x50]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp rsi, r14
lea r14, [rax + rax]
mov r9, r14
ja 0x14005bb50
lea r8, [rbx + rsi*2]
call qword [sym.imp.MSVCR100.dll_memmove_s]
jmp 0x14005bb5e
lea r8, [rsp + 0x1a0]
call qword [sym.imp.MSVCR100.dll_memcpy_s]
cmp edi, dword [rbx - 0xc]
jg 0x14005bd6a
mov dword [rbx - 0x10], edi
mov word [r14 + rbx], r13w
lea r8, [0x1400e6148]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x80]
call fcn.140002ce0
xor edx, edx
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rdx, qword [rsp + 0x80]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005bbb6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
lea r8, str.Sony_CorporationVAIO_Update
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x88]
call fcn.140002ce0
xor edx, edx
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rdx, qword [rsp + 0x88]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005bbfd
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rsp + 0x38]
cmp dword [rdi - 8], 1
jle 0x14005bc1a
mov edx, dword [rdi - 0x10]
lea rcx, [rsp + 0x38]
call fcn.140001930
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x48]
cmp dword [rbx - 8], 1
jle 0x14005bc37
mov edx, dword [rbx - 0x10]
lea rcx, [rsp + 0x48]
call fcn.140001930
mov rbx, qword [rsp + 0x48]
mov r8d, 1
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne r15b
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call qword [sym.imp.MSVCR100.dll_wcsnlen]
test eax, eax
js 0x14005bd5f
cmp eax, dword [rbx - 0xc]
jg 0x14005bd5f
mov dword [rbx - 0x10], eax
cdqe
mov word [rbx + rax*2], r13w
movsxd rdx, dword [rdi - 0xc]
mov rcx, rdi
call qword [sym.imp.MSVCR100.dll_wcsnlen]
test eax, eax
js 0x14005bd54
cmp eax, dword [rdi - 0xc]
jg 0x14005bd54
mov dword [rdi - 0x10], eax
cdqe
mov word [rdi + rax*2], r13w
lea rcx, [rsp + 0x38]
call fcn.14005b270
cmp byte [rsp + 0x30], 0
je 0x14005bcbf
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x38]
call fcn.140059540
call fcn.1400599c0
mov edi, eax
lea rcx, [0x14011d880]
mov rdx, qword [0x14011d880]
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
mov r8d, edi
lea rdx, [0x1400de14c]
lea rcx, [rsp + 0x78]
call fcn.140004440
mov r9, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x78]
mov r8, rdi
lea rdx, str.Interval
lea rcx, str.InternalOption
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
nop
lea rdx, [rdi - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005bd32
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005bd75
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x14005bd75
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 0x80070057
call fcn.140001000
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005bd96
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14005bdbc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x14005bdbc
or r12, 0xffffffffffffffff
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
dec r12d
test r12d, r12d
jg 0x14005bddc
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
movzx eax, r15b
mov rcx, qword [rsp + 0x3b0]
xor rcx, rsp
call fcn.1400cafa0
lea r11, [rsp + 0x3c0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret