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

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x460
movaps xmmword [rsp + 0x450], xmm6
mov rsi, rcx
mov rax, qword [0x14039c038]
xor rax, rsp
mov qword [rsp + 0x448], rax
movzx eax, byte [rcx + 0x17]
test al, al
js 0x1401e569a
mov ecx, eax
and ecx, 0x7f
jmp 0x1401e569e
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1401e573f
mov rcx, rsi
test al, al
jns 0x1401e56b1
mov rcx, qword [rsi]
xor eax, eax
movabs rdx, 0x400000001003
xor r9d, r9d
mov r8, rcx
jmp 0x1401e5710
mov r11b, 1
test edi, edi
jne 0x1401e56ff
test r9b, 1
je 0x1401e573f
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1401e5778
test al, 0x10
jne 0x1401e57ee
mov ecx, 2
call fcn.140151cb0
test al, al
je 0x1401e574d
jmp 0x1401e59df
mov r11d, r9d
cmp r10w, 0x3a
movzx r9d, r11b
cmove r9d, eax
add r8, 2
movzx r10d, word [r8]
movzx edi, r10w
lea r11d, [rdi - 0x2e]
cmp r11d, 0x2e
ja 0x1401e56c5
bt rdx, r11
jae 0x1401e56c5
cmp r8, rcx
jbe 0x1401e56fc
cmp r10w, 0x2e
jne 0x1401e56fc
cmp word [r8 - 2], 0x2e
mov r11d, r9d
jne 0x1401e56ff
mov ecx, 2
call fcn.140151cb0
test al, al
jne 0x1401e5799
xor edi, edi
mov rcx, qword [rsp + 0x448]
xor rcx, rsp
call fcn.1401a2850
mov eax, edi
movaps xmm6, xmmword [rsp + 0x450]
add rsp, 0x460
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dil, 1
cmp eax, 2
je 0x1401e574f
mov ecx, 2
call fcn.140151cb0
test al, al
je 0x1401e574d
jmp 0x1401e5b4a
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rdi, [rsp + 0x180]
mov rcx, rdi
mov r8d, 0x64
mov r9d, 2
call fcn.1400882f0
lea rcx, [rsp + 0x190]
lea rdx, str.Unsafe_directory_name_for_deletion:
mov r8d, 0x24
call fcn.1401e2460
mov rcx, rax
mov rdx, rsi
call fcn.140088e60
mov rcx, rdi
call fcn.1400887d0
jmp 0x1401e574d
lea rdi, [rsp + 0x180]
mov r8d, 0x2c8
mov rcx, rdi
mov dl, 0xaa
call fcn.1401a49a0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9d, 1
call fcn.14007bdf0
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x160]
mov qword [rbx + 0x10], r15
movaps xmm6, xmmword [0x14032ae20]
movaps xmmword [rbx], xmm6
mov rcx, rdi
mov rdx, rbx
call fcn.14007c0c0
movzx eax, byte [rbx + 0x17]
test al, al
js 0x1401e5852
and eax, 0x7f
jmp 0x1401e585a
mov rax, qword [rsp + 0x168]
test rax, rax
je 0x1401e58f7
lea rdi, [rsp + 0x160]
lea rbx, [rsp + 0x180]
lea r14, [rsp + 0x28]
jmp 0x1401e5882
and eax, 0x7f
test rax, rax
je 0x1401e58f7
mov rcx, rdi
call fcn.1401e5480
test al, al
je 0x1401e5a1c
mov rcx, rbx
mov rdx, r14
call fcn.14007c0c0
mov rcx, rdi
mov rdx, r14
call fcn.140152970
mov rcx, r14
call fcn.1401528f0
movzx eax, byte [rsp + 0x177]
test al, al
jns 0x1401e587a
mov rax, qword [rsp + 0x168]
jmp 0x1401e587d
mov ecx, 2
call fcn.140151cb0
test al, al
jne 0x1401e5a62
lea rcx, [rsp + 0x160]
call fcn.1401528f0
lea rcx, [rsp + 0x180]
call fcn.14007c000
jmp 0x1401e574d
lea rdi, [rsp + 0x160]
mov rcx, rdi
call fcn.1401528f0
lea rcx, [rsp + 0x180]
call fcn.14007c000
lea rbx, [rsp + 0x180]
mov r8d, 0x2c8
mov rcx, rbx
mov dl, 0xaa
call fcn.1401a49a0
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
mov r9d, 2
call fcn.14007bdf0
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
lea rdi, [rsp + 0x160]
mov rcx, rbx
mov rdx, rdi
call fcn.14007c0c0
movzx eax, byte [rdi + 0x17]
test al, al
js 0x1401e5967
and eax, 0x7f
jmp 0x1401e596f
mov rax, qword [rsp + 0x168]
test rax, rax
je 0x1401e5ab6
lea rdi, [rsp + 0x160]
lea rbx, [rsp + 0x180]
lea r14, [rsp + 0x28]
jmp 0x1401e599b
and eax, 0x7f
test rax, rax
je 0x1401e5ab6
mov rcx, rdi
call fcn.1401e5660
test al, al
je 0x1401e58c6
mov rcx, rbx
mov rdx, r14
call fcn.14007c0c0
mov rcx, rdi
mov rdx, r14
call fcn.140152970
mov rcx, r14
call fcn.1401528f0
movzx eax, byte [rsp + 0x177]
test al, al
jns 0x1401e598f
mov rax, qword [rsp + 0x168]
jmp 0x1401e5992
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rdi, [rsp + 0x180]
mov rcx, rdi
mov r8d, 0x74
mov r9d, 2
call fcn.1400882f0
lea rcx, [rsp + 0x190]
lea rdx, str.Scheduled_directory_is_not_a_directory:
mov r8d, 0x28
jmp 0x1401e57d1
mov ecx, 2
call fcn.140151cb0
test al, al
je 0x1401e58d8
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x82
mov r9d, 2
call fcn.1400882f0
lea rcx, [rsp + 0x38]
lea rdx, str.Failed_to_schedule_file_for_deletion:
mov r8d, 0x26
jmp 0x1401e5a94
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x91
mov r9d, 2
call fcn.1400882f0
lea rcx, [rsp + 0x38]
lea rdx, str.Failed_to_schedule_subdirectory_for_deletion:
mov r8d, 0x2e
call fcn.1401e2460
lea rdx, [rsp + 0x160]
mov rcx, rax
call fcn.140088e60
mov rcx, rsi
call fcn.1400887d0
jmp 0x1401e58d8
lea rcx, [rsp + 0x160]
call fcn.1401528f0
lea rcx, [rsp + 0x180]
call fcn.14007c000
mov rcx, rsi
call fcn.1401e5480
mov dil, 1
test al, al
jne 0x1401e574f
mov ecx, 2
call fcn.140151cb0
test al, al
je 0x1401e574f
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rbx, [rsp + 0x180]
mov rcx, rbx
mov r8d, ILFree
mov r9d, 2
call fcn.1400882f0
lea rcx, [rsp + 0x190]
lea rdx, str.Failed_to_schedule_directory_for_deletion:
mov r8d, 0x2b
call fcn.1401e2460
mov rcx, rax
mov rdx, rsi
call fcn.140088e60
mov rcx, rbx
call fcn.1400887d0
jmp 0x1401e574f
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rdi, [rsp + 0x180]
mov rcx, rdi
mov r8d, 0x6e
mov r9d, 2
call fcn.140215ce0
lea rcx, [rsp + 0x190]
lea rdx, str.Could_not_GetFileAttributes_for
mov r8d, 0x20
call fcn.1401e2460
mov rcx, rax
mov rdx, rsi
call fcn.140088e60
mov rcx, rdi
call fcn.140215d60
jmp 0x1401e574d