Function at 0x1400012a0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1400012a0
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xc0]
sub rsp, 0x1c0
mov rax, qword [0x140008010]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor ebx, ebx
mov r14d, ebx
mov dword [rsp + 0x40], ebx
movdqa xmm0, xmmword [0x140005610]
movdqu xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x140005620]
movdqu xmmword [rbp - 0x80], xmm1
mov word [rbp - 0x70], 0xbf
mov byte [rbp - 0x6e], 1
mov ecx, ebx
nop dword [rax + rax]
lea eax, [rcx - 0x4d]
xor byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 0x21
jb 0x140001310
mov byte [rbp - 0x6e], bl
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], 0xf
lea rax, [rsp + 0x70]
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp byte [rax + r8], bl
jne 0x140001345
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x48]
call fcn.140003130
mov word [rsp + 0x40], 0x72
mov byte [rsp + 0x42], bl
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 0x10
cmovae rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
test rax, rax
je 0x140001397
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor dil, dil
jmp 0x14000139a
mov dil, 1
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400013da
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400013d5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400013d5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003f8c
lea r15, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
lea r13, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
test dil, dil
je 0x140001571
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x60]
call fcn.140004bd4
lea rcx, [rbp - 0x60]
call fcn.140002c40
nop
movdqa xmm0, xmmword [0x140005610]
movdqu xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x140005620]
movdqu xmmword [rbp - 0x80], xmm1
mov word [rbp - 0x70], 0xbf
mov byte [rbp - 0x6e], 1
mov rcx, rbx
nop dword [rax]
nop dword [rax + rax]
lea eax, [rcx - 0x4d]
xor byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 0x21
jb 0x140001440
mov byte [rbp - 0x6e], 0
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x58]
call fcn.140002fe0
xor r8d, r8d
test rax, rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x60]
je 0x140001483
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 0x140001491
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 edi, ebx
lea r15, [0x14026b7b0]
nop word [rax + rax]
movsxd rdx, edi
add rdx, r15
mov r8d, 1
lea rcx, [rbp - 0x60]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
inc edi
cmp edi, 0x43960
jb 0x1400014a0
lea rcx, [rbp - 0x58]
call fcn.140002f30
test rax, rax
jne 0x1400014eb
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x60]
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 - 0x60]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], r15
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x64], edx
mov qword [rbp - 0x58], r13
cmp qword [rbp + 0x28], 0
je 0x140001543
mov rax, qword [rbp - 0x40]
lea rcx, [rbp + 0x18]
cmp qword [rax], rcx
jne 0x140001543
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x30]
mov qword [rax], rcx
mov rax, qword [rbp - 0x20]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp - 8]
mov dword [rax], edx
cmp byte [rbp + 0x24], 0
je 0x140001552
lea rcx, [rbp - 0x58]
call fcn.140002f30
lea rcx, [rbp - 0x58]
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, [rbp - 0x50]
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 + 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
movdqa xmm0, xmmword [0x140005610]
movdqu xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x58], 0x9af7f7ae
mov dword [rsp + 0x5c], 0xfbadfba3
mov dword [rsp + 0x60], 0xa2a9e2fa
mov word [rsp + 0x64], 0xa3
mov byte [rsp + 0x66], 1
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx - 0x4d]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 0x1d
jb 0x1400015b0
mov byte [rsp + 0x66], 0
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], 0xf
lea rax, [rsp + 0x48]
mov r8, rsi
nop
inc r8
cmp byte [rax + r8], 0
jne 0x1400015e0
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.140003130
mov word [rsp + 0x40], 0x72
mov byte [rsp + 0x42], 0
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
test rax, rax
je 0x140001633
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor dil, dil
jmp 0x140001636
mov dil, 1
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140001675
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001670
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001670
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003f8c
test dil, dil
je 0x140001801
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x60]
call fcn.140004bd4
lea rcx, [rbp - 0x60]
call fcn.140002c40
nop
movdqa xmm0, xmmword [0x140005610]
movdqu xmmword [rsp + 0x48], xmm0
mov dword [rsp + 0x58], 0x9af7f7ae
mov dword [rsp + 0x5c], 0xfbadfba3
mov dword [rsp + 0x60], 0xa2a9e2fa
mov word [rsp + 0x64], 0xa3
mov byte [rsp + 0x66], 1
mov rcx, rbx
nop
lea eax, [rcx - 0x4d]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 0x1d
jb 0x1400016d0
mov byte [rsp + 0x66], 0
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x58]
call fcn.140002fe0
xor r8d, r8d
test rax, rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x60]
je 0x140001714
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 0x140001722
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 edi, ebx
lea r15, [0x140008050]
nop dword [rax + rax]
movsxd rdx, edi
add rdx, r15
mov r8d, 1
lea rcx, [rbp - 0x60]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
inc edi
cmp edi, 0x263758
jb 0x140001730
lea rcx, [rbp - 0x58]
call fcn.140002f30
test rax, rax
jne 0x14000177b
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x60]
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 - 0x60]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], r15
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x64], edx
mov qword [rbp - 0x58], r13
cmp qword [rbp + 0x28], 0
je 0x1400017d3
mov rax, qword [rbp - 0x40]
lea rcx, [rbp + 0x18]
cmp qword [rax], rcx
jne 0x1400017d3
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x30]
mov qword [rax], rcx
mov rax, qword [rbp - 0x20]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp - 8]
mov dword [rax], edx
cmp byte [rbp + 0x24], 0
je 0x1400017e2
lea rcx, [rbp - 0x58]
call fcn.140002f30
lea rcx, [rbp - 0x58]
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, [rbp - 0x50]
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 + 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
movdqa xmm0, xmmword [0x140005610]
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x140005600]
movdqu xmmword [rsp + 0x58], xmm1
mov dword [rsp + 0x68], 0xb2fbe7e7
mov dword [rsp + 0x6c], 0x100b4bb
mov rcx, rbx
lea eax, [rcx - 0x4d]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 0x26
jb 0x140001830
mov byte [rsp + 0x6f], 0
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], 0xf
lea rax, [rsp + 0x48]
mov r8, rsi
nop
inc r8
cmp byte [rax + r8], 0
jne 0x140001860
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.140003130
mov word [rsp + 0x40], 0x72
mov byte [rsp + 0x42], 0
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
test rax, rax
je 0x1400018b3
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor dil, dil
jmp 0x1400018b6
mov dil, 1
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x1400018f5
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400018f0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400018f0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003f8c
lea r12, [0x1400055d0]
test dil, dil
je 0x140001b01
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x60]
call fcn.140004bd4
mov qword [rbp - 0x60], r12
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov r14d, 1
mov dword [rsp + 0x40], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x60]
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 - 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x60], r15
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x64], edx
lea rax, [rbp - 0x58]
mov qword [rbp - 0x68], rax
lea rcx, [rbp - 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov qword [rbp - 0x58], r13
mov byte [rbp + 0x24], 0
mov byte [rbp + 0x19], 0
lea rcx, [rbp - 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x28], rbx
mov rax, qword [0x140bd2668]
mov qword [rbp + 0x1c], rax
mov qword [rbp + 0x10], rbx
movdqa xmm0, xmmword [0x140005610]
movdqu xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x140005600]
movdqu xmmword [rbp - 0x80], xmm1
mov dword [rbp - 0x70], 0xb2fbe7e7
mov dword [rbp - 0x6c], 0x100b4bb
mov rcx, rbx
nop dword [rax]
lea eax, [rcx - 0x4d]
xor byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 0x26
jb 0x1400019d0
mov byte [rbp - 0x69], 0
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x58]
call fcn.140002fe0
xor r8d, r8d
test rax, rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x60]
je 0x140001a13
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 0x140001a21
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 edi, ebx
lea r15, [0x1402af110]
nop word [rax + rax]
movsxd rdx, edi
add rdx, r15
mov r8d, 1
lea rcx, [rbp - 0x60]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
inc edi
cmp edi, 0x268b68
jb 0x140001a30
lea rcx, [rbp - 0x58]
call fcn.140002f30
test rax, rax
jne 0x140001a7b
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x60]
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 - 0x60]
movsxd rcx, dword [rax + 4]
lea r15, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], r15
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x64], edx
mov qword [rbp - 0x58], r13
cmp qword [rbp + 0x28], 0
je 0x140001ad3
mov rax, qword [rbp - 0x40]
lea rcx, [rbp + 0x18]
cmp qword [rax], rcx
jne 0x140001ad3
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x30]
mov qword [rax], rcx
mov rax, qword [rbp - 0x20]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp - 8]
mov dword [rax], edx
cmp byte [rbp + 0x24], 0
je 0x140001ae2
lea rcx, [rbp - 0x58]
call fcn.140002f30
lea rcx, [rbp - 0x58]
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, [rbp - 0x50]
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 + 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
movdqa xmm0, xmmword [0x140005610]
movdqu xmmword [rsp + 0x48], xmm0
movdqa xmm1, xmmword [0x140005630]
movdqu xmmword [rsp + 0x58], xmm1
mov word [rsp + 0x68], 0x100
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx - 0x4d]
xor byte [rsp + rcx + 0x48], al
inc rcx
cmp rcx, 0x20
jb 0x140001b30
mov byte [rsp + 0x69], 0
mov qword [rsp + 0x70], rbx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], 0xf
lea rax, [rsp + 0x48]
nop dword [rax + rax]
inc rsi
cmp byte [rax + rsi], 0
jne 0x140001b60
mov r8, rsi
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.140003130
mov word [rsp + 0x40], 0x72
mov byte [rsp + 0x42], 0
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rcx, qword [rsp + 0x70]
lea rdx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen]
test rax, rax
je 0x140001bb5
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor dil, dil
jmp 0x140001bb8
mov dil, 1
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140001bf7
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001bf2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001bf2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140003f8c
test dil, dil
je 0x140001dea
xor edx, edx
mov r8d, 0x108
lea rcx, [rbp - 0x60]
call fcn.140004bd4
mov qword [rbp - 0x60], r12
lea rcx, [rbp + 0x48]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r14d, 2
mov dword [rsp + 0x40], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x58]
lea rcx, [rbp - 0x60]
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 - 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x60], r15
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x64], edx
lea rax, [rbp - 0x58]
mov qword [rbp - 0x68], rax
lea rcx, [rbp - 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov qword [rbp - 0x58], r13
mov byte [rbp + 0x24], 0
mov byte [rbp + 0x19], 0
lea rcx, [rbp - 0x58]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Init_void____ptr64]
mov qword [rbp + 0x28], rbx
mov rax, qword [0x140bd2668]
mov qword [rbp + 0x1c], rax
mov qword [rbp + 0x10], rbx
movdqa xmm0, xmmword [0x140005610]
movdqu xmmword [rsp + 0x70], xmm0
movdqa xmm1, xmmword [0x140005630]
movdqu xmmword [rbp - 0x80], xmm1
mov word [rbp - 0x70], 0x100
mov rcx, rbx
nop dword [rax]
lea eax, [rcx - 0x4d]
xor byte [rsp + rcx + 0x70], al
inc rcx
cmp rcx, 0x20
jb 0x140001cc0
mov byte [rbp - 0x6f], 0
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x58]
call fcn.140002fe0
xor r8d, r8d
test rax, rax
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x60]
je 0x140001d03
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 0x140001d11
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 edi, ebx
lea rsi, [0x140987a80]
nop word [rax + rax]
movsxd rdx, edi
add rdx, rsi
mov r8d, 1
lea rcx, [rbp - 0x60]
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__::write_char_const____ptr64__long_long___int64_____ptr64]
inc edi
cmp edi, 0x24a358
jb 0x140001d20
lea rcx, [rbp - 0x58]
call fcn.140002f30
test rax, rax
jne 0x140001d6b
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, [rbp - 0x60]
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 - 0x60]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x60], r15
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x64], edx
mov qword [rbp - 0x58], r13
cmp qword [rbp + 0x28], 0
je 0x140001dbc
mov rax, qword [rbp - 0x40]
lea rcx, [rbp + 0x18]
cmp qword [rax], rcx
jne 0x140001dbc
mov rdx, qword [rbp + 0x38]
mov rcx, qword [rbp + 0x30]
mov qword [rax], rcx
mov rax, qword [rbp - 0x20]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp - 8]
mov dword [rax], edx
cmp byte [rbp + 0x24], 0
je 0x140001dcb
lea rcx, [rbp - 0x58]
call fcn.140002f30
lea rcx, [rbp - 0x58]
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, [rbp - 0x50]
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 + 0x48]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
call fcn.1400039a0
mov rdi, rax
mov dword [rsp + 0x40], 0xc4d1d1c3
mov dword [rsp + 0x44], 0x100d6de
mov rcx, rbx
nop word [rax + rax]
lea eax, [rcx - 0x4d]
xor byte [rsp + rcx + 0x40], al
inc rcx
cmp rcx, 6
jb 0x140001e10
mov byte [rsp + 0x47], 0
mov r13, qword [rdi + 8]
mov rax, qword [rdi]
cmp dword [rax + 0x8c], 0
je 0x140001eb9
mov r14d, dword [rax + 0x88]
add r14, r13
mov edx, dword [r14 + 0x18]
test edx, edx
je 0x140001eb9
mov ecx, dword [r14 + 0x14]
test ecx, ecx
je 0x140001eb9
lea rax, [rsp + 0x40]
shr rax, 0x10
test ax, ax
jne 0x140001e78
lea rax, [rsp + 0x40]
movzx eax, ax
mov edx, dword [r14 + 0x10]
cmp eax, edx
jb 0x140001eb9
sub eax, edx
jmp 0x140001f95
mov esi, dword [r14 + 0x20]
add rsi, r13
mov r12d, dword [r14 + 0x24]
add r12, r13
mov r15d, ebx
test edx, edx
je 0x140001eb9
nop dword [rax]
mov edx, dword [rsi]
add rdx, r13
lea rcx, [rsp + 0x40]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140001f8c
inc r15d
add rsi, 4
add r12, 2
cmp r15d, dword [r14 + 0x18]
jb 0x140001e90
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
call rax
cmp dword [rdi + 0x1c], 0
je 0x140001ee5
mov rcx, qword [rdi + 8]
mov rax, qword [rdi]
mov r9d, dword [rax + 0x28]
add r9, rcx
xor r8d, r8d
xor edx, edx
call r9
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140001f2c
cmp dword [rdi + 0x18], 0
jle 0x140001f26
mov rsi, rbx
nop word [rax + rax]
mov rcx, qword [rdi + 0x10]
mov rax, qword [rsi + rcx]
test rax, rax
je 0x140001f1b
mov rdx, qword [rdi + 0x40]
mov rcx, rax
call qword [rdi + 0x38]
mov rcx, qword [rdi + 0x10]
inc ebx
add rsi, 8
cmp ebx, dword [rdi + 0x18]
jl 0x140001f00
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x140001f43
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 1
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.140003f30
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
movzx eax, word [r12]
mov ecx, dword [r14 + 0x14]
cmp eax, ecx
ja 0x140001eb9
mov edx, dword [r14 + 0x1c]
lea ecx, [rax*4]
lea rax, [rdx + r13]
mov eax, dword [rcx + rax]
add rax, r13
jmp 0x140001ec7