Function at 0x10022d10
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100cddcd
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x100f7040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x10022f54
xorps xmm0, xmm0
lea ecx, [ebp - 0x34]
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call fcn.1000f5d0
mov dword [ebp - 0x34], vtable.Packet.0
mov dword [ebp - 4], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jle 0x10022de9
mov eax, dword [esi + 8]
push ecx
lea ecx, [ebp - 0x74]
movzx eax, byte [eax]
mov byte [ebp - 0x14], al
call fcn.1000f180
push 1
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], vtable.Packet.0
call fcn.1000f340
mov byte [ebp - 4], 2
movzx eax, byte [ebp - 0x70]
mov ecx, dword [ebp - 0x60]
mov byte [ebp - 0x30], al
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x5c]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.1000ecf0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x74], vtable.ByteBuffer.0
call fcn.1000f6d0
mov eax, dword [esi + 4]
test eax, eax
jle 0x10022de9
dec eax
lea ecx, [ebp - 0x34]
push eax
mov eax, dword [esi + 8]
inc eax
push eax
call fcn.1000f340
cmp byte [0x100faf6b], 0
jne 0x10022f3d
push 0
lea ecx, [ebp - 0x24]
call fcn.1000bce0
mov edi, dword [ebp - 0x1c]
sub edi, dword [ebp - 0x20]
xor ecx, ecx
movaps xmm0, xmmword [str.0tBUQ_c_VDF]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], edi
movups xmmword [ebp - 0x68], xmm0
mov byte [ebp - 0x58], 0
nop dword [eax]
mov al, byte [ebp + ecx - 0x67]
xor al, byte [ebp - 0x68]
mov byte [ebp + ecx - 0x67], al
inc ecx
cmp ecx, 0xf
jb 0x10022e20
sub esp, 0x1c
mov byte [ebp - 0x58], 0
mov edx, esp
lea ecx, [ebp - 0x67]
xorps xmm0, xmm0
lea esi, [ecx + 1]
mov dword [edx], 0
movups xmmword [edx + 4], xmm0
mov dword [edx + 0x14], 0
mov dword [edx + 0x18], 0
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10022e60
sub ecx, esi
lea eax, [ebp - 0x67]
push ecx
push eax
mov ecx, edx
call fcn.10003370
lea ecx, [ebp - 0x50]
call fcn.100840d0
add esp, 0x1c
xor esi, esi
test edi, edi
jle 0x10022f20
nop word [eax + eax]
mov edi, dword [ebp - 0x38]
lea ecx, [ebp - 0x4c]
cmp edi, 0xf
cmova ecx, dword [ebp - 0x4c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10022ea0
sub ecx, edx
mov eax, esi
xor edx, edx
div ecx
mov eax, edx
mov dword [ebp - 0x54], eax
cmp eax, dword [ebp - 0x3c]
jbe 0x10022f00
push str.string_subscript_out_of_range
push 0x100e64a8
push 0
push 0x8d0
push 0x100e6658
push 2
call fcn.10090a10
add esp, 0x18
cmp eax, 1
jne 0x10022edf
int3
push 0
push 0x8d0
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120includexstring
push 0x100e65e4
push str._string_subscript_out_of_range_
call fcn.1008fd30
mov edi, dword [ebp - 0x38]
add esp, 0x14
mov ecx, dword [ebp - 0x54]
lea eax, [ebp - 0x4c]
cmp edi, 0xf
cmova eax, dword [ebp - 0x4c]
mov al, byte [eax + ecx]
mov ecx, dword [ebp - 0x78]
xor byte [esi + ecx], al
inc esi
cmp esi, dword [ebp - 0x7c]
jl 0x10022e90
lea ecx, [ebp - 0x50]
call fcn.10002f50
mov eax, dword [ebp - 0x50]
push 8
push eax
mov dword [ebp - 0x50], 0
call fcn.10089370
add esp, 8
lea ecx, [ebp - 0x34]
call fcn.10022590
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x34], vtable.ByteBuffer.0
call fcn.1000f6d0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100892c0
mov esp, ebp
pop ebp
ret