Function at 0x1008e040
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, ecx
mov dword [ebp - 0x34], ebx
push edi
mov dword [ebp - 8], esi
mov eax, dword [esi + 0x48]
mov ecx, dword [esi + 0x34]
sub eax, ecx
jne 0x1008e067
test ecx, ecx
jne 0x1008e067
lea edi, [esi + 0x38]
jmp 0x1008e071
lea edi, [esi + 0x38]
mov ecx, edi
call fcn.1008d7b0
mov eax, dword [esi + 0x44]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101be0d0]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 4], xmm0
mulss xmm0, dword [esi + 8]
call fcn.1015d230
movss xmm0, dword [ebp - 4]
mulss xmm0, dword [esi + 0xc]
mov dword [esi], eax
call fcn.1015d230
cmp dword [ebp + 8], 1
mov dword [esi + 4], eax
mov byte [esi + 0x10], 0
mov dword [esi + 0x34], 0
jne 0x1008e0c5
mov eax, dword [ebx + 0x44]
jmp 0x1008e0d6
mov eax, dword [ebx + 0x48]
mov ecx, esi
push dword [ebp + 0x10]
sub eax, dword [ebx + 0x34]
push eax
call fcn.1008d730
cmp eax, dword [esi + 0x44]
jbe 0x1008e125
push eax
mov ecx, edi
call fcn.1008e4a0
mov eax, dword [esi + 0x44]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x101be0d0]
cvtpd2ps xmm0, xmm0
movss dword [ebp - 4], xmm0
mulss xmm0, dword [esi + 8]
call fcn.1015d230
movss xmm0, dword [ebp - 4]
mulss xmm0, dword [esi + 0xc]
mov dword [esi], eax
call fcn.1015d230
mov dword [esi + 4], eax
mov byte [esi + 0x10], 0
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x38]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
cmp ecx, eax
je 0x1008e15c
mov eax, dword [ecx]
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xc], eax
call fcn.1008e770
movups xmm0, xmmword [ebp - 0x18]
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x58], ebx
movups xmmword [ebp - 0x54], xmm0
movups xmm0, xmmword [ebp - 0x28]
movups xmmword [ebp - 0x44], xmm0
call fcn.1008e710
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1c], 0
mov eax, dword [ebx + 0x3c]
mov ecx, dword [ebx + 0x38]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
movups xmm0, xmmword [ebp - 0x28]
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
movups xmmword [ebp - 0x78], xmm0
mov dword [ebp - 0x7c], ebx
movups xmm0, xmmword [ebp - 0x18]
movups xmmword [ebp - 0x68], xmm0
call fcn.1008e710
mov eax, dword [ebp - 0x54]
mov ebx, dword [ebp - 0x48]
cmp eax, dword [ebp - 0x78]
jne 0x1008e1e4
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x74]
jne 0x1008e1e4
mov ecx, dword [ebp - 0x4c]
cmp ecx, dword [ebp - 0x70]
jne 0x1008e1e4
cmp ecx, eax
je 0x1008e2c6
cmp ebx, dword [ebp - 0x6c]
je 0x1008e2c6
cmp dword [ebx + 0x14], 8
mov edx, ebx
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x2c], 0
jb 0x1008e1f8
mov edx, dword [ebx]
xor ecx, ecx
mov edi, 0x811c9dc5
add esi, esi
je 0x1008e214
movzx eax, byte [ecx + edx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, esi
jb 0x1008e203
mov esi, dword [ebp - 8]
mov eax, dword [esi + 0x44]
dec eax
and edi, eax
mov dword [ebp - 0x30], eax
mov eax, 0xaaaaaaab
mul edi
mov eax, edi
shr edx, 5
lea ecx, [edx + edx*2]
shl ecx, 4
lea edx, [edx + edx*2]
sub eax, ecx
movzx ecx, ax
lea eax, [esi + 0x38]
mov esi, ecx
mov dword [ebp - 4], eax
shr esi, 3
and ecx, 7
add esi, dword [eax]
mov eax, 1
shl ax, cl
test byte [esi + edx*4 + 6], al
je 0x1008e29e
mov ebx, dword [ebp - 0x2c]
nop dword [eax + eax]
inc ebx
mov eax, 0xaaaaaaab
add edi, ebx
and edi, dword [ebp - 0x30]
mul edi
mov eax, edi
shr edx, 5
lea ecx, [edx + edx*2]
shl ecx, 4
lea edx, [edx + edx*2]
sub eax, ecx
movzx ecx, ax
mov eax, dword [ebp - 4]
mov esi, ecx
shr esi, 3
and ecx, 7
add esi, dword [eax]
mov eax, 1
shl ax, cl
test byte [esi + edx*4 + 6], al
jne 0x1008e260
mov ebx, dword [ebp - 0x48]
mov ecx, dword [ebp - 4]
push ebx
push edi
call fcn.1008e2e0
add ebx, 0x1c
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x48], ebx
call fcn.1008e770
lea ecx, [ebp - 0x58]
call fcn.1008e710
mov ebx, dword [ebp - 0x34]
jmp 0x1008e185
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
inc dword [eax + 0x14]
mov esp, ebp
pop ebp
ret 0xc