Function at 0x14009d1b0
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.14009bba0
mov r12, qword [rbx]
test r12, r12
je 0x14009d360
lea rcx, [rsp + 0x50]
mov qword [rcx + 0x10], r14
movaps xmm0, xmmword [0x1401ec750]
movaps xmmword [rcx], xmm0
call fcn.1400ecf60
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x70], xmm0
mov r15, qword [r12 + 0x50]
mov r14, qword [r12 + 0x58]
cmp r15, r14
je 0x14009d34f
lea rbx, [rsp + 0x70]
mov rcx, r15
mov rdx, rbx
call fcn.14019d330
test al, al
jne 0x14009d254
add r15, 0x70
cmp r15, r14
jne 0x14009d239
mov r15, r14
cmp r15, qword [r12 + 0x58]
je 0x14009d34f
lea rdx, [r15 + 0x10]
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400ed260
mov r14, qword [r12 + 0x58]
cmp r14, r15
je 0x14009d45f
lea r13, [r15 + 0x70]
cmp r13, r14
je 0x14009d317
xor ebp, ebp
movups xmm0, xmmword [r13]
movups xmmword [r13 - 0x70], xmm0
lea rcx, [r13 - 0x60]
lea rdx, [r13 + 0x10]
call fcn.1400ed2c0
lea r15, [r13 - 0x48]
cmp byte [r13 - 0x31], 0
jns 0x14009d2b7
mov rcx, qword [r15]
call fcn.14010f324
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
jne 0x14009d28d
mov r14, qword [r12 + 0x58]
add r13, 0xffffffffffffff90
mov r15, r13
jmp 0x14009d317
add r14, 0xffffffffffffff90
mov rcx, r14
call fcn.1401934a0
cmp r14, r15
jne 0x14009d30b
mov qword [r12 + 0x58], r15
mov byte [r12 + 0x48], 1
cmp byte [rsp + 0x67], 0
jns 0x14009d333
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14009d395
mov rcx, rdi
mov rdx, rsi
call fcn.14019b450
xor esi, esi
jmp 0x14009d354
mov esi, 1
lea rcx, [rsp + 0x50]
call fcn.1400ed250
jmp 0x14009d365
mov esi, 3
lea rcx, [rsp + 0x68]
call fcn.14009c700
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140110830
mov eax, esi
add rsp, 0x1b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov esi, 2
mov ecx, 2
call fcn.1400ec6c0
test al, al
je 0x14009d354
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.140177ec0
lea rcx, [rsp + 0x80]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.14014b340
mov rsi, rax
lea rax, [rsp + 0x50]
movzx ecx, byte [rax + 0x17]
test cl, cl
mov r8, qword [rax]
cmovns r8, rax
lea rdx, [rsp + 0x28]
mov qword [rdx], r8
cmovs rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
lea rdi, [rsp + 0x38]
mov rcx, rdi
call fcn.1400e4110
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x14009d42f
mov r8, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rcx, rsi
mov rdx, rdi
call fcn.14014b340
cmp byte [rsp + 0x4f], 0
jns 0x14009d44b
mov rcx, qword [rsp + 0x38]
call fcn.14010f324
lea rcx, [rsp + 0x70]
call fcn.140177f40
mov esi, 2
jmp 0x14009d354
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, 0x65e
call fcn.14014d850
int3