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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x468
movaps xmmword [rsp + 0x450], xmm6
mov r12, rcx
mov rax, qword [0x1403a7038]
xor rax, rsp
mov qword [rsp + 0x448], rax
movzx eax, byte [rcx + 0x17]
mov rcx, rax
test al, al
jns 0x140216add
mov rcx, qword [r12 + 8]
test rcx, rcx
je 0x140216b48
mov rcx, r12
test al, al
jns 0x140216aed
mov rcx, qword [r12]
xor r9d, r9d
movabs r8, 0x400000001003
xor edi, edi
mov rbx, rcx
movzx esi, word [rbx]
movzx eax, si
lea edx, [rax - 0x2e]
cmp edx, 0x2e
ja 0x140216b3c
bt r8, rdx
jae 0x140216b3c
cmp rbx, rcx
jbe 0x140216b29
cmp si, 0x2e
jne 0x140216b29
cmp word [rbx - 2], 0x2e
mov edx, edi
jne 0x140216b2b
jmp 0x140216b48
mov edx, edi
cmp si, 0x3a
movzx edi, dl
cmove edi, r9d
add rbx, 2
jmp 0x140216aff
mov dl, 1
test eax, eax
jne 0x140216b2b
test dil, 1
jne 0x140216b87
mov ecx, 2
call fcn.14017e5e0
test al, al
jne 0x140216be6
xor edi, edi
mov rcx, qword [rsp + 0x448]
xor rcx, rsp
call fcn.1401d1390
mov eax, edi
movaps xmm6, xmmword [rsp + 0x450]
add rsp, 0x468
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140216c3b
test al, 0x10
jne 0x140216cbd
mov ecx, 2
call fcn.14017e5e0
test al, al
je 0x140216b5a
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rdi, [rsp + 0x180]
mov rcx, rdi
mov r8d, 0x74
mov r9d, 2
call fcn.14007d0b0
lea rcx, [rsp + 0x190]
lea rdx, str.Scheduled_directory_is_not_a_directory:
mov r8d, 0x28
jmp 0x140216c1e
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rdi, [rsp + 0x180]
mov rcx, rdi
mov r8d, 0x64
mov r9d, 2
call fcn.14007d0b0
lea rcx, [rsp + 0x190]
lea rdx, str.Unsafe_directory_name_for_deletion:
mov r8d, 0x24
call fcn.14020f8f0
mov rcx, rax
mov rdx, r12
call fcn.14007d9a0
mov rcx, rdi
call fcn.14007d550
jmp 0x140216b5a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dil, 1
cmp eax, 2
je 0x140216b5c
mov ecx, 2
call fcn.14017e5e0
test al, al
je 0x140216b5a
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rdi, [rsp + 0x180]
mov rcx, rdi
mov r8d, 0x6e
mov r9d, 2
call fcn.14023e670
lea rcx, [rsp + 0x190]
lea rdx, str.Could_not_GetFileAttributes_for
mov r8d, 0x20
call fcn.14020f8f0
mov rcx, rax
mov rdx, r12
call fcn.14007d9a0
mov rcx, rdi
call fcn.14023e6f0
jmp 0x140216b5a
lea rdi, [rsp + 0x180]
mov r8d, 0x2c8
mov rcx, rdi
mov dl, 0xaa
call fcn.1401d34c0
mov rcx, rdi
mov rdx, r12
xor r8d, r8d
mov r9d, 1
call fcn.14008ed20
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x160]
mov qword [rbx + 0x10], r15
movaps xmm6, xmmword [0x14033b990]
movaps xmmword [rbx], xmm6
mov rcx, rdi
mov rdx, rbx
call fcn.14008efa0
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x140216d24
mov rax, qword [rsp + 0x168]
test rax, rax
je 0x140216d85
lea rdi, [rsp + 0x160]
lea r14, [rsp + 0x180]
lea rbx, [rsp + 0x28]
mov rcx, rdi
call fcn.1402168a0
test al, al
je 0x140216f1a
mov rcx, r14
mov rdx, rbx
call fcn.14008efa0
mov rcx, rdi
mov rdx, rbx
call fcn.14017ca80
mov rcx, rbx
call fcn.14017ca10
movzx eax, byte [rsp + 0x177]
test al, al
jns 0x140216d80
mov rax, qword [rsp + 0x168]
test rax, rax
jne 0x140216d3e
lea rdi, [rsp + 0x160]
mov rcx, rdi
call fcn.14017ca10
lea rcx, [rsp + 0x180]
call fcn.14008eea0
lea rbx, [rsp + 0x180]
mov r8d, 0x2c8
mov rcx, rbx
mov dl, 0xaa
call fcn.1401d34c0
mov rcx, rbx
mov rdx, r12
xor r8d, r8d
mov r9d, 2
call fcn.14008ed20
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
lea rdi, [rsp + 0x160]
mov rcx, rbx
mov rdx, rdi
call fcn.14008efa0
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x140216df8
mov rax, qword [rsp + 0x168]
test rax, rax
je 0x140216e59
lea rdi, [rsp + 0x160]
lea r14, [rsp + 0x180]
lea rbx, [rsp + 0x28]
mov rcx, rdi
call fcn.140216aa0
test al, al
je 0x140216eed
mov rcx, r14
mov rdx, rbx
call fcn.14008efa0
mov rcx, rdi
mov rdx, rbx
call fcn.14017ca80
mov rcx, rbx
call fcn.14017ca10
movzx eax, byte [rsp + 0x177]
test al, al
jns 0x140216e54
mov rax, qword [rsp + 0x168]
test rax, rax
jne 0x140216e12
lea rcx, [rsp + 0x160]
call fcn.14017ca10
lea rcx, [rsp + 0x180]
call fcn.14008eea0
mov rcx, r12
call fcn.1402168a0
mov dil, 1
test al, al
jne 0x140216b5c
mov ecx, 2
call fcn.14017e5e0
test al, al
je 0x140216b5c
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rbx, [rsp + 0x180]
mov rcx, rbx
mov r8d, 0x9a
mov r9d, 2
call fcn.14007d0b0
lea rcx, [rsp + 0x190]
lea rdx, str.Failed_to_schedule_directory_for_deletion:
mov r8d, 0x2b
call fcn.14020f8f0
mov rcx, rax
mov rdx, r12
call fcn.14007d9a0
mov rcx, rbx
call fcn.14007d550
jmp 0x140216b5c
mov ecx, 2
call fcn.14017e5e0
test al, al
jne 0x140216f5c
lea rcx, [rsp + 0x160]
call fcn.14017ca10
lea rcx, [rsp + 0x180]
call fcn.14008eea0
jmp 0x140216b5a
mov ecx, 2
call fcn.14017e5e0
test al, al
je 0x140216efb
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x82
mov r9d, 2
call fcn.14007d0b0
lea rcx, [rsp + 0x38]
lea rdx, str.Failed_to_schedule_file_for_deletion:
mov r8d, 0x26
jmp 0x140216f8e
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x91
mov r9d, 2
call fcn.14007d0b0
lea rcx, [rsp + 0x38]
lea rdx, str.Failed_to_schedule_subdirectory_for_deletion:
mov r8d, 0x2e
call fcn.14020f8f0
lea rdx, [rsp + 0x160]
mov rcx, rax
call fcn.14007d9a0
mov rcx, rsi
call fcn.14007d550
jmp 0x140216efb