Function at 0x14002e720
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x5f0
mov rdi, r9
mov r12, r8
mov rsi, rcx
xor r14d, r14d
mov ebx, r14d
mov dword [rax - 0x528], ebx
mov qword [rax - 0x588], r14
mov qword [rax - 0x578], r14
mov qword [rax - 0x570], 0xf
mov byte [rax - 0x588], bl
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], socket
mov byte [rsp + 0x40], r14b
lea r8, [rsp + 0x40]
lea rdx, [rax - 0x588]
mov rcx, r9
call fcn.14009f6e0
xorps xmm0, xmm0
movups xmmword [rsp + 0x270], xmm0
mov qword [rsp + 0x280], r14
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x80], 7
lea rcx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0xa0]
add rdx, rcx
lea rcx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae rcx, qword [rsp + 0x90]
mov qword [rsp + 0x78], r14
mov word [rsp + 0x68], r14w
xor r9d, r9d
lea r8, [rsp + 0x68]
call qword [sym.imp.boost_filesystem_vc142_mt_x64_1_84.dll_void___cdecl_boost::filesystem::detail::path_traits::convert_char_const____ptr64__char_const____ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64__class_std::codecvt_wchar_t__char__struct__Mbstatet__const____ptr64_]
nop
lea r8, [rsp + 0x270]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x88]
call qword [sym.imp.boost_filesystem_vc142_mt_x64_1_84.dll_class_boost::filesystem::file_status___cdecl_boost::filesystem::detail::status_class_boost::filesystem::path_const____ptr64__class_boost::system::error_code____ptr64_]
cmp dword [rax], 1
seta r13b
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x14002e88a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e885
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002e885
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140163960
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x80], 7
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x50]
add rdx, rcx
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
mov qword [rsp + 0x78], r14
mov word [rsp + 0x68], r14w
xor r9d, r9d
lea r8, [rsp + 0x68]
call qword [sym.imp.boost_filesystem_vc142_mt_x64_1_84.dll_void___cdecl_boost::filesystem::detail::path_traits::convert_char_const____ptr64__char_const____ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64__class_std::codecvt_wchar_t__char__struct__Mbstatet__const____ptr64_]
nop
lea r8, [rsp + 0x270]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x88]
call qword [sym.imp.boost_filesystem_vc142_mt_x64_1_84.dll_class_boost::filesystem::file_status___cdecl_boost::filesystem::detail::status_class_boost::filesystem::path_const____ptr64__class_boost::system::error_code____ptr64_]
cmp dword [rax], 1
seta r15b
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x14002e949
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002e944
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002e944
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140163960
test r15b, r15b
jne 0x14002e9c6
test r13b, r13b
jne 0x14002e9c6
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x80], 7
mov rdx, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x14002e977
add rdx, qword [rdi]
mov rcx, qword [rdi]
jmp 0x14002e97d
add rdx, rdi
mov rcx, rdi
mov qword [rsp + 0x78], r14
mov word [rsp + 0x68], r14w
xor r9d, r9d
lea r8, [rsp + 0x68]
call qword [sym.imp.boost_filesystem_vc142_mt_x64_1_84.dll_void___cdecl_boost::filesystem::detail::path_traits::convert_char_const____ptr64__char_const____ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64__class_std::codecvt_wchar_t__char__struct__Mbstatet__const____ptr64_]
nop
mov ebx, 1
lea r8, [rsp + 0x270]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x88]
call qword [sym.imp.boost_filesystem_vc142_mt_x64_1_84.dll_class_boost::filesystem::file_status___cdecl_boost::filesystem::detail::status_class_boost::filesystem::path_const____ptr64__class_boost::system::error_code____ptr64_]
cmp dword [rax], ebx
seta al
test al, al
je 0x14002e9c6
movzx r14d, bl
jmp 0x14002e9c9
xor r14b, r14b
test bl, 1
je 0x14002ea19
and ebx, 0xfffffffe
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x14002ea19
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002ea14
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002ea14
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140163960
test r14b, r14b
je 0x14002ebc8
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
xor r14d, r14d
mov qword [rsp + 0xc0], r14
mov qword [rsp + 0xd0], r14
mov qword [rsp + 0xe8], 7
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
add rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
mov qword [rsp + 0xe0], r14
mov word [rsp + 0xd0], r14w
xor r9d, r9d
lea r8, [rsp + 0xd0]
call qword [sym.imp.boost_filesystem_vc142_mt_x64_1_84.dll_void___cdecl_boost::filesystem::detail::path_traits::convert_char_const____ptr64__char_const____ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64__class_std::codecvt_wchar_t__char__struct__Mbstatet__const____ptr64_]
nop
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x80], 7
mov rdx, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x14002eaba
add rdx, qword [rdi]
mov rcx, qword [rdi]
jmp 0x14002eac0
add rdx, rdi
mov rcx, rdi
mov qword [rsp + 0x78], r14
mov word [rsp + 0x68], r14w
xor r9d, r9d
lea r8, [rsp + 0x68]
call qword [sym.imp.boost_filesystem_vc142_mt_x64_1_84.dll_void___cdecl_boost::filesystem::detail::path_traits::convert_char_const____ptr64__char_const____ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64__class_std::codecvt_wchar_t__char__struct__Mbstatet__const____ptr64_]
nop
lea r8, [rsp + 0xb0]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x68]
call qword [sym.imp.boost_filesystem_vc142_mt_x64_1_84.dll_void___cdecl_boost::filesystem::detail::rename_class_boost::filesystem::path_const____ptr64__class_boost::filesystem::path_const____ptr64__class_boost::system::error_code____ptr64_]
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x14002eb3e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002eb39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002eb39
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140163960
movdqa xmm0, xmmword [0x14017efe0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r14w
mov rdx, qword [rsp + 0xe8]
cmp rdx, 8
jb 0x14002eb9d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002eb98
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002eb98
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140163960
mov rax, qword [rsp + 0xc0]
test al, 1
je 0x14002ebd4
cmp rax, 1
jne 0x14002fb66
cmp dword [rsp + 0xb0], 0
setne al
test al, al
jne 0x14002fb66
jmp 0x14002ebd4
test r15b, r15b
je 0x14002f6e3
xor r14d, r14d
lea r9, [0x140202980]
mov r8d, 3
lea rdx, [rsp + 0x4b0]
mov rcx, qword [rsp + 0x628]
call fcn.1401323e0
nop
lea rcx, [rax + 0x68]
lea rdx, str.Loading_wallet...
call fcn.1400042f0
nop
lea rcx, [rsp + 0x4b0]
call fcn.140131dc0
lea rcx, [rsp + 0x588]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rax, [0x14017c418]
mov qword [rsp + 0x160], rax
lea rcx, [rsp + 0x210]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or ebx, 4
mov dword [rsp + 0xf0], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x170]
lea rcx, [rsp + 0x160]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_istream_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 + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x160], rax
mov rax, qword [rsp + 0x160]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x15c], edx
lea rax, [rsp + 0x170]
mov qword [rsp + 0x88], rax
lea rcx, [rsp + 0x170]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x170], rax
mov byte [rsp + 0x1ec], 0
mov byte [rsp + 0x1e1], 0
lea rcx, [rsp + 0x170]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rsp + 0x1f0], r14
mov rax, qword [0x14020e148]
mov qword [rsp + 0x1e4], rax
mov qword [rsp + 0x1d8], r14
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov r9d, 0x40
lea r8d, [r9 - 0x1f]
lea rcx, [rsp + 0x170]
call fcn.1400230d0
xor r8d, r8d
test rax, rax
mov rax, qword [rsp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x160]
je 0x14002ed58
add rcx, rax
xor edx, edx
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::clear_int__bool____ptr64]
jmp 0x14002ed66
add rcx, rax
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 rax, qword [rsp + 0x160]
movsxd rcx, dword [rax + 4]
test byte [rsp + rcx + 0x170], 6
jne 0x14002fc12
mov rdi, qword [rsp + 0x640]
mov r9, rdi
lea r8, [rsp + 0x160]
mov rdx, qword [r12]
lea rcx, [rsp + 0xd0]
call fcn.14001f630
cmp qword [rsp + 0x1f0], 0
je 0x14002ef47
mov rax, qword [rsp + 0x188]
lea rcx, [rsp + 0x1e0]
cmp qword [rax], rcx
jne 0x14002edf2
mov rdx, qword [rsp + 0x200]
mov rcx, qword [rsp + 0x1f8]
mov qword [rax], rcx
mov rax, qword [rsp + 0x1a8]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rsp + 0x1c0]
mov dword [rax], edx
cmp qword [rsp + 0x1d8], 0
je 0x14002ee81
cmp byte [rsp + 0x1e1], 0
je 0x14002ee81
mov rax, qword [rsp + 0x170]
mov edx, 0xffffffff
lea rcx, [rsp + 0x170]
call qword [rax + 0x18]
cmp eax, 0xffffffff
jne 0x14002ee2c
xor al, al
jmp 0x14002ee83
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x118]
lea r8, [rsp + 0xf8]
lea rdx, [rsp + 0x1e4]
mov rcx, qword [rsp + 0x1d8]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x14002eef0
sub eax, 1
je 0x14002eef8
cmp eax, 2
je 0x14002ee79
xor al, al
jmp 0x14002ee83
mov byte [rsp + 0x1e1], 0
mov al, 1
lea rbx, [rsp + 0x170]
test al, al
cmove rbx, r14
mov rcx, qword [rsp + 0x1f0]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test eax, eax
cmovne rbx, r14
mov byte [rsp + 0x1ec], 0
mov byte [rsp + 0x1e1], 0
lea rcx, [rsp + 0x170]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rsp + 0x1f0], r14
mov rax, qword [0x14020e148]
mov qword [rsp + 0x1e4], rax
mov qword [rsp + 0x1d8], r14
test rbx, rbx
jne 0x14002efa8
jmp 0x14002ef84
mov byte [rsp + 0x1e1], 0
lea rax, [rsp + 0xf8]
mov rbx, qword [rsp + 0x88]
sub rbx, rax
je 0x14002ef37
mov r9, qword [rsp + 0x1f0]
mov r8, rbx
mov edx, 1
lea rcx, [rsp + 0xf8]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
je 0x14002ef37
xor al, al
jmp 0x14002ee83
cmp byte [rsp + 0x1e1], 0
sete al
jmp 0x14002ee83
mov byte [rsp + 0x1ec], 0
mov byte [rsp + 0x1e1], 0
lea rcx, [rsp + 0x170]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rsp + 0x1f0], r14
mov rax, qword [0x14020e148]
mov qword [rsp + 0x1e4], rax
mov qword [rsp + 0x1d8], r14
mov rax, qword [rsp + 0x160]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x160]
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]
cmp dword [rsp + 0xd0], 0
je 0x14002f611
test r13b, r13b
je 0x14002fcce
mov edx, 1
lea rcx, [rsp + 0x4b0]
call fcn.14000bee0
nop
lea r8, [rsp + 0x4c0]
mov rdx, rdi
lea rcx, [rsp + 0x90]
call fcn.1400bc7a0
mov r13, qword [rsp + 0xa0]
movabs rdi, 0x7fffffffffffffff
mov rax, rdi
sub rax, r13
cmp rax, 5
jb 0x14002fc69
lea r12, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae r12, qword [rsp + 0x90]
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], r14
lea r15, [r13 + 5]
mov ebx, 0xf
lea r14, [rsp + 0x68]
cmp r15, rbx
jbe 0x14002f0c2
mov rbx, r15
or rbx, 0xf
cmp rbx, rdi
jbe 0x14002f083
mov rbx, rdi
movabs rax, 0x8000000000000027
mov rcx, rax
call fcn.140163924
test rax, rax
je 0x14002f2f0
lea r14, [rax + 0x27]
and r14, 0xffffffffffffffe0
mov qword [r14 - 8], rax
jmp 0x14002f0bd
mov eax, reloc.WS2_32.dll_shutdown
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14002f0ab
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14002fc6f
jmp 0x14002f064
test rcx, rcx
je 0x14002f0ba
call fcn.140163924
mov r14, rax
jmp 0x14002f0bd
xor r14d, r14d
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x78], r15
mov qword [rsp + 0x80], rbx
mov r8, r13
mov rdx, r12
mov rcx, r14
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [str..back]
mov dword [r14 + r13], eax
movzx eax, byte [0x14017c520]
mov byte [r14 + r13 + 4], al
mov byte [r14 + r15], 0
xor r14d, r14d
mov qword [rsp + 0xd0], r14
mov qword [rsp + 0xe8], 7
lea rdx, [rsp + 0x68]
cmp qword [rsp + 0x80], 0x10
cmovae rdx, qword [rsp + 0x68]
add rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 0x10
cmovae rcx, qword [rsp + 0x68]
mov qword [rsp + 0xe0], r14
mov word [rsp + 0xd0], r14w
xor r9d, r9d
lea r8, [rsp + 0xd0]
call qword [sym.imp.boost_filesystem_vc142_mt_x64_1_84.dll_void___cdecl_boost::filesystem::detail::path_traits::convert_char_const____ptr64__char_const____ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64__class_std::codecvt_wchar_t__char__struct__Mbstatet__const____ptr64_]
nop
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xc8], 7
lea rcx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0xa0]
add rdx, rcx
lea rcx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae rcx, qword [rsp + 0x90]
mov qword [rsp + 0xc0], r14
mov word [rsp + 0xb0], r14w
xor r9d, r9d
lea r8, [rsp + 0xb0]
call qword [sym.imp.boost_filesystem_vc142_mt_x64_1_84.dll_void___cdecl_boost::filesystem::detail::path_traits::convert_char_const____ptr64__char_const____ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64__class_std::codecvt_wchar_t__char__struct__Mbstatet__const____ptr64_]
nop
xor r8d, r8d
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.boost_filesystem_vc142_mt_x64_1_84.dll_void___cdecl_boost::filesystem::detail::rename_class_boost::filesystem::path_const____ptr64__class_boost::filesystem::path_const____ptr64__class_boost::system::error_code____ptr64_]
nop
mov rdx, qword [rsp + 0xc8]
cmp rdx, 8
jb 0x14002f23a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f235
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002f235
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140163960
movdqa xmm0, xmmword [0x14017efe0]
movdqu xmmword [rsp + 0xc0], xmm0
mov word [rsp + 0xb0], r14w
mov rdx, qword [rsp + 0xe8]
cmp rdx, 8
jb 0x14002f29f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f29a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002f29a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140163960
movdqa xmm0, xmmword [0x14017efe0]
movdqu xmmword [rsp + 0xe0], xmm0
mov word [rsp + 0xd0], r14w
mov rdx, qword [rsp + 0x80]
cmp rdx, 0x10
jb 0x14002f2fc
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f2f7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002f2f7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140163960
mov rax, qword [rsp + 0x50]
sub rdi, rax
cmp rdi, 5
jb 0x14002fc75
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae r9, qword [rsp + 0x40]
mov qword [rsp + 0x30], 5
lea rcx, str..back
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x40]
movzx edx, byte [rsp + 0x60]
lea rcx, [rsp + 0xb0]
call fcn.14000bbb0
nop
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0xf8]
call fcn.1400040d0
nop
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x80], 7
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
add rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rcx, qword [rsp + 0x40]
mov qword [rsp + 0x78], r14
mov word [rsp + 0x68], r14w
xor r9d, r9d
lea r8, [rsp + 0x68]
call qword [sym.imp.boost_filesystem_vc142_mt_x64_1_84.dll_void___cdecl_boost::filesystem::detail::path_traits::convert_char_const____ptr64__char_const____ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64__class_std::codecvt_wchar_t__char__struct__Mbstatet__const____ptr64_]
nop
xor r8d, r8d
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x68]
call qword [sym.imp.boost_filesystem_vc142_mt_x64_1_84.dll_void___cdecl_boost::filesystem::detail::rename_class_boost::filesystem::path_const____ptr64__class_boost::filesystem::path_const____ptr64__class_boost::system::error_code____ptr64_]
nop
mov rdx, qword [rsp + 0x80]
cmp rdx, 8
jb 0x14002f418
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f413
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002f413
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140163960
movdqa xmm0, xmmword [0x14017efe0]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], r14w
lea rcx, [rsp + 0xf8]
call fcn.140014ff0
nop
lea rcx, [rsp + 0xb0]
call fcn.1400105f0
mov r9, qword [rsp + 0x640]
lea r8, [rsp + 0x4b0]
mov rbx, qword [rsp + 0x630]
mov rdx, qword [rbx]
lea rcx, [rsp + 0xb0]
call fcn.14001f630
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0xd0], xmm0
movd eax, xmm0
test eax, eax
jne 0x14002fc7b
lea r9, [0x140202980]
mov r8d, 3
lea rdx, [rsp + 0x378]
mov rdi, qword [rsp + 0x628]
mov rcx, rdi
call fcn.1401323e0
nop
lea rcx, [rax + 0x68]
lea rdx, str.Storing_wallet...
call fcn.1400042f0
nop
lea rcx, [rsp + 0x378]
call fcn.140131dc0
lea rcx, [rsp + 0x450]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rdx, [rsp + 0x40]
mov rcx, qword [rbx]
call fcn.14009fe40
nop
lea r9, [0x1402028c0]
mov r8d, 3
lea rdx, [rsp + 0x378]
mov rcx, rdi
call fcn.1401323e0
nop
lea rcx, [rax + 0x68]
lea rdx, str.Stored_ok
call fcn.1400042f0
nop
lea rcx, [rsp + 0x378]
call fcn.140131dc0
lea rcx, [rsp + 0x450]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rsi + 0x10], xmm1
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], socket
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0x4b0]
call fcn.140013440
nop
lea rcx, [rsp + 0x160]
call fcn.140013300
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14002f5b1
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f5ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002f5ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140163960
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], socket
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0x10
jb 0x14002faef
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002faea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002faea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rsi + 0x10], xmm1
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], socket
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0x160]
call fcn.140013300
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14002f683
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f67e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002f67e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140163960
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], socket
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0x10
jb 0x14002faef
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002faea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002faea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test r13b, r13b
je 0x14002fb0f
mov edx, 1
lea rcx, [rsp + 0x4b0]
call fcn.14000bee0
nop
lea r8, [rsp + 0x4c0]
mov rbx, qword [rsp + 0x640]
mov rdx, rbx
lea rcx, [rsp + 0x90]
call fcn.1400bc7a0
movabs rdi, 0x7fffffffffffffff
mov rax, qword [rsp + 0xa0]
sub rdi, rax
cmp rdi, 5
jb 0x14002fd25
lea r9, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae r9, qword [rsp + 0x90]
mov qword [rsp + 0x30], 5
lea rcx, str..back
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x90]
movzx edx, byte [rsp + 0x60]
lea rcx, [rsp + 0x298]
call fcn.14000bbb0
nop
lea rdx, [rsp + 0x298]
lea rcx, [rsp + 0xd0]
call fcn.1400040d0
nop
xor r14d, r14d
mov qword [rsp + 0xb0], r14
mov qword [rsp + 0xc8], 7
lea rcx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae rcx, qword [rsp + 0x90]
mov rdx, qword [rsp + 0xa0]
add rdx, rcx
lea rcx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0x10
cmovae rcx, qword [rsp + 0x90]
mov qword [rsp + 0xc0], r14
mov word [rsp + 0xb0], r14w
xor r9d, r9d
lea r8, [rsp + 0xb0]
call qword [sym.imp.boost_filesystem_vc142_mt_x64_1_84.dll_void___cdecl_boost::filesystem::detail::path_traits::convert_char_const____ptr64__char_const____ptr64__class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64__class_std::codecvt_wchar_t__char__struct__Mbstatet__const____ptr64_]
nop
xor r8d, r8d
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.boost_filesystem_vc142_mt_x64_1_84.dll_void___cdecl_boost::filesystem::detail::rename_class_boost::filesystem::path_const____ptr64__class_boost::filesystem::path_const____ptr64__class_boost::system::error_code____ptr64_]
nop
mov rdx, qword [rsp + 0xc8]
cmp rdx, 8
jb 0x14002f881
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002f87c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002f87c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140163960
movdqa xmm0, xmmword [0x14017efe0]
movdqu xmmword [rsp + 0xc0], xmm0
mov word [rsp + 0xb0], r14w
lea rcx, [rsp + 0xd0]
call fcn.140014ff0
nop
lea rcx, [rsp + 0x298]
call fcn.1400105f0
nop
lea rax, vtable.DynexCN::WalletHelper::InitWalletResultObserver.0
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x100]
call fcn.14000c130
nop
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x100]
call fcn.140019e00
nop
lea r8, [rsp + 0xf8]
mov rdx, qword [r12]
lea rcx, [rsp + 0x68]
call fcn.14009f130
nop
mov rcx, qword [r12]
mov rax, qword [rcx]
mov r8, rbx
lea rdx, [rsp + 0x4b0]
call qword [rax + 0x30]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0xb0]
call fcn.140019470
lea rcx, [rsp + 0x68]
call fcn.14009fc00
cmp dword [rsp + 0xd0], 0
jne 0x14002fd2b
lea r9, [0x140202980]
mov r8d, 3
lea rdx, [rsp + 0x378]
mov rbx, qword [rsp + 0x628]
mov rcx, rbx
call fcn.1401323e0
nop
lea rcx, [rax + 0x68]
lea rdx, str.Storing_wallet...
call fcn.1400042f0
nop
lea rcx, [rsp + 0x378]
call fcn.140131dc0
lea rcx, [rsp + 0x450]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rdx, [rsp + 0x40]
mov rcx, qword [r12]
call fcn.14009fe40
nop
lea r9, [0x1402028c0]
mov r8d, 3
lea rdx, [rsp + 0x378]
mov rcx, rbx
call fcn.1401323e0
nop
lea rcx, [rax + 0x68]
lea rdx, str.Stored_ok
call fcn.1400042f0
nop
lea rcx, [rsp + 0x378]
call fcn.140131dc0
lea rcx, [rsp + 0x450]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rsi + 0x10], xmm1
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], socket
mov byte [rsp + 0x40], 0
lea rcx, [rsp + 0x68]
call fcn.14009f490
nop
lea rcx, [rsp + 0xb0]
call fcn.140010820
nop
lea rcx, [rsp + 0x100]
call fcn.140010a20
lea rax, vtable.DynexCN::IWalletLegacyObserver.0
mov qword [rsp + 0xf8], rax
lea rcx, [rsp + 0x4b0]
call fcn.140013440
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14002fa96
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002fa91
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002fa91
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140163960
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], socket
mov byte [rsp + 0x40], 0
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0x10
jb 0x14002faef
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002faea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002faea
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140163960
mov rax, rsi
lea r11, [rsp + 0x5f0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea r8, [rsp + 0x40]
lea rdx, str.wallet_file_
lea rcx, [rsp + 0x138]
call fcn.140004770
nop
lea r8, str._is_not_found
mov rdx, rax
lea rcx, [rsp + 0x118]
call fcn.1400046b0
nop
mov rdx, rax
lea rcx, [rsp + 0x360]
call fcn.14000e400
lea rdx, [0x1401faff0]
lea rcx, [rsp + 0x360]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea rdx, [rsp + 0x298]
lea rcx, [rsp + 0xb0]
call fcn.140020100
mov rbx, rax
mov r8, rdi
lea rdx, str.failed_to_rename_file_
lea rcx, [rsp + 0xf8]
call fcn.140004770
nop
lea r8, str._to_
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400046b0
nop
lea r8, [rsp + 0x40]
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.140004650
nop
lea r8, [0x14017c4c0]
mov rdx, rax
lea rcx, [rsp + 0x118]
call fcn.1400046b0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x138]
call fcn.140004620
nop
mov rdx, rax
lea rcx, [rsp + 0x2b8]
call fcn.14000e400
lea rdx, [0x1401faff0]
lea rcx, [rsp + 0x2b8]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rsp + 0x40]
lea rdx, str.error_opening_wallet_file_
lea rcx, [rsp + 0x138]
call fcn.140004770
nop
lea r8, [0x14017c0ec]
mov rdx, rax
lea rcx, [rsp + 0x118]
call fcn.1400046b0
nop
mov rdx, rax
lea rcx, [rsp + 0x2d0]
call fcn.14000e400
lea rdx, [0x1401faff0]
lea rcx, [rsp + 0x2d0]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140015130
int3
call fcn.140014c00
int3
call fcn.140015130
int3
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0xd0]
call fcn.1400200d0
nop
mov r8, rax
lea rdx, str.failed_to_load_wallet:
lea rcx, [rsp + 0x118]
call fcn.140004710
nop
mov rdx, rax
lea rcx, [rsp + 0x2e8]
call fcn.14000e400
lea rdx, [0x1401faff0]
lea rcx, [rsp + 0x2e8]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
lea r8, [rsp + 0x40]
lea rdx, str.cant_load_wallet_file_
lea rcx, [rsp + 0x138]
call fcn.140004770
nop
lea r8, str.__check_password
mov rdx, rax
lea rcx, [rsp + 0x118]
call fcn.1400046b0
nop
mov rdx, rax
lea rcx, [rsp + 0x318]
call fcn.14000e400
lea rdx, [0x1401faff0]
lea rcx, [rsp + 0x318]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.140015130
nop
lea rdx, [rsp + 0x138]
lea rcx, [rsp + 0xd0]
call fcn.1400200d0
nop
mov r8, rax
lea rdx, str.failed_to_load_wallet:
lea rcx, [rsp + 0x118]
call fcn.140004710
nop
mov rdx, rax
lea rcx, [rsp + 0x330]
call fcn.14000e400
lea rdx, [0x1401faff0]
lea rcx, [rsp + 0x330]
call sub.VCRUNTIME140.dll__CxxThrowException
int3