Function at 0x14000b3f0
Capabilities:
Timestomp file

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x140026040]
xor rax, rsp
mov qword [rbp + 0xb8], rax
mov rdi, r8
mov rbx, rdx
mov r14, rcx
mov esi, 0xffffffff
lea rcx, [rsp + 0x60]
call fcn.140006f60
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
xor r8d, r8d
lea rdx, [0x14001fe01]
lea rcx, [rsp + 0x40]
call fcn.1400094a0
nop
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140007200
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x14000b4a7
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b4a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b4a1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001903c
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x14000b4e7
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b4e2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b4e2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001903c
xor edx, edx
mov r8d, pe_nt_image_headers64
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000b505
mov rdx, qword [rbx]
mov r8d, 0x20
lea rcx, [rbp - 0x80]
call fcn.140007c40
nop
mov rax, qword [rbp - 0x80]
movsxd rdx, dword [rax + 4]
lea rcx, [rbp - 0x80]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::good_void_const___ptr64]
test al, al
je 0x14000b62b
mov r8, rdi
lea rdx, [rbp - 0x80]
mov rcx, r14
call fcn.14000b710
xor ecx, ecx
sub ecx, eax
neg ecx
sbb esi, esi
lea rcx, [rbp - 0x78]
call fcn.140008e50
test rax, rax
jne 0x14000b574
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x80]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
mov edi, dword [rdi + 0x50]
cmp qword [rbx + 0x18], 0xf
jbe 0x14000b581
mov rbx, qword [rbx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000b657
lea r9, [rbp + 0xa8]
lea r8, [rbp + 0xa0]
lea rdx, [rbp + 0xb0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileTime]
mov ecx, edi
shr ecx, 0x10
lea r8, [rbp + 0x98]
movzx edx, di
call qword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
lea rdx, [rbp + 0x90]
lea rcx, [rbp + 0x98]
call qword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea r9, [rbp + 0x90]
lea r8, [rbp + 0xa0]
lea rdx, [rbp + 0x90]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000b657
lea rcx, [rbp - 0x78]
call fcn.140008e50
test rax, rax
jne 0x14000b657
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x80]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x80], rax
mov rax, qword [rbp - 0x80]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x7c], edx
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp - 0x78], rax
cmp qword [rbp + 8], 0
je 0x14000b6b6
lea rcx, [rbp - 8]
mov rax, qword [rbp - 0x60]
cmp qword [rax], rcx
jne 0x14000b6b6
mov rdx, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x10]
mov qword [rax], rcx
mov rax, qword [rbp - 0x40]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp - 0x28]
mov dword [rax], edx
cmp byte [rbp + 4], 0
je 0x14000b6c5
lea rcx, [rbp - 0x78]
call fcn.140008e50
lea rcx, [rbp - 0x78]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp - 0x70]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x28]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov eax, esi
mov rcx, qword [rbp + 0xb8]
xor rcx, rsp
call fcn.140018da0
add rsp, 0x1c0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret