Function at 0x10017550
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10068bf5
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x1007e040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x1008187c], 0
je 0x100177d1
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount64]
call esi
sub eax, dword [0x100818f8]
sbb edx, dword [0x100818fc]
mov dword [ebp - 0x4c], edx
jne 0x100175ab
cmp eax, 0xbb8
jb 0x100177d1
call esi
movaps xmm0, xmmword [0x10076780]
xor ecx, ecx
mov dword [0x100818f8], eax
mov dword [0x100818fc], edx
movups xmmword [ebp - 0x24], xmm0
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0xe
jb 0x100175c5
sub esp, 0x18
mov byte [ebp - 0x15], 0
mov edx, esp
lea ecx, [ebp - 0x23]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100175f5
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.10005220
lea ecx, [ebp - 0x48]
call fcn.10061ff0
add esp, 0x18
mov dword [ebp - 4], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
mov dword [ebp - 0x30], vtable.ByteBuffer.0
mov byte [ebp - 0x2c], 1
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x14], 0x1000
call fcn.1000cc90
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x1c]
mov eax, edi
mov edx, dword [ebp - 0x20]
sub eax, edx
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x30], vtable.Packet.0
mov dword [ebp - 0x14], eax
cmp eax, 0x989680
ja 0x100176db
lea ecx, [esi + 1]
cmp eax, ecx
jae 0x100176d3
mov eax, dword [ebp - 0x18]
sub eax, edx
cmp ecx, eax
jbe 0x100176b8
push ecx
push ecx
lea ecx, [ebp - 0x20]
call fcn.1000cee0
mov edi, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x24]
jmp 0x100176d0
sub ecx, dword [ebp - 0x14]
push ecx
push 0
push edi
mov dword [ebp - 0x14], ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
add edi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edi
mov edx, dword [ebp - 0x20]
mov byte [edx + esi], 0xa1
inc esi
mov dword [ebp - 0x24], esi
mov eax, edi
mov byte [ebp - 4], 3
sub eax, edx
mov dword [ebp - 0x14], eax
cmp eax, 0x989680
ja 0x1001772f
lea ecx, [esi + 1]
cmp eax, ecx
jae 0x10017727
mov eax, dword [ebp - 0x18]
sub eax, edx
cmp ecx, eax
jbe 0x1001770c
push ecx
push ecx
lea ecx, [ebp - 0x20]
call fcn.1000cee0
mov esi, dword [ebp - 0x24]
jmp 0x10017724
sub ecx, dword [ebp - 0x14]
push ecx
push 0
push edi
mov dword [ebp - 0x14], ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
add edi, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edi
mov edx, dword [ebp - 0x20]
mov byte [edx + esi], 0xa2
inc esi
mov dword [ebp - 0x24], esi
cmp dword [ebp - 0x34], 0xf
lea eax, [ebp - 0x48]
lea ecx, [ebp - 0x30]
cmova eax, dword [ebp - 0x48]
push eax
call fcn.1000ca50
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
sub eax, esi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x4c], esi
cmp eax, 0x4000
ja 0x1001776e
mov ecx, dword ds:[0x1006c7dc]
mov ecx, dword ds:[ecx]
push dword [ebp - 0x14]
push dword [ebp - 0x4c]
call dword [0x1006c7d8]
test esi, esi
je 0x1001779b
mov ecx, dword [ebp - 0x18]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x10017791
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100177c1
push ecx
push esi
call fcn.100662c0
add esp, 8
mov ecx, dword [ebp - 0x34]
cmp ecx, 0xf
jbe 0x100177d1
mov edx, dword [ebp - 0x48]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100177c7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100177c7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100662c0
add esp, 8
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.1006625f
mov esp, ebp
pop ebp
ret