Function at 0x1400a1540
Capabilities:
Delete file

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x1c0
mov r15, rdx
mov r12, rcx
mov rax, qword [0x1401f5028]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x68]
mov qword [rbx], rax
mov rdx, rbx
call fcn.140048740
mov rsi, qword [rbx]
test rsi, rsi
je 0x1400a15dc
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
movdqu xmm0, xmmword [r15]
movdqa xmmword [rsp + 0x70], xmm0
mov rdi, qword [rsi + 0x38]
mov rax, qword [rsi + 0x40]
cmp rdi, rax
je 0x1400a169d
movdqu xmm0, xmmword [rdi]
pcmpeqb xmm0, xmmword [rsp + 0x70]
pmovmskb ecx, xmm0
cmp ecx, 0xffff
je 0x1400a15e6
add rdi, 0x70
cmp rax, rdi
jne 0x1400a15b8
jmp 0x1400a169d
mov esi, 3
jmp 0x1400a16ac
cmp rax, rdi
je 0x1400a169d
lea rdx, [rdi + 0x10]
lea r14, [rsp + 0x50]
mov rcx, r14
call fcn.14001fdb0
mov rbx, qword [rsi + 0x40]
add rbx, 0xffffffffffffff90
cmp rbx, rdi
je 0x1400a16da
xor ebp, ebp
movups xmm0, xmmword [rdi + 0x70]
movups xmmword [rdi], xmm0
lea rcx, [rdi + 0x10]
lea rdx, [rdi + 0x80]
call fcn.1400ea020
cmp byte [rdi + 0x3f], 0
jns 0x1400a1639
mov rcx, qword [rdi + 0x28]
call fcn.1400f0498
mov rax, qword [rdi + 0xa8]
mov qword [rdi + 0x38], rax
movups xmm0, xmmword [rdi + 0x98]
movups xmmword [rdi + 0x28], xmm0
mov byte [rdi + 0xaf], bpl
mov byte [rdi + 0x98], bpl
movups xmm0, xmmword [rdi + 0xb0]
movups xmmword [rdi + 0x40], xmm0
movdqu xmm0, xmmword [rdi + 0xc0]
movdqu xmmword [rdi + 0x50], xmm0
mov rax, qword [rdi + 0xd0]
mov qword [rdi + 0x60], rax
mov eax, dword [rdi + 0xd8]
mov dword [rdi + 0x68], eax
add rdi, 0x70
cmp rbx, rdi
jne 0x1400a1613
mov rbx, qword [rsi + 0x40]
cmp rbx, rdi
jne 0x1400a16de
jmp 0x1400a1705
mov esi, 1
lea rcx, [rsp + 0x50]
call fcn.1400dcad0
lea rcx, [rsp + 0x68]
call fcn.140047e10
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.1400f32c0
mov eax, esi
add rsp, 0x1c0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rbx, [rdi + 0x70]
lea rbp, [rbx - 0x70]
cmp byte [rbx - 0x31], 0
jns 0x1400a16f1
mov rcx, qword [rbx - 0x48]
call fcn.1400f0498
add rbx, 0xffffffffffffffa0
mov rcx, rbx
call fcn.1400dcad0
mov rbx, rbp
cmp rdi, rbp
jne 0x1400a16de
mov qword [rsi + 0x40], rdi
mov byte [rsi + 0x30], 1
cmp byte [rsp + 0x67], 0
jns 0x1400a1719
mov r14, qword [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400a17f9
mov esi, 2
mov ecx, 2
call fcn.1400e8860
test al, al
je 0x1400a16a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rdx, str..._.._third_party_crashpad_crashpad_client_crash_report_database_win.cc
lea rcx, [rsp + 0x70]
mov r8d, 0x39d
mov r9d, 2
call fcn.1401438e0
lea rcx, [rsp + 0x80]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.1400d6670
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.1400d96e0
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x1400a17c9
mov r8, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rcx, rsi
mov rdx, rdi
call fcn.1400d6670
cmp byte [rsp + 0x4f], 0
jns 0x1400a17e5
mov rcx, qword [rsp + 0x38]
call fcn.1400f0498
lea rcx, [rsp + 0x70]
call fcn.1401439d0
mov esi, 2
jmp 0x1400a16a2
mov rcx, r12
mov rdx, r15
call fcn.14015fc20
xor esi, esi
jmp 0x1400a16a2