Function at 0x140056860
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x4b8]
sub rsp, 0x5b8
mov rax, qword [0x140093028]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov r15, r9
mov rsi, r8
mov r14, rdx
mov r12, rcx
mov qword [rbp - 0x40], rcx
mov qword [rbp + 8], r9
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xor edx, edx
mov r8d, 0x1f0
lea rcx, [rbp + 0x2b0]
call sub.VCRUNTIME140.dll_memset
movzx eax, word [0x140085690]
mov word [rsp + 0x28], ax
mov al, byte [0x140085692]
mov byte [rsp + 0x2a], al
mov r8d, r13d
movabs r13, 0x97b425ed097b425f
mov rax, r13
mul r8
shr rdx, 5
movsx eax, dl
imul ecx, eax, 0x36
mov al, r8b
sub al, cl
add al, 0x32
xor byte [rsp + r8 + 0x28], al
inc r8
cmp r8, 3
jb 0x1400568e0
mov rdx, r14
lea rcx, [rbp - 0x38]
call fcn.14004e164
mov rbx, rax
mov qword [rsp + 0x30], rax
lea rax, [0x140000000]
lea rax, [rax + 0x86348]
mov qword [rbp + 0x420], rax
lea rax, [0x1400864a8]
mov qword [rbp + 0x430], rax
lea rcx, [rbp + 0x440]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov edi, 8
mov dword [rsp + 0x20], edi
lea rcx, [rbp + 0x2b0]
call fcn.1400652dc
nop
xor r8d, r8d
lea rdx, [rbp + 0x2b0]
lea rcx, [rbp + 0x420]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x420]
movsxd rcx, dword [rax + 4]
lea rax, vtable.boost::asio::basic_socket_iostream_class_boost::asio::ip::tcp__struct_std::chrono::steady_clock__struct_boost::asio::wait_traits_struct_std::chrono::steady_clock__.0
mov qword [rbp + rcx + 0x420], rax
mov rax, qword [rbp + 0x420]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x20]
mov dword [rbp + rcx + 0x41c], edx
mov rax, qword [rbp + 0x420]
movsxd rcx, dword [rax + 4]
or dword [rbp + rcx + 0x438], 2
mov rdx, rbx
lea rcx, [rbp - 0x18]
call fcn.14004e164
lea r8, [rsp + 0x28]
mov rdx, rax
lea rcx, [rbp + 0x2b0]
call fcn.1400656e4
xor r13d, r13d
test rax, rax
jne 0x140056a04
mov rax, qword [rbp + 0x420]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x420]
add rcx, rax
xor r8d, r8d
lea edx, [rdi - 6]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140056a3e
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140056a39
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140056ab6
mov rcx, r8
call fcn.140069480
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], setsockopt
mov byte [rbx], r13b
mov rax, qword [rbp + 0x420]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x420]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
je 0x140056abd
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r13
mov esi, select
mov qword [rbp + 0x28], rsi
mov byte [rbp + 0x10], r13b
lea edi, [rsi - 5]
mov dword [rsp + 0x20], edi
lea rcx, [rbp + 0x440]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x2b0]
call fcn.14006174c
lea rcx, [rbp + 0x440]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x14005737e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov eax, dword [0x140085cb0]
mov dword [rsp + 0x38], eax
mov al, byte [0x140085cb4]
mov byte [rsp + 0x3c], al
mov r8, r13
mov ebx, 5
movabs r9, 0x97b425ed097b425f
mov rax, r9
mul r8
shr rdx, 5
movsx eax, dl
imul ecx, eax, 0x36
mov al, r8b
sub al, cl
add al, 0x32
xor byte [rsp + r8 + 0x38], al
inc r8
cmp r8, rbx
jb 0x140056ae3
lea rdx, [rsp + 0x38]
lea rcx, [rbp + 0x430]
call fcn.1400634e4
mov r8, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 0x10
jb 0x140056b26
mov rsi, qword [rsi]
mov rdx, rsi
mov rcx, rax
call fcn.140065b10
mov r9, rax
movsd xmm0, qword [0x140085888]
movsd qword [rsp + 0x48], xmm0
mov eax, dword [str._n66]
mov dword [rsp + 0x50], eax
movabs rsi, 0x97b425ed097b425f
cmp byte [0x140085893], r13b
je 0x140056b87
mov r8, r13
mov rax, rsi
mul r8
shr rdx, 5
movsx eax, dl
imul ecx, eax, 0x36
mov al, r8b
sub al, cl
add al, 0x32
xor byte [rsp + r8 + 0x48], al
inc r8
cmp r8, 0xc
jb 0x140056b62
lea rdx, [rsp + 0x48]
mov rcx, r9
call fcn.1400634e4
mov eax, dword [0x140085d14]
mov dword [rsp + 0x30], eax
movzx eax, word [0x140085d18]
mov word [rsp + 0x34], ax
mov al, byte [0x140085d1a]
mov byte [rsp + 0x36], al
mov r8, r13
mov rax, rsi
mul r8
shr rdx, 5
movsx eax, dl
imul ecx, eax, 0x36
mov al, r8b
sub al, cl
add al, 0x32
xor byte [rsp + r8 + 0x30], al
inc r8
cmp r8, 7
jb 0x140056bb7
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x430]
call fcn.1400634e4
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 0x10
jb 0x140056bfb
mov r14, qword [r14]
mov rdx, r14
mov rcx, rax
call fcn.140065b10
mov r9, rax
movzx eax, word [0x140086268]
mov word [rsp + 0x2c], ax
mov al, byte [0x14008626a]
mov byte [rsp + 0x2e], al
mov r8, r13
mov r14b, 0x32
mov rax, rsi
mul r8
shr rdx, 5
movsx eax, dl
imul ecx, eax, 0x36
mov al, r8b
sub al, cl
add al, r14b
xor byte [rsp + r8 + 0x2c], al
inc r8
cmp r8, 3
jb 0x140056c25
lea rdx, [rsp + 0x2c]
mov rcx, r9
call fcn.1400634e4
movups xmm0, xmmword [0x1400862c0]
movdqu xmmword [rsp + 0x78], xmm0
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x140056c9b
mov r8, r13
mov rax, rsi
mul r8
shr rdx, 5
movsx eax, dl
imul ecx, eax, 0x36
mov al, r8b
sub al, cl
add al, r14b
xor byte [rsp + r8 + 0x78], al
inc r8
cmp r8, 0x10
jb 0x140056c75
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x430]
call fcn.1400634e4
movups xmm0, xmmword [str.qZ_STLPUU]
movups xmmword [rbp - 0x78], xmm0
mov eax, dword [0x140085d10]
mov dword [rbp - 0x68], eax
cmp byte [0x140085d13], r13b
je 0x140056cf2
mov r8, r13
mov rax, rsi
mul r8
shr rdx, 5
movsx eax, dl
imul ecx, eax, 0x36
mov al, r8b
sub al, cl
add al, r14b
xor byte [rbp + r8 - 0x78], al
inc r8
cmp r8, 0x14
jb 0x140056ccc
lea rdx, [rbp - 0x78]
lea rcx, [rbp + 0x430]
call fcn.1400634e4
movups xmm0, xmmword [str.g_QGev_TO]
movups xmmword [rbp - 0x60], xmm0
movsd xmm0, qword [0x1400863f8]
movsd qword [rbp - 0x50], xmm0
mov al, byte [0x140086400]
mov byte [rbp - 0x48], al
mov r8, r13
mov rax, rsi
mul r8
shr rdx, 5
movsx eax, dl
imul ecx, eax, 0x36
mov al, r8b
sub al, cl
add al, r14b
xor byte [rbp + r8 - 0x60], al
inc r8
cmp r8, 0x19
jb 0x140056d26
lea rdx, [rbp - 0x60]
lea rcx, [rbp + 0x430]
call fcn.1400634e4
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], setsockopt
mov byte [rbp + 0x30], r13b
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x420]
call fcn.14006391c
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x420]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___unsigned_int____ptr64____ptr64]
xorps xmm0, xmm0
movups xmmword [rbp + 0x78], xmm0
movdqa xmm1, xmmword [0x140086f50]
movdqu xmmword [rbp + 0x88], xmm1
mov byte [rbp + 0x78], r13b
mov rax, qword [rbp + 0x420]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x420]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
mov r8b, al
lea rdx, [rbp + 0x78]
lea rcx, [rbp + 0x420]
call fcn.140065c78
mov rax, qword [rbp + 0x420]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x420]
add rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator__void_const___ptr64]
test al, al
je 0x140056ec5
mov eax, dword [str.zg_e]
mov dword [rsp + 0x40], eax
movzx eax, word [0x140085994]
mov word [rsp + 0x44], ax
mov r8, r13
mov rax, rsi
mul r8
shr rdx, 5
movsx eax, dl
imul ecx, eax, 0x36
mov al, r8b
sub al, cl
add al, r14b
xor byte [rsp + r8 + 0x40], al
inc r8
cmp r8, 6
jb 0x140056e1b
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
cmp qword [rbp + 0x40], rbx
cmovb rbx, qword [rbp + 0x40]
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rdx, qword [rbp + 0x30]
mov r8, rbx
lea rcx, [rsp + 0x58]
call fcn.14004bc48
mov edi, 0x1c
mov dword [rsp + 0x20], edi
lea rcx, [rsp + 0x40]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r13b
jne 0x140056e88
lea rcx, [rsp + 0x58]
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x70]
cmp rsi, 0x10
cmovae rcx, rbx
mov r8, qword [rsp + 0x68]
cmp r8, rax
jne 0x140056ec0
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140056ecf
mov r14b, 1
jmp 0x140056ed2
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x58]
mov r14b, r13b
test dil, 4
je 0x140056f16
and edi, 0xfffffffb
mov dword [rsp + 0x20], edi
cmp rsi, 0x10
jb 0x140056f16
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140056f0e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400572ca
mov rcx, rbx
call fcn.140069480
xorps xmm0, xmm0
test r14b, r14b
je 0x140056fc1
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r13
mov esi, select
mov qword [rbp + 0x28], rsi
mov byte [rbp + 0x10], r13b
or edi, 2
mov dword [rsp + 0x20], edi
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x140056f7d
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056f77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005730b
call fcn.140069480
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x140056a8b
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140056fb7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140057346
call fcn.140069480
jmp 0x140056a8b
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], setsockopt
mov byte [rbp + 0x50], r13b
mov rax, qword [rbp + 0x420]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0x420]
add rcx, rax
mov dl, 0xa
call qword [sym.imp.MSVCP140.dll_public:_char___cdecl_std::basic_ios_char__struct_std::char_traits_char__::widen_char_const___ptr64]
mov r8b, al
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x420]
call fcn.140065c78
mov rdx, rax
mov rax, qword [rax]
movsxd rcx, dword [rax + 4]
add rcx, rdx
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::operator_bool_void_const___ptr64]
mov r14, qword [rbp + 0x68]
mov rsi, qword [rbp + 0x50]
test al, al
je 0x1400570af
movzx eax, word [0x140086420]
mov word [rsp + 0x24], ax
cmp byte [0x140086421], r13b
je 0x140057072
mov r8, r13
movabs r13, 0x97b425ed097b425f
mov rax, r13
mul r8
shr rdx, 5
movsx eax, dl
imul ecx, eax, 0x36
mov al, r8b
sub al, cl
add al, 0x32
xor byte [rsp + r8 + 0x24], al
inc r8
cmp r8, 2
jb 0x14005704a
xor r13d, r13d
lea rcx, [rsp + 0x24]
or rax, 0xffffffffffffffff
inc rax
cmp byte [rcx + rax], r13b
jne 0x14005707b
lea rcx, [rbp + 0x50]
cmp r14, 0x10
cmovae rcx, rsi
mov r8, qword [rbp + 0x60]
cmp r8, rax
jne 0x140056fd5
lea rdx, [rsp + 0x24]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140056fd5
xor edx, edx
mov r8d, 0xf8
lea rcx, [rbp + 0x1b0]
call sub.VCRUNTIME140.dll_memset
lea rax, [0x140000000]
lea rax, [rax + 0x86340]
mov qword [rbp + 0x1b0], rax
lea rax, [0x140085ab0]
mov qword [rbp + 0x1c0], rax
lea rcx, [rbp + 0x248]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or edi, 0x20
mov dword [rsp + 0x20], edi
xor r8d, r8d
lea rdx, [rbp + 0x1c8]
lea rcx, [rbp + 0x1b0]
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::constructor_class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
mov rax, qword [rbp + 0x1b0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x1b0], rax
mov rax, qword [rbp + 0x1b0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x1ac], edx
lea rcx, [rbp + 0x1c8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + 0x1c8], rax
mov qword [rbp + 0x230], r13
mov dword [rbp + 0x238], r13d
lea rdx, [rbp + 0x2b0]
lea rcx, [rbp + 0x1c0]
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__::operator___class_std::basic_streambuf_char__struct_std::char_traits_char______ptr64____ptr64]
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], setsockopt
mov byte [rbp + 0x10], r13b
bts edi, 7
mov dword [rsp + 0x20], edi
mov eax, dword [rbp + 0x238]
and al, 0x22
cmp al, 2
je 0x1400571d8
mov rax, qword [rbp + 0x208]
mov rbx, qword [rax]
test rbx, rbx
je 0x1400571d8
mov rax, qword [rbp + 0x1e8]
mov r9, qword [rax]
cmp rbx, qword [rbp + 0x230]
cmovb rbx, qword [rbp + 0x230]
jmp 0x140057207
test byte [rbp + 0x238], 4
jne 0x14005723a
mov rax, qword [rbp + 0x200]
mov rcx, qword [rax]
test rcx, rcx
je 0x14005723a
mov rax, qword [rbp + 0x1e0]
mov r9, qword [rax]
mov rax, qword [rbp + 0x218]
movsxd rbx, dword [rax]
add rbx, rcx
mov rax, r9
sub rbx, r9
test rax, rax
je 0x14005723a
lea rcx, [rbp + 0x10]
cmp rbx, 0xf
ja 0x140057232
mov qword [rbp + 0x20], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rbp + rbx + 0x10], r13b
jmp 0x14005723a
mov rdx, rbx
call fcn.14004d68c
btr edi, 7
or edi, 0x42
mov dword [rsp + 0x20], edi
mov rax, qword [rbp + 0x1b0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rbp + rcx + 0x1b0], rax
mov rax, qword [rbp + 0x1b0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x98]
mov dword [rbp + rcx + 0x1ac], edx
lea rcx, [rbp + 0x1c8]
call fcn.140061e08
lea rcx, [rbp + 0x1d0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x248]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov ebx, 0x1000
cmp r14, 0x10
jb 0x1400572da
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, rbx
jb 0x1400572d1
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400572d1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.140069480
nop
mov rdx, qword [rbp + 0x90]
cmp rdx, 0x10
jb 0x140057318
inc rdx
mov rcx, qword [rbp + 0x78]
mov rax, rcx
cmp rdx, rbx
jb 0x140057312
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140057312
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069480
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x140057353
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, rbx
jb 0x14005734d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005734d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069480
nop
lea rcx, [rbp + 0x440]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp + 0x2b0]
call fcn.14006174c
lea rcx, [rbp + 0x440]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov esi, select
mov rdx, r15
mov rcx, r12
call fcn.14004e164
or edi, 1
mov dword [rsp + 0x20], edi
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll_memset
mov rbx, r12
cmp qword [r12 + 0x18], 0x10
jb 0x1400573b3
mov rbx, qword [r12]
lea rax, [0x140000000]
lea rax, [rax + 0x85318]
mov qword [rbp + 0xa0], rax
lea rcx, [rbp + 0x148]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
bts edi, 8
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0xa8]
lea rcx, [rbp + 0xa0]
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 [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xa0], rdi
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x9c], edx
lea rcx, [rbp + 0xa8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rbp + 0xa8], rax
mov byte [rbp + 0x124], r13b
mov byte [rbp + 0x119], r13b
lea rcx, [rbp + 0xa8]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x128], r13
mov rax, qword [0x1400951f0]
mov qword [rbp + 0x11c], rax
mov qword [rbp + 0x110], r13
mov r8d, 0x22
mov rdx, rbx
lea rcx, [rbp + 0xa8]
call fcn.14004f29c
test rax, rax
jne 0x1400574ba
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xa0]
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 [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xa0], rdi
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x9c], edx
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
cmovae rdx, qword [rbp + 0x10]
mov r8, qword [rbp + 0x20]
lea rcx, [rbp + 0xa0]
call fcn.140065b10
lea rcx, [rbp + 0xa8]
call fcn.140049850
test rax, rax
jne 0x140057537
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea rax, [rbp + 0xa0]
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 [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xa0], rdi
mov rax, qword [rbp + 0xa0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0x9c], edx
lea rcx, [rbp + 0xa8]
call fcn.1400492ec
lea rcx, [rbp + 0xb0]
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 + 0x148]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x1400575c7
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400575c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400575c2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140069480
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], rsi
mov byte [rbp + 0x10], r13b
mov rdx, qword [r15 + 0x18]
cmp rdx, 0x10
jb 0x140057609
inc rdx
mov rcx, qword [r15]
cmp rdx, 0x1000
jb 0x140057604
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14005763a
mov rcx, r8
call fcn.140069480
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], rsi
mov byte [r15], r13b
mov rax, r12
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.140069020
add rsp, 0x5b8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3