Function at 0x1400013a0
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x14000b040]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rcx, [0x1400065d8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov ecx, 0x40
call fcn.140004b70
mov rbx, rax
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::constructor_unsigned_long_long_unsigned___int64_____ptr64]
lea rax, vtable.std::codecvt_utf8_wchar_t__1114111__0_.0
mov qword [rbx], rax
mov cl, 1
call qword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_]
mov rdi, rax
mov qword [rsp + 0x28], rax
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Locimp::_New_Locimp_class_std::locale::_Locimp_const____ptr64_]
mov qword [rsp + 0x38], rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::locale::id_std::codecvt_wchar_t__char__struct__Mbstatet_::id]
call qword [sym.imp.MSVCP140.dll_public:_unsigned_long_long_unsigned___int64____cdecl_std::locale::id::operator_unsigned_long_long_unsigned___int64__void____ptr64]
mov r8, rax
mov rdx, rbx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_private:_void___cdecl_std::locale::_Locimp::_Addfac_class_std::locale::facet____ptr64__unsigned_long_long_unsigned___int64_____ptr64]
mov rax, qword [rsp + 0x38]
mov dword [rax + 0x20], 0
mov rcx, qword [rsp + 0x38]
add rcx, 0x28
lea rdx, [0x1400065d4]
call qword [sym.imp.MSVCP140.dll_public:_class_std::_Yarn_char_____ptr64___cdecl_std::_Yarn_char_::operator_char_const____ptr64____ptr64]
nop
test rdi, rdi
je 0x140001475
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x10]
test rax, rax
je 0x140001475
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
mov rdx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov rax, qword [rdx]
movsxd rcx, dword [rax + 4]
add rcx, rdx
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x20]
call qword [sym.imp.MSVCP140.dll_public:_class_std::locale___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::imbue_class_std::locale_const____ptr64____ptr64]
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400014b9
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x1400014b9
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
lea rdx, [0x1400065e0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140003b40
lea rdx, [0x1400066b0]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140003b40
lea rdx, [0x140006780]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140003b40
lea rdx, str.Z_P_P_P_P_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140003b40
lea rdx, [0x140006920]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140003b40
lea rdx, str.Z_P_P_P_P_P_P___
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140003b40
lea rdx, [0x140006abc]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140003b40
lea rdx, [0x140006abc]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.140003b40
call fcn.1400015a0
nop
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000157a
mov rax, qword [rcx]
call qword [rax + 0x10]
test rax, rax
je 0x14000157a
mov r8, qword [rax]
mov edx, 1
mov rcx, rax
call qword [r8]
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140004b50
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret