Function at 0x14012db40
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 [0x140418038]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x68]
mov qword [rbx], r14
mov rdx, rbx
call fcn.14012c520
mov r12, qword [rbx]
test r12, r12
je 0x14012dcf0
lea rcx, [rsp + 0x50]
mov qword [rcx + 0x10], r14
movaps xmm0, xmmword [0x1403aa440]
movaps xmmword [rcx], xmm0
call fcn.1401dd8e0
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x70], xmm0
mov r15, qword [r12 + 0x50]
mov r14, qword [r12 + 0x58]
cmp r15, r14
je 0x14012dcdf
lea rbx, [rsp + 0x70]
mov rcx, r15
mov rdx, rbx
call fcn.1402fd580
test al, al
jne 0x14012dbe4
add r15, 0x70
cmp r15, r14
jne 0x14012dbc9
mov r15, r14
cmp r15, qword [r12 + 0x58]
je 0x14012dcdf
lea rdx, [r15 + 0x10]
lea rbx, [rsp + 0x50]
mov rcx, rbx
call fcn.1400dfe80
mov r14, qword [r12 + 0x58]
cmp r14, r15
je 0x14012ddfc
lea r13, [r15 + 0x70]
cmp r13, r14
je 0x14012dca7
xor ebp, ebp
movups xmm0, xmmword [r13]
movups xmmword [r13 - 0x70], xmm0
lea rcx, [r13 - 0x60]
lea rdx, [r13 + 0x10]
call fcn.1400dfef0
lea r15, [r13 - 0x48]
cmp byte [r13 - 0x31], 0
jns 0x14012dc47
mov rcx, qword [r15]
call fcn.140240d14
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 0x14012dc1d
mov r14, qword [r12 + 0x58]
add r13, 0xffffffffffffff90
mov r15, r13
jmp 0x14012dca7
add r14, 0xffffffffffffff90
mov rcx, r14
call fcn.1402bf950
cmp r14, r15
jne 0x14012dc9b
mov qword [r12 + 0x58], r15
mov byte [r12 + 0x48], 1
cmp byte [rsp + 0x67], 0
jns 0x14012dcc3
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x14012dd25
mov rcx, rdi
mov rdx, rsi
call fcn.14033a790
xor esi, esi
jmp 0x14012dce4
mov esi, 1
lea rcx, [rsp + 0x50]
call fcn.1401ddb90
jmp 0x14012dcf5
mov esi, 3
lea rcx, [rsp + 0x68]
call fcn.14012d0a0
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140242430
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.1401de860
test al, al
je 0x14012dce4
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.1402b3940
lea rcx, [rsp + 0x80]
lea rdx, str.DeleteFile
mov r8d, ntohl
call fcn.14027e630
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.1401e9a30
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x14012ddc8
mov r8, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
jmp 0x14012ddcc
and r8d, 0x7f
mov rcx, rsi
mov rdx, rdi
call fcn.14027e630
cmp byte [rsp + 0x4f], 0
jns 0x14012dde8
mov rcx, qword [rsp + 0x38]
call fcn.140240d14
lea rcx, [rsp + 0x70]
call fcn.1402b39c0
mov esi, 2
jmp 0x14012dce4
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, 0x630
call fcn.140280b90
int3