Function at 0x1001c700
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009d015
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x100b7080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x58], esi
test esi, esi
je 0x1001c9e0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
movups xmmword [ebp - 0x34], xmm0
mov dword [ebp - 0x34], vtable.ByteBuffer.0
movq qword [ebp - 0x24], xmm0
mov byte [ebp - 0x30], 1
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x18], 0x20
call fcn.1000b900
mov dword [ebp - 0x34], vtable.Packet.0
mov dword [ebp - 4], 1
mov ecx, dword [esi + 4]
test ecx, ecx
jle 0x1001c8de
mov eax, dword [esi + 8]
push ecx
lea ecx, [ebp - 0x50]
mov al, byte [eax]
mov byte [ebp - 0x51], al
call fcn.1000b640
mov byte [ebp - 4], 2
mov edi, dword [ebp - 0x3c]
mov eax, edi
mov ecx, dword [ebp - 0x40]
sub eax, ecx
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x50], vtable.Packet.0
mov dword [ebp - 0x18], eax
cmp eax, 0x989680
ja 0x1001c83d
inc edx
cmp eax, edx
jae 0x1001c827
mov eax, dword [ebp - 0x38]
sub eax, ecx
cmp edx, eax
jbe 0x1001c80c
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.1000b6f0
jmp 0x1001c824
sub edx, dword [ebp - 0x18]
push edx
push 0
push edi
lea esi, [edi + edx]
call fcn.100833b0
mov dword [ebp - 0x3c], esi
add esp, 0xc
mov esi, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
mov dl, byte [ebp - 0x51]
mov byte [ecx + eax], dl
mov edx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x3c]
inc edx
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x44], edx
mov byte [ebp - 4], 3
sub edi, ecx
mov al, byte [ebp - 0x4c]
push edi
mov byte [ebp - 0x30], al
mov eax, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], edx
call fcn.1000b350
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 1
call fcn.1000b890
mov eax, dword [esi + 4]
mov dword [ebp - 0x18], eax
test eax, eax
jle 0x1001c8de
mov ecx, dword [esi + 8]
inc ecx
mov dword [ebp - 0x58], ecx
add eax, 0xffffffff
je 0x1001c8de
mov edi, dword [ebp - 0x20]
mov ecx, edi
mov edx, dword [ebp - 0x24]
sub ecx, edx
cmp ecx, 0x989680
ja 0x1001c8e1
mov esi, dword [ebp - 0x18]
dec esi
add esi, dword [ebp - 0x28]
cmp ecx, esi
jae 0x1001c8c4
mov eax, dword [ebp - 0x1c]
sub eax, edx
cmp esi, eax
jbe 0x1001c8b0
push ecx
push esi
lea ecx, [ebp - 0x24]
call fcn.1000b6f0
jmp 0x1001c8c4
sub esi, ecx
push esi
push 0
push edi
call fcn.100833b0
lea eax, [esi + edi]
add esp, 0xc
mov dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x24]
dec esi
add eax, dword [ebp - 0x28]
push esi
push dword [ebp - 0x58]
push eax
call fcn.10082e30
add esp, 0xc
add dword [ebp - 0x28], esi
mov edi, dword [ebp - 0x20]
cmp byte [0x100bab9b], 0
jne 0x1001c9d0
mov eax, dword [ebp - 0x24]
sub edi, eax
movaps xmm0, xmmword [0x100afc00]
xor ecx, ecx
mov dword [ebp - 0x58], eax
movups xmmword [ebp - 0x6c], xmm0
mov byte [ebp - 0x5c], 0
mov al, byte [ebp - 0x6c]
xor byte [ebp + ecx - 0x6b], al
inc ecx
cmp ecx, 0xf
jb 0x1001c907
sub esp, 0x18
mov byte [ebp - 0x5c], 0
mov edx, esp
lea ecx, [ebp - 0x6b]
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 0x1001c937
sub ecx, esi
lea eax, [ebp - 0x6b]
push ecx
push eax
mov ecx, edx
call fcn.10002570
lea ecx, [ebp - 0x4c]
call fcn.1007d0f0
add esp, 0x18
mov dword [ebp - 0x18], 0
test edi, edi
jle 0x1001c9a0
mov edx, dword [ebp - 0x38]
lea ecx, [ebp - 0x4c]
cmp edx, 0xf
cmova ecx, dword [ebp - 0x4c]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1001c972
mov eax, dword [ebp - 0x18]
sub ecx, esi
cmp edx, 0xf
lea esi, [ebp - 0x4c]
cmova esi, dword [ebp - 0x4c]
xor edx, edx
div ecx
mov ecx, dword [ebp - 0x58]
mov al, byte [edx + esi]
mov esi, dword [ebp - 0x18]
xor byte [esi + ecx], al
inc esi
mov dword [ebp - 0x18], esi
cmp esi, edi
jl 0x1001c962
mov ecx, dword [ebp - 0x38]
cmp ecx, 0xf
jbe 0x1001c9d0
mov edx, dword [ebp - 0x4c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1001c9c6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1001c9fe
push ecx
push edx
call fcn.100812a6
add esp, 8
lea ecx, [ebp - 0x34]
call fcn.1001bc40
lea ecx, [ebp - 0x34]
call fcn.1000b890
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10081245
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1008643f
int3