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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x440
mov r15, rcx
mov rax, qword [0x1401b6b28]
xor rax, rsp
mov qword [rsp + 0x438], rax
movzx eax, byte [rcx + 0x17]
mov rcx, rax
test al, al
jns 0x140062fce
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x140063040
mov rcx, r15
test al, al
jns 0x140062fdd
mov rcx, qword [r15]
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 0x14006301f
movzx edx, dx
bt r8, rdx
jae 0x14006301f
cmp rbx, rcx
jbe 0x14006301b
cmp si, 0x2e
jne 0x14006301b
cmp word [rbx - 2], 0x2e
mov edx, edi
jne 0x140063026
jmp 0x140063040
mov edx, edi
jmp 0x140063026
mov dl, 1
test si, si
je 0x140063036
cmp si, 0x3a
movzx edi, dl
cmove edi, eax
add rbx, 2
jmp 0x140062fee
test dil, 1
jne 0x1400630cb
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x1400630a8
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rdi, [rsp + 0x178]
mov rcx, rdi
mov r8d, 0x63
mov r9d, 2
call fcn.140048290
lea rcx, [rsp + 0x180]
lea rdx, str.Unsafe_directory_name_for_deletion:
mov r8d, 0x24
call fcn.140006489
cmp byte [r15 + 0x17], 0
jns 0x140063095
mov r15, qword [r15]
mov rcx, rax
mov rdx, r15
call fcn.1400490b0
mov rcx, rdi
call fcn.1400486f0
xor edi, edi
mov rcx, qword [rsp + 0x438]
xor rcx, rsp
call fcn.140147fd0
mov eax, edi
add rsp, 0x440
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140063129
test al, 0x10
jne 0x1400631b5
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x1400630a8
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rdi, [rsp + 0x178]
mov rcx, rdi
mov r8d, 0x73
mov r9d, 2
call fcn.140048290
lea rcx, [rsp + 0x180]
lea rdx, str.Scheduled_directory_is_not_a_directory:
mov r8d, 0x28
jmp 0x140063086
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dil, 1
cmp eax, 2
je 0x1400630aa
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x1400630a8
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rdi, [rsp + 0x178]
mov rcx, rdi
mov r8d, 0x6d
mov r9d, 2
call fcn.140048f30
lea rcx, [rsp + 0x188]
lea rdx, str.Could_not_GetFileAttributes_for
mov r8d, 0x20
call fcn.140006489
cmp byte [r15 + 0x17], 0
jns 0x14006319d
mov r15, qword [r15]
mov rcx, rax
mov rdx, r15
call fcn.1400490b0
mov rcx, rdi
call fcn.140049000
jmp 0x1400630a8
lea rdi, [rsp + 0x178]
mov rcx, rdi
mov rdx, r15
xor r8d, r8d
mov r9d, 1
call fcn.14005de20
lea rbx, [rsp + 0x160]
mov rcx, rdi
mov rdx, rbx
call fcn.14005e100
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x1400631f4
mov rax, qword [rsp + 0x168]
test rax, rax
je 0x140063255
lea rdi, [rsp + 0x160]
lea r14, [rsp + 0x178]
lea rbx, [rsp + 0x28]
mov rcx, rdi
call fcn.140062da0
test al, al
je 0x1400633ad
mov rcx, r14
mov rdx, rbx
call fcn.14005e100
mov rcx, rdi
mov rdx, rbx
call fcn.140043dd0
mov rcx, rbx
call fcn.140043da0
movzx eax, byte [rsp + 0x177]
test al, al
jns 0x140063250
mov rax, qword [rsp + 0x168]
test rax, rax
jne 0x14006320e
lea rcx, [rsp + 0x160]
call fcn.140043da0
lea rcx, [rsp + 0x178]
call fcn.14005e000
lea rdi, [rsp + 0x178]
mov rcx, rdi
mov rdx, r15
xor r8d, r8d
mov r9d, 2
call fcn.14005de20
lea rbx, [rsp + 0x160]
mov rcx, rdi
mov rdx, rbx
call fcn.14005e100
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x1400632ae
mov rax, qword [rsp + 0x168]
test rax, rax
je 0x14006330f
lea rdi, [rsp + 0x160]
lea r14, [rsp + 0x178]
lea rbx, [rsp + 0x28]
mov rcx, rdi
call fcn.140062f9c
test al, al
je 0x1400633f3
mov rcx, r14
mov rdx, rbx
call fcn.14005e100
mov rcx, rdi
mov rdx, rbx
call fcn.140043dd0
mov rcx, rbx
call fcn.140043da0
movzx eax, byte [rsp + 0x177]
test al, al
jns 0x14006330a
mov rax, qword [rsp + 0x168]
test rax, rax
jne 0x1400632c8
lea rcx, [rsp + 0x160]
call fcn.140043da0
lea rcx, [rsp + 0x178]
call fcn.14005e000
mov rcx, r15
call fcn.140062da0
mov dil, 1
test al, al
jne 0x1400630aa
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x1400630aa
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rbx, [rsp + 0x178]
mov rcx, rbx
mov r8d, 0x99
mov r9d, 2
call fcn.140048290
lea rcx, [rsp + 0x180]
lea rdx, str.Failed_to_schedule_directory_for_deletion:
mov r8d, 0x2b
call fcn.140006489
cmp byte [r15 + 0x17], 0
jns 0x140063395
mov r15, qword [r15]
mov rcx, rax
mov rdx, r15
call fcn.1400490b0
mov rcx, rbx
call fcn.1400486f0
jmp 0x1400630aa
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x14006345d
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x81
mov r9d, 2
call fcn.140048290
lea rcx, [rsp + 0x30]
lea rdx, str.Failed_to_schedule_file_for_deletion:
mov r8d, 0x26
jmp 0x140063433
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x14006345d
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x90
mov r9d, 2
call fcn.140048290
lea rcx, [rsp + 0x30]
lea rdx, str.Failed_to_schedule_subdirectory_for_deletion:
mov r8d, 0x2e
call fcn.140006489
cmp byte [rsp + 0x177], 0
jns 0x14006344a
mov rdi, qword [rsp + 0x160]
mov rcx, rax
mov rdx, rdi
call fcn.1400490b0
mov rcx, rsi
call fcn.1400486f0
lea rcx, [rsp + 0x160]
call fcn.140043da0
lea rcx, [rsp + 0x178]
call fcn.14005e000
jmp 0x1400630a8