Function at 0x140147cc0
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 [0x140448038]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x68]
mov qword [rbx], r14
mov rdx, rbx
call fcn.1401466b0
mov r12, qword [rbx]
test r12, r12
je 0x140147e70
lea rcx, [rsp + 0x50]
mov qword [rcx + 0x10], r14
movaps xmm0, xmmword [0x1403d47c0]
movaps xmmword [rcx], xmm0
call fcn.140207690
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x70], xmm0
mov r15, qword [r12 + 0x50]
mov r14, qword [r12 + 0x58]
cmp r15, r14
je 0x140147e5f
lea rbx, [rsp + 0x70]
mov rcx, r15
mov rdx, rbx
call fcn.14031c490
test al, al
jne 0x140147d64
add r15, 0x70
cmp r15, r14
jne 0x140147d49
mov r15, r14
cmp r15, qword [r12 + 0x58]
je 0x140147e5f
lea rdx, [r15 + 0x10]
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.140112fb0
mov r14, qword [r12 + 0x58]
cmp r14, r15
je 0x140147f6f
lea r13, [r15 + 0x70]
cmp r13, r14
je 0x140147e27
xor ebp, ebp
movups xmm0, xmmword [r13]
movups xmmword [r13 - 0x70], xmm0
lea rcx, [r13 - 0x60]
lea rdx, [r13 + 0x10]
call fcn.140207960
lea r15, [r13 - 0x48]
cmp byte [r13 - 0x31], 0
jns 0x140147dc7
mov rcx, qword [r15]
call fcn.1402523c4
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 0x140147d9d
mov r14, qword [r12 + 0x58]
add r13, 0xffffffffffffff90
mov r15, r13
jmp 0x140147e27
add r14, 0xffffffffffffff90
mov rcx, r14
call fcn.1402da170
cmp r14, r15
jne 0x140147e1b
mov qword [r12 + 0x58], r15
mov byte [r12 + 0x48], 1
cmp byte [rsp + 0x67], 0
jns 0x140147e43
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140147ea5
mov rcx, rdi
mov rdx, rsi
call fcn.14035a0e0
xor esi, esi
jmp 0x140147e64
mov esi, 1
lea rcx, [rsp + 0x50]
call fcn.140207950
jmp 0x140147e75
mov esi, 3
lea rcx, [rsp + 0x68]
call fcn.140147210
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140253b80
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.140206de0
test al, al
je 0x140147e64
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.1402d7130
lea rcx, [rsp + 0x80]
lea rdx, str.DeleteFile
mov r8d, ntohl
call fcn.140294040
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.1401fd710
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x140147f3f
mov r8, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rcx, rsi
mov rdx, rdi
call fcn.140294040
cmp byte [rsp + 0x4f], 0
jns 0x140147f5b
mov rcx, qword [rsp + 0x38]
call fcn.1402523c4
lea rcx, [rsp + 0x70]
call fcn.1402d71b0
mov esi, 2
jmp 0x140147e64
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, 0x65f
call fcn.1402984b0
int3