Function at 0x14008acf2
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x4f0
mov r15, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x4e8], rax
movzx eax, byte [rcx + 0x17]
mov rcx, rax
test al, al
jns 0x14008ad24
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x14008ad96
mov rcx, r15
test al, al
jns 0x14008ad33
mov rcx, qword [r15]
xor eax, eax
movabs r8, 0x400000001003
xor edi, edi
mov rbx, rcx
movzx esi, word [rbx]
mov edx, esi
add edx, 0xffffffd2
cmp dx, 0x2e
ja 0x14008ad75
movzx edx, dx
bt r8, rdx
jae 0x14008ad75
cmp rbx, rcx
jbe 0x14008ad71
cmp si, 0x2e
jne 0x14008ad71
cmp word [rbx - 2], 0x2e
mov edx, edi
jne 0x14008ad7c
jmp 0x14008ad96
mov edx, edi
jmp 0x14008ad7c
mov dl, 1
test si, si
je 0x14008ad8c
cmp si, 0x3a
movzx edi, dl
cmove edi, eax
add rbx, 2
jmp 0x14008ad44
test dil, 1
jne 0x14008ae6b
mov ecx, 2
call fcn.140060b40
test al, al
je 0x14008ae48
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rcx, [rsp + 0x228]
mov r8d, 0x67
mov r9d, 2
call fcn.140060c10
lea rcx, [rsp + 0x230]
lea rdx, str.Unsafe_directory_name_for_deletion:
mov r8d, 0x24
call fcn.140007184
mov rdi, rax
lea rbx, [rsp + 0x210]
mov rcx, rbx
mov rdx, r15
call fcn.14003b7ee
lea rsi, [rsp + 0x90]
mov rcx, rsi
mov rdx, rbx
call fcn.14008d710
xor ebx, ebx
cmp byte [rsi + 0x17], bl
jns 0x14008ae1a
mov rsi, qword [rsp + 0x90]
mov rcx, rdi
mov rdx, rsi
call fcn.140061a30
cmp byte [rsp + 0xa7], bl
jns 0x14008ae3b
mov rcx, qword [rsp + 0x90]
call fcn.1401c9f6c
lea rcx, [rsp + 0x228]
call fcn.140061070
xor edi, edi
mov rcx, qword [rsp + 0x4e8]
xor rcx, rsp
call fcn.1401ca2e0
mov eax, edi
add rsp, 0x4f0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14008aed6
test al, 0x10
jne 0x14008afa8
mov ecx, 2
call fcn.140060b40
test al, al
je 0x14008ae48
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rcx, [rsp + 0x228]
mov r8d, 0x79
mov r9d, 2
call fcn.140060c10
lea rcx, [rsp + 0x230]
lea rdx, str.Scheduled_directory_is_not_a_directory:
mov r8d, 0x28
call fcn.140007184
mov rdi, rax
lea rbx, [rsp + 0x1e0]
jmp 0x14008aded
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dil, 1
cmp eax, 2
je 0x14008ae4a
mov ecx, 2
call fcn.140060b40
test al, al
je 0x14008ae48
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rcx, [rsp + 0x228]
mov r8d, 0x72
mov r9d, 2
call fcn.1400618b0
lea rcx, [rsp + 0x238]
lea rdx, str.Could_not_GetFileAttributes_for
mov r8d, 0x20
call fcn.140007184
mov rdi, rax
lea rbx, [rsp + 0x1f8]
mov rcx, rbx
mov rdx, r15
call fcn.14003b7ee
lea rsi, [rsp + 0x90]
mov rcx, rsi
mov rdx, rbx
call fcn.14008d710
xor ebx, ebx
cmp byte [rsi + 0x17], bl
jns 0x14008af75
mov rsi, qword [rsp + 0x90]
mov rcx, rdi
mov rdx, rsi
call fcn.140061a30
cmp byte [rsp + 0xa7], bl
jns 0x14008af96
mov rcx, qword [rsp + 0x90]
call fcn.1401c9f6c
lea rcx, [rsp + 0x228]
call fcn.140061980
jmp 0x14008ae48
lea rdi, [rsp + 0x228]
mov rcx, rdi
mov rdx, r15
xor r8d, r8d
mov r9d, 1
call fcn.140084b90
lea rbx, [rsp + 0x1c8]
mov rcx, rdi
mov rdx, rbx
call fcn.140084e70
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x14008afe7
mov rax, qword [rsp + 0x1d0]
test rax, rax
je 0x14008b04b
lea rdi, [rsp + 0x1c8]
lea r14, [rsp + 0x228]
lea rbx, [rsp + 0x90]
mov rcx, rdi
call fcn.14008aa40
test al, al
je 0x14008b1e9
mov rcx, r14
mov rdx, rbx
call fcn.140084e70
mov rcx, rdi
mov rdx, rbx
call fcn.14005bad0
mov rcx, rbx
call fcn.14005baa0
movzx eax, byte [rsp + 0x1df]
test al, al
jns 0x14008b046
mov rax, qword [rsp + 0x1d0]
test rax, rax
jne 0x14008b004
lea rcx, [rsp + 0x1c8]
call fcn.14005baa0
lea rcx, [rsp + 0x228]
call fcn.140084d70
lea rdi, [rsp + 0x228]
mov rcx, rdi
mov rdx, r15
xor r8d, r8d
mov r9d, 2
call fcn.140084b90
lea rbx, [rsp + 0x1c8]
mov rcx, rdi
mov rdx, rbx
call fcn.140084e70
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x14008b0a4
mov rax, qword [rsp + 0x1d0]
test rax, rax
je 0x14008b108
lea rdi, [rsp + 0x1c8]
lea r14, [rsp + 0x228]
lea rbx, [rsp + 0x90]
mov rcx, rdi
call fcn.14008acf2
test al, al
je 0x14008b23f
mov rcx, r14
mov rdx, rbx
call fcn.140084e70
mov rcx, rdi
mov rdx, rbx
call fcn.14005bad0
mov rcx, rbx
call fcn.14005baa0
movzx eax, byte [rsp + 0x1df]
test al, al
jns 0x14008b103
mov rax, qword [rsp + 0x1d0]
test rax, rax
jne 0x14008b0c1
lea rcx, [rsp + 0x1c8]
call fcn.14005baa0
lea rcx, [rsp + 0x228]
call fcn.140084d70
mov rcx, r15
call fcn.14008aa40
mov dil, 1
test al, al
jne 0x14008ae4a
mov ecx, 2
call fcn.140060b40
test al, al
je 0x14008ae4a
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rcx, [rsp + 0x228]
mov r8d, 0xa0
mov r9d, 2
call fcn.140060c10
lea rcx, [rsp + 0x230]
lea rdx, str.Failed_to_schedule_directory_for_deletion:
mov r8d, 0x2b
call fcn.140007184
mov r14, rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, r15
call fcn.14003b7ee
lea rsi, [rsp + 0x90]
mov rcx, rsi
mov rdx, rbx
call fcn.14008d710
xor ebx, ebx
cmp byte [rsi + 0x17], bl
jns 0x14008b1b6
mov rsi, qword [rsp + 0x90]
mov rcx, r14
mov rdx, rsi
call fcn.140061a30
cmp byte [rsp + 0xa7], bl
jns 0x14008b1d7
mov rcx, qword [rsp + 0x90]
call fcn.1401c9f6c
lea rcx, [rsp + 0x228]
call fcn.140061070
jmp 0x14008ae4a
mov ecx, 2
call fcn.140060b40
test al, al
je 0x14008b2ea
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rcx, [rsp + 0x90]
mov r8d, 0x87
mov r9d, 2
call fcn.140060c10
lea rcx, [rsp + 0x98]
lea rdx, str.Failed_to_schedule_file_for_deletion:
mov r8d, 0x26
call fcn.140007184
mov rsi, rax
lea rbx, [rsp + 0x60]
jmp 0x14008b293
mov ecx, 2
call fcn.140060b40
test al, al
je 0x14008b2ea
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rcx, [rsp + 0x90]
mov r8d, 0x97
mov r9d, 2
call fcn.140060c10
lea rcx, [rsp + 0x98]
lea rdx, str.Failed_to_schedule_subdirectory_for_deletion:
mov r8d, 0x2e
call fcn.140007184
mov rsi, rax
lea rbx, [rsp + 0x48]
lea rdx, [rsp + 0x1c8]
mov rcx, rbx
call fcn.14003b7ee
lea rdi, [rsp + 0x78]
mov rcx, rdi
mov rdx, rbx
call fcn.14008d710
xor ebx, ebx
cmp byte [rdi + 0x17], bl
jns 0x14008b2bf
mov rdi, qword [rsp + 0x78]
mov rcx, rsi
mov rdx, rdi
call fcn.140061a30
cmp byte [rsp + 0x8f], bl
jns 0x14008b2dd
mov rcx, qword [rsp + 0x78]
call fcn.1401c9f6c
lea rcx, [rsp + 0x90]
call fcn.140061070
lea rcx, [rsp + 0x1c8]
call fcn.14005baa0
lea rcx, [rsp + 0x228]
call fcn.140084d70
jmp 0x14008ae48