Function at 0x1400a2150
Capabilities:
Timestomp file

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov r15, r8
mov r13, rdx
mov rsi, rcx
mov r12d, dword [rcx + 0x150]
mov dword [rsp + 0xc0], r12d
mov eax, dword [r8]
mov r8d, eax
and r8d, 8
test al, 3
jne 0x1400a21a3
mov dword [rcx + 0x14c], 5
mov ecx, 5
jmp 0x1400a246c
cmp byte [r15 + 4], 0
je 0x1400a21be
mov dword [rcx + 0x14c], 1
mov ecx, 1
jmp 0x1400a246c
xor r14d, r14d
mov eax, dword [rcx + 0x170]
test eax, eax
je 0x1400a21ef
mov rcx, qword [rcx + 0x178]
mov edx, eax
nop dword [rax]
nop dword [rax + rax]
mov eax, dword [rcx]
add r14, rax
lea rcx, [rcx + 0x10]
sub rdx, 1
jne 0x1400a21e0
test r14, r14
jne 0x1400a220b
mov qword [rsi + 0x88], r14
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
test r8d, r8d
je 0x1400a2216
mov rbx, qword [r15 + 0x10]
jmp 0x1400a2227
mov rbx, qword [rsi + 0x180]
cmp rbx, 0xffffffffffffffff
jne 0x1400a2227
mov rbx, qword [r15 + 0x18]
lea rdi, [rbx + r14]
mov qword [rsp + 0xc8], rdi
cmp rdi, qword [r15 + 0x10]
jle 0x1400a22dc
mov rcx, qword [r15 + 8]
cmp rcx, 0xffffffffffffffff
je 0x1400a224d
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], edi
mov r9d, dword [rsp + 0xcc]
xor edx, edx
lea r8d, [rdx + 4]
mov rcx, r13
call qword [sym.imp.KERNEL32.DLL_CreateFileMappingA]
mov qword [r15 + 8], rax
test rax, rax
jne 0x1400a22cd
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsi + 0x14c], eax
mov ecx, eax
call fcn.1400ae540
movsxd rdx, eax
mov qword [rsi + 0x88], rdx
mov rcx, r13
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov qword [r15 + 8], 0xffffffffffffffff
xor eax, eax
mov qword [r15 + 0x10], rax
mov qword [r15 + 0x18], rax
mov rdx, r15
mov ecx, r12d
call fcn.1400a0ea0
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov qword [r15 + 0x10], rdi
mov rdx, r15
mov ecx, r12d
call fcn.1400a0ea0
mov ecx, dword [0x1404df260]
mov rax, rbx
cqo
idiv rcx
mov rax, rdx
mov qword [rsp + 0xc8], rdx
sub rbx, rdx
add rax, r14
mov r8, rbx
shr r8, 0x20
mov qword [rsp + 0x20], rax
mov r9d, ebx
mov edx, 2
mov rcx, qword [r15 + 8]
call qword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov r13, rax
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x1400a2339
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsi + 0x14c], eax
mov ecx, eax
jmp 0x1400a246c
xor r12d, r12d
xor ebx, ebx
nop
cmp ebx, dword [rsi + 0x170]
jae 0x1400a23bc
mov dword [rsp + 0x30], 0
mov r14d, ebx
add r14, r14
mov rax, qword [rsi + 0x178]
mov r8d, dword [rax + r14*8]
lea rcx, [r12 + r13]
add rcx, qword [rsp + 0xc8]
mov rdx, qword [rax + r14*8 + 8]
call fcn.1400eab30
nop
mov rax, qword [rsi + 0x178]
mov ecx, dword [rax + r14*8]
add r12, rcx
inc ebx
jmp 0x1400a2340
xor edx, edx
mov rcx, r13
call qword [sym.imp.KERNEL32.DLL_FlushViewOfFile]
test eax, eax
jne 0x1400a2401
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rsi + 0x14c], eax
mov ecx, eax
call fcn.1400ae540
movsxd rcx, eax
mov qword [rsi + 0x88], rcx
mov rcx, r13
call qword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rcx, r13
call qword [sym.imp.KERNEL32.DLL_UnmapViewOfFile]
test eax, eax
je 0x1400a2326
cmp qword [rsi + 0x180], 0xffffffffffffffff
jne 0x1400a242f
mov qword [r15 + 0x18], rdi
mov rdx, r15
mov ecx, dword [rsp + 0xc0]
call fcn.1400a0ea0
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.DLL_GetSystemTimeAsFileTime]
lea r9, [rsp + 0x58]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.DLL_SetFileTime]
mov qword [rsi + 0x88], r12
cmp r12, 0xffffffffffffffff
jne 0x1400a247b
call fcn.1400f51c4
mov ecx, dword [rax]
mov dword [rsi + 0x14c], ecx
call fcn.1400ae540
movsxd rcx, eax
mov qword [rsi + 0x88], rcx
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret