Function at 0x140021e60
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1400e0038]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov r14, rdx
mov rsi, rcx
lea rdx, [rsp + 0x20]
xor r12d, r12d
call fcn.140022160
mov rbx, qword [rsp + 0x20]
test rbx, rbx
jne 0x140021eb1
lea edi, [rbx + 3]
jmp 0x140021f54
xorps xmm0, xmm0
mov qword [rbp + 0x40], r12
movups xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x30], r12w
mov edx, 7
movups xmm0, xmmword [r14]
mov qword [rbp + 0x48], rdx
mov rdi, qword [rbx + 0x50]
mov rax, qword [rbx + 0x58]
movaps xmmword [rbp + 0x50], xmm0
cmp rdi, rax
je 0x140021f02
mov rcx, qword [rbp + 0x58]
mov r8, qword [rbp + 0x50]
cmp qword [rdi], r8
jne 0x140021ef6
cmp qword [rdi + 8], rcx
je 0x140021f88
add rdi, 0xa0
cmp rdi, rax
jne 0x140021ee7
mov edi, 1
cmp rdx, 8
jb 0x140021f43
mov rcx, qword [rbp + 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140021f3e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400220de
call fcn.1400809f0
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], r12w
lea rcx, [rsp + 0x20]
call fcn.140022e80
mov eax, edi
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400809d0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rdx, [rdi + 0x10]
lea rax, [rbp + 0x30]
cmp rax, rdx
je 0x140021fac
cmp qword [rdx + 0x18], 8
mov r8, qword [rdx + 0x10]
jb 0x140021fa3
mov rdx, qword [rdx]
lea rcx, [rbp + 0x30]
call fcn.140012890
mov r8, rdi
lea rdx, [rbp + 0x50]
lea rcx, [rbx + 0x50]
call fcn.140023050
mov byte [rbx + 0x48], 1
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rcx, qword [rbp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400220c1
cmp qword [rbp + 0x48], 8
lea rcx, [rbp + 0x30]
movdqa xmm1, xmmword [0x1400cd310]
lea r8, [rbp + 0x50]
cmovae rcx, qword [rbp + 0x30]
xorps xmm0, xmm0
mov rdx, qword [rbp + 0x40]
movups xmmword [rbp + 0x50], xmm0
mov byte [rbp + 0x50], r12b
movdqu xmmword [rbp + 0x60], xmm1
call fcn.1400111b0
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [rsp + 0x28]
mov ebx, eax
call fcn.140006da0
lea rax, str..._.._client_crash_report_database_win.cc
mov qword [rbp + 0x18], r12
mov edi, 2
mov qword [rbp + 0x10], rax
lea rcx, [rsp + 0x28]
mov dword [rbp + 0x20], 0x387
mov dword [rbp + 0x24], edi
call fcn.140013280
lea rdx, str.DeleteFile
mov dword [rbp + 0x28], ebx
lea rcx, [rsp + 0x28]
call fcn.140006680
cmp qword [rbp + 0x68], 0x10
lea rdx, [rbp + 0x50]
mov r8, qword [rbp + 0x60]
mov rcx, rax
cmovae rdx, qword [rbp + 0x50]
call fcn.140009230
lea rcx, [rsp + 0x28]
call fcn.140013810
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x1400220b8
mov rcx, qword [rbp + 0x50]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400220b3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400220d8
call fcn.1400809f0
mov rdx, qword [rbp + 0x48]
jmp 0x140021f07
mov rdx, r14
mov rcx, rsi
call fcn.140025830
mov rdx, qword [rbp + 0x48]
mov edi, r12d
jmp 0x140021f07
call fcn.140087b78
int3
call fcn.140087b78
int3