Function at 0x140061720
Capabilities:
Delete directory

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov rsi, rcx
mov rax, qword [0x14021b038]
xor rax, rsp
mov qword [rsp + 0x190], rax
movzx eax, byte [rcx + 0x2f]
test al, al
jns 0x140061754
mov rax, qword [rsi + 0x20]
test rax, rax
je 0x14006179b
lea r12, [rsi + 0x18]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x170]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x1401e90c0]
movaps xmmword [rbx], xmm0
mov rcx, r12
mov rdx, rbx
call fcn.1400e7140
mov rcx, r12
call fcn.140050400
test al, al
je 0x1400617ef
xor ebp, ebp
jmp 0x14006186f
mov ecx, 2
call fcn.1400e83a0
test al, al
je 0x1400617e8
lea rdx, str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x48
mov r9d, 2
call fcn.14004a130
lea rcx, [rsp + 0x40]
lea rdx, str.Attempting_to_Delete_an_uninitialized_SelfCleaningTempDir.
mov r8d, 0x3a
call fcn.1400dd7e0
mov rcx, rsi
call fcn.14004a5c0
xor esi, esi
jmp 0x1400619d7
mov ecx, 1
call fcn.1400e83a0
test al, al
je 0x14006185c
lea rdx, str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 0x54
mov r9d, 1
call fcn.14004a130
lea rcx, [rsp + 0x40]
lea rdx, str.Failed_to_delete_temporary_directory
mov r8d, 0x25
call fcn.1400dd7e0
mov rcx, rax
mov rdx, r12
call fcn.14004ab40
lea rdx, str.._Scheduling_for_deletion_at_reboot.
mov r8d, 0x24
mov rcx, rax
call fcn.1400dd7e0
mov rcx, rdi
call fcn.14004a5c0
mov rcx, r12
call fcn.14005d7c0
mov bpl, 1
test al, al
je 0x1400619c8
mov al, byte [rsi + 0x17]
test al, al
js 0x14006187b
movzx ecx, al
jmp 0x14006187f
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14006197c
mov r14, qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov r15, qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdi, [rsp + 0x30]
lea r13, str.Error_removing_directory
test bpl, 1
jne 0x14006193f
cmp byte [rsp + 0x187], 0
mov rcx, rbx
jns 0x1400618c1
mov rcx, qword [rsp + 0x170]
call r14
test eax, eax
jne 0x140061947
mov ecx, 1
call fcn.1400e83a0
mov bpl, 1
test al, al
je 0x14006193f
call r15
cmp eax, 0x91
je 0x14006193f
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.14015f200
mov r8d, 0x19
lea rcx, [rsp + 0x40]
mov rdx, r13
call fcn.1400dd7e0
cmp byte [rsp + 0x187], 0
mov rdx, rbx
jns 0x14006192f
mov rdx, qword [rsp + 0x170]
mov rcx, rax
call fcn.14015f330
mov rcx, rdi
call fcn.14015f280
mov rcx, rbx
call fcn.14005d5c0
mov rcx, rbx
mov rdx, rsi
call fcn.140047f10
test al, al
jne 0x140061979
mov rcx, rbx
mov rdx, rdi
call fcn.1400e7140
mov rcx, rbx
mov rdx, rdi
call fcn.1400e68b0
mov rcx, rdi
call fcn.1400e68a0
jmp 0x1400618a2
mov al, byte [rsi + 0x17]
test al, al
js 0x14006198b
mov word [rsi], 0
mov byte [rsi + 0x17], 0
jmp 0x14006199b
mov rax, qword [rsi]
mov word [rax], 0
mov qword [rsi + 8], 0
cmp byte [r12 + 0x17], 0
js 0x1400619b2
mov word [r12], 0
mov byte [r12 + 0x17], 0
jmp 0x1400619c3
mov rax, qword [rsi + 0x18]
mov word [rax], 0
mov qword [rsi + 0x20], 0
mov sil, 1
jmp 0x1400619ca
xor esi, esi
lea rcx, [rsp + 0x170]
call fcn.1400e68a0
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140111870
mov eax, esi
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret