Function at 0x1402c6b20
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 [0x140430040]
xor rax, rsp
mov qword [rsp + 0x448], rax
movsx rax, byte [rcx + 0x17]
mov rcx, rax
test rax, rax
jns 0x1402c6b5c
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1402c6bf5
mov rcx, rsi
test al, al
jns 0x1402c6b6f
mov rcx, qword [rsi]
xor r8d, r8d
movabs rax, 0x400000001003
mov rdx, rcx
jmp 0x1402c6bbe
mov r10b, 1
test r11d, r11d
jne 0x1402c6bae
test r8b, 1
je 0x1402c6bf5
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1402c6fcd
test al, 0x10
jne 0x1402c6c88
jmp 0x1402c6f7e
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 0x1402c6b81
bt rax, r10
jae 0x1402c6b81
cmp r9w, 0x2e
setne r10b
cmp rdx, rcx
setbe r11b
or r11b, r10b
jne 0x1402c6bab
cmp word [rdx - 2], 0x2e
mov r10d, r8d
jne 0x1402c6bae
mov ecx, 2
call fcn.14021c050
test al, al
je 0x1402c6c53
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rdi, [rsp + 0x180]
mov rcx, rdi
mov r8d, WSAGetLastError
mov r9d, 2
call fcn.14010dcd0
lea rcx, [rsp + 0x190]
lea rdx, str.Unsafe_directory_name_for_deletion:
mov r8d, Ordinal_41
call fcn.1401f8290
mov rcx, rax
mov rdx, rsi
call fcn.14010a6f0
mov rcx, rdi
call fcn.14010e2d0
xor edi, edi
mov rcx, qword [rsp + 0x448]
xor rcx, rsp
cmp rcx, qword [0x140430040]
je 0x1402c6c6f
call fcn.140278ca0
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.1402b6a10
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9d, 1
call fcn.140104f10
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x160]
mov qword [rbx + 0x10], r15
movaps xmm6, xmmword [0x1403d4b30]
movaps xmmword [rbx], xmm6
mov rcx, rdi
mov rdx, rbx
call fcn.1401051c0
movsx rax, byte [rbx + 0x17]
test rax, rax
jns 0x1402c6cf1
mov rax, qword [rsp + 0x168]
test rax, rax
je 0x1402c6d54
lea rdi, [rsp + 0x160]
lea rbx, [rsp + 0x180]
lea r14, [rsp + 0x30]
mov rcx, rdi
call fcn.1402c6930
test al, al
je 0x1402c6f3c
mov rcx, rbx
mov rdx, r14
call fcn.1401051c0
mov rcx, rdi
mov rdx, r14
call fcn.14010ff50
mov rcx, r14
call fcn.14021c6c0
movsx rax, byte [rsp + 0x177]
test rax, rax
jns 0x1402c6d4f
mov rax, qword [rsp + 0x168]
test rax, rax
jne 0x1402c6d0b
lea rdi, [rsp + 0x160]
mov rcx, rdi
call fcn.14021c6c0
lea rcx, [rsp + 0x180]
call fcn.140105120
lea rbx, [rsp + 0x180]
mov r8d, 0x2c8
mov rcx, rbx
mov dl, 0xaa
call fcn.1402b6a10
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
mov r9d, 2
call fcn.140104f10
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
lea rdi, [rsp + 0x160]
mov rcx, rbx
mov rdx, rdi
call fcn.1401051c0
movsx rax, byte [rdi + 0x17]
test rax, rax
jns 0x1402c6dc9
mov rax, qword [rsp + 0x168]
test rax, rax
je 0x1402c6e2c
lea rdi, [rsp + 0x160]
lea rbx, [rsp + 0x180]
lea r14, [rsp + 0x30]
mov rcx, rdi
call fcn.1402c6b20
test al, al
je 0x1402c6ec0
mov rcx, rbx
mov rdx, r14
call fcn.1401051c0
mov rcx, rdi
mov rdx, r14
call fcn.14010ff50
mov rcx, r14
call fcn.14021c6c0
movsx rax, byte [rsp + 0x177]
test rax, rax
jns 0x1402c6e27
mov rax, qword [rsp + 0x168]
test rax, rax
jne 0x1402c6de3
lea rcx, [rsp + 0x160]
call fcn.14021c6c0
lea rcx, [rsp + 0x180]
call fcn.140105120
mov rcx, rsi
call fcn.1402c6930
mov dil, 1
test al, al
jne 0x1402c6c55
mov ecx, 2
call fcn.14021c050
test al, al
je 0x1402c6c55
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rbx, [rsp + 0x180]
mov rcx, rbx
mov r8d, 0xa0
mov r9d, 2
call fcn.14010dcd0
lea rcx, [rsp + 0x190]
lea rdx, str.Failed_to_schedule_directory_for_deletion:
mov r8d, Ordinal_46
call fcn.1401f8290
mov rcx, rax
mov rdx, rsi
call fcn.14010a6f0
mov rcx, rbx
call fcn.14010e2d0
jmp 0x1402c6c55
mov ecx, 2
call fcn.14021c050
test al, al
je 0x1402c6f1d
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, reloc.WS2_32.dll___WSAFDIsSet
mov r9d, 2
call fcn.14010dcd0
lea rcx, [rsp + 0x40]
lea rdx, str.Failed_to_schedule_subdirectory_for_deletion:
mov r8d, reloc.WLDAP32.dll_Ordinal_46
call fcn.1401f8290
lea rdx, [rsp + 0x160]
mov rcx, rax
call fcn.14010a6f0
mov rcx, rsi
call fcn.14010e2d0
lea rcx, [rsp + 0x160]
call fcn.14021c6c0
lea rcx, [rsp + 0x180]
call fcn.140105120
jmp 0x1402c6c53
mov ecx, 2
call fcn.14021c050
test al, al
je 0x1402c6f1d
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x88
mov r9d, 2
call fcn.14010dcd0
lea rcx, [rsp + 0x40]
lea rdx, str.Failed_to_schedule_file_for_deletion:
mov r8d, Ordinal_41
jmp 0x1402c6f00
mov ecx, 2
call fcn.14021c050
test al, al
je 0x1402c6c53
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rdi, [rsp + 0x180]
mov rcx, rdi
mov r8d, Ordinal_127
mov r9d, 2
call fcn.14010dcd0
lea rcx, [rsp + 0x190]
lea rdx, str.Scheduled_directory_is_not_a_directory:
mov r8d, Ordinal_41
jmp 0x1402c6c3b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dil, 1
cmp eax, 2
je 0x1402c6c55
mov ecx, 2
call fcn.14021c050
test al, al
je 0x1402c6c53
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, reloc.WS2_32.dll_WSACleanup
mov r9d, 2
call fcn.1402f6330
lea rcx, [rsp + 0x190]
lea rdx, str.Could_not_GetFileAttributes_for
mov r8d, 0x20
call fcn.1401f8290
mov rcx, rax
mov rdx, rsi
call fcn.14010a6f0
mov rcx, rdi
call fcn.1402f63a0
jmp 0x1402c6c53