Function at 0x140079670
Capabilities:
Delete file

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1c0
mov r15, rdx
mov r12, rcx
mov rax, qword [0x1401c8018]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
movabs rdi, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x68]
mov qword [rsi], rdi
mov rdx, rsi
call fcn.140078090
mov r13, qword [rsi]
test r13, r13
je 0x1400798db
lea rcx, [rsp + 0x50]
mov qword [rcx + 0x10], rdi
movaps xmm0, xmmword [0x1401a01c0]
movaps xmmword [rcx], xmm0
call fcn.1400add50
movups xmm0, xmmword [r15]
movaps xmmword [rsp + 0x70], xmm0
mov rdi, qword [r13 + 0x38]
mov rsi, qword [r13 + 0x40]
cmp rdi, rsi
je 0x1400798ca
lea rbx, [rsp + 0x70]
mov rcx, rdi
mov rdx, rbx
call fcn.14015ad50
test al, al
jne 0x140079712
add rdi, 0x70
cmp rdi, rsi
jne 0x1400796f7
mov rdi, rsi
cmp rdi, qword [r13 + 0x40]
je 0x1400798ca
lea rdx, [rdi + 0x10]
lea r14, [rsp + 0x50]
mov rcx, r14
call fcn.1400adec0
mov rbx, qword [r13 + 0x40]
lea rsi, [rdi + 0x70]
cmp rsi, rbx
je 0x1400797a9
xor edi, edi
movups xmm0, xmmword [rsi]
movups xmmword [rsi - 0x70], xmm0
lea rcx, [rsi - 0x60]
lea rdx, [rsi + 0x10]
call fcn.1400adf20
cmp byte [rsi - 0x31], 0
jns 0x14007975f
mov rcx, qword [rsi - 0x48]
call fcn.1400d4ef4
mov rax, qword [rsi + 0x38]
mov qword [rsi - 0x38], rax
movups xmm0, xmmword [rsi + 0x28]
movups xmmword [rsi - 0x48], xmm0
mov byte [rsi + 0x3f], dil
mov byte [rsi + 0x28], dil
movups xmm0, xmmword [rsi + 0x40]
movups xmmword [rsi - 0x30], xmm0
movups xmm0, xmmword [rsi + 0x50]
movups xmmword [rsi - 0x20], xmm0
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 0x14007973c
mov rbx, qword [r13 + 0x40]
add rsi, 0xffffffffffffff90
mov rdi, rsi
cmp rbx, rdi
je 0x1400797d9
add rbx, 0xffffffffffffffa0
cmp byte [rbx + 0x2f], 0
jns 0x1400797c1
mov rcx, qword [rbx + 0x18]
call fcn.1400d4ef4
mov rcx, rbx
call fcn.1400adeb0
lea rax, [rbx - 0x70]
add rbx, 0xfffffffffffffff0
cmp rbx, rdi
mov rbx, rax
jne 0x1400797b2
mov qword [r13 + 0x40], rdi
mov byte [r13 + 0x30], 1
cmp byte [rsp + 0x67], 0
jns 0x1400797ee
mov r14, qword [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14007990f
mov esi, 2
mov ecx, 2
call fcn.1400b0f50
test al, al
je 0x1400798cf
call sub.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, 0x3a0
mov r9d, 2
call fcn.140126e40
lea rcx, [rsp + 0x80]
lea rdx, str.DeleteFile
mov r8d, 0xb
call fcn.1400a5d10
mov rsi, rax
lea rax, [rsp + 0x50]
movzx ecx, byte [rax + 0x17]
test cl, cl
mov rbx, qword [rax]
cmovns rbx, rax
lea rdx, [rsp + 0x28]
mov qword [rdx], rbx
cmovs rcx, qword [rax + 8]
mov qword [rdx + 8], rcx
lea rdi, [rsp + 0x38]
mov rcx, rdi
call fcn.1400b6800
movzx r8d, byte [rdi + 0x17]
test r8b, r8b
jns 0x14007989d
mov r8, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
mov rcx, rsi
mov rdx, rdi
call fcn.1400a5d10
cmp byte [rsp + 0x4f], 0
jns 0x1400798b9
mov rcx, qword [rsp + 0x38]
call fcn.1400d4ef4
lea rcx, [rsp + 0x70]
call fcn.140126ec0
mov esi, 2
jmp 0x1400798cf
mov esi, 1
lea rcx, [rsp + 0x50]
call fcn.1400adeb0
jmp 0x1400798e0
mov esi, 3
lea rcx, [rsp + 0x68]
call fcn.140078bb0
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.1400d5720
mov eax, esi
add rsp, 0x1c0
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, r12
mov rdx, r15
call fcn.140147950
xor esi, esi
jmp 0x1400798cf