Function at 0x14005c100
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 [0x1402cf018]
xor rax, rsp
mov qword [rsp + 0x448], rax
movzx eax, byte [rcx + 0x17]
mov rcx, rax
test al, al
jns 0x14005c13d
mov rcx, qword [r12 + 8]
test rcx, rcx
je 0x14005c1b0
mov rcx, r12
test al, al
jns 0x14005c14d
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 0x14005c18f
movzx edx, dx
bt r8, rdx
jae 0x14005c18f
cmp si, 0x2e
jne 0x14005c18b
cmp rbx, rcx
jbe 0x14005c18b
cmp word [rbx - 2], 0x2e
mov edx, edi
jne 0x14005c196
jmp 0x14005c1b0
mov edx, edi
jmp 0x14005c196
mov dl, 1
test si, si
je 0x14005c1a6
cmp si, 0x3a
movzx edi, dl
cmove edi, eax
add rbx, 2
jmp 0x14005c15e
test dil, 1
jne 0x14005c23b
mov ecx, 2
call fcn.14004c5c0
test al, al
je 0x14005c20e
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.14004c600
lea rcx, [rsp + 0x190]
lea rdx, str.Unsafe_directory_name_for_deletion:
mov r8d, 0x24
call fcn.140124730
mov rcx, rax
mov rdx, r12
call fcn.14004cec0
mov rcx, rdi
call fcn.14004caa0
xor edi, edi
mov rcx, qword [rsp + 0x448]
xor rcx, rsp
call fcn.140143020
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 0x14005c299
test al, 0x10
jne 0x14005c31b
mov ecx, 2
call fcn.14004c5c0
test al, al
je 0x14005c20e
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.14004c600
lea rcx, [rsp + 0x190]
lea rdx, str.Scheduled_directory_is_not_a_directory:
mov r8d, 0x28
jmp 0x14005c1f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dil, 1
cmp eax, 2
je 0x14005c210
mov ecx, 2
call fcn.14004c5c0
test al, al
je 0x14005c20e
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.1401944b0
lea rcx, [rsp + 0x190]
lea rdx, str.Could_not_GetFileAttributes_for
mov r8d, 0x20
call fcn.140124730
mov rcx, rax
mov rdx, r12
call fcn.14004cec0
mov rcx, rdi
call fcn.140194530
jmp 0x14005c20e
lea rdi, [rsp + 0x180]
mov r8d, 0x2c8
mov rcx, rdi
mov dl, 0xaa
call fcn.140145e20
mov rcx, rdi
mov rdx, r12
xor r8d, r8d
mov r9d, 1
call fcn.140056fa0
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x160]
mov qword [rbx + 0x10], r15
movaps xmm6, xmmword [0x1402961a0]
movaps xmmword [rbx], xmm6
mov rcx, rdi
mov rdx, rbx
call fcn.140057220
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x14005c382
mov rax, qword [rsp + 0x168]
test rax, rax
je 0x14005c3e3
lea rdi, [rsp + 0x160]
lea r14, [rsp + 0x180]
lea rbx, [rsp + 0x28]
mov rcx, rdi
call fcn.14005bf00
test al, al
je 0x14005c54b
mov rcx, r14
mov rdx, rbx
call fcn.140057220
mov rcx, rdi
mov rdx, rbx
call fcn.140049fe0
mov rcx, rbx
call fcn.1401295d0
movzx eax, byte [rsp + 0x177]
test al, al
jns 0x14005c3de
mov rax, qword [rsp + 0x168]
test rax, rax
jne 0x14005c39c
lea rdi, [rsp + 0x160]
mov rcx, rdi
call fcn.1401295d0
lea rcx, [rsp + 0x180]
call fcn.140057120
lea rbx, [rsp + 0x180]
mov r8d, 0x2c8
mov rcx, rbx
mov dl, 0xaa
call fcn.140145e20
mov rcx, rbx
mov rdx, r12
xor r8d, r8d
mov r9d, 2
call fcn.140056fa0
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
lea rdi, [rsp + 0x160]
mov rcx, rbx
mov rdx, rdi
call fcn.140057220
movzx eax, byte [rdi + 0x17]
test al, al
jns 0x14005c456
mov rax, qword [rsp + 0x168]
test rax, rax
je 0x14005c4b7
lea rdi, [rsp + 0x160]
lea r14, [rsp + 0x180]
lea rbx, [rsp + 0x28]
mov rcx, rdi
call fcn.14005c100
test al, al
je 0x14005c591
mov rcx, r14
mov rdx, rbx
call fcn.140057220
mov rcx, rdi
mov rdx, rbx
call fcn.140049fe0
mov rcx, rbx
call fcn.1401295d0
movzx eax, byte [rsp + 0x177]
test al, al
jns 0x14005c4b2
mov rax, qword [rsp + 0x168]
test rax, rax
jne 0x14005c470
lea rcx, [rsp + 0x160]
call fcn.1401295d0
lea rcx, [rsp + 0x180]
call fcn.140057120
mov rcx, r12
call fcn.14005bf00
mov dil, 1
test al, al
jne 0x14005c210
mov ecx, 2
call fcn.14004c5c0
test al, al
je 0x14005c210
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.14004c600
lea rcx, [rsp + 0x190]
lea rdx, str.Failed_to_schedule_directory_for_deletion:
mov r8d, 0x2b
call fcn.140124730
mov rcx, rax
mov rdx, r12
call fcn.14004cec0
mov rcx, rbx
call fcn.14004caa0
jmp 0x14005c210
mov ecx, 2
call fcn.14004c5c0
test al, al
je 0x14005c5ee
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.14004c600
lea rcx, [rsp + 0x38]
lea rdx, str.Failed_to_schedule_file_for_deletion:
mov r8d, 0x26
jmp 0x14005c5d1
mov ecx, 2
call fcn.14004c5c0
test al, al
je 0x14005c5ee
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.14004c600
lea rcx, [rsp + 0x38]
lea rdx, str.Failed_to_schedule_subdirectory_for_deletion:
mov r8d, 0x2e
call fcn.140124730
lea rdx, [rsp + 0x160]
mov rcx, rax
call fcn.14004cec0
mov rcx, rsi
call fcn.14004caa0
lea rcx, [rsp + 0x160]
call fcn.1401295d0
lea rcx, [rsp + 0x180]
call fcn.140057120
jmp 0x14005c20e