Function at 0x14005b7c0
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 [0x14024f018]
xor rax, rsp
mov qword [rsp + 0x448], rax
movzx eax, byte [rcx + 0x17]
mov rcx, rax
test al, al
jns 0x14005b7fd
mov rcx, qword [r12 + 8]
test rcx, rcx
je 0x14005b870
mov rcx, r12
test al, al
jns 0x14005b80d
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 0x14005b84f
movzx edx, dx
bt r8, rdx
jae 0x14005b84f
cmp si, 0x2e
jne 0x14005b84b
cmp rbx, rcx
jbe 0x14005b84b
cmp word [rbx - 2], 0x2e
mov edx, edi
jne 0x14005b856
jmp 0x14005b870
mov edx, edi
jmp 0x14005b856
mov dl, 1
test si, si
je 0x14005b866
cmp si, 0x3a
movzx edi, dl
cmove edi, eax
add rbx, 2
jmp 0x14005b81e
test dil, 1
jne 0x14005b8fb
mov ecx, 2
call fcn.14004bc00
test al, al
je 0x14005b8ce
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.14004bc40
lea rcx, [rsp + 0x190]
lea rdx, str.Unsafe_directory_name_for_deletion:
mov r8d, 0x24
call fcn.1400e7690
mov rcx, rax
mov rdx, r12
call fcn.14004c500
mov rcx, rdi
call fcn.14004c0e0
xor edi, edi
mov rcx, qword [rsp + 0x448]
xor rcx, rsp
call fcn.140106490
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 0x14005b959
test al, 0x10
jne 0x14005b9db
mov ecx, 2
call fcn.14004bc00
test al, al
je 0x14005b8ce
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.14004bc40
lea rcx, [rsp + 0x190]
lea rdx, str.Scheduled_directory_is_not_a_directory:
mov r8d, 0x28
jmp 0x14005b8b6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dil, 1
cmp eax, 2
je 0x14005b8d0
mov ecx, 2
call fcn.14004bc00
test al, al
je 0x14005b8ce
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.140157100
lea rcx, [rsp + 0x190]
lea rdx, str.Could_not_GetFileAttributes_for
mov r8d, 0x20
call fcn.1400e7690
mov rcx, rax
mov rdx, r12
call fcn.14004c500
mov rcx, rdi
call fcn.140157180
jmp 0x14005b8ce
lea rdi, [rsp + 0x180]
mov r8d, 0x2c8
mov rcx, rdi
mov dl, 0xaa
call fcn.140109290
mov rcx, rdi
mov rdx, r12
xor r8d, r8d
mov r9d, 1
call fcn.140056690
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x160]
mov qword [rbx + 0x10], r15
movaps xmm6, xmmword [0x1402183e0]
movaps xmmword [rbx], xmm6
mov rcx, rdi
mov rdx, rbx
call fcn.140056920
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x14005ba42
mov rax, qword [rsp + 0x168]
test rax, rax
je 0x14005baa3
lea rdi, [rsp + 0x160]
lea r14, [rsp + 0x180]
lea rbx, [rsp + 0x28]
mov rcx, rdi
call fcn.14005b5c0
test al, al
je 0x14005bc0b
mov rcx, r14
mov rdx, rbx
call fcn.140056920
mov rcx, rdi
mov rdx, rbx
call fcn.1400495f0
mov rcx, rbx
call fcn.1400ec550
movzx eax, byte [rsp + 0x177]
test al, al
jns 0x14005ba9e
mov rax, qword [rsp + 0x168]
test rax, rax
jne 0x14005ba5c
lea rdi, [rsp + 0x160]
mov rcx, rdi
call fcn.1400ec550
lea rcx, [rsp + 0x180]
call fcn.140056820
lea rbx, [rsp + 0x180]
mov r8d, 0x2c8
mov rcx, rbx
mov dl, 0xaa
call fcn.140109290
mov rcx, rbx
mov rdx, r12
xor r8d, r8d
mov r9d, 2
call fcn.140056690
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
lea rdi, [rsp + 0x160]
mov rcx, rbx
mov rdx, rdi
call fcn.140056920
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x14005bb16
mov rax, qword [rsp + 0x168]
test rax, rax
je 0x14005bb77
lea rdi, [rsp + 0x160]
lea r14, [rsp + 0x180]
lea rbx, [rsp + 0x28]
mov rcx, rdi
call fcn.14005b7c0
test al, al
je 0x14005bc51
mov rcx, r14
mov rdx, rbx
call fcn.140056920
mov rcx, rdi
mov rdx, rbx
call fcn.1400495f0
mov rcx, rbx
call fcn.1400ec550
movzx eax, byte [rsp + 0x177]
test al, al
jns 0x14005bb72
mov rax, qword [rsp + 0x168]
test rax, rax
jne 0x14005bb30
lea rcx, [rsp + 0x160]
call fcn.1400ec550
lea rcx, [rsp + 0x180]
call fcn.140056820
mov rcx, r12
call fcn.14005b5c0
mov dil, 1
test al, al
jne 0x14005b8d0
mov ecx, 2
call fcn.14004bc00
test al, al
je 0x14005b8d0
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.14004bc40
lea rcx, [rsp + 0x190]
lea rdx, str.Failed_to_schedule_directory_for_deletion:
mov r8d, 0x2b
call fcn.1400e7690
mov rcx, rax
mov rdx, r12
call fcn.14004c500
mov rcx, rbx
call fcn.14004c0e0
jmp 0x14005b8d0
mov ecx, 2
call fcn.14004bc00
test al, al
je 0x14005bcae
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.14004bc40
lea rcx, [rsp + 0x38]
lea rdx, str.Failed_to_schedule_file_for_deletion:
mov r8d, 0x26
jmp 0x14005bc91
mov ecx, 2
call fcn.14004bc00
test al, al
je 0x14005bcae
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.14004bc40
lea rcx, [rsp + 0x38]
lea rdx, str.Failed_to_schedule_subdirectory_for_deletion:
mov r8d, 0x2e
call fcn.1400e7690
lea rdx, [rsp + 0x160]
mov rcx, rax
call fcn.14004c500
mov rcx, rsi
call fcn.14004c0e0
lea rcx, [rsp + 0x160]
call fcn.1400ec550
lea rcx, [rsp + 0x180]
call fcn.140056820
jmp 0x14005b8ce