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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x450
mov r15, rcx
mov rax, qword [0x14020eb28]
xor rax, rsp
mov qword [rsp + 0x448], rax
movzx eax, byte [rcx + 0x17]
mov rcx, rax
test al, al
jns 0x140074852
mov rcx, qword [r15 + 8]
test rcx, rcx
je 0x1400748c0
mov rcx, r15
test al, al
jns 0x140074861
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 0x1400748a3
movzx edx, dx
bt r8, rdx
jae 0x1400748a3
cmp rbx, rcx
jbe 0x14007489f
cmp si, 0x2e
jne 0x14007489f
cmp word [rbx - 2], 0x2e
mov edx, edi
jne 0x1400748aa
jmp 0x1400748c0
mov edx, edi
jmp 0x1400748aa
mov dl, 1
test si, si
je 0x1400748ba
cmp si, 0x3a
movzx edi, dl
cmove edi, eax
add rbx, 2
jmp 0x140074872
test dil, 1
jne 0x1400748f5
mov ecx, 2
call fcn.140055330
test al, al
jne 0x140074bd7
xor edi, edi
mov rcx, qword [rsp + 0x448]
xor rcx, rsp
call fcn.140180700
mov eax, edi
add rsp, 0x450
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x140074953
test al, 0x10
jne 0x1400749df
mov ecx, 2
call fcn.140055330
test al, al
je 0x1400748d2
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.1400553e0
lea rcx, [rsp + 0x190]
lea rdx, str.Scheduled_directory_is_not_a_directory:
mov r8d, 0x28
jmp 0x140074c0f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dil, 1
cmp eax, 2
je 0x1400748d4
mov ecx, 2
call fcn.140055330
test al, al
je 0x1400748d2
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.140055fe0
lea rcx, [rsp + 0x190]
lea rdx, str.Could_not_GetFileAttributes_for
mov r8d, 0x20
call fcn.140006490
cmp byte [r15 + 0x17], 0
jns 0x1400749c7
mov r15, qword [r15]
mov rcx, rax
mov rdx, r15
call fcn.140056180
mov rcx, rdi
call fcn.1400560d0
jmp 0x1400748d2
lea rdi, [rsp + 0x180]
mov rcx, rdi
mov rdx, r15
xor r8d, r8d
mov r9d, 1
call fcn.14006b960
lea rbx, [rsp + 0x168]
mov rcx, rdi
mov rdx, rbx
call fcn.14006bc30
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x140074a1e
mov rax, qword [rsp + 0x170]
test rax, rax
je 0x140074a7f
lea rdi, [rsp + 0x168]
lea r14, [rsp + 0x180]
lea rbx, [rsp + 0x28]
mov rcx, rdi
call fcn.140074620
test al, al
je 0x140074c36
mov rcx, r14
mov rdx, rbx
call fcn.14006bc30
mov rcx, rdi
mov rdx, rbx
call fcn.1400506c0
mov rcx, rbx
call fcn.140050690
movzx eax, byte [rsp + 0x17f]
test al, al
jns 0x140074a7a
mov rax, qword [rsp + 0x170]
test rax, rax
jne 0x140074a38
lea rcx, [rsp + 0x168]
call fcn.140050690
lea rcx, [rsp + 0x180]
call fcn.14006bb30
lea rdi, [rsp + 0x180]
mov rcx, rdi
mov rdx, r15
xor r8d, r8d
mov r9d, 2
call fcn.14006b960
lea rbx, [rsp + 0x168]
mov rcx, rdi
mov rdx, rbx
call fcn.14006bc30
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x140074ad8
mov rax, qword [rsp + 0x170]
test rax, rax
je 0x140074b39
lea rdi, [rsp + 0x168]
lea r14, [rsp + 0x180]
lea rbx, [rsp + 0x28]
mov rcx, rdi
call fcn.140074820
test al, al
je 0x140074c78
mov rcx, r14
mov rdx, rbx
call fcn.14006bc30
mov rcx, rdi
mov rdx, rbx
call fcn.1400506c0
mov rcx, rbx
call fcn.140050690
movzx eax, byte [rsp + 0x17f]
test al, al
jns 0x140074b34
mov rax, qword [rsp + 0x170]
test rax, rax
jne 0x140074af2
lea rcx, [rsp + 0x168]
call fcn.140050690
lea rcx, [rsp + 0x180]
call fcn.14006bb30
mov rcx, r15
call fcn.140074620
mov dil, 1
test al, al
jne 0x1400748d4
mov ecx, 2
call fcn.140055330
test al, al
je 0x1400748d4
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.1400553e0
lea rcx, [rsp + 0x190]
lea rdx, str.Failed_to_schedule_directory_for_deletion:
mov r8d, 0x2b
call fcn.140006490
cmp byte [r15 + 0x17], 0
jns 0x140074bbf
mov r15, qword [r15]
mov rcx, rax
mov rdx, r15
call fcn.140056180
mov rcx, rbx
call fcn.140055870
jmp 0x1400748d4
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.1400553e0
lea rcx, [rsp + 0x190]
lea rdx, str.Unsafe_directory_name_for_deletion:
mov r8d, 0x24
call fcn.140006490
cmp byte [r15 + 0x17], 0
jns 0x140074c1e
mov r15, qword [r15]
mov rcx, rax
mov rdx, r15
call fcn.140056180
mov rcx, rdi
call fcn.140055870
jmp 0x1400748d2
mov ecx, 2
call fcn.140055330
test al, al
je 0x140074c86
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.1400553e0
lea rcx, [rsp + 0x38]
lea rdx, str.Failed_to_schedule_file_for_deletion:
mov r8d, 0x26
jmp 0x140074cd7
mov ecx, 2
call fcn.140055330
test al, al
jne 0x140074ca5
lea rcx, [rsp + 0x168]
call fcn.140050690
lea rcx, [rsp + 0x180]
call fcn.14006bb30
jmp 0x1400748d2
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.1400553e0
lea rcx, [rsp + 0x38]
lea rdx, str.Failed_to_schedule_subdirectory_for_deletion:
mov r8d, 0x2e
call fcn.140006490
cmp byte [rsp + 0x17f], 0
jns 0x140074cee
mov rdi, qword [rsp + 0x168]
mov rcx, rax
mov rdx, rdi
call fcn.140056180
mov rcx, rsi
call fcn.140055870
jmp 0x140074c86