Function at 0x1400c4470
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 [0x140287028]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x68]
mov qword [rbx], rax
mov rdx, rbx
call fcn.140065e20
mov r15, qword [rbx]
test r15, r15
je 0x1400c4511
xorps xmm0, xmm0
movaps xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], 0
movdqu xmm0, xmmword [rsi]
movdqa xmmword [rsp + 0x70], xmm0
mov r13, qword [r15 + 0x50]
mov rbx, qword [r15 + 0x58]
cmp r13, rbx
je 0x1400c454a
mov r12, r13
neg r12
movdqu xmm0, xmmword [r13]
pcmpeqb xmm0, xmmword [rsp + 0x70]
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x1400c4518
add r13, 0x70
add r12, 0xffffffffffffff90
cmp r13, rbx
jne 0x1400c44eb
jmp 0x1400c454a
mov esi, 3
jmp 0x1400c4560
cmp r13, rbx
je 0x1400c454a
lea rax, [r13 + 0x10]
lea r14, [rsp + 0x50]
cmp rax, r14
je 0x1400c45a3
cmp byte [r13 + 0x27], 0
jns 0x1400c4590
mov rdx, qword [r13 + 0x10]
mov r8, qword [r13 + 0x18]
lea rcx, [rsp + 0x50]
call fcn.140014540
mov rbx, qword [r15 + 0x58]
jmp 0x1400c45a3
mov esi, 1
cmp byte [rsp + 0x67], 0
jns 0x1400c4560
mov rcx, qword [rsp + 0x50]
call fcn.140172a44
lea rcx, [rsp + 0x68]
call fcn.1400654e0
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1401756e0
mov eax, esi
add rsp, 0x1b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x60], rcx
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x50], xmm0
cmp r13, rbx
je 0x1400c4790
mov r13d, 0x70
sub r13, r12
cmp r13, rbx
je 0x1400c4674
xor ebp, ebp
movups xmm0, xmmword [r13]
movups xmmword [r13 - 0x70], xmm0
lea r12, [r13 - 0x60]
lea r14, [r13 + 0x10]
cmp byte [r13 - 0x49], 0
jns 0x1400c45e2
mov rcx, qword [r12]
call fcn.140172a44
mov rax, qword [r14 + 0x10]
mov qword [r12 + 0x10], rax
movups xmm0, xmmword [r14]
movups xmmword [r12], xmm0
mov byte [r13 + 0x27], 0
mov word [r13 + 0x10], 0
lea r12, [r13 - 0x48]
cmp byte [r13 - 0x31], 0
jns 0x1400c4614
mov rcx, qword [r12]
call fcn.140172a44
mov rax, qword [r13 + 0x38]
mov qword [r12 + 0x10], rax
movups xmm0, xmmword [r13 + 0x28]
movups xmmword [r12], xmm0
mov byte [r13 + 0x3f], bpl
mov byte [r13 + 0x28], bpl
movdqu xmm0, xmmword [r13 + 0x40]
movups xmm1, xmmword [r13 + 0x50]
movdqu 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, rbx
jne 0x1400c45c0
mov rbx, qword [r15 + 0x58]
add r13, 0xffffffffffffff90
mov r12, r13
lea r14, [rsp + 0x50]
jmp 0x1400c4685
neg r12
jmp 0x1400c4685
add rbx, 0xffffffffffffff90
mov rcx, rbx
call fcn.1401f85f0
cmp rbx, r12
jne 0x1400c4679
mov qword [r15 + 0x58], r12
mov byte [r15 + 0x48], 1
cmp byte [rsp + 0x67], 0
jns 0x1400c469f
mov r14, qword [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1400c46be
mov rcx, rdi
mov rdx, rsi
call fcn.14020c160
xor esi, esi
jmp 0x1400c454f
cmp dword [0x140299b30], 2
jg 0x1400c4786
call qword [sym.imp.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.1401d2730
lea rcx, [rsp + 0x80]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.1401af730
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.14013c980
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x1400c475c
mov r8, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
jmp 0x1400c4760
and r8d, 0x7f
mov rcx, rsi
mov rdx, rdi
call fcn.1401af730
cmp byte [rsp + 0x4f], 0
jns 0x1400c477c
mov rcx, qword [rsp + 0x38]
call fcn.140172a44
lea rcx, [rsp + 0x70]
call fcn.1401d27b0
mov esi, 2
jmp 0x1400c454f
int3