Function at 0x14009b120
Capabilities:
Delete file

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1b8
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140216028]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x68]
mov qword [rbx], r14
mov rdx, rbx
call fcn.140099af0
mov r12, qword [rbx]
test r12, r12
je 0x14009b1f6
lea rcx, [rsp + 0x50]
mov qword [rcx + 0x10], r14
movaps xmm0, xmmword [0x1401e7a90]
movaps xmmword [rcx], xmm0
call fcn.1400ebda0
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x70], xmm0
mov r15, qword [r12 + 0x50]
mov r14, qword [r12 + 0x58]
cmp r15, r14
je 0x14009b1fd
lea rbx, [rsp + 0x70]
mov rcx, r15
mov rdx, rbx
call fcn.14019d8a0
test al, al
jne 0x14009b1c0
add r15, 0x70
cmp r15, r14
jne 0x14009b1a5
mov r15, r14
cmp r15, qword [r12 + 0x58]
je 0x14009b1fd
lea rdx, [r15 + 0x10]
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.140072890
mov r14, qword [r12 + 0x58]
cmp r14, r15
je 0x14009b3e0
lea r13, [r15 + 0x70]
cmp r13, r14
je 0x14009b248
xor ebp, ebp
jmp 0x14009b2f8
mov esi, 3
jmp 0x14009b20c
mov esi, 1
lea rcx, [rsp + 0x50]
call fcn.1400ec090
lea rcx, [rsp + 0x68]
call fcn.14009a660
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140110d20
mov eax, esi
add rsp, 0x1b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
add r14, 0xffffffffffffff90
mov rcx, r14
call fcn.1401936e0
cmp r14, r15
jne 0x14009b23c
mov qword [r12 + 0x58], r15
mov byte [r12 + 0x48], 1
cmp byte [rsp + 0x67], 0
jns 0x14009b264
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14009b280
mov rcx, rdi
mov rdx, rsi
call fcn.14019b9b0
xor esi, esi
jmp 0x14009b202
mov esi, 2
mov ecx, 2
call fcn.1400eb510
test al, al
je 0x14009b202
jmp 0x14009b31c
mov r14, qword [r12 + 0x58]
add r13, 0xffffffffffffff90
mov r15, r13
jmp 0x14009b248
mov rcx, qword [r15]
call fcn.14010f794
mov rax, qword [r13 + 0x38]
mov qword [r15 + 0x10], rax
movups xmm0, xmmword [r13 + 0x28]
movups xmmword [r15], xmm0
mov byte [r13 + 0x3f], bpl
mov byte [r13 + 0x28], bpl
movups xmm0, xmmword [r13 + 0x40]
movups xmm1, xmmword [r13 + 0x50]
movups xmmword [r13 - 0x30], xmm0
movups xmmword [r13 - 0x20], xmm1
mov rax, qword [r13 + 0x60]
mov qword [r13 - 0x10], rax
mov eax, dword [r13 + 0x68]
mov dword [r13 - 8], eax
add r13, 0x70
cmp r13, r14
je 0x14009b29c
movups xmm0, xmmword [r13]
movups xmmword [r13 - 0x70], xmm0
lea rcx, [r13 - 0x60]
lea rdx, [r13 + 0x10]
call fcn.1400ec0a0
lea r15, [r13 - 0x48]
cmp byte [r13 - 0x31], 0
jns 0x14009b2b2
jmp 0x14009b2aa
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rcx, [rsp + 0x70]
mov r8d, 0x370
mov r9d, 2
call fcn.1401786f0
lea rcx, [rsp + 0x80]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.14014b5b0
mov rsi, rax
lea rax, [rsp + 0x50]
movzx ecx, byte [rax + 0x17]
mov r8d, ecx
and r8d, 0x7f
test cl, cl
mov rcx, qword [rax]
cmovns rcx, rax
lea rdx, [rsp + 0x28]
mov qword [rdx], rcx
cmovs r8, qword [rax + 8]
mov qword [rdx + 8], r8
lea rdi, [rsp + 0x38]
mov rcx, rdi
call fcn.1400e3490
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
js 0x14009b3a6
and r8d, 0x7f
jmp 0x14009b3b0
mov r8, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rcx, rsi
mov rdx, rdi
call fcn.14014b5b0
cmp byte [rsp + 0x4f], 0
jns 0x14009b3cc
mov rcx, qword [rsp + 0x38]
call fcn.14010f794
lea rcx, [rsp + 0x70]
call fcn.140178770
mov esi, 2
jmp 0x14009b202
lea rax, str.vector::erase_iterator__called_with_a_non_dereferenceable_iterator
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude_vector
lea r9, str.__position___end__
mov r8d, 0x660
call fcn.14014d6e0
int3