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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x460
movaps xmmword [rsp + 0x450], xmm6
mov rsi, rcx
mov rax, qword [0x1404fe040]
xor rax, rsp
mov qword [rsp + 0x448], rax
movsx rax, byte [rcx + 0x17]
mov rcx, rax
test rax, rax
jns 0x1402dae6c
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1402daf05
mov rcx, rsi
test al, al
jns 0x1402dae7f
mov rcx, qword [rsi]
xor r8d, r8d
movabs rax, 0x400000001003
mov rdx, rcx
jmp 0x1402daece
mov r10b, 1
test r11d, r11d
jne 0x1402daebe
test r8b, 1
je 0x1402daf05
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1402db2dd
test al, 0x10
jne 0x1402daf98
jmp 0x1402db28e
mov r10d, r8d
cmp r9w, 0x3a
setne r8b
and r8b, r10b
add rdx, 2
movzx r9d, word [rdx]
movzx r11d, r9w
lea r10d, [r11 - 0x2e]
cmp r10d, 0x2e
ja 0x1402dae91
bt rax, r10
jae 0x1402dae91
cmp r9w, 0x2e
setne r10b
cmp rdx, rcx
setbe r11b
or r11b, r10b
jne 0x1402daebb
cmp word [rdx - 2], 0x2e
mov r10d, r8d
jne 0x1402daebe
mov ecx, 2
call fcn.14020f6a0
test al, al
je 0x1402daf63
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rdi, [rsp + 0x180]
mov rcx, rdi
mov r8d, 0x6a
mov r9d, 2
call fcn.140114680
lea rcx, [rsp + 0x190]
lea rdx, str.Unsafe_directory_name_for_deletion:
mov r8d, 0x24
call fcn.1401e0d00
mov rcx, rax
mov rdx, rsi
call fcn.14010d1c0
mov rcx, rdi
call fcn.140114c90
xor edi, edi
mov rcx, qword [rsp + 0x448]
xor rcx, rsp
cmp rcx, qword [0x1404fe040]
je 0x1402daf7f
call fcn.140297b50
int3
mov eax, edi
movaps xmm6, xmmword [rsp + 0x450]
add rsp, 0x460
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rdi, [rsp + 0x180]
mov r8d, 0x2c8
mov rcx, rdi
mov dl, 0xaa
call fcn.1402d26c0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9d, 1
call fcn.140106ae0
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x160]
mov qword [rbx + 0x10], r15
movaps xmm6, xmmword [0x140470090]
movaps xmmword [rbx], xmm6
mov rcx, rdi
mov rdx, rbx
call fcn.140106d90
movsx rax, byte [rbx + 0x17]
test rax, rax
jns 0x1402db001
mov rax, qword [rsp + 0x168]
test rax, rax
je 0x1402db064
lea rdi, [rsp + 0x160]
lea rbx, [rsp + 0x180]
lea r14, [rsp + 0x30]
mov rcx, rdi
call fcn.1402dac40
test al, al
je 0x1402db24c
mov rcx, rbx
mov rdx, r14
call fcn.140106d90
mov rcx, rdi
mov rdx, r14
call fcn.140117e00
mov rcx, r14
call fcn.140210aa0
movsx rax, byte [rsp + 0x177]
test rax, rax
jns 0x1402db05f
mov rax, qword [rsp + 0x168]
test rax, rax
jne 0x1402db01b
lea rdi, [rsp + 0x160]
mov rcx, rdi
call fcn.140210aa0
lea rcx, [rsp + 0x180]
call fcn.140106cf0
lea rbx, [rsp + 0x180]
mov r8d, 0x2c8
mov rcx, rbx
mov dl, 0xaa
call fcn.1402d26c0
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
mov r9d, 2
call fcn.140106ae0
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
lea rdi, [rsp + 0x160]
mov rcx, rbx
mov rdx, rdi
call fcn.140106d90
movsx rax, byte [rdi + 0x17]
test rax, rax
jns 0x1402db0d9
mov rax, qword [rsp + 0x168]
test rax, rax
je 0x1402db13c
lea rdi, [rsp + 0x160]
lea rbx, [rsp + 0x180]
lea r14, [rsp + 0x30]
mov rcx, rdi
call fcn.1402dae30
test al, al
je 0x1402db1d0
mov rcx, rbx
mov rdx, r14
call fcn.140106d90
mov rcx, rdi
mov rdx, r14
call fcn.140117e00
mov rcx, r14
call fcn.140210aa0
movsx rax, byte [rsp + 0x177]
test rax, rax
jns 0x1402db137
mov rax, qword [rsp + 0x168]
test rax, rax
jne 0x1402db0f3
lea rcx, [rsp + 0x160]
call fcn.140210aa0
lea rcx, [rsp + 0x180]
call fcn.140106cf0
mov rcx, rsi
call fcn.1402dac40
mov dil, 1
test al, al
jne 0x1402daf65
mov ecx, 2
call fcn.14020f6a0
test al, al
je 0x1402daf65
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rbx, [rsp + 0x180]
mov rcx, rbx
mov r8d, 0xa0
mov r9d, 2
call fcn.140114680
lea rcx, [rsp + 0x190]
lea rdx, str.Failed_to_schedule_directory_for_deletion:
mov r8d, 0x2b
call fcn.1401e0d00
mov rcx, rax
mov rdx, rsi
call fcn.14010d1c0
mov rcx, rbx
call fcn.140114c90
jmp 0x1402daf65
mov ecx, 2
call fcn.14020f6a0
test al, al
je 0x1402db22d
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, ILFree
mov r9d, 2
call fcn.140114680
lea rcx, [rsp + 0x40]
lea rdx, str.Failed_to_schedule_subdirectory_for_deletion:
mov r8d, 0x2e
call fcn.1401e0d00
lea rdx, [rsp + 0x160]
mov rcx, rax
call fcn.14010d1c0
mov rcx, rsi
call fcn.140114c90
lea rcx, [rsp + 0x160]
call fcn.140210aa0
lea rcx, [rsp + 0x180]
call fcn.140106cf0
jmp 0x1402daf63
mov ecx, 2
call fcn.14020f6a0
test al, al
je 0x1402db22d
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x88
mov r9d, 2
call fcn.140114680
lea rcx, [rsp + 0x40]
lea rdx, str.Failed_to_schedule_file_for_deletion:
mov r8d, 0x26
jmp 0x1402db210
mov ecx, 2
call fcn.14020f6a0
test al, al
je 0x1402daf63
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rdi, [rsp + 0x180]
mov rcx, rdi
mov r8d, 0x7a
mov r9d, 2
call fcn.140114680
lea rcx, [rsp + 0x190]
lea rdx, str.Scheduled_directory_is_not_a_directory:
mov r8d, 0x28
jmp 0x1402daf4b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dil, 1
cmp eax, 2
je 0x1402daf65
mov ecx, 2
call fcn.14020f6a0
test al, al
je 0x1402daf63
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rdi, [rsp + 0x180]
mov rcx, rdi
mov r8d, 0x74
mov r9d, 2
call fcn.14030e0f0
lea rcx, [rsp + 0x190]
lea rdx, str.Could_not_GetFileAttributes_for
mov r8d, 0x20
call fcn.1401e0d00
mov rcx, rax
mov rdx, rsi
call fcn.14010d1c0
mov rcx, rdi
call fcn.14030e160
jmp 0x1402daf63