Function at 0x14000a6a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push r13
push r14
push r15
sub rsp, 0x360
mov rax, qword [0x14015d040]
xor rax, rsp
mov qword [rsp + 0x350], rax
xor r15d, r15d
mov r13d, r15d
mov dword [rsp + 0x58], r15d
mov rax, qword [0x140167040]
cmp rax, qword [0x140167048]
je 0x14000a6f5
mov qword [0x140167048], rax
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x240]
call sub.VCRUNTIME140.dll_memset
mov dword [rsp + 0x38], 0xb4a5bf97
mov dword [rsp + 0x3c], 0x8884b1b0
mov dword [rsp + 0x40], 0x94a7aaf3
mov word [rsp + 0x44], 0x100
mov rcx, r15
nop dword [rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0x38], al
inc rcx
cmp rcx, 0xc
jb 0x14000a730
mov byte [rsp + 0x45], 0
mov r8d, 1
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x240]
call fcn.1400284e0
nop
cmp qword [rsp + 0x2d0], 0
je 0x14000b01e
xorps xmm0, xmm0
movups xmmword [rsp + 0x130], xmm0
mov qword [rsp + 0x140], r15
mov qword [rsp + 0x148], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x130], 0
lea rbx, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov r12, 0xffffffffffffffff
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x50], eax
lea rdi, [0x14012f3c0]
lea rsi, vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov rax, qword [rsp + 0x240]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x240]
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]
movzx r8d, al
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x240]
call fcn.14002da10
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]
test al, al
je 0x14000aedb
xor edx, edx
mov r8d, 0xf0
lea rcx, [rsp + 0x150]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x150], rdi
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
or r13d, 4
mov dword [rsp + 0x58], r13d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x150]
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 + 0x150]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x150], rbx
mov rax, qword [rsp + 0x150]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rsp + rcx + 0x14c], edx
lea rax, [rsp + 0x160]
mov qword [rsp + 0xc8], rax
lea rcx, [rsp + 0x160]
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::constructor_void____ptr64]
nop
mov qword [rsp + 0x160], rsi
lea rdx, [rsp + 0x130]
cmp qword [rsp + 0x148], 0xf
cmova rdx, qword [rsp + 0x130]
mov r9d, 2
mov r8, qword [rsp + 0x140]
lea rcx, [rsp + 0x160]
call fcn.14002b410
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0xf0], xmm0
mov qword [rsp + 0x100], r15
mov qword [rsp + 0x108], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0xf0], 0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xa8], xmm1
mov qword [rsp + 0xb8], r15
mov r8b, 0x7c
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0x150]
call fcn.14002da10
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]
test al, al
je 0x14000a998
mov rax, qword [rsp + 0xb0]
cmp rax, qword [rsp + 0xb8]
je 0x14000a97e
lea rdx, [rsp + 0xf0]
mov rcx, rax
call fcn.14002a640
add qword [rsp + 0xb0], 0x20
jmp 0x14000a922
lea r8, [rsp + 0xf0]
mov rdx, rax
lea rcx, [rsp + 0xa8]
call fcn.14002e030
jmp 0x14000a922
mov rcx, qword [rsp + 0xb0]
mov qword [rsp + 0x58], rcx
mov rax, rcx
mov rsi, qword [rsp + 0xa8]
sub rax, rsi
sar rax, 5
cmp rax, 3
jae 0x14000aaa7
movdqa xmm0, xmmword [0x140135b00]
movdqu xmmword [rsp + 0xc8], xmm0
movdqa xmm1, xmmword [0x140136230]
movdqu xmmword [rsp + 0xd8], xmm1
mov word [rsp + 0xe8], 0xff
mov byte [rsp + 0xea], 1
mov rcx, r15
nop dword [rax + rax]
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0xc8], al
inc rcx
cmp rcx, 0x21
jb 0x14000aa00
mov byte [rsp + 0xea], 0
lea rdx, [rsp + 0xc8]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14002b8a0
nop
lea rcx, [rsp + 0xa8]
call fcn.14002b020
nop
lea rcx, [rsp + 0xf0]
call fcn.14002b140
nop
mov rax, qword [rsp + 0x150]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x150], rbx
mov rax, qword [rsp + 0x150]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rsp + rcx + 0x14c], edx
lea rcx, [rsp + 0x160]
call fcn.14002a1e0
lea rcx, [rsp + 0x168]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x14000a7b1
cmp rsi, rcx
je 0x14000ae27
mov rdi, rsi
mov r15, qword [rsi + 0x18]
cmp r15, 0xf
jbe 0x14000aac0
mov rdi, qword [rsi]
mov r14, qword [rsi + 0x10]
test r14, r14
je 0x14000aae6
mov r8, r14
mov edx, 0x3d
mov rcx, rdi
call sub.VCRUNTIME140.dll_memchr
mov rbx, rax
test rax, rax
je 0x14000aae6
sub rbx, rdi
jmp 0x14000aae9
mov rbx, r12
cmp rbx, 0xffffffffffffffff
je 0x14000ae16
xorps xmm0, xmm0
movups xmmword [rsp + 0xc8], xmm0
xor eax, eax
mov qword [rsp + 0xd8], rax
mov qword [rsp + 0xe0], rax
mov r8, rbx
cmp r14, rbx
cmovb r8, r14
mov rdx, rsi
cmp r15, 0xf
jbe 0x14000ab26
mov rdx, qword [rsi]
lea rcx, [rsp + 0xc8]
call fcn.14002c630
or r13d, 1
inc rbx
xorps xmm0, xmm0
movups xmmword [rsp + 0x110], xmm0
xor r15d, r15d
mov qword [rsp + 0x120], r15
mov qword [rsp + 0x128], r15
mov rax, qword [rsi + 0x10]
cmp rax, rbx
jb 0x14000b076
sub rax, rbx
mov r8, r12
cmp rax, r12
cmovb r8, rax
mov rax, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x14000ab7f
mov rax, qword [rsi]
lea rdx, [rax + rbx]
lea rcx, [rsp + 0x110]
call fcn.14002c630
or r13d, 2
mov word [rsp + 0x48], 0x78
mov byte [rsp + 0x4a], 0
lea rcx, [rsp + 0x48]
mov rax, r12
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14000abb0
lea rcx, [rsp + 0xc8]
mov rdi, qword [rsp + 0xc8]
mov r14, qword [rsp + 0xe0]
cmp r14, 0xf
cmova rcx, rdi
mov rbx, qword [rsp + 0xd8]
cmp rbx, rax
jne 0x14000ac6a
mov r8, rbx
lea rdx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000ac6a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rsp + 0x110]
cmp qword [rsp + 0x128], 0xf
cmova rbx, qword [rsp + 0x110]
mov dword [rax], r15d
mov r8d, 0xa
lea rdx, [rsp + 0x90]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rsp + 0x90]
jne 0x14000ac4f
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
cmp dword [rdi], 0x22
jne 0x14000ac61
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
mov dword [rsp + 0x38], eax
jmp 0x14000aded
mov word [rsp + 0x4c], 0x79
mov byte [rsp + 0x4e], 0
lea rcx, [rsp + 0x4c]
mov rax, r12
nop
inc rax
cmp byte [rcx + rax], 0
jne 0x14000ac80
lea rcx, [rsp + 0xc8]
cmp r14, 0xf
cmova rcx, rdi
cmp rbx, rax
jne 0x14000ad22
mov r8, rbx
lea rdx, [rsp + 0x4c]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000ad22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rsp + 0x110]
cmp qword [rsp + 0x128], 0xf
cmova rbx, qword [rsp + 0x110]
mov dword [rax], r15d
mov r8d, 0xa
lea rdx, [rsp + 0x98]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
cmp rbx, qword [rsp + 0x98]
jne 0x14000ad07
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
cmp dword [rdi], 0x22
jne 0x14000ad19
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
mov dword [rsp + 0x3c], eax
jmp 0x14000aded
mov dword [rsp + 0x30], 0x100b2bc
mov rax, r15
nop dword [rax]
lea ecx, [rax - 0x2b]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp rax, 2
jb 0x14000ad30
mov byte [rsp + 0x33], 0
lea rcx, [rsp + 0x30]
mov rax, r12
nop dword [rax]
inc rax
cmp byte [rcx + rax], 0
jne 0x14000ad50
lea rcx, [rsp + 0xc8]
cmp r14, 0xf
cmova rcx, rdi
cmp rbx, rax
jne 0x14000aded
mov r8, rbx
lea rdx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000aded
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rsp + 0x110]
cmp qword [rsp + 0x128], 0xf
cmova rbx, qword [rsp + 0x110]
mov dword [rax], r15d
mov r8d, 0xa
lea rdx, [rsp + 0xa0]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtol]
mov dword [rsp + 0x50], eax
cmp rbx, qword [rsp + 0xa0]
jne 0x14000add7
lea rcx, str.invalid_stoi_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
cmp dword [rdi], 0x22
jne 0x14000ade9
lea rcx, str.stoi_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
mov dword [rsp + 0x40], eax
lea rcx, [rsp + 0x110]
call fcn.14002b140
nop
lea rcx, [rsp + 0xc8]
call fcn.14002b140
add rsi, 0x20
mov rcx, qword [rsp + 0x58]
jmp 0x14000aaa7
xor r15d, r15d
add rsi, 0x20
mov rcx, qword [rsp + 0x58]
jmp 0x14000aaa7
mov rdx, qword [0x140167048]
cmp rdx, qword [0x140167050]
je 0x14000ae52
movsd xmm0, qword [rsp + 0x38]
movsd qword [rdx], xmm0
mov eax, dword [rsp + 0x50]
mov dword [rdx + 8], eax
add qword [0x140167048], 0xc
jmp 0x14000ae5d
lea r8, [rsp + 0x38]
call fcn.14002de10
nop
lea rcx, [rsp + 0xa8]
call fcn.14002b020
nop
lea rcx, [rsp + 0xf0]
call fcn.14002b140
nop
mov rax, qword [rsp + 0x150]
movsxd rcx, dword [rax + 4]
lea rbx, vtable.std::basic_istringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rcx + 0x150], rbx
mov rax, qword [rsp + 0x150]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x90]
mov dword [rsp + rcx + 0x14c], edx
lea rcx, [rsp + 0x160]
call fcn.14002a1e0
lea rcx, [rsp + 0x168]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x1e0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
jmp 0x14000a7aa
movdqa xmm0, xmmword [0x1401352c0]
movdqu xmmword [rsp + 0xa8], xmm0
mov dword [rsp + 0xb8], 0x8e949580
mov dword [rsp + 0xbc], 0x9587869c
mov word [rsp + 0xc0], 0x100
mov rcx, r15
nop
lea eax, [rcx - 0x2b]
xor byte [rsp + rcx + 0xa8], al
inc rcx
cmp rcx, 0x18
jb 0x14000af10
mov byte [rsp + 0xc1], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0xf0], xmm0
mov qword [rsp + 0x100], r15
mov qword [rsp + 0x108], r15
lea rax, [rsp + 0xa8]
nop
inc r12
cmp byte [rax + r12], 0
jne 0x14000af50
mov r8, r12
lea rdx, [rsp + 0xa8]
lea rcx, [rsp + 0xf0]
call fcn.14002c630
lea rcx, [rsp + 0xf0]
call fcn.1400d15c0
nop
lea rcx, [rsp + 0x130]
call fcn.14002b140
nop
mov rax, qword [rsp + 0x240]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x240], rax
mov rax, qword [rsp + 0x240]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x23c], edx
lea rcx, [rsp + 0x250]
call fcn.1400291e0
lea rcx, [rsp + 0x258]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0x2f0]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rcx, qword [rsp + 0x350]
xor rcx, rsp
call fcn.14010ee40
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r13
ret
movdqa xmm0, xmmword [0x140135b60]
movdqu xmmword [rsp + 0xa8], xmm0
mov dword [rsp + 0xb8], 0x1008389
lea rcx, [rsp + 0xc8]
call fcn.140005210
mov r8, rax
lea rcx, [rsp + 0xa8]
call fcn.14000b080
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.1400054b0
lea rdx, [0x140158e00]
lea rcx, [rsp + 0x68]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
call fcn.14002b560
int3