Function at 0x14004cfe9
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 [0x14017b750]
xor rax, rsp
mov qword [rsp + 0x428], rax
cmp qword [rcx + 0x10], 0
je 0x14004d089
cmp qword [r15 + 0x18], 7
mov rcx, r15
jbe 0x14004d020
mov rcx, qword [r15]
xor esi, esi
movabs r8, 0x400000001003
mov rdx, rcx
jmp 0x14004d041
movzx eax, di
cmp eax, 0x3a
jne 0x14004d03b
xor ebx, ebx
add rdx, 2
mov esi, ebx
movzx edi, word [rdx]
mov ebx, edi
add ebx, 0xffffffd2
movzx eax, bx
cmp eax, 0x2e
ja 0x14004d078
movzx eax, bx
bt r8, rax
jae 0x14004d078
cmp rdx, rcx
jbe 0x14004d074
movzx eax, di
cmp eax, 0x2e
jne 0x14004d074
movzx eax, word [rdx - 2]
mov ebx, esi
cmp eax, 0x2e
jne 0x14004d031
jmp 0x14004d089
mov ebx, esi
jmp 0x14004d031
mov bl, 1
test di, di
jne 0x14004d031
test sil, 1
jne 0x14004d10e
mov ecx, 2
call fcn.140037700
test al, al
je 0x14004d0eb
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rdi, [rsp + 0x158]
mov r8d, 0x63
mov r9d, 2
mov rcx, rdi
call fcn.1400377b0
lea rcx, [rsp + 0x160]
lea rdx, str.Unsafe_directory_name_for_deletion:
call fcn.140002c8d
cmp qword [r15 + 0x18], 7
jbe 0x14004d0d8
mov r15, qword [r15]
mov rcx, rax
mov rdx, r15
call fcn.140038e50
mov rcx, rdi
call fcn.140037c30
xor edi, edi
mov rcx, qword [rsp + 0x428]
xor rcx, rsp
call fcn.14011a890
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 0x14004d166
test al, 0x10
jne 0x14004d1ec
mov ecx, 2
call fcn.140037700
test al, al
je 0x14004d0eb
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rdi, [rsp + 0x158]
mov r8d, 0x73
mov r9d, 2
mov rcx, rdi
call fcn.1400377b0
lea rcx, [rsp + 0x160]
lea rdx, str.Scheduled_directory_is_not_a_directory:
jmp 0x14004d0c9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dil, 1
cmp eax, 2
je 0x14004d0ed
mov ecx, 2
call fcn.140037700
test al, al
je 0x14004d0eb
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 r8d, 0x6d
mov r9d, 2
mov rcx, rdi
call fcn.140038c40
lea rcx, [rsp + 0x168]
lea rdx, str.Could_not_GetFileAttributes_for
call fcn.140002c8d
cmp qword [r15 + 0x18], 7
jbe 0x14004d1d4
mov r15, qword [r15]
mov rcx, rax
mov rdx, r15
call fcn.140038e50
mov rcx, rdi
call fcn.140038d80
jmp 0x14004d0eb
lea rdi, [rsp + 0x158]
xor r8d, r8d
mov r9d, 1
mov rcx, rdi
mov rdx, r15
call fcn.14002e100
lea rbx, [rsp + 0x138]
mov rcx, rdi
mov rdx, rbx
call fcn.14002e4a0
cmp qword [rbx + 0x10], 0
je 0x14004d270
lea rdi, [rsp + 0x138]
lea r14, [rsp + 0x158]
lea rbx, [rsp + 0x30]
mov rcx, rdi
call fcn.14004ce08
test al, al
je 0x14004d3a6
mov rcx, r14
mov rdx, rbx
call fcn.14002e4a0
mov rcx, rdi
mov rdx, rbx
call fcn.14002ef10
mov rcx, rbx
call fcn.14002ee30
cmp qword [rsp + 0x148], 0
jne 0x14004d237
lea rcx, [rsp + 0x138]
call fcn.14002ee30
lea rcx, [rsp + 0x158]
call fcn.14002e360
lea rdi, [rsp + 0x158]
xor r8d, r8d
mov r9d, 2
mov rcx, rdi
mov rdx, r15
call fcn.14002e100
lea rbx, [rsp + 0x138]
mov rcx, rdi
mov rdx, rbx
call fcn.14002e4a0
cmp qword [rbx + 0x10], 0
je 0x14004d30e
lea rdi, [rsp + 0x138]
lea r14, [rsp + 0x158]
lea rbx, [rsp + 0x30]
mov rcx, rdi
call fcn.14004cfe9
test al, al
je 0x14004d3e6
mov rcx, r14
mov rdx, rbx
call fcn.14002e4a0
mov rcx, rdi
mov rdx, rbx
call fcn.14002ef10
mov rcx, rbx
call fcn.14002ee30
cmp qword [rsp + 0x148], 0
jne 0x14004d2d5
lea rcx, [rsp + 0x138]
call fcn.14002ee30
lea rcx, [rsp + 0x158]
call fcn.14002e360
mov rcx, r15
call fcn.14004ce08
mov dil, 1
test al, al
jne 0x14004d0ed
mov ecx, 2
call fcn.140037700
test al, al
je 0x14004d0ed
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rbx, [rsp + 0x158]
mov r8d, 0x99
mov r9d, 2
mov rcx, rbx
call fcn.1400377b0
lea rcx, [rsp + 0x160]
lea rdx, str.Failed_to_schedule_directory_for_deletion:
call fcn.140002c8d
cmp qword [r15 + 0x18], 7
jbe 0x14004d38e
mov r15, qword [r15]
mov rcx, rax
mov rdx, r15
call fcn.140038e50
mov rcx, rbx
call fcn.140037c30
jmp 0x14004d0ed
mov ecx, 2
call fcn.140037700
test al, al
je 0x14004d44b
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rsi, [rsp + 0x30]
mov r8d, 0x81
mov r9d, 2
mov rcx, rsi
call fcn.1400377b0
lea rcx, [rsp + 0x38]
lea rdx, str.Failed_to_schedule_file_for_deletion:
jmp 0x14004d420
mov ecx, 2
call fcn.140037700
test al, al
je 0x14004d44b
lea rdx, str..._.._chrome_installer_util_delete_after_reboot_helper.cc
lea rsi, [rsp + 0x30]
mov r8d, 0x90
mov r9d, 2
mov rcx, rsi
call fcn.1400377b0
lea rcx, [rsp + 0x38]
lea rdx, str.Failed_to_schedule_subdirectory_for_deletion:
call fcn.140002c8d
cmp qword [rsp + 0x150], 7
jbe 0x14004d438
mov rdi, qword [rsp + 0x138]
mov rcx, rax
mov rdx, rdi
call fcn.140038e50
mov rcx, rsi
call fcn.140037c30
lea rcx, [rsp + 0x138]
call fcn.14002ee30
lea rcx, [rsp + 0x158]
call fcn.14002e360
jmp 0x14004d0eb