Function at 0x1400672e6
Capabilities:
Delete directory

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x188
mov rsi, rcx
mov rax, qword [0x1401b6b28]
xor rax, rsp
mov qword [rsp + 0x180], rax
movzx eax, byte [rcx + 0x2f]
test al, al
jns 0x14006731a
mov rax, qword [rsi + 0x20]
test rax, rax
je 0x140067349
lea r12, [rsi + 0x18]
lea rbx, [rsp + 0x168]
mov rcx, r12
mov rdx, rbx
call fcn.140044860
mov rcx, r12
call fcn.140056a90
test al, al
je 0x14006739d
xor ebp, ebp
jmp 0x140067429
mov ecx, 2
call fcn.1400481e0
test al, al
je 0x140067396
lea rdx, str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
lea rsi, [rsp + 0x28]
mov rcx, rsi
mov r8d, 0x48
mov r9d, 2
call fcn.140048290
lea rcx, [rsp + 0x30]
lea rdx, str.Attempting_to_Delete_an_uninitialized_SelfCleaningTempDir.
mov r8d, 0x3a
call fcn.140006489
mov rcx, rsi
call fcn.1400486f0
xor esi, esi
jmp 0x140067591
mov ecx, 1
call fcn.1400481e0
test al, al
je 0x140067416
lea rdx, str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
lea rdi, [rsp + 0x28]
mov rcx, rdi
mov r8d, 0x54
mov r9d, 1
call fcn.140048290
lea rcx, [rsp + 0x30]
lea rdx, str.Failed_to_delete_temporary_directory
mov r8d, 0x25
call fcn.140006489
cmp byte [r12 + 0x17], 0
mov rdx, r12
jns 0x1400673f1
mov rdx, qword [r12]
mov rcx, rax
call fcn.1400490b0
lea rdx, str.._Scheduling_for_deletion_at_reboot.
mov r8d, 0x24
mov rcx, rax
call fcn.140006489
mov rcx, rdi
call fcn.1400486f0
mov rcx, r12
call fcn.140062f9c
mov bpl, 1
test al, al
je 0x140067582
mov al, byte [rsi + 0x17]
test al, al
js 0x140067435
movzx ecx, al
jmp 0x140067439
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140067536
mov r14, qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov r15, qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdi, [rsp + 0x28]
lea r13, str.Error_removing_directory
test bpl, 1
jne 0x1400674f9
cmp byte [rsp + 0x17f], 0
mov rcx, rbx
jns 0x14006747b
mov rcx, qword [rsp + 0x168]
call r14
test eax, eax
jne 0x140067501
mov ecx, 1
call fcn.1400481e0
mov bpl, 1
test al, al
je 0x1400674f9
call r15
cmp eax, 0x91
je 0x1400674f9
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
mov rcx, rdi
lea rdx, str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
mov r8d, 0x61
mov r9d, 1
call fcn.140048f30
mov r8d, 0x19
lea rcx, [rsp + 0x38]
mov rdx, r13
call fcn.140006489
cmp byte [rsp + 0x17f], 0
mov rdx, rbx
jns 0x1400674e9
mov rdx, qword [rsp + 0x168]
mov rcx, rax
call fcn.1400490b0
mov rcx, rdi
call fcn.140049000
mov rcx, rbx
call fcn.140062da0
mov rcx, rbx
mov rdx, rsi
call fcn.140043e40
test al, al
jne 0x140067533
mov rcx, rbx
mov rdx, rdi
call fcn.140044860
mov rcx, rbx
mov rdx, rdi
call fcn.140043dd0
mov rcx, rdi
call fcn.140043da0
jmp 0x14006745c
mov al, byte [rsi + 0x17]
test al, al
js 0x140067545
mov word [rsi], 0
mov byte [rsi + 0x17], 0
jmp 0x140067555
mov rax, qword [rsi]
mov word [rax], 0
mov qword [rsi + 8], 0
cmp byte [r12 + 0x17], 0
js 0x14006756c
mov word [r12], 0
mov byte [r12 + 0x17], 0
jmp 0x14006757d
mov rax, qword [rsi + 0x18]
mov word [rax], 0
mov qword [rsi + 0x20], 0
mov sil, 1
jmp 0x140067584
xor esi, esi
lea rcx, [rsp + 0x168]
call fcn.140043da0
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140147fd0
mov eax, esi
add rsp, 0x188
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret