Function at 0x1400c0790
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 [0x14029b028]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x68]
mov qword [rbx], rax
mov rdx, rbx
call fcn.140060430
mov r15, qword [rbx]
test r15, r15
je 0x1400c0847
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 0x1400c082f
mov r12, r13
neg r12
movdqu xmm0, xmmword [r13]
pcmpeqb xmm0, xmmword [rsp + 0x70]
pmovmskb eax, xmm0
cmp eax, 0xffff
je 0x1400c087c
add r13, 0x70
add r12, 0xffffffffffffff90
cmp r13, rbx
jne 0x1400c080b
mov esi, 1
cmp byte [rsp + 0x67], 0
jns 0x1400c084c
mov rcx, qword [rsp + 0x50]
call fcn.1401833ec
jmp 0x1400c084c
mov esi, 3
lea rcx, [rsp + 0x68]
call fcn.14005fa90
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.140186020
mov eax, esi
add rsp, 0x1b8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
cmp r13, rbx
je 0x1400c082f
lea rax, [r13 + 0x10]
lea r14, [rsp + 0x50]
cmp rax, r14
je 0x1400c08ac
cmp byte [r13 + 0x27], 0
jns 0x1400c08cb
mov rdx, qword [r13 + 0x10]
mov r8, qword [r13 + 0x18]
lea rcx, [rsp + 0x50]
call fcn.1400201c0
mov rbx, qword [r15 + 0x58]
cmp r13, rbx
je 0x1400c0ac1
mov r13d, 0x70
sub r13, r12
cmp r13, rbx
je 0x1400c0988
xor ebp, ebp
jmp 0x1400c0933
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x60], rcx
movdqu xmm0, xmmword [rax]
movdqa xmmword [rsp + 0x50], xmm0
jmp 0x1400c08ac
mov rcx, qword [r12]
call fcn.1401833ec
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
je 0x1400c098d
movups xmm0, xmmword [r13]
movups xmmword [r13 - 0x70], xmm0
lea r12, [r13 - 0x60]
cmp byte [r13 - 0x49], 0
js 0x1400c097d
lea rax, [r13 + 0x10]
mov rcx, qword [rax + 0x10]
mov qword [r12 + 0x10], rcx
movups xmm0, xmmword [rax]
movups xmmword [r12], xmm0
mov byte [r13 + 0x27], 0
mov word [r13 + 0x10], 0
lea r12, [r13 - 0x48]
cmp byte [r13 - 0x31], 0
jns 0x1400c08e9
jmp 0x1400c08e0
mov rcx, qword [r12]
call fcn.1401833ec
jmp 0x1400c0948
neg r12
jmp 0x1400c09a6
mov rbx, qword [r15 + 0x58]
add r13, 0xffffffffffffff90
mov r12, r13
jmp 0x1400c09a6
add rbx, 0xffffffffffffff90
mov rcx, rbx
call fcn.14020ec70
cmp rbx, r12
jne 0x1400c099a
mov qword [r15 + 0x58], r12
mov byte [r15 + 0x48], 1
cmp byte [rsp + 0x67], 0
jns 0x1400c09c0
mov r14, qword [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1400c09df
mov rcx, rdi
mov rdx, rsi
call fcn.140217f00
xor esi, esi
jmp 0x1400c0834
cmp dword [0x1402b65e0], 2
jg 0x1400c0ab7
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.1401f99b0
lea rcx, [rsp + 0x80]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.1401c1300
lea rcx, [rsp + 0x50]
movzx r8d, byte [rcx + 0x17]
mov edx, r8d
and edx, 0x7f
test r8b, r8b
cmovs rdx, qword [rcx + 8]
cmovs rcx, qword [rcx]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rdx
test rdx, rdx
js 0x1400c0ac4
mov rsi, rax
test rcx, rcx
jne 0x1400c0a65
test rdx, rdx
jne 0x1400c0ac7
lea rdi, [rsp + 0x38]
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.140148c90
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
js 0x1400c0a87
and r8d, 0x7f
jmp 0x1400c0a91
mov r8, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rcx, rsi
mov rdx, rdi
call fcn.1401c1300
cmp byte [rsp + 0x4f], 0
jns 0x1400c0aad
mov rcx, qword [rsp + 0x38]
call fcn.1401833ec
lea rcx, [rsp + 0x70]
call fcn.1401f9a30
mov esi, 2
jmp 0x1400c0834
int3
int3
int3