Function at 0x1401901f0
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 [0x140363040]
xor rax, rsp
mov qword [rsp + 0x448], rax
movsx rax, byte [rcx + 0x17]
mov rcx, rax
test rax, rax
jns 0x14019022c
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x1401902bf
mov rcx, rsi
test al, al
jns 0x14019023f
mov rcx, qword [rsi]
xor eax, eax
movabs rdx, 0x400000001003
xor r9d, r9d
mov r8, rcx
jmp 0x140190290
mov r11b, 1
test edi, edi
jne 0x14019027f
test r9b, 1
je 0x1401902bf
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14019068d
test al, 0x10
jne 0x140190348
jmp 0x14019063e
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 0x140190253
bt rdx, r11
jae 0x140190253
cmp r8, rcx
jbe 0x14019027c
cmp r10w, 0x2e
jne 0x14019027c
cmp word [r8 - 2], 0x2e
mov r11d, r9d
jne 0x14019027f
mov ecx, 2
call fcn.140106140
test al, al
je 0x14019031d
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rdi, [rsp + 0x180]
mov rcx, rdi
mov r8d, 0x65
mov r9d, 2
call fcn.14006f590
lea rcx, [rsp + 0x190]
lea rdx, str.Unsafe_directory_name_for_deletion:
mov r8d, 0x24
call fcn.1400e59c0
mov rcx, rax
mov rdx, rsi
call fcn.1400684e0
mov rcx, rdi
call fcn.14006fb80
xor edi, edi
mov rcx, qword [rsp + 0x448]
xor rcx, rsp
call fcn.140151210
mov eax, edi
movaps xmm6, xmmword [rsp + 0x450]
add rsp, 0x460
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rdi, [rsp + 0x180]
mov r8d, 0x2c8
mov rcx, rdi
mov dl, 0xaa
call fcn.140189d00
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9d, 1
call fcn.140062b80
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x160]
mov qword [rbx + 0x10], r15
movaps xmm6, xmmword [0x1402dffe0]
movaps xmmword [rbx], xmm6
mov rcx, rdi
mov rdx, rbx
call fcn.140062e00
movsx rax, byte [rbx + 0x17]
test rax, rax
jns 0x1401903b1
mov rax, qword [rsp + 0x168]
test rax, rax
je 0x140190414
lea rdi, [rsp + 0x160]
lea rbx, [rsp + 0x180]
lea r14, [rsp + 0x28]
mov rcx, rdi
call fcn.140190010
test al, al
je 0x1401905fc
mov rcx, rbx
mov rdx, r14
call fcn.140062e00
mov rcx, rdi
mov rdx, r14
call fcn.1400716d0
mov rcx, r14
call fcn.140106f00
movsx rax, byte [rsp + 0x177]
test rax, rax
jns 0x14019040f
mov rax, qword [rsp + 0x168]
test rax, rax
jne 0x1401903cb
lea rdi, [rsp + 0x160]
mov rcx, rdi
call fcn.140106f00
lea rcx, [rsp + 0x180]
call fcn.140062d40
lea rbx, [rsp + 0x180]
mov r8d, 0x2c8
mov rcx, rbx
mov dl, 0xaa
call fcn.140189d00
mov rcx, rbx
mov rdx, rsi
xor r8d, r8d
mov r9d, 2
call fcn.140062b80
mov qword [rdi + 0x10], r15
movaps xmmword [rdi], xmm6
lea rdi, [rsp + 0x160]
mov rcx, rbx
mov rdx, rdi
call fcn.140062e00
movsx rax, byte [rdi + 0x17]
test rax, rax
jns 0x140190489
mov rax, qword [rsp + 0x168]
test rax, rax
je 0x1401904ec
lea rdi, [rsp + 0x160]
lea rbx, [rsp + 0x180]
lea r14, [rsp + 0x28]
mov rcx, rdi
call fcn.1401901f0
test al, al
je 0x140190580
mov rcx, rbx
mov rdx, r14
call fcn.140062e00
mov rcx, rdi
mov rdx, r14
call fcn.1400716d0
mov rcx, r14
call fcn.140106f00
movsx rax, byte [rsp + 0x177]
test rax, rax
jns 0x1401904e7
mov rax, qword [rsp + 0x168]
test rax, rax
jne 0x1401904a3
lea rcx, [rsp + 0x160]
call fcn.140106f00
lea rcx, [rsp + 0x180]
call fcn.140062d40
mov rcx, rsi
call fcn.140190010
mov dil, 1
test al, al
jne 0x14019031f
mov ecx, 2
call fcn.140106140
test al, al
je 0x14019031f
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rbx, [rsp + 0x180]
mov rcx, rbx
mov r8d, reloc.SHELL32.dll_ILFree
mov r9d, 2
call fcn.14006f590
lea rcx, [rsp + 0x190]
lea rdx, str.Failed_to_schedule_directory_for_deletion:
mov r8d, 0x2b
call fcn.1400e59c0
mov rcx, rax
mov rdx, rsi
call fcn.1400684e0
mov rcx, rbx
call fcn.14006fb80
jmp 0x14019031f
mov ecx, 2
call fcn.140106140
test al, al
je 0x1401905dd
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x92
mov r9d, 2
call fcn.14006f590
lea rcx, [rsp + 0x38]
lea rdx, str.Failed_to_schedule_subdirectory_for_deletion:
mov r8d, 0x2e
call fcn.1400e59c0
lea rdx, [rsp + 0x160]
mov rcx, rax
call fcn.1400684e0
mov rcx, rsi
call fcn.14006fb80
lea rcx, [rsp + 0x160]
call fcn.140106f00
lea rcx, [rsp + 0x180]
call fcn.140062d40
jmp 0x14019031d
mov ecx, 2
call fcn.140106140
test al, al
je 0x1401905dd
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x83
mov r9d, 2
call fcn.14006f590
lea rcx, [rsp + 0x38]
lea rdx, str.Failed_to_schedule_file_for_deletion:
mov r8d, 0x26
jmp 0x1401905c0
mov ecx, 2
call fcn.140106140
test al, al
je 0x14019031d
lea rdx, str.....chromeinstallerutildelete_after_reboot_helper.cc
lea rdi, [rsp + 0x180]
mov rcx, rdi
mov r8d, 0x75
mov r9d, 2
call fcn.14006f590
lea rcx, [rsp + 0x190]
lea rdx, str.Scheduled_directory_is_not_a_directory:
mov r8d, 0x28
jmp 0x140190305
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dil, 1
cmp eax, 2
je 0x14019031f
mov ecx, 2
call fcn.140106140
test al, al
je 0x14019031d
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, 0x6f
mov r9d, 2
call fcn.1401c3e40
lea rcx, [rsp + 0x190]
lea rdx, str.Could_not_GetFileAttributes_for
mov r8d, 0x20
call fcn.1400e59c0
mov rcx, rax
mov rdx, rsi
call fcn.1400684e0
mov rcx, rdi
call fcn.1401c3ec0
jmp 0x14019031d