Function at 0x1400e6400
Capabilities:
Timestomp file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov rax, qword [0x14022b800]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rdi, rdx
mov r14, rcx
mov qword [rbp - 0x31], rdx
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
lea r15, [rcx + 0x38]
mov qword [rbp - 0x21], r15
test r15, r15
jne 0x1400e644d
xor r13b, r13b
jmp 0x1400e645e
mov rax, qword [r15]
mov edx, 0xffffffff
mov rcx, r15
call qword [rax]
movzx r13d, al
mov byte [rbp - 0x19], r13b
cmp qword [r14 + 0x70], 0
je 0x1400e66cd
mov rcx, qword [r14 + 0x60]
test rcx, rcx
je 0x1400e66cd
mov rax, qword [rcx]
call qword [rax + 0xa0]
test rax, rax
jne 0x1400e64a5
lea rdx, str.MicInstantReplayOutputPipeline::SaveRingBuffer___Clear_empty_buffer._No_file_outputted.
lea ecx, [rax + 7]
call fcn.140083970
mov rcx, qword [r14 + 0x60]
call fcn.1400d4970
jmp 0x1400e66cd
call fcn.140061c90
mov rcx, rax
mov r8b, 1
lea rdx, [rbp - 0x11]
call fcn.14001b1c0
nop
lea r9, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae r9, qword [rbp - 0x11]
mov rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp word [r9 + rax*2], 0
jne 0x1400e64d2
mov rcx, rdi
mov r12, qword [rdi + 0x18]
cmp r12, 8
jb 0x1400e64ed
mov rcx, qword [rdi]
mov qword [rsp + 0x20], rax
mov rdx, qword [rdi + 0x10]
call fcn.14000b110
cmp rax, rsi
je 0x1400e6523
mov qword [rsp + 0x20], 4
lea r9, str..m4a
mov r8, qword [rbp - 1]
mov rdx, rax
mov rcx, rdi
call fcn.140029cf0
mov r12, qword [rdi + 0x18]
mov rbx, rdi
cmp r12, 8
jb 0x1400e652f
mov rbx, qword [rdi]
mov rcx, qword [r14 + 0x70]
mov qword [rbp - 0x29], rcx
xor r12d, r12d
mov dword [rbp - 0x49], r12d
test rbx, rbx
je 0x1400e658a
mov dword [rbp - 0x49], SHCreateMemStream
mov rax, rsi
nop dword [rax]
lea rax, [rax + 1]
cmp word [rbx + rax*2], r12w
jne 0x1400e6550
lea r12, [rax*2 + 2]
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemAlloc]
mov qword [rbp - 0x41], rax
test rax, rax
je 0x1400e6583
mov r8, r12
mov rdx, rbx
mov rcx, rax
call fcn.140151a90
xor r12d, r12d
mov rcx, qword [rbp - 0x29]
movups xmm0, xmmword [rbp - 0x49]
movaps xmmword [rbp - 0x69], xmm0
movsd xmm1, qword [rbp - 0x39]
movsd qword [rbp - 0x59], xmm1
mov rax, qword [rcx]
lea r8, [rbp - 0x69]
lea rdx, str.Path
call qword [rax + 0x18]
mov ebx, eax
lea rcx, [rbp - 0x49]
call fcn.14000b9c0
nop
test ebx, ebx
jne 0x1400e65ec
mov rcx, qword [r14 + 0x70]
mov rax, qword [rcx]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [rax + 0x88]
test eax, eax
jne 0x1400e65ec
mov rcx, qword [r14 + 0x60]
call fcn.1400d4740
mov rcx, qword [r14 + 0x70]
mov rax, qword [rcx]
call qword [rax + 0x98]
lea rcx, [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400e6603
mov rdx, qword [rdi]
mov qword [rbp - 0x69], r12
mov qword [rbp - 0x59], r12
mov qword [rbp - 0x51], 7
inc rsi
cmp word [rdx + rsi*2], 0
jne 0x1400e6613
mov r8, rsi
lea rcx, [rbp - 0x69]
call fcn.140005060
xor bl, bl
lea rdx, [rbp - 0x29]
lea rcx, [rbp + 0xf]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rcx, [rbp - 0x69]
cmp qword [rbp - 0x51], 8
cmovae rcx, qword [rbp - 0x69]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x100
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400e6697
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x29]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
setne bl
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp - 0x69]
call fcn.140004ff0
test bl, bl
jne 0x1400e66c3
mov r8, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400e66b1
mov r8, qword [rdi]
lea rdx, str.Failed_to_set_creation_time_for_output_file:__s
mov ecx, 7
call fcn.1400838f0
nop
lea rcx, [rbp - 0x11]
call fcn.140004ff0
nop
cmp r13b, 1
jne 0x1400e66e2
test r15, r15
je 0x1400e66e2
mov rax, qword [r15]
mov rcx, r15
call qword [rax + 8]
nop
mov rcx, rdi
call fcn.140004ff0
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.14014f2f0
mov rbx, qword [rsp + 0x120]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret