Function at 0x140147470
Capabilities:
Delete file

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1b8
mov r15, rdx
mov r12, rcx
mov rax, qword [0x14030c028]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
movabs rdi, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x68]
mov qword [rsi], rdi
mov rdx, rsi
call fcn.14014595e
mov r13, qword [rsi]
test r13, r13
je 0x140147610
lea rcx, [rsp + 0x50]
mov qword [rcx + 0x10], rdi
movaps xmm0, xmmword [0x14029de10]
movaps xmmword [rcx], xmm0
call fcn.14001f0c0
movups xmm0, xmmword [r15]
movaps xmmword [rsp + 0x70], xmm0
mov rdi, qword [r13 + 0x50]
mov rsi, qword [r13 + 0x58]
cmp rdi, rsi
je 0x1401475ff
lea rbx, [rsp + 0x70]
mov rcx, rdi
mov rdx, rbx
call fcn.140148558
test al, al
jne 0x140147513
add rdi, 0x70
cmp rdi, rsi
jne 0x1401474f8
mov rdi, rsi
cmp rdi, qword [r13 + 0x58]
je 0x1401475ff
lea rdx, [rdi + 0x10]
lea r14, [rsp + 0x50]
mov rcx, r14
call fcn.1400f2450
mov rbx, qword [r13 + 0x58]
cmp rbx, rdi
je 0x14014770f
lea rsi, [rdi + 0x70]
cmp rsi, rbx
je 0x1401475c9
xor edi, edi
movups xmm0, xmmword [rsi]
movups xmmword [rsi - 0x70], xmm0
lea rcx, [rsi - 0x60]
lea rdx, [rsi + 0x10]
call fcn.1400f24b0
lea rbp, [rsi - 0x48]
cmp byte [rsi - 0x31], 0
jns 0x140147571
mov rcx, qword [rbp]
call fcn.140255d7c
mov rax, qword [rsi + 0x38]
mov qword [rbp + 0x10], rax
movups xmm0, xmmword [rsi + 0x28]
movups xmmword [rbp], xmm0
mov byte [rsi + 0x3f], dil
mov byte [rsi + 0x28], dil
movups xmm0, xmmword [rsi + 0x40]
movups xmm1, xmmword [rsi + 0x50]
movups xmmword [rsi - 0x30], xmm0
movups xmmword [rsi - 0x20], xmm1
mov rax, qword [rsi + 0x60]
mov qword [rsi - 0x10], rax
mov eax, dword [rsi + 0x68]
mov dword [rsi - 8], eax
add rsi, 0x70
cmp rsi, rbx
jne 0x14014754a
mov rbx, qword [r13 + 0x58]
add rsi, 0xffffffffffffff90
mov rdi, rsi
jmp 0x1401475c9
add rbx, 0xffffffffffffff90
mov rcx, rbx
call fcn.140148374
cmp rbx, rdi
jne 0x1401475bd
mov qword [r13 + 0x58], rdi
mov byte [r13 + 0x48], 1
cmp byte [rsp + 0x67], 0
jns 0x1401475e3
mov r14, qword [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140147645
mov rcx, r12
mov rdx, r15
call fcn.1401a2cdc
xor esi, esi
jmp 0x140147604
mov esi, 1
lea rcx, [rsp + 0x50]
call fcn.140030e80
jmp 0x140147615
mov esi, 3
lea rcx, [rsp + 0x68]
call fcn.1401465c0
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140257200
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.1400f6360
test al, al
je 0x140147604
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.1400f7550
lea rcx, [rsp + 0x80]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.14001eb4a
mov rsi, rax
lea rax, [rsp + 0x50]
movzx ecx, byte [rax + 0x17]
test cl, cl
mov rbp, qword [rax]
cmovns rbp, rax
lea rdx, [rsp + 0x28]
mov qword [rdx], rbp
cmovs rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
lea rdi, [rsp + 0x38]
mov rcx, rdi
call fcn.140103680
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x1401476df
mov r8, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rcx, rsi
mov rdx, rdi
call fcn.14001eb4a
cmp byte [rsp + 0x4f], 0
jns 0x1401476fb
mov rcx, qword [rsp + 0x38]
call fcn.140255d7c
lea rcx, [rsp + 0x70]
call fcn.1400f7640
mov esi, 2
jmp 0x140147604
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, 0x65a
call fcn.14004f520
int3