Function at 0x1400a4464
Capabilities:
Delete directory

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r14
lea rbp, [rax - 0xa8]
sub rsp, 0x190
mov rax, qword [0x1401750b8]
xor rax, rsp
mov qword [rbp + 0x88], rax
xor edi, edi
mov r12, rcx
mov esi, edi
mov dword [rsp + 0x30], edi
cmp qword [rcx + 0x30], rdi
jne 0x1400a44f4
cmp dword [0x14017c080], 2
jg 0x1400a44dd
lea r9d, [rdi + 2]
lea r8d, [rdi + 0x48]
lea rdx, str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
lea rcx, [rsp + 0x38]
call fcn.1400681c0
lea rdx, str.Attempting_to_Delete_an_uninitialized_SelfCleaningTempDir.
lea rcx, [rax + 8]
call fcn.14002bcb4
lea esi, [rdi + 1]
test sil, 1
je 0x1400a44ed
lea rcx, [rsp + 0x38]
call fcn.140068220
xor al, al
jmp 0x1400a46c4
lea r14, [rcx + 0x20]
mov rcx, r14
lea rdx, [rbp + 0x48]
call fcn.14005a6a0
mov dl, 1
mov rcx, r14
mov bl, dil
call fcn.14004e490
test al, al
jne 0x1400a459f
mov ecx, 1
call fcn.140067fc0
test al, al
je 0x1400a457a
mov r9d, ecx
lea r8d, [rcx + 0x53]
lea rcx, [rsp + 0x38]
lea rdx, str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
call fcn.1400681c0
lea rdx, str.Failed_to_delete_temporary_directory
lea rcx, [rax + 8]
call fcn.14002bcb4
cmp qword [r14 + 0x18], 8
jb 0x1400a455b
mov rdx, qword [r14]
jmp 0x1400a455e
mov rdx, r14
mov rcx, rax
call fcn.140068e50
lea rdx, str.._Scheduling_for_deletion_at_reboot.
mov rcx, rax
call fcn.14002bcb4
mov esi, 2
test sil, 2
je 0x1400a458d
and esi, 0xfffffffd
lea rcx, [rsp + 0x38]
call fcn.140068220
mov rcx, r14
mov bl, 1
call fcn.140092ae4
test al, al
je 0x1400a46b8
cmp qword [r12 + 0x10], rdi
je 0x1400a468d
test bl, bl
jne 0x1400a464d
cmp qword [rbp + 0x60], 8
lea rcx, [rbp + 0x48]
cmovae rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1400a4656
lea ecx, [rax + 1]
call fcn.140067fc0
test al, al
je 0x1400a4638
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x91
je 0x1400a4638
or esi, 4
lea rbx, [rbp + 0x48]
cmp qword [rbp + 0x60], 8
cmovae rbx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, 1
lea rdx, str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
lea rcx, [rsp + 0x38]
mov dword [rsp + 0x20], eax
lea r8d, [r9 + 0x60]
call fcn.140068d00
lea rdx, str.Error_removing_directory
lea rcx, [rax + 0x10]
call fcn.14002bcb4
mov rcx, rax
mov rdx, rbx
call fcn.140068e50
test sil, 4
je 0x1400a464b
and esi, 0xfffffffb
lea rcx, [rsp + 0x38]
call fcn.140068d80
mov bl, 1
lea rcx, [rbp + 0x48]
call fcn.1400928e8
mov rdx, r12
lea rcx, [rbp + 0x48]
call fcn.140059b20
test al, al
jne 0x1400a468d
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x48]
call fcn.14005a6a0
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.140059a60
lea rcx, [rbp + 0x68]
call fcn.1400599c0
jmp 0x1400a45aa
cmp qword [r12 + 0x18], 8
mov qword [r12 + 0x10], rdi
jb 0x1400a469e
mov r12, qword [r12]
mov word [r12], di
cmp qword [r14 + 0x18], 8
mov qword [r14 + 0x10], rdi
jb 0x1400a46b1
mov r14, qword [r14]
mov word [r14], di
mov dil, 1
lea rcx, [rbp + 0x48]
call fcn.1400599c0
mov al, dil
mov rcx, qword [rbp + 0x88]
xor rcx, rsp
call fcn.140111850
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r12
pop rbp
ret