Function at 0x1400222e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
movaps xmmword [rsp + 0x190], xmm6
mov rax, qword [0x1401eb7c0]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x70]
call fcn.1400e773e
mov rdx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140022335
mov rdx, qword [rbx]
mov r8d, 2
lea rcx, [rsp + 0x70]
call fcn.1400654e0
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rsi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rsi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
cmp qword [rbp - 8], 0
je 0x14002255d
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0xf
jbe 0x140022386
mov rdi, qword [rdi]
mov rdx, rdi
lea rcx, [rsp + 0x70]
call fcn.140073d30
movups xmm0, xmmword [0x1401d74a8]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [0x1401d74b8]
movups xmmword [rsp + 0x40], xmm1
psrldq xmm1, 0xf
movd eax, xmm1
test al, al
je 0x14002251f
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400224ec
movdqa xmm4, xmmword [0x1401d9d20]
movdqa xmm3, xmmword [0x1401d9f10]
movdqa xmm5, xmmword [0x1401d9d40]
movdqa xmm0, xmmword [0x1401d9e10]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x34]
movdqa xmm6, xmmword [0x1401d9da0]
mov r8d, dword [rsp + 0x60]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x20
jl 0x140022403
jmp 0x14002251f
lea r8, [rsp + 0x30]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
sub al, dl
add al, 0x32
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x20
jl 0x1400224f1
lea rdx, [rsp + 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14006bc50
mov rcx, rax
lea rdx, str.e_36m
call fcn.14006bc50
mov r8, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14002254d
mov rbx, qword [rbx]
mov rdx, rbx
mov rcx, rax
call fcn.140073d30
jmp 0x14002271f
movups xmm0, xmmword [0x1401d97f8]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [0x1401d9808]
movups xmmword [rsp + 0x40], xmm1
movsd xmm0, qword [0x1401d9818]
movsd qword [rsp + 0x50], xmm0
movzx eax, byte [0x1401d9820]
mov byte [rsp + 0x58], al
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1400226cc
movdqa xmm4, xmmword [0x1401d9d20]
movdqa xmm3, xmmword [0x1401d9f10]
movdqa xmm5, xmmword [0x1401d9d40]
movdqa xmm0, xmmword [0x1401d9e10]
movdqa xmmword [rsp + 0x60], xmm0
lea rdx, [rsp + 0x34]
movdqa xmm6, xmmword [0x1401d9da0]
mov r8d, dword [rsp + 0x60]
nop word [rax + rax]
movd xmm2, ecx
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 4]
movd xmm2, eax
pshufd xmm2, xmm2, 0
paddd xmm2, xmm4
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x28
jl 0x1400225e0
cmp ecx, 0x29
jge 0x14002270e
movsxd rax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
sub al, dl
add al, 0x32
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x29
jl 0x1400226e0
lea rdx, [rsp + 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14006bc50
lea rdx, [0x14006be40]
mov rcx, rax
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_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], rsi
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x6c], edx
lea rcx, [rsp + 0x78]
call fcn.140065470
lea rcx, [rbp - 0x80]
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 + 0x18]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.1400e6530
mov rbx, qword [rsp + 0x1d0]
movaps xmm6, xmmword [rsp + 0x190]
add rsp, 0x1a0
pop rdi
pop rsi
pop rbp
ret