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

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
movaps xmmword [rsp + 0x460], xmm6
mov r12, rcx
mov rax, qword [0x140213038]
xor rax, rsp
mov qword [rsp + 0x458], rax
movzx eax, byte [rcx + 0x17]
mov rcx, rax
test al, al
jns 0x14005d21d
mov rcx, qword [r12 + 8]
test rcx, rcx
je 0x14005d28f
mov rcx, r12
test al, al
jns 0x14005d22d
mov rcx, qword [r12]
movzx edx, word [rcx]
test dx, dx
je 0x14005d28f
xor eax, eax
movabs r8, 0x400000001003
mov rdi, rcx
xor esi, esi
lea ebx, [rdx - 0x2e]
cmp bx, 0x2e
ja 0x14005d258
movzx ebx, bx
bt r8, rbx
jb 0x14005d25b
mov sil, 1
cmp rdi, rcx
jbe 0x14005d26d
cmp dx, 0x2e
jne 0x14005d26d
cmp word [rdi - 2], 0x2e
je 0x14005d28f
cmp dx, 0x3a
movzx esi, sil
cmove esi, eax
movzx edx, word [rdi + 2]
add rdi, 2
test dx, dx
jne 0x14005d246
test sil, 1
jne 0x14005d31a
mov ecx, 2
call fcn.1400d9610
test al, al
je 0x14005d2ed
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rdi, [rsp + 0x190]
mov rcx, rdi
mov r8d, 0x64
mov r9d, 2
call fcn.14004a520
lea rcx, [rsp + 0x1a0]
lea rdx, str.Unsafe_directory_name_for_deletion:
mov r8d, 0x24
call fcn.1400cf4f0
mov rcx, rax
mov rdx, r12
call fcn.14004b410
mov rcx, rdi
call fcn.14004a9c0
xor edi, edi
mov rcx, qword [rsp + 0x458]
xor rcx, rsp
call fcn.1401013e0
mov eax, edi
movaps xmm6, xmmword [rsp + 0x460]
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14005d378
test al, 0x10
jne 0x14005d3fa
mov ecx, 2
call fcn.1400d9610
test al, al
je 0x14005d2ed
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rdi, [rsp + 0x190]
mov rcx, rdi
mov r8d, 0x74
mov r9d, 2
call fcn.14004a520
lea rcx, [rsp + 0x1a0]
lea rdx, str.Scheduled_directory_is_not_a_directory:
mov r8d, 0x28
jmp 0x14005d2d5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dil, 1
cmp eax, 2
je 0x14005d2ef
mov ecx, 2
call fcn.1400d9610
test al, al
je 0x14005d2ed
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rdi, [rsp + 0x190]
mov rcx, rdi
mov r8d, 0x6e
mov r9d, 2
call fcn.140158e40
lea rcx, [rsp + 0x1a0]
lea rdx, str.Could_not_GetFileAttributes_for
mov r8d, 0x20
call fcn.1400cf4f0
mov rcx, rax
mov rdx, r12
call fcn.14004b410
mov rcx, rdi
call fcn.140158f30
jmp 0x14005d2ed
lea rdi, [rsp + 0x190]
mov r8d, 0x2c8
mov rcx, rdi
mov dl, 0xaa
call fcn.140103d70
mov rcx, rdi
mov rdx, r12
xor r8d, r8d
mov r9d, 1
call fcn.140057160
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x170]
mov qword [rbx + 0x10], r15
movaps xmm6, xmmword [0x1401d9dd0]
movaps xmmword [rbx], xmm6
mov rcx, rdi
mov rdx, rbx
call fcn.1400574e0
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x14005d461
mov rax, qword [rsp + 0x178]
test rax, rax
je 0x14005d4c2
lea rdi, [rsp + 0x170]
lea r14, [rsp + 0x190]
lea rbx, [rsp + 0x30]
mov rcx, rdi
call fcn.14005cfe0
test al, al
je 0x14005d62a
mov rcx, r14
mov rdx, rbx
call fcn.1400574e0
mov rcx, rdi
mov rdx, rbx
call fcn.1400d7bd0
mov rcx, rbx
call fcn.1400d7bc0
movzx eax, byte [rsp + 0x187]
test al, al
jns 0x14005d4bd
mov rax, qword [rsp + 0x178]
test rax, rax
jne 0x14005d47b
lea rdi, [rsp + 0x170]
mov rcx, rdi
call fcn.1400d7bc0
lea rcx, [rsp + 0x190]
call fcn.1400572f0
lea rbx, [rsp + 0x190]
mov r8d, 0x2c8
mov rcx, rbx
mov dl, 0xaa
call fcn.140103d70
mov rcx, rbx
mov rdx, r12
xor r8d, r8d
mov r9d, 2
call fcn.140057160
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
lea rdi, [rsp + 0x170]
mov rcx, rbx
mov rdx, rdi
call fcn.1400574e0
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x14005d535
mov rax, qword [rsp + 0x178]
test rax, rax
je 0x14005d596
lea rdi, [rsp + 0x170]
lea r14, [rsp + 0x190]
lea rbx, [rsp + 0x30]
mov rcx, rdi
call fcn.14005d1e0
test al, al
je 0x14005d670
mov rcx, r14
mov rdx, rbx
call fcn.1400574e0
mov rcx, rdi
mov rdx, rbx
call fcn.1400d7bd0
mov rcx, rbx
call fcn.1400d7bc0
movzx eax, byte [rsp + 0x187]
test al, al
jns 0x14005d591
mov rax, qword [rsp + 0x178]
test rax, rax
jne 0x14005d54f
lea rcx, [rsp + 0x170]
call fcn.1400d7bc0
lea rcx, [rsp + 0x190]
call fcn.1400572f0
mov rcx, r12
call fcn.14005cfe0
mov dil, 1
test al, al
jne 0x14005d2ef
mov ecx, 2
call fcn.1400d9610
test al, al
je 0x14005d2ef
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rbx, [rsp + 0x190]
mov rcx, rbx
mov r8d, 0x9a
mov r9d, 2
call fcn.14004a520
lea rcx, [rsp + 0x1a0]
lea rdx, str.Failed_to_schedule_directory_for_deletion:
mov r8d, 0x2b
call fcn.1400cf4f0
mov rcx, rax
mov rdx, r12
call fcn.14004b410
mov rcx, rbx
call fcn.14004a9c0
jmp 0x14005d2ef
mov ecx, 2
call fcn.1400d9610
test al, al
je 0x14005d6cd
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x82
mov r9d, 2
call fcn.14004a520
lea rcx, [rsp + 0x40]
lea rdx, str.Failed_to_schedule_file_for_deletion:
mov r8d, 0x26
jmp 0x14005d6b0
mov ecx, 2
call fcn.1400d9610
test al, al
je 0x14005d6cd
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x91
mov r9d, 2
call fcn.14004a520
lea rcx, [rsp + 0x40]
lea rdx, str.Failed_to_schedule_subdirectory_for_deletion:
mov r8d, 0x2e
call fcn.1400cf4f0
lea rdx, [rsp + 0x170]
mov rcx, rax
call fcn.14004b410
mov rcx, rsi
call fcn.14004a9c0
lea rcx, [rsp + 0x170]
call fcn.1400d7bc0
lea rcx, [rsp + 0x190]
call fcn.1400572f0
jmp 0x14005d2ed