Function at 0x14008fd62
Capabilities:
Delete directory

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x208
movaps xmmword [rsp + 0x1f0], xmm6
mov rsi, rcx
mov rax, qword [0x140267e38]
xor rax, rsp
mov qword [rsp + 0x1e8], rax
movzx eax, byte [rcx + 0x2f]
test al, al
jns 0x14008fd9e
mov rax, qword [rsi + 0x20]
test rax, rax
je 0x14008fdce
lea r12, [rsi + 0x18]
lea rbx, [rsp + 0x1d0]
mov rcx, r12
mov rdx, rbx
call fcn.14005c570
mov rcx, r12
call fcn.14007a370
test al, al
je 0x14008fe22
xor r15d, r15d
jmp 0x14008fef5
mov ecx, 2
call fcn.140060b40
test al, al
je 0x14008fe1b
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.140060c10
lea rcx, [rsp + 0x68]
lea rdx, str.Attempting_to_Delete_an_uninitialized_SelfCleaningTempDir.
mov r8d, 0x3a
call fcn.140007184
mov rcx, rsi
call fcn.140061070
xor esi, esi
jmp 0x140090165
mov ecx, 1
call fcn.140060b40
test al, al
je 0x14008fee2
lea rdx, str..._.._chrome_installer_util_self_cleaning_temp_dir.cc
lea rcx, [rsp + 0x60]
mov r8d, 0x57
mov r9d, 1
call fcn.140060c10
lea rcx, [rsp + 0x68]
lea rdx, str.Failed_to_delete_temporary_directory
mov r8d, 0x25
call fcn.140007184
mov r14, rax
lea rdi, [rsp + 0x1a0]
mov rcx, rdi
mov rdx, r12
call fcn.14003b7ee
lea rbp, [rsp + 0x1b8]
mov rcx, rbp
mov rdx, rdi
call fcn.14008d710
xor edi, edi
cmp byte [rbp + 0x17], dil
jns 0x14008fea1
mov rbp, qword [rsp + 0x1b8]
mov rcx, r14
mov rdx, rbp
call fcn.140061a30
lea rdx, str.._Scheduling_for_deletion_at_reboot.
mov r8d, 0x24
mov rcx, rax
call fcn.140007184
cmp byte [rsp + 0x1cf], dil
jns 0x14008fed8
mov rcx, qword [rsp + 0x1b8]
call fcn.1401c9f6c
lea rcx, [rsp + 0x60]
call fcn.140061070
mov rcx, r12
call fcn.14008acf2
mov r15b, 1
test al, al
je 0x140090156
mov al, byte [rsi + 0x17]
test al, al
js 0x14008ff01
movzx ecx, al
jmp 0x14008ff05
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x14009010a
mov rbp, qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov r14, qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdi, [rsp + 0x60]
xorps xmm6, xmm6
test r15b, 1
jne 0x1400900cd
cmp byte [rsp + 0x1e7], 0
mov rcx, rbx
jns 0x14008ff43
mov rcx, qword [rsp + 0x1d0]
call rbp
test eax, eax
jne 0x1400900d5
mov ecx, 1
call fcn.140060b40
mov r15b, 1
test al, al
je 0x1400900cd
call r14
cmp eax, 0x91
je 0x1400900cd
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, 0x65
mov r9d, 1
call fcn.1400618b0
mov r8d, 0x19
lea rcx, [rsp + 0x70]
lea rdx, str.Error_removing_directory
call fcn.140007184
mov r14, rax
cmp byte [rsp + 0x1e7], 0
mov rax, rbx
jns 0x14008ffc3
mov rax, qword [rsp + 0x1d0]
movaps xmmword [rsp + 0x40], xmm6
mov qword [rsp + 0x50], 0
mov r13, rax
mov rcx, rax
call fcn.1401eaef4
mov rbp, rax
movabs rax, 0x7fffffffffffffef
cmp rbp, rax
ja 0x140090193
cmp rbp, 0xb
mov qword [rsp + 0x38], r14
jae 0x14009000e
mov byte [rsp + 0x57], bpl
lea r14, [rsp + 0x40]
test rbp, rbp
jne 0x140090052
jmp 0x140090063
mov qword [rsp + 0x30], r12
lea r12, [rbp + 8]
and r12, 0xfffffffffffffff8
js 0x14009019d
lea rcx, [r12 + r12]
call fcn.1401c9f10
mov r14, rax
mov qword [rsp + 0x40], rax
movabs rax, 0x7fffffffffffffef
add rax, 0x11
or rax, r12
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rbp
mov r12, qword [rsp + 0x30]
mov r8, rbp
add r8, rbp
mov rcx, r14
mov rdx, r13
call fcn.1401cccd0
mov word [r14 + rbp*2], 0
lea rbp, [rsp + 0x1b8]
mov rcx, rbp
lea rdx, [rsp + 0x40]
call fcn.14008d710
xor eax, eax
cmp byte [rsp + 0x1cf], al
jns 0x140090092
mov rbp, qword [rsp + 0x1b8]
mov rcx, qword [rsp + 0x38]
mov rdx, rbp
call fcn.140061a30
xor eax, eax
cmp byte [rsp + 0x1cf], al
mov rbp, qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov r14, qword [sym.imp.KERNEL32.dll_GetLastError]
jns 0x1400900c5
mov rcx, qword [rsp + 0x1b8]
call fcn.1401c9f6c
mov rcx, rdi
call fcn.140061980
mov rcx, rbx
call fcn.14008aa40
mov rcx, rbx
mov rdx, rsi
call fcn.14005bb40
test al, al
jne 0x140090107
mov rcx, rbx
mov rdx, rdi
call fcn.14005c570
mov rcx, rbx
mov rdx, rdi
call fcn.14005bad0
mov rcx, rdi
call fcn.14005baa0
jmp 0x14008ff24
mov al, byte [rsi + 0x17]
test al, al
js 0x140090119
mov word [rsi], 0
mov byte [rsi + 0x17], 0
jmp 0x140090129
mov rax, qword [rsi]
mov word [rax], 0
mov qword [rsi + 8], 0
cmp byte [r12 + 0x17], 0
js 0x140090140
mov word [r12], 0
mov byte [r12 + 0x17], 0
jmp 0x140090151
mov rax, qword [rsi + 0x18]
mov word [rax], 0
mov qword [rsi + 0x20], 0
mov sil, 1
jmp 0x140090158
xor esi, esi
lea rcx, [rsp + 0x1d0]
call fcn.14005baa0
mov rcx, qword [rsp + 0x1e8]
xor rcx, rsp
call fcn.1401ca2e0
mov eax, esi
movaps xmm6, xmmword [rsp + 0x1f0]
add rsp, 0x208
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rcx, [rsp + 0x40]
call fcn.14003a95e
call fcn.1401dedf4
int3