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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x430
mov r15, rcx
mov rax, qword [0x1401e3a68]
xor rax, rsp
mov qword [rsp + 0x428], rax
cmp qword [rcx + 0x10], 0
je 0x140061ae8
cmp qword [r15 + 0x18], 7
mov rcx, r15
jbe 0x140061a87
mov rcx, qword [r15]
xor esi, esi
movabs rax, 0x400000001003
mov rdx, rcx
jmp 0x140061aa6
cmp di, 0x3a
jne 0x140061aa0
xor ebx, ebx
add rdx, 2
mov esi, ebx
movzx edi, word [rdx]
mov ebx, edi
add ebx, 0xffffffd2
cmp bx, 0x2e
ja 0x140061ad7
movzx ebx, bx
bt rax, rbx
jae 0x140061ad7
cmp rdx, rcx
jbe 0x140061ad3
cmp di, 0x2e
jne 0x140061ad3
cmp word [rdx - 2], 0x2e
mov ebx, esi
jne 0x140061a98
jmp 0x140061ae8
mov ebx, esi
jmp 0x140061a98
mov bl, 1
test di, di
jne 0x140061a98
test sil, 1
jne 0x140061b6d
mov ecx, 2
call fcn.14003c410
test al, al
je 0x140061b4a
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rdi, [rsp + 0x158]
mov rcx, rdi
mov r8d, 0x63
mov r9d, 2
call fcn.14003c4c0
lea rcx, [rsp + 0x160]
lea rdx, str.Unsafe_directory_name_for_deletion:
call fcn.140002b70
cmp qword [r15 + 0x18], 7
jbe 0x140061b37
mov r15, qword [r15]
mov rcx, rax
mov rdx, r15
call fcn.14003d500
mov rcx, rdi
call fcn.14003c960
xor edi, edi
mov rcx, qword [rsp + 0x428]
xor rcx, rsp
call fcn.14014ac50
mov eax, edi
add rsp, 0x430
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140061bc5
test al, 0x10
jne 0x140061c4b
mov ecx, 2
call fcn.14003c410
test al, al
je 0x140061b4a
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rdi, [rsp + 0x158]
mov rcx, rdi
mov r8d, 0x73
mov r9d, 2
call fcn.14003c4c0
lea rcx, [rsp + 0x160]
lea rdx, str.Scheduled_directory_is_not_a_directory:
jmp 0x140061b28
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dil, 1
cmp eax, 2
je 0x140061b4c
mov ecx, 2
call fcn.14003c410
test al, al
je 0x140061b4a
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rdi, [rsp + 0x158]
mov rcx, rdi
mov r8d, 0x6d
mov r9d, 2
call fcn.14003d2f0
lea rcx, [rsp + 0x168]
lea rdx, str.Could_not_GetFileAttributes_for
call fcn.140002b70
cmp qword [r15 + 0x18], 7
jbe 0x140061c33
mov r15, qword [r15]
mov rcx, rax
mov rdx, r15
call fcn.14003d500
mov rcx, rdi
call fcn.14003d430
jmp 0x140061b4a
lea rdi, [rsp + 0x158]
mov rcx, rdi
mov rdx, r15
xor r8d, r8d
mov r9d, 1
call fcn.14005c4d0
lea rbx, [rsp + 0x138]
mov rcx, rdi
mov rdx, rbx
call fcn.14005c8c0
cmp qword [rbx + 0x10], 0
je 0x140061ccf
lea rdi, [rsp + 0x138]
lea r14, [rsp + 0x158]
lea rbx, [rsp + 0x28]
mov rcx, rdi
call fcn.140061870
test al, al
je 0x140061e05
mov rcx, r14
mov rdx, rbx
call fcn.14005c8c0
mov rcx, rdi
mov rdx, rbx
call fcn.1400324c0
mov rcx, rbx
call fcn.1400323e0
cmp qword [rsp + 0x148], 0
jne 0x140061c96
lea rcx, [rsp + 0x138]
call fcn.1400323e0
lea rcx, [rsp + 0x158]
call fcn.14005c760
lea rdi, [rsp + 0x158]
mov rcx, rdi
mov rdx, r15
xor r8d, r8d
mov r9d, 2
call fcn.14005c4d0
lea rbx, [rsp + 0x138]
mov rcx, rdi
mov rdx, rbx
call fcn.14005c8c0
cmp qword [rbx + 0x10], 0
je 0x140061d6d
lea rdi, [rsp + 0x138]
lea r14, [rsp + 0x158]
lea rbx, [rsp + 0x28]
mov rcx, rdi
call fcn.140061a50
test al, al
je 0x140061e45
mov rcx, r14
mov rdx, rbx
call fcn.14005c8c0
mov rcx, rdi
mov rdx, rbx
call fcn.1400324c0
mov rcx, rbx
call fcn.1400323e0
cmp qword [rsp + 0x148], 0
jne 0x140061d34
lea rcx, [rsp + 0x138]
call fcn.1400323e0
lea rcx, [rsp + 0x158]
call fcn.14005c760
mov rcx, r15
call fcn.140061870
mov dil, 1
test al, al
jne 0x140061b4c
mov ecx, 2
call fcn.14003c410
test al, al
je 0x140061b4c
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rbx, [rsp + 0x158]
mov rcx, rbx
mov r8d, 0x99
mov r9d, 2
call fcn.14003c4c0
lea rcx, [rsp + 0x160]
lea rdx, str.Failed_to_schedule_directory_for_deletion:
call fcn.140002b70
cmp qword [r15 + 0x18], 7
jbe 0x140061ded
mov r15, qword [r15]
mov rcx, rax
mov rdx, r15
call fcn.14003d500
mov rcx, rbx
call fcn.14003c960
jmp 0x140061b4c
mov ecx, 2
call fcn.14003c410
test al, al
je 0x140061eaa
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.14003c4c0
lea rcx, [rsp + 0x30]
lea rdx, str.Failed_to_schedule_file_for_deletion:
jmp 0x140061e7f
mov ecx, 2
call fcn.14003c410
test al, al
je 0x140061eaa
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.14003c4c0
lea rcx, [rsp + 0x30]
lea rdx, str.Failed_to_schedule_subdirectory_for_deletion:
call fcn.140002b70
cmp qword [rsp + 0x150], 7
jbe 0x140061e97
mov rdi, qword [rsp + 0x138]
mov rcx, rax
mov rdx, rdi
call fcn.14003d500
mov rcx, rsi
call fcn.14003c960
lea rcx, [rsp + 0x138]
call fcn.1400323e0
lea rcx, [rsp + 0x158]
call fcn.14005c760
jmp 0x140061b4a