Function at 0x140004860
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rbx, rcx
xor esi, esi
mov dword [rbp + 0x88], esi
lea rax, [0x14007ecc0]
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x38]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov dword [rbp + 0x88], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64__bool____ptr64]
nop
mov rax, qword [rsp + 0x20]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x20], r15
mov rax, qword [rsp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x1c], edx
lea rcx, [rsp + 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea r14, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x28], r14
mov byte [rbp - 0x5c], sil
mov byte [rbp - 0x67], sil
lea rcx, [rsp + 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x58], rsi
mov rax, qword [0x14008c6c8]
mov qword [rbp - 0x64], rax
mov qword [rbp - 0x70], rsi
lea r8d, [rsi + 2]
lea rcx, [rsp + 0x28]
call fcn.140007d90
test rax, rax
jne 0x140004951
mov rax, qword [rsp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x20]
add rcx, rax
xor r8d, r8d
lea edx, [rsi + 2]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
cmp qword [rbp - 0x58], 0
je 0x140004ae1
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14000496a
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140009eb0
cmp qword [rbp - 0x58], 0
je 0x1400049fd
mov rax, qword [rsp + 0x40]
lea rcx, [rbp - 0x68]
cmp qword [rax], rcx
jne 0x1400049a8
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov qword [rax], rcx
mov rax, qword [rsp + 0x60]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rsp + 0x78]
mov dword [rax], edx
lea rcx, [rsp + 0x28]
call fcn.140007bf0
lea rbx, [rsp + 0x28]
test al, al
cmove rbx, rsi
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rdi, rsi
test eax, eax
cmove rdi, rbx
mov byte [rbp - 0x5c], 0
mov byte [rbp - 0x67], 0
lea rcx, [rsp + 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x58], rsi
mov rax, qword [0x14008c6c8]
mov qword [rbp - 0x64], rax
mov qword [rbp - 0x70], rsi
test rdi, rdi
jne 0x140004a42
jmp 0x140004a23
mov byte [rbp - 0x5c], 0
mov byte [rbp - 0x67], 0
lea rcx, [rsp + 0x28]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp - 0x58], rsi
mov rax, qword [0x14008c6c8]
mov qword [rbp - 0x64], rax
mov qword [rbp - 0x70], rsi
mov rax, qword [rsp + 0x20]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x20]
add rcx, rax
xor r8d, r8d
lea edx, [r8 + 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 [rsp + 0x20]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x20], r15
mov rax, qword [rsp + 0x20]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x1c], edx
mov qword [rsp + 0x28], r14
cmp qword [rbp - 0x58], 0
je 0x140004a99
mov rax, qword [rsp + 0x40]
lea rcx, [rbp - 0x68]
cmp qword [rax], rcx
jne 0x140004a99
mov rdx, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x50]
mov qword [rax], rcx
mov rax, qword [rsp + 0x60]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rsp + 0x78]
mov dword [rax], edx
cmp byte [rbp - 0x5c], 0
je 0x140004aa9
lea rcx, [rsp + 0x28]
call fcn.140007cd0
lea rcx, [rsp + 0x28]
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, [rsp + 0x30]
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 - 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rbx, qword [rsp + 0x180]
add rsp, 0x150
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.Erro_ao_salvar_a_chave.
lea rcx, [rbp + 0x30]
call fcn.140007720
lea rcx, [rbp + 0x30]
call fcn.1400043a0
lea rcx, [rbp + 0x30]
call fcn.140007630
mov ecx, 0x9c4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3