Function at 0x10019ae0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10082d2d
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x100a6040]
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 0x10019d74
xorps xmm0, xmm0
lea ecx, [ebp - 0x34]
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call fcn.1000f470
mov dword [ebp - 0x34], vtable.Packet.0
mov dword [ebp - 4], 0
mov ecx, dword [esi + 4]
test ecx, ecx
jle 0x10019bb9
mov eax, dword [esi + 8]
push ecx
lea ecx, [ebp - 0x78]
movzx eax, byte [eax]
mov byte [ebp - 0x14], al
call fcn.1000f020
push 1
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x78]
mov dword [ebp - 0x78], vtable.Packet.0
call fcn.1000f1e0
mov byte [ebp - 4], 2
movzx eax, byte [ebp - 0x74]
mov ecx, dword [ebp - 0x64]
mov byte [ebp - 0x30], al
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x60]
sub eax, ecx
push eax
push ecx
lea ecx, [ebp - 0x24]
call fcn.1000eba0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x68]
mov dword [ebp - 0x78], vtable.ByteBuffer.0
call fcn.1000f570
mov eax, dword [esi + 4]
test eax, eax
jle 0x10019bb9
dec eax
lea ecx, [ebp - 0x34]
push eax
mov eax, dword [esi + 8]
inc eax
push eax
call fcn.1000f1e0
cmp byte [0x100a9f62], 0
jne 0x10019d5d
mov edi, dword [ebp - 0x1c]
mov eax, edi
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x54], ecx
sub eax, ecx
jne 0x10019c21
push str.vector_subscript_out_of_range
push 0x10097f88
push eax
push 0x76b
push 0x10098a78
push 2
call fcn.1004d250
add esp, 0x18
cmp eax, 1
jne 0x10019bfa
int3
push 0
push 0x76b
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120include_vector
push 0x100980c4
push str._vector_subscript_out_of_range_
call fcn.1004c570
mov ecx, dword [ebp - 0x20]
add esp, 0x14
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x54], ecx
movaps xmm0, xmmword [str.:H__WiUNL_v]
sub edi, ecx
mov dword [ebp - 0x7c], edi
xor ecx, ecx
movups xmmword [ebp - 0x6c], xmm0
mov byte [ebp - 0x5c], 0
nop word [eax + eax]
mov al, byte [ebp + ecx - 0x6b]
xor al, byte [ebp - 0x6c]
mov byte [ebp + ecx - 0x6b], al
inc ecx
cmp ecx, 0xf
jb 0x10019c40
sub esp, 0x1c
mov byte [ebp - 0x5c], 0
mov edx, esp
lea ecx, [ebp - 0x6b]
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 0x10019c80
sub ecx, esi
lea eax, [ebp - 0x6b]
push ecx
push eax
mov ecx, edx
call fcn.10003350
lea ecx, [ebp - 0x50]
call fcn.10040e80
add esp, 0x1c
xor esi, esi
test edi, edi
jle 0x10019d40
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 0x10019cc0
sub ecx, edx
mov eax, esi
xor edx, edx
div ecx
mov eax, edx
mov dword [ebp - 0x58], eax
cmp eax, dword [ebp - 0x3c]
jbe 0x10019d20
push str.string_subscript_out_of_range
push 0x10097f88
push 0
push 0x8d0
push 0x10098138
push 2
call fcn.1004d250
add esp, 0x18
cmp eax, 1
jne 0x10019cff
int3
push 0
push 0x8d0
push str.C:Program_FilesMicrosoft_Visual_Studio2022ProfessionalVCToolsMSVC14.41.34120includexstring
push 0x100980c4
push str._string_subscript_out_of_range_
call fcn.1004c570
mov edi, dword [ebp - 0x38]
add esp, 0x14
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x4c]
cmp edi, 0xf
cmova eax, dword [ebp - 0x4c]
mov al, byte [eax + ecx]
mov ecx, dword [ebp - 0x54]
xor byte [esi + ecx], al
inc esi
cmp esi, dword [ebp - 0x7c]
jl 0x10019cb0
lea ecx, [ebp - 0x50]
call fcn.10002f50
mov eax, dword [ebp - 0x50]
push 8
push eax
mov dword [ebp - 0x50], 0
call fcn.10046080
add esp, 8
lea ecx, [ebp - 0x34]
call fcn.10019010
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x34], vtable.ByteBuffer.0
call fcn.1000f570
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.10045fd0
mov esp, ebp
pop ebp
ret