Function at 0x140084874
Capabilities:
Delete directory

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1f8
mov r13, rcx
mov rax, qword [0x14030d038]
xor rax, rsp
mov qword [rsp + 0x1f0], rax
movzx eax, byte [rcx + 0x2f]
test al, al
jns 0x1400848a8
mov rax, qword [r13 + 0x20]
test rax, rax
je 0x1400848fa
lea rsi, [r13 + 0x18]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x1d0]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x1402ae190]
movaps xmmword [rbx], xmm0
mov rcx, rsi
mov rdx, rbx
call fcn.14000afb0
mov qword [rsp + 0x30], rsi
mov rcx, rsi
mov edx, 1
call fcn.140003e00
test al, al
je 0x14008494e
xor r12d, r12d
jmp 0x140084a3f
mov ecx, 2
call fcn.1400f34e0
test al, al
je 0x140084947
lea rdx, str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
lea rsi, [rsp + 0x60]
mov rcx, rsi
mov r8d, 0x4b
mov r9d, 2
call fcn.14019a740
lea rcx, [rsp + 0x70]
lea rdx, str.Attempting_to_Delete_an_uninitialized_SelfCleaningTempDir.
mov r8d, 0x3a
call fcn.1400ff874
mov rcx, rsi
call fcn.140001d00
xor esi, esi
jmp 0x140084c8a
mov ecx, 1
call fcn.1400f34e0
test al, al
je 0x140084a2a
lea rdx, str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
lea rcx, [rsp + 0x60]
mov r8d, 0x57
mov r9d, 1
call fcn.14019a740
lea rcx, [rsp + 0x70]
lea rdx, str.Failed_to_delete_temporary_directory
mov r8d, 0x25
call fcn.1400ff874
mov rdi, rax
mov rax, qword [rsp + 0x30]
cmp byte [rax + 0x17], 0
js 0x1400849c0
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx + 0x10]
mov qword [rsp + 0x1b0], rax
movups xmm0, xmmword [rcx]
movaps xmmword [rsp + 0x1a0], xmm0
jmp 0x1400849d5
mov rdx, qword [r13 + 0x18]
mov r8, qword [r13 + 0x20]
lea rcx, [rsp + 0x1a0]
call fcn.1400e6dd4
lea rbp, [rsp + 0x1b8]
lea rdx, [rsp + 0x1a0]
mov rcx, rbp
call fcn.1401d5e8d
mov rcx, rdi
mov rdx, rbp
call fcn.1401834e0
lea rdx, str.._Scheduling_for_deletion_at_reboot.
mov r8d, 0x24
mov rcx, rax
call fcn.1400ff874
cmp byte [rbp + 0x17], 0
jns 0x140084a20
mov rcx, qword [rsp + 0x1b8]
call fcn.140112038
lea rcx, [rsp + 0x60]
call fcn.140001d00
mov rcx, qword [rsp + 0x30]
call fcn.140080f5b
mov r12b, 1
test al, al
je 0x140084c7b
mov al, byte [r13 + 0x17]
test al, al
js 0x140084a4c
movzx ecx, al
jmp 0x140084a50
mov rcx, qword [r13 + 8]
test rcx, rcx
je 0x140084c27
movabs rax, 0x7fffffffffffffef
mov rsi, qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rbp, qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdi, [rsp + 0x60]
lea r14, [rsp + 0x48]
add rax, 0x11
mov qword [rsp + 0x38], rax
test r12b, 1
jne 0x140084be9
cmp byte [rsp + 0x1e7], 0
mov rcx, rbx
jns 0x140084aa3
mov rcx, qword [rsp + 0x1d0]
call rsi
test eax, eax
jne 0x140084bf1
mov ecx, 1
call fcn.1400f34e0
mov r12b, 1
test al, al
je 0x140084be9
call rbp
cmp eax, 0x91
je 0x140084be9
call rbp
mov dword [rsp + 0x20], eax
mov rcx, rdi
lea rdx, str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
mov r8d, 0x65
mov r9d, 1
call fcn.14019f9e0
mov r8d, 0x19
lea rcx, [rsp + 0x70]
lea rdx, str.Error_removing_directory
call fcn.1400ff874
mov r15, rax
cmp byte [rsp + 0x1e7], 0
mov rax, rbx
jns 0x140084b1f
mov rax, qword [rsp + 0x1d0]
mov rsi, rax
mov rcx, rax
call fcn.1401124ec
mov rbp, rax
movabs rax, 0x7fffffffffffffef
cmp rbp, rax
ja 0x140084cb0
mov qword [rsp + 0x40], r15
cmp rbp, 0xb
jae 0x140084b57
mov byte [rsp + 0x5f], bpl
test rbp, rbp
jne 0x140084b7f
jmp 0x140084b90
lea r15, [rbp + 8]
and r15, 0xfffffffffffffff8
lea rcx, [r15 + r15]
call fcn.140112048
mov r14, rax
mov qword [rsp + 0x48], rax
or r15, qword [rsp + 0x38]
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x50], rbp
mov r8, rbp
add r8, rbp
mov rcx, r14
mov rdx, rsi
call fcn.1401178b0
mov word [r14 + rbp*2], 0
lea rbp, [rsp + 0x1b8]
mov rcx, rbp
lea r14, [rsp + 0x48]
mov rdx, r14
call fcn.1401d5e8d
mov rcx, qword [rsp + 0x40]
mov rdx, rbp
call fcn.1401834e0
cmp byte [rsp + 0x1cf], 0
jns 0x140084bd3
mov rcx, qword [rsp + 0x1b8]
call fcn.140112038
mov rcx, rdi
call fcn.140183e60
mov rsi, qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rbp, qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rbx
call fcn.140080c30
mov rcx, rbx
mov rdx, r13
call fcn.1400e1b70
test al, al
jne 0x140084c23
mov rcx, rbx
mov rdx, rdi
call fcn.14000afb0
mov rcx, rbx
mov rdx, rdi
call fcn.1400f94f0
mov rcx, rdi
call fcn.1400e1350
jmp 0x140084a84
mov al, byte [r13 + 0x17]
test al, al
js 0x140084c39
mov word [r13], 0
mov byte [r13 + 0x17], 0
jmp 0x140084c4a
mov rax, qword [r13]
mov word [rax], 0
mov qword [r13 + 8], 0
mov rax, qword [rsp + 0x30]
cmp byte [rax + 0x17], 0
js 0x140084c65
mov rax, qword [rsp + 0x30]
mov word [rax], 0
mov byte [rax + 0x17], 0
jmp 0x140084c76
mov rax, qword [r13 + 0x18]
mov word [rax], 0
mov qword [r13 + 0x20], 0
mov sil, 1
jmp 0x140084c7d
xor esi, esi
lea rcx, [rsp + 0x1d0]
call fcn.1400e1350
mov rcx, qword [rsp + 0x1f0]
xor rcx, rsp
call fcn.140115e50
mov eax, esi
add rsp, 0x1f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x48]
call fcn.1401573b4
int3