Function at 0x140021ed8
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xf8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14010a080]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor r15d, r15d
lea rcx, [rbp + 0x90]
call fcn.14003917c
nop
lea rdx, [rbp + 0x90]
lea rcx, [rsp + 0x40]
call fcn.1400250d8
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r15
lea r12d, [r15 + 0xf]
mov qword [rbp + 0x88], r12
mov byte [rbp + 0x70], r15b
or r13, 0xffffffffffffffff
movdqa xmm6, xmmword [str.S:::2_:_6s_:6_]
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x40]
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 + 0x70]
lea rcx, [rsp + 0x40]
call fcn.1400257d4
movdqu xmmword [rbp + 0x50], xmm6
mov word [rbp + 0x60], 0x7b
mov rcx, r15
mov al, byte [rbp + 0x50]
xor byte [rbp + rcx + 0x51], al
inc rcx
cmp rcx, 0x10
jb 0x140021f96
mov byte [rbp + 0x61], r15b
lea rcx, [rbp + 0x70]
mov rdi, qword [rbp + 0x70]
mov rsi, qword [rbp + 0x88]
cmp rsi, r12
cmova rcx, rdi
lea rdx, [rbp + 0x51]
mov rax, r13
inc rax
cmp byte [rdx + rax], r15b
jne 0x140021fc7
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x51]
xor r8d, r8d
mov rbx, qword [rbp + 0x80]
mov rdx, rbx
call fcn.14001de7c
cmp rax, r13
je 0x140021f5e
movdqa xmm0, xmmword [0x1400f7a90]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x60], 0x58
mov rcx, r15
mov al, byte [rbp + 0x50]
xor byte [rbp + rcx + 0x51], al
inc rcx
cmp rcx, 0x10
jb 0x14002200a
mov byte [rbp + 0x61], r15b
lea rcx, [rbp + 0x51]
mov rax, r13
inc rax
cmp byte [rcx + rax], r15b
jne 0x140022025
lea rcx, [rbp + 0x70]
cmp rsi, r12
cmova rcx, rdi
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x51]
xor r8d, r8d
mov rdx, rbx
call fcn.14001de7c
lea rcx, [rax + 0x15]
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], r15
cmp rbx, rcx
jb 0x1400222a9
sub rbx, rcx
mov r8, r13
cmp rbx, r13
cmovb r8, rbx
lea rdx, [rbp + 0x70]
cmp rsi, r12
cmova rdx, rdi
add rdx, rcx
lea rcx, [rbp + 0x50]
call fcn.14000bfa0
mov rdx, qword [rbp + 0x88]
cmp rdx, r12
jbe 0x1400220ca
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400220c5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140022183
call fcn.1400d0014
movups xmm0, xmmword [rbp + 0x50]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rbp + 0x60]
movups xmmword [rbp + 0x80], xmm1
lea rbx, [rbp + 0x70]
movq rsi, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq r14, xmm0
cmp r14, r12
cmova rbx, rsi
movq rdi, xmm1
test rdi, rdi
je 0x14002211f
mov r8, rdi
mov edx, reloc.WLDAP32.dll_Ordinal_41
mov rcx, rbx
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14002211f
sub rax, rbx
jmp 0x140022122
mov rax, r13
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r15
mov qword [rbp + 0x68], r15
cmp rdi, rax
cmovb rax, rdi
lea rdx, [rbp + 0x70]
cmp r14, r12
cmova rdx, rsi
mov r8, rax
lea rcx, [rbp + 0x50]
call fcn.14000bfa0
mov rdx, qword [rbp + 0x88]
cmp rdx, r12
jbe 0x14002218f
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002218a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14002218a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d0014
movups xmm0, xmmword [rbp + 0x50]
movups xmmword [rbp + 0x70], xmm0
movups xmm1, xmmword [rbp + 0x60]
movups xmmword [rbp + 0x80], xmm1
lea rcx, [rbp + 0x70]
movq rdx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, r12
cmova rcx, rdx
xor edx, edx
lea r8d, [rdx + 0x10]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoull]
mov rbx, rax
mov rdx, qword [rbp + 0x88]
cmp rdx, r12
jbe 0x14002220b
inc rdx
mov rcx, qword [rbp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140022206
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140022206
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d0014
mov qword [rbp + 0x80], r15
mov qword [rbp + 0x88], r12
mov byte [rbp + 0x70], r15b
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x40], rax
mov rax, qword [rsp + 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rsp + rcx + 0x3c], edx
lea rcx, [rsp + 0x50]
call fcn.140007ddc
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_istream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 0x10]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rbp + 0x90]
call fcn.140009fa8
mov rax, rbx
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.1400cfd70
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14000a74c
nop
int3