Function at 0x14000e360
Capabilities:
Delete file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
lea r15, [rcx + 0x38]
mov rax, qword [r15]
mov rbx, qword [rax]
cmp rbx, rax
je 0x14000e5f9
xor r12d, r12d
lea rdx, [rbx + 0x28]
lea rcx, [rbp + 0x40]
call fcn.14000564c
mov rsi, qword [rbp + 0x40]
mov rcx, rsi
mov qword [rbp + 0x48], r12
call fcn.1400065f0
neg al
mov qword [rsp + 0x30], r12
sbb ecx, ecx
xor r9d, r9d
and ecx, 0x2000000
mov dword [rsp + 0x28], ecx
mov rcx, rsi
mov dword [rsp + 0x20], 3
lea edx, [r9 + 1]
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
mov r14d, r12d
cmp rax, 0xffffffffffffffff
jne 0x14000e3e9
call fcn.14000b9b8
mov r14d, eax
jmp 0x14000e411
xor r9d, r9d
lea rdx, [rbp + 0x48]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x14000e408
call fcn.14000b9b8
mov r14d, eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test r14d, r14d
jns 0x14000e46d
mov rax, qword [rbx + 0x10]
mov r8, rbx
cmp byte [rax + 0x19], r12b
je 0x14000e441
mov rax, qword [rbx + 8]
jmp 0x14000e436
cmp rbx, qword [rax + 0x10]
jne 0x14000e43c
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r12b
je 0x14000e429
mov rbx, rax
jmp 0x14000e45c
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], r12b
jne 0x14000e45c
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], r12b
je 0x14000e44d
lea rdx, [rbp + 0x58]
mov rcx, r15
call fcn.14000edec
jmp 0x14000e5d6
call fcn.140007284
mov ecx, dword [rbp + 0x48]
mov edx, dword [rbp + 0x4c]
shl rdx, 0x20
or rdx, rcx
movabs rcx, 0xc92a69c000
sub rax, rdx
cmp rax, rcx
jb 0x14000e593
call fcn.14000144c
test rax, rax
je 0x14000e608
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x40]
mov qword [rbp + 0x50], rax
call fcn.140018d70
mov rdi, qword [rbp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov rax, qword [rbx + 0x10]
mov r8, rbx
cmp byte [rax + 0x19], r12b
je 0x14000e502
mov rax, qword [rbx + 8]
jmp 0x14000e4f7
cmp rbx, qword [rax + 0x10]
jne 0x14000e4fd
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r12b
je 0x14000e4ea
mov rbx, rax
jmp 0x14000e51d
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], r12b
jne 0x14000e51d
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], r12b
je 0x14000e50e
lea rdx, [rbp - 0x20]
mov rcx, r15
call fcn.14000edec
mov al, byte [0x140055b09]
lea rdx, [0x140055b10]
neg al
sbb rcx, rcx
and rcx, rdx
je 0x14000e573
mov r8d, 1
mov qword [rbp - 0x18], rcx
mov dword [rbp - 0xc], r8d
mov dword [rbp - 0x10], 7
call fcn.140007fc8
mov r9, rdi
mov dword [rbp - 8], eax
mov r8, rsi
lea rdx, str._CrashHandler__Deleted_Stale_Crash__filename__s__custom_data__s_
lea rcx, [rbp - 0x18]
call fcn.140004120
lea rdx, [rdi - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000e58d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rsi, qword [rbp + 0x40]
jmp 0x14000e5d6
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], r12b
je 0x14000e5bb
mov rax, qword [rbx + 8]
jmp 0x14000e5b0
cmp rbx, qword [rax + 0x10]
jne 0x14000e5b6
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], r12b
je 0x14000e5a3
mov rbx, rax
jmp 0x14000e5d6
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], r12b
jne 0x14000e5d6
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], r12b
je 0x14000e5c7
lea rdx, [rsi - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14000e5f0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
cmp rbx, qword [r15]
jne 0x14000e388
add rsp, 0x60
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400017a4
int3