Function at 0x140061b20
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 [0x1401e3a38]
xor rax, rsp
mov qword [rsp + 0x428], rax
cmp qword [rcx + 0x10], 0
je 0x140061bb8
cmp qword [r15 + 0x18], 7
mov rcx, r15
jbe 0x140061b57
mov rcx, qword [r15]
xor esi, esi
movabs rax, 0x400000001003
mov rdx, rcx
jmp 0x140061b76
cmp di, 0x3a
jne 0x140061b70
xor ebx, ebx
add rdx, 2
mov esi, ebx
movzx edi, word [rdx]
mov ebx, edi
add ebx, 0xffffffd2
cmp bx, 0x2e
ja 0x140061ba7
movzx ebx, bx
bt rax, rbx
jae 0x140061ba7
cmp rdx, rcx
jbe 0x140061ba3
cmp di, 0x2e
jne 0x140061ba3
cmp word [rdx - 2], 0x2e
mov ebx, esi
jne 0x140061b68
jmp 0x140061bb8
mov ebx, esi
jmp 0x140061b68
mov bl, 1
test di, di
jne 0x140061b68
test sil, 1
jne 0x140061c3d
mov ecx, 2
call fcn.14003be50
test al, al
je 0x140061c1a
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.14003bf00
lea rcx, [rsp + 0x160]
lea rdx, str.Unsafe_directory_name_for_deletion:
call fcn.140002b70
cmp qword [r15 + 0x18], 7
jbe 0x140061c07
mov r15, qword [r15]
mov rcx, rax
mov rdx, r15
call fcn.14003cf40
mov rcx, rdi
call fcn.14003c3a0
xor edi, edi
mov rcx, qword [rsp + 0x428]
xor rcx, rsp
call fcn.14014b5e0
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 0x140061c95
test al, 0x10
jne 0x140061d1b
mov ecx, 2
call fcn.14003be50
test al, al
je 0x140061c1a
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.14003bf00
lea rcx, [rsp + 0x160]
lea rdx, str.Scheduled_directory_is_not_a_directory:
jmp 0x140061bf8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dil, 1
cmp eax, 2
je 0x140061c1c
mov ecx, 2
call fcn.14003be50
test al, al
je 0x140061c1a
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.14003cd30
lea rcx, [rsp + 0x168]
lea rdx, str.Could_not_GetFileAttributes_for
call fcn.140002b70
cmp qword [r15 + 0x18], 7
jbe 0x140061d03
mov r15, qword [r15]
mov rcx, rax
mov rdx, r15
call fcn.14003cf40
mov rcx, rdi
call fcn.14003ce70
jmp 0x140061c1a
lea rdi, [rsp + 0x158]
mov rcx, rdi
mov rdx, r15
xor r8d, r8d
mov r9d, 1
call fcn.14005c5f0
lea rbx, [rsp + 0x138]
mov rcx, rdi
mov rdx, rbx
call fcn.14005c9e0
cmp qword [rbx + 0x10], 0
je 0x140061d9f
lea rdi, [rsp + 0x138]
lea r14, [rsp + 0x158]
lea rbx, [rsp + 0x28]
mov rcx, rdi
call fcn.140061940
test al, al
je 0x140061ed5
mov rcx, r14
mov rdx, rbx
call fcn.14005c9e0
mov rcx, rdi
mov rdx, rbx
call fcn.140032540
mov rcx, rbx
call fcn.140032460
cmp qword [rsp + 0x148], 0
jne 0x140061d66
lea rcx, [rsp + 0x138]
call fcn.140032460
lea rcx, [rsp + 0x158]
call fcn.14005c880
lea rdi, [rsp + 0x158]
mov rcx, rdi
mov rdx, r15
xor r8d, r8d
mov r9d, 2
call fcn.14005c5f0
lea rbx, [rsp + 0x138]
mov rcx, rdi
mov rdx, rbx
call fcn.14005c9e0
cmp qword [rbx + 0x10], 0
je 0x140061e3d
lea rdi, [rsp + 0x138]
lea r14, [rsp + 0x158]
lea rbx, [rsp + 0x28]
mov rcx, rdi
call fcn.140061b20
test al, al
je 0x140061f15
mov rcx, r14
mov rdx, rbx
call fcn.14005c9e0
mov rcx, rdi
mov rdx, rbx
call fcn.140032540
mov rcx, rbx
call fcn.140032460
cmp qword [rsp + 0x148], 0
jne 0x140061e04
lea rcx, [rsp + 0x138]
call fcn.140032460
lea rcx, [rsp + 0x158]
call fcn.14005c880
mov rcx, r15
call fcn.140061940
mov dil, 1
test al, al
jne 0x140061c1c
mov ecx, 2
call fcn.14003be50
test al, al
je 0x140061c1c
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.14003bf00
lea rcx, [rsp + 0x160]
lea rdx, str.Failed_to_schedule_directory_for_deletion:
call fcn.140002b70
cmp qword [r15 + 0x18], 7
jbe 0x140061ebd
mov r15, qword [r15]
mov rcx, rax
mov rdx, r15
call fcn.14003cf40
mov rcx, rbx
call fcn.14003c3a0
jmp 0x140061c1c
mov ecx, 2
call fcn.14003be50
test al, al
je 0x140061f7a
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.14003bf00
lea rcx, [rsp + 0x30]
lea rdx, str.Failed_to_schedule_file_for_deletion:
jmp 0x140061f4f
mov ecx, 2
call fcn.14003be50
test al, al
je 0x140061f7a
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.14003bf00
lea rcx, [rsp + 0x30]
lea rdx, str.Failed_to_schedule_subdirectory_for_deletion:
call fcn.140002b70
cmp qword [rsp + 0x150], 7
jbe 0x140061f67
mov rdi, qword [rsp + 0x138]
mov rcx, rax
mov rdx, rdi
call fcn.14003cf40
mov rcx, rsi
call fcn.14003c3a0
lea rcx, [rsp + 0x138]
call fcn.140032460
lea rcx, [rsp + 0x158]
call fcn.14005c880
jmp 0x140061c1a