Function at 0x140283d20
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 [0x140418038]
xor rax, rsp
mov qword [rsp + 0x190], rax
movzx eax, byte [rcx + 0x2f]
test al, al
jns 0x140283d54
mov rax, qword [rsi + 0x20]
test rax, rax
je 0x140283ea6
lea rbx, [rsi + 0x18]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x170]
mov qword [rdi + 0x10], rax
movaps xmm0, xmmword [0x1403aa440]
movaps xmmword [rdi], xmm0
mov rcx, rbx
mov rdx, rdi
call fcn.1401ddba0
mov rcx, rbx
call fcn.1400f1f70
test al, al
je 0x140283ebc
xor ebp, ebp
mov al, byte [rsi + 0x17]
test al, al
js 0x140283f3b
movzx ecx, al
test rcx, rcx
je 0x140283ee8
mov r13, qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov rbx, qword [sym.imp.KERNEL32.dll_GetLastError]
lea r14, str.....chromeinstallerutil_self_cleaning_temp_dir.cc
lea r15, [rsp + 0x30]
lea r12, str.Error_removing_directory
test bpl, 1
jne 0x140283e12
cmp byte [rsp + 0x187], 0
mov rcx, rdi
jns 0x140283df1
mov rcx, qword [rsp + 0x170]
call r13
test eax, eax
jne 0x140283e1a
mov ecx, 1
call fcn.1401de860
mov bpl, 1
test al, al
je 0x140283e12
call rbx
cmp eax, 0x91
jne 0x140283e4d
mov rcx, rdi
call fcn.1402819d0
mov rcx, rdi
mov rdx, rsi
call fcn.1400dff30
test al, al
jne 0x140283ee5
mov rcx, rdi
mov rdx, r15
call fcn.1401ddba0
mov rcx, rdi
mov rdx, r15
call fcn.1400dfef0
mov rcx, r15
call fcn.1401ddb90
jmp 0x140283dd6
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
mov rcx, r15
mov rdx, r14
mov r8d, 0x61
mov r9d, 1
call fcn.1402b3940
mov r8d, 0x19
lea rcx, [rsp + 0x40]
mov rdx, r12
call fcn.14027e630
cmp byte [rsp + 0x187], 0
mov rdx, rdi
js 0x140283f69
mov rcx, rax
call fcn.1402b3a80
mov rcx, r15
call fcn.1402b39c0
jmp 0x140283e12
mov ecx, 2
call fcn.1401de860
test al, al
jne 0x140283f76
xor esi, esi
jmp 0x140283f15
mov ecx, 1
call fcn.1401de860
test al, al
jne 0x140283fba
mov rcx, rbx
call fcn.140281bd0
mov bpl, 1
test al, al
jne 0x140283d9e
xor esi, esi
jmp 0x140283f08
mov al, byte [rsi + 0x17]
test al, al
js 0x140283f44
mov word [rsi], 0
mov byte [rsi + 0x17], 0
cmp byte [rsi + 0x2f], 0
js 0x140283f56
mov word [rsi + 0x18], 0
mov byte [rsi + 0x2f], 0
mov sil, 1
lea rcx, [rsp + 0x170]
call fcn.1401ddb90
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140242430
mov eax, esi
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rsi + 8]
jmp 0x140283dac
mov rax, qword [rsi]
mov word [rax], 0
mov qword [rsi + 8], 0
jmp 0x140283ef5
mov rax, qword [rsi + 0x18]
mov word [rax], 0
mov qword [rsi + 0x20], 0
jmp 0x140283f05
mov rdx, qword [rsp + 0x170]
jmp 0x140283e91
lea rdx, str.....chromeinstallerutil_self_cleaning_temp_dir.cc
lea rsi, [rsp + 0x30]
mov rcx, rsi
mov r8d, 0x48
mov r9d, 2
call fcn.1400e3550
lea rcx, [rsp + 0x40]
lea rdx, str.Attempting_to_Delete_an_uninitialized_SelfCleaningTempDir.
mov r8d, 0x3a
call fcn.14027e630
mov rcx, rsi
call fcn.1400e3a40
jmp 0x140283eb8
lea rdx, str.....chromeinstallerutil_self_cleaning_temp_dir.cc
lea r14, [rsp + 0x30]
mov rcx, r14
mov r8d, 0x54
mov r9d, 1
call fcn.1400e3550
lea rcx, [rsp + 0x40]
lea rdx, str.Failed_to_delete_temporary_directory
mov r8d, 0x25
call fcn.14027e630
mov rcx, rax
mov rdx, rbx
call fcn.1400e3f70
lea rdx, str.._Scheduling_for_deletion_at_reboot.
mov r8d, 0x24
mov rcx, rax
call fcn.14027e630
mov rcx, r14
call fcn.1400e3a40
jmp 0x140283ece