Function at 0x14005d7c0
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 [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x448], rax
movzx eax, byte [rcx + 0x17]
mov rcx, rax
test al, al
jns 0x14005d7fd
mov rcx, qword [r12 + 8]
test rcx, rcx
je 0x14005d870
mov rcx, r12
test al, al
jns 0x14005d80d
mov rcx, qword [r12]
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 0x14005d84f
movzx edx, dx
bt r8, rdx
jae 0x14005d84f
cmp si, 0x2e
jne 0x14005d84b
cmp rbx, rcx
jbe 0x14005d84b
cmp word [rbx - 2], 0x2e
mov edx, edi
jne 0x14005d856
jmp 0x14005d870
mov edx, edi
jmp 0x14005d856
mov dl, 1
test si, si
je 0x14005d866
cmp si, 0x3a
movzx edi, dl
cmove edi, eax
add rbx, 2
jmp 0x14005d81e
test dil, 1
jne 0x14005d8fb
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x14005d8ce
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.14004a130
lea rcx, [rsp + 0x190]
lea rdx, str.Unsafe_directory_name_for_deletion:
mov r8d, 0x24
int3
xor edi, edi
mov rcx, qword [rsp + 0x448]
xor rcx, rsp
call fcn.140111870
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 0x14005d959
test al, 0x10
jne 0x14005d9db
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x14005d8ce
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.14004a130
lea rcx, [rsp + 0x190]
lea rdx, str.Scheduled_directory_is_not_a_directory:
mov r8d, 0x28
jmp 0x14005d8b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dil, 1
cmp eax, 2
je 0x14005d8d0
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x14005d8ce
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
int3
lea rdi, [rsp + 0x180]
mov r8d, 0x2c8
mov rcx, rdi
mov dl, 0xaa
call fcn.140114200
mov rcx, rdi
mov rdx, r12
xor r8d, r8d
mov r9d, 1
call fcn.140056e10
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x160]
mov qword [rbx + 0x10], r15
movaps xmm6, xmmword [0x1401e90c0]
movaps xmmword [rbx], xmm6
mov rcx, rdi
mov rdx, rbx
call fcn.1400570a0
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x14005da42
mov rax, qword [rsp + 0x168]
test rax, rax
je 0x14005daa3
lea rdi, [rsp + 0x160]
lea r14, [rsp + 0x180]
lea rbx, [rsp + 0x28]
mov rcx, rdi
call fcn.14005d5c0
test al, al
je 0x14005dc0b
mov rcx, r14
mov rdx, rbx
call fcn.1400570a0
mov rcx, rdi
mov rdx, rbx
int3
lea rdi, [rsp + 0x160]
mov rcx, rdi
call fcn.1400e68a0
lea rcx, [rsp + 0x180]
call fcn.140056fa0
lea rbx, [rsp + 0x180]
mov r8d, 0x2c8
mov rcx, rbx
mov dl, 0xaa
call fcn.140114200
mov rcx, rbx
mov rdx, r12
xor r8d, r8d
mov r9d, 2
call fcn.140056e10
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
lea rdi, [rsp + 0x160]
mov rcx, rbx
mov rdx, rdi
call fcn.1400570a0
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x14005db16
mov rax, qword [rsp + 0x168]
test rax, rax
je 0x14005db77
lea rdi, [rsp + 0x160]
lea r14, [rsp + 0x180]
lea rbx, [rsp + 0x28]
mov rcx, rdi
call fcn.14005d7c0
test al, al
je 0x14005dc51
mov rcx, r14
mov rdx, rbx
call fcn.1400570a0
mov rcx, rdi
mov rdx, rbx
int3
lea rcx, [rsp + 0x160]
call fcn.1400e68a0
lea rcx, [rsp + 0x180]
call fcn.140056fa0
mov rcx, r12
call fcn.14005d5c0
mov dil, 1
test al, al
jne 0x14005d8d0
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x14005d8d0
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.14004a130
lea rcx, [rsp + 0x190]
lea rdx, str.Failed_to_schedule_directory_for_deletion:
mov r8d, 0x2b
int3
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x14005dcae
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.14004a130
lea rcx, [rsp + 0x38]
lea rdx, str.Failed_to_schedule_file_for_deletion:
mov r8d, 0x26
jmp 0x14005dc91
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x14005dcae
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.14004a130
lea rcx, [rsp + 0x38]
lea rdx, str.Failed_to_schedule_subdirectory_for_deletion:
mov r8d, 0x2e
int3
lea rcx, [rsp + 0x160]
call fcn.1400e68a0
lea rcx, [rsp + 0x180]
call fcn.140056fa0
jmp 0x14005d8ce