Function at 0x140147e70
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 [0x14044f038]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x68]
mov qword [rbx], r14
mov rdx, rbx
call fcn.140146860
mov r12, qword [rbx]
test r12, r12
je 0x140148020
lea rcx, [rsp + 0x50]
mov qword [rcx + 0x10], r14
movaps xmm0, xmmword [0x1403db8a0]
movaps xmmword [rcx], xmm0
call fcn.14020a520
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x70], xmm0
mov r15, qword [r12 + 0x50]
mov r14, qword [r12 + 0x58]
cmp r15, r14
je 0x14014800f
lea rbx, [rsp + 0x70]
mov rcx, r15
mov rdx, rbx
call fcn.140323040
test al, al
jne 0x140147f14
add r15, 0x70
cmp r15, r14
jne 0x140147ef9
mov r15, r14
cmp r15, qword [r12 + 0x58]
je 0x14014800f
lea rdx, [r15 + 0x10]
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.14020a820
mov r14, qword [r12 + 0x58]
cmp r14, r15
je 0x14014811f
lea r13, [r15 + 0x70]
cmp r13, r14
je 0x140147fd7
xor ebp, ebp
movups xmm0, xmmword [r13]
movups xmmword [r13 - 0x70], xmm0
lea rcx, [r13 - 0x60]
lea rdx, [r13 + 0x10]
call fcn.14020a880
lea r15, [r13 - 0x48]
cmp byte [r13 - 0x31], 0
jns 0x140147f77
mov rcx, qword [r15]
call fcn.140258e54
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 0x140147f4d
mov r14, qword [r12 + 0x58]
add r13, 0xffffffffffffff90
mov r15, r13
jmp 0x140147fd7
add r14, 0xffffffffffffff90
mov rcx, r14
call fcn.1402e0e50
cmp r14, r15
jne 0x140147fcb
mov qword [r12 + 0x58], r15
mov byte [r12 + 0x48], 1
cmp byte [rsp + 0x67], 0
jns 0x140147ff3
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140148055
mov rcx, rdi
mov rdx, rsi
call fcn.140360150
xor esi, esi
jmp 0x140148014
mov esi, 1
lea rcx, [rsp + 0x50]
call fcn.14020a810
jmp 0x140148025
mov esi, 3
lea rcx, [rsp + 0x68]
call fcn.1401473c0
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.14025a610
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.140209bc0
test al, al
je 0x140148014
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.1402dddc0
lea rcx, [rsp + 0x80]
lea rdx, str.DeleteFile
mov r8d, ntohl
call fcn.14029aae0
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.1401ff8f0
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x1401480ef
mov r8, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rcx, rsi
mov rdx, rdi
call fcn.14029aae0
cmp byte [rsp + 0x4f], 0
jns 0x14014810b
mov rcx, qword [rsp + 0x38]
call fcn.140258e54
lea rcx, [rsp + 0x70]
call fcn.1402dde40
mov esi, 2
jmp 0x140148014
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.14029ef60
int3