Function at 0x14006af60
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x140177090]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, r8
mov rbx, rdx
xor r15d, r15d
mov dword [rbp - 0x39], r15d
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x41], 7
mov word [rbp - 0x59], r15w
mov qword [rbp - 0x21], r15
mov qword [rbp - 0x19], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x31], r15b
lea r8d, [r15 + 8]
lea rdx, str.pia.json
lea rcx, [rbp - 0x31]
call fcn.140008ab0
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x31]
call fcn.14001a690
nop
lea rcx, [rbp - 0x31]
call fcn.140008a50
nop
lea r8, [rbp - 0x59]
lea rdx, [rbp - 0x11]
mov rcx, rbx
call fcn.140025150
nop
lea rcx, [rbp - 0x59]
call fcn.140008840
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, 1
jne 0x14006b07a
mov dword [rbp - 0x39], r15d
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14006b040
test al, 0x10
je 0x14006b040
lea rcx, [rbp - 0x11]
call fcn.1400261d0
jmp 0x14006b07a
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14006b07a
mov edx, 0x80
lea rcx, [rbp - 0x11]
call fcn.1400262d0
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rdx, qword [rdi]
test rdx, rdx
je 0x14006b0bb
lea rcx, [rbp - 0x31]
call fcn.140090230
nop
mov qword [rbp - 0x39], r15
lea rdx, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae rdx, qword [rbp - 0x31]
lea rcx, [rbp - 0x39]
call fcn.140087010
mov esi, 3
lea rcx, [rbp - 0x31]
call fcn.140008a50
mov rax, qword [rbp - 0x39]
jmp 0x14006b0c7
mov rax, r15
mov qword [rbp - 0x39], rax
mov esi, 1
test rax, rax
je 0x14006b0ef
mov rcx, rax
mov rdx, rax
mov r8, qword [rax + 0x18]
cmp r8, 0x10
jb 0x14006b0df
mov rcx, qword [rax]
test rcx, rcx
je 0x14006b0ef
cmp r8, 0x10
jb 0x14006b0f6
mov rdx, qword [rax]
jmp 0x14006b0f6
lea rdx, [0x1401490f7]
mov qword [rbp + 0x1f], r15
mov qword [rbp + 0x27], reloc.WS2_32.dll_ntohs
mov byte [rbp + 0xf], 0
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], 0
jne 0x14006b110
lea rcx, [rbp + 0xf]
call fcn.140008ab0
or esi, 4
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140087010
nop
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0x10
cmovae rdx, qword [rbp + 0xf]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
xor r9d, r9d
mov r8, qword [rbp + 0x1f]
lea rcx, [rbp - 0x11]
call fcn.140023910
test al, al
jne 0x14006b22b
cmp qword [rbp + 0x1f], 0
je 0x14006b224
xor ecx, ecx
call fcn.140027840
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ba40]
mov rcx, rax
call fcn.140027a90
mov r14, rax
lea rdi, [rbp + 0xf]
cmp qword [rbp + 0x27], 0x10
cmovae rdi, qword [rbp + 0xf]
mov edx, 0xffffffff
lea rcx, [rbp - 0x59]
call fcn.14002aa00
mov rbx, rax
cmp qword [rax + 0x18], 0x10
jb 0x14006b1c1
mov rbx, qword [rax]
mov qword [rbp - 0x21], r15
mov qword [rbp - 0x19], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x31], 0
or esi, 8
mov dword [rbp - 0x39], esi
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x11]
call fcn.14001a4c0
lea r9, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae r9, qword [rbp - 0x31]
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rbx
lea r8, str.UpdateProductInstallAdjacencyCache_failed_to_update__s_becaue_file_write_failed.__s_r_n_s
mov edx, 2
mov rcx, r14
call fcn.14001de90
nop
lea rcx, [rbp - 0x31]
call fcn.140008a50
nop
lea rcx, [rbp - 0x59]
call fcn.140008a50
xor bl, bl
jmp 0x14006b2ba
xor ecx, ecx
call fcn.140027840
mov dword [rsp + 0x20], 1
lea r9, str.Logger
xor r8d, r8d
lea rdx, [0x14001ba40]
mov rcx, rax
call fcn.140027a90
mov rdi, rax
lea rbx, [rbp + 0xf]
cmp qword [rbp + 0x27], 0x10
cmovae rbx, qword [rbp + 0xf]
mov qword [rbp - 0x21], r15
mov qword [rbp - 0x19], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x31], 0
or esi, 0x10
mov dword [rbp - 0x39], esi
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x11]
call fcn.14001a4c0
lea r9, [rbp - 0x31]
cmp qword [rbp - 0x19], 0x10
cmovae r9, qword [rbp - 0x31]
mov qword [rsp + 0x20], rbx
lea r8, str.UpdateProductInstallAdjacencyCache_saved__s_successfully_r_n_s
mov edx, 4
mov rcx, rdi
call fcn.14001de90
nop
lea rcx, [rbp - 0x31]
call fcn.140008a50
mov bl, 1
lea rcx, [rbp + 0xf]
call fcn.140008a50
nop
lea rcx, [rbp - 0x11]
call fcn.140008840
movzx eax, bl
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400e9d60
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret