Function at 0x140004830
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, [0x14007ecc8]
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.140007d50
test rax, rax
jne 0x140004921
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 0x140004ab1
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14000493a
mov rbx, qword [rbx]
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140009e70
cmp qword [rbp - 0x58], 0
je 0x1400049cd
mov rax, qword [rsp + 0x40]
lea rcx, [rbp - 0x68]
cmp qword [rax], rcx
jne 0x140004978
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.140007bb0
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 0x140004a12
jmp 0x1400049f3
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 0x140004a69
mov rax, qword [rsp + 0x40]
lea rcx, [rbp - 0x68]
cmp qword [rax], rcx
jne 0x140004a69
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 0x140004a79
lea rcx, [rsp + 0x28]
call fcn.140007c90
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.1400076e0
lea rcx, [rbp + 0x30]
call fcn.140004370
lea rcx, [rbp + 0x30]
call fcn.1400075f0
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