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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100b400c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x100f9754]
push ebx
push esi
push edi
test al, 1
jne 0x1008cd78
or eax, 1
mov dword [0x100f9754], eax
mov eax, dword [0x100f4294]
mov ebx, dword [eax + 0x30]
jmp 0x1008cd6c
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1008cd40
xor edx, edx
test ecx, ecx
je 0x1008cd69
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1008cd50
cmp esi, 0x90f473ab
je 0x1008cd70
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1008cd30
mov dword [0x100f9764], ebx
jmp 0x1008cd7e
mov ebx, dword [0x100f9764]
cmp byte [0x100e9198], 0
je 0x1008cda8
mov ecx, dword [0x100f4528]
mov eax, dword [0x100e00c8]
add ecx, 0xffffffb7
xor ecx, 0x26db63e
cmp byte [ecx + eax], 0
jne 0x1008cda8
mov ecx, 3
jmp 0x1008cdaa
xor ecx, ecx
mov eax, dword [ebx]
push ecx
mov ecx, ebx
mov eax, dword [eax + 0x40]
call eax
cmp byte [0x100e64a0], 0
je 0x1008cf24
mov eax, dword [0x100f42f4]
movss xmm1, dword [eax + 0x10]
comiss xmm1, dword [0x100f9178]
ja 0x1008cf24
movss xmm2, dword [0x100f917c]
xorps xmm0, xmm0
comiss xmm0, xmm2
jae 0x1008cf24
cmp byte [0x100f37dc], 0
subss xmm1, dword [0x100f9174]
movss xmm0, dword [0x100aa35c]
mov eax, dword [0x100e04e4]
mov edi, dword [0x100e04e0]
mov dword [ebp - 0xc], eax
divss xmm1, xmm2
subss xmm0, xmm1
mulss xmm0, dword [0x100aa4cc]
cvttss2si ebx, xmm0
mov byte [ebp - 5], bl
je 0x1008ce37
mov eax, dword [0x100e6654]
mov cl, byte [0x100e6656]
jmp 0x1008ce42
mov eax, dword [0x100e6710]
mov cl, byte [0x100e6712]
mov byte [ebp - 6], cl
mov edx, eax
mov ecx, dword [0x100f42a4]
shr edx, 8
mov byte [ebp - 7], dl
mov byte [ebp - 8], al
mov edx, dword [ecx]
mov esi, dword [ebp - 8]
push esi
mov edx, dword [edx + 0x38]
call edx
mov eax, dword [ebp - 0xc]
mov ecx, dword [0x100f42a4]
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
mov dword [ebp - 0x14], ebx
lea eax, [ebx - 4]
mov dword [ebp - 0x18], eax
mov eax, edi
push dword [ebp - 0x18]
cdq
sub eax, edx
lea edx, [ebx - 8]
sar eax, 1
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], eax
lea edi, [eax - 4]
lea edx, [eax - 8]
mov eax, dword [ecx]
push edi
push dword [ebp - 0xc]
mov eax, dword [eax + 0x4c]
push edx
call eax
mov ecx, dword [0x100f42a4]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100f42a4]
add ebx, 4
mov edx, dword [ebp - 0x14]
push ebx
add edx, 8
mov eax, dword [ecx]
push edi
push edx
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + 0x4c]
add edx, 0xfffffff8
push edx
call eax
mov ecx, dword [0x100f42a4]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [0x100f42a4]
push ebx
mov ebx, dword [ebp - 0x14]
lea edi, [eax + 4]
add ebx, 8
lea edx, [eax + 8]
mov eax, dword [ecx]
push edi
push ebx
push edx
mov eax, dword [eax + 0x4c]
call eax
mov ecx, dword [0x100f42a4]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100f42a4]
push dword [ebp - 0x18]
push edi
mov eax, dword [ecx]
push dword [ebp - 0xc]
mov edx, dword [ebp - 0x10]
mov eax, dword [eax + 0x4c]
add edx, 8
push edx
call eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10098c69
mov esp, ebp
pop ebp
ret