Function at 0x1400054b0
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 - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x1401ba600]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rbx, rdx
mov rdx, rcx
lea rcx, [rbp + 0xb0]
call fcn.1400050d0
nop
mov rdi, qword [rbx]
mov r14, qword [rbx + 8]
cmp rdi, r14
je 0x1400056d2
lea rbx, [rdi + 0x22]
lea r15, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
xor esi, esi
mov rdx, rdi
lea rcx, [rbp + 0x90]
call fcn.140004970
nop
cmp qword [rbp + 0xa0], 0
je 0x140005684
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x60]
call sub.VCRUNTIME140.dll_memset
mov r8d, 0x30
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x60]
call fcn.14000f9d0
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x60]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
jne 0x140005747
lea rdx, [rbp + 0xb0]
cmp qword [rbp + 0xc8], 0xf
cmova rdx, qword [rbp + 0xb0]
mov r8, qword [rbp + 0xc0]
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::write_char_const____ptr64__long_long___int64_____ptr64]
nop
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x60], r15
mov rax, qword [rsp + 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x5c], edx
lea rcx, [rsp + 0x68]
call fcn.1400106f0
lea rcx, [rsp + 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 + 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
movzx r15d, word [rbx + 4]
movzx r12d, word [rbx]
movzx r13d, word [rbx - 2]
lea rcx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 0xf
cmova rcx, qword [rbp + 0x90]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000567b
mov word [rbp + 0x78], r13w
mov word [rbp + 0x7a], r12w
mov word [rbp + 0x7e], r15w
mov qword [rbp + 0x80], send
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x78]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea r9, [rbp + 0x70]
lea r8, [rbp + 0x70]
lea rdx, [rbp + 0x70]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r15, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
xor esi, esi
mov rdx, qword [rbp + 0xa8]
cmp rdx, 0xf
jbe 0x1400056c1
inc rdx
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400056bc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005711
call fcn.14013fd60
add rdi, 0x30
add rbx, 0x30
cmp rdi, r14
jne 0x140005510
mov rdx, qword [rbp + 0xc8]
cmp rdx, 0xf
jbe 0x14000571d
inc rdx
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005718
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005718
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.14013fd60
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.14013fd40
mov rbx, qword [rsp + 0x230]
add rsp, 0x1e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [rbp + 0x90]
lea rdx, str.Erro_ao_abrir_o_arquivo_para_escrita:
lea rcx, [rsp + 0x40]
call fcn.140012a80
nop
mov rdx, rax
lea rcx, [rbp + 0x78]
call fcn.140002160
lea rdx, [0x1401b5450]
lea rcx, [rbp + 0x78]
call sub.VCRUNTIME140.dll__CxxThrowException
int3