Function at 0x140210560
Capabilities:
Delete file

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x1402b3040]
xor rax, rsp
mov qword [rsp + 0x190], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x48]
mov qword [rbx], rax
mov rdx, rbx
call fcn.14005b2d0
mov r12, qword [rbx]
test r12, r12
je 0x140210720
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], 0
movups xmm0, xmmword [rsi]
movaps xmmword [rsp + 0x50], xmm0
mov rbx, qword [r12 + 0x50]
mov r15, qword [r12 + 0x58]
cmp rbx, r15
je 0x1402105fb
lea r14, [rsp + 0x50]
mov rcx, rbx
mov rdx, r14
call fcn.14022a0a0
test al, al
jne 0x1402105f6
add rbx, 0x70
cmp rbx, r15
jne 0x1402105de
mov r15, qword [r12 + 0x58]
cmp rbx, r15
je 0x1402106be
lea rdx, [rbx + 0x10]
lea r14, [rsp + 0x30]
mov rcx, r14
call fcn.140012f20
mov r15, qword [r12 + 0x58]
cmp r15, rbx
je 0x1402107c7
lea r13, [rbx + 0x70]
cmp r13, r15
je 0x140210635
mov qword [rsp + 0x28], rsi
xor ebp, ebp
jmp 0x14021068a
mov r13, rbx
jmp 0x1402106d1
mov rcx, qword [rsi]
call fcn.14018f5a0
mov rax, qword [r13 + 0x38]
mov qword [rsi + 0x10], rax
movups xmm0, xmmword [r13 + 0x28]
movups xmmword [rsi], 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, r15
je 0x1402106ae
movups xmm0, xmmword [r13]
movups xmmword [r13 - 0x70], xmm0
lea rcx, [r13 - 0x60]
lea rdx, [r13 + 0x10]
call fcn.140069a80
lea rsi, [r13 - 0x48]
cmp byte [r13 - 0x31], 0
jns 0x140210645
jmp 0x14021063d
mov r15, qword [r12 + 0x58]
add r13, 0xffffffffffffff90
mov rsi, qword [rsp + 0x28]
jmp 0x1402106d1
mov esi, 1
jmp 0x14021070d
add r15, 0xffffffffffffff90
mov rcx, r15
call fcn.140211430
cmp r15, r13
jne 0x1402106c5
sub r13, rbx
add r13, rbx
mov qword [r12 + 0x58], r13
mov byte [r12 + 0x48], 1
cmp byte [rsp + 0x47], 0
jns 0x1402106f3
mov r14, qword [rsp + 0x30]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140210755
mov rcx, rdi
mov rdx, rsi
call fcn.1402286c0
xor esi, esi
cmp byte [rsp + 0x47], 0
jns 0x140210725
mov rcx, qword [rsp + 0x30]
call fcn.14018f5a0
jmp 0x140210725
mov esi, 3
lea rcx, [rsp + 0x48]
call fcn.14005a9b0
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140191d70
mov eax, esi
add rsp, 0x198
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.14018d910
test al, al
je 0x14021070d
call sub.KERNEL32.dll_GetLastError
mov dword [rsp + 0x20], eax
lea rdx, str....._third_partycrashpadcrashpadclientcrash_report_database_win.cc
lea rdi, [rsp + 0x50]
mov esi, 2
mov rcx, rdi
mov r8d, 0x36f
mov r9d, 2
call fcn.1401f8d80
lea rcx, [rsp + 0x60]
lea rdx, str.DeleteFile
mov r8d, Ordinal_14
call fcn.140172950
lea rdx, [rsp + 0x30]
mov rcx, rax
call fcn.1401f9c30
mov rcx, rdi
call fcn.1401f8df0
jmp 0x14021070d
lea rcx, [0x1402742d5]
lea rdx, str....._third_partylibc_srcinclude_vector:1547:_assertion___position___end___failed:_vector::erase_iterator__called_with_a_non_dereferenceable_iterator_n
call fcn.1401ceaf0
int3