Function at 0x14008a110
Capabilities:
Check if file exists
Delete file
Get common file path
Get startup folder

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x280
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14011d8d0]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r14, rdx
mov r15, rcx
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
xor r12d, r12d
mov word [rsp + 0x60], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x62]
call sub.MSVCR100.dll_memset
xor r9d, r9d
lea r8d, [r12 + 0x23]
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
setne dil
or rsi, 0xffffffffffffffff
test dil, dil
je 0x14008a5bc
xor eax, eax
mov rcx, rsi
lea rdi, [rsp + 0x60]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x14008a22c
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x14008a2b0
cmp dword [rdx + 0x10], eax
jge 0x14008a1ff
cmp dword [rbx - 0xc], eax
jge 0x14008a1f2
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rbx - 0x10], r12d
mov word [rbx], r12w
jmp 0x14008a2b0
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14008a215
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 + 0x20], rax
jmp 0x14008a2b0
mov r13d, dword [rbx - 0x10]
lea r12, [rsp + 0x60]
sub r12, rbx
sar r12, 1
test ecx, ecx
jns 0x14008a24a
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 0x14008a26c
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.140001c20
mov rbx, qword [rsp + 0x20]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r12, r13
lea r13, [rax + rax]
mov r9, r13
ja 0x14008a291
lea r8, [rbx + r12*2]
call qword [sym.imp.MSVCR100.dll_memmove_s]
jmp 0x14008a29c
lea r8, [rsp + 0x60]
call qword [sym.imp.MSVCR100.dll_memcpy_s]
cmp edi, dword [rbx - 0xc]
jg 0x14008a5b1
mov dword [rbx - 0x10], edi
xor eax, eax
mov word [r13 + rbx], ax
mov r8d, Ordinal_32
lea rdx, str.Sony_CorporationVAIO_Update
lea rcx, [rsp + 0x20]
call fcn.140003c10
mov edx, dword [r15 + 0x50]
cmp edx, 1
jne 0x14008a34f
lea r8, str.PatchProcessInfo.dat
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.140002ce0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rsp + 0x20]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x14008a345
cmp dword [rdi + 0x10], 0
jl 0x14008a336
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14008a336
call fcn.140001b90
mov rbx, rax
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14008a32b
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 8]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x20], rax
jmp 0x14008a345
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x20]
call fcn.140001e80
nop
mov rdx, qword [rsp + 0x40]
jmp 0x14008a531
cmp edx, 2
jne 0x14008a3d3
lea r8, str.PatchProcessInfo.dat
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call fcn.140002ce0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rsp + 0x20]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x14008a3c9
cmp dword [rdi + 0x10], 0
jl 0x14008a3ba
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14008a3ba
call fcn.140001b90
mov rbx, rax
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14008a3af
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 8]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x20], rax
jmp 0x14008a3c9
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x20]
call fcn.140001e80
nop
mov rdx, qword [rsp + 0x30]
jmp 0x14008a531
lea rcx, [0x14011d880]
mov rax, qword [0x14011d880]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x28], rdi
lea r8, str.PatchProcessInfo.dat
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x48]
call fcn.140002ce0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x14008a45d
cmp dword [rdi + 0x10], 0
jl 0x14008a44e
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14008a44e
call fcn.140001b90
mov rbx, rax
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14008a443
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 8]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x28], rax
jmp 0x14008a45d
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x28]
call fcn.140001e80
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14008a47c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdi, qword [rsp + 0x28]
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14008a497
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea r8, str.PatchProcessInfo_V2.0.dat
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.140002ce0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rdi, qword [rsp + 0x20]
add rdi, 0xffffffffffffffe8
cmp rcx, rdi
je 0x14008a50c
cmp dword [rdi + 0x10], 0
jl 0x14008a4fd
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14008a4fd
call fcn.140001b90
mov rbx, rax
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14008a4f2
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 8]
lea rax, [rbx + 0x18]
mov qword [rsp + 0x20], rax
jmp 0x14008a50c
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x20]
call fcn.140001e80
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14008a52c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14008a54b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x20]
lea rcx, [rbx - 0x18]
mov rdi, qword [r14]
sub rdi, 0x18
cmp rcx, rdi
je 0x14008a5ac
cmp dword [rdi + 0x10], 0
jl 0x14008a59d
mov rax, qword [rdi]
cmp qword [rcx], rax
jne 0x14008a59d
call fcn.140001b90
mov rbx, rax
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x14008a58f
mov rcx, qword [rdi]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 8]
lea rax, [rbx + 0x18]
mov qword [r14], rax
mov rbx, qword [rsp + 0x20]
jmp 0x14008a5ac
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
mov rcx, r14
call fcn.140001e80
mov dil, 1
jmp 0x14008a5bc
mov ecx, 0x80070057
call fcn.140001000
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x14008a5d4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
movzx edx, dil
lea rcx, str.CUpdateProcessFile::GetProcessFilePath___d
call fcn.1400191f0
mov rdx, qword [r14]
lea rcx, str.Path___s
call fcn.1400191f0
movzx eax, dil
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.1400cafa0
lea r11, [rsp + 0x280]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret