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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100ba220]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x100ff4e4]
push ebx
push esi
push edi
test al, 1
jne 0x1008fbb8
or eax, 1
mov dword [0x100ff4e4], eax
mov eax, dword [0x100f9a8c]
mov ebx, dword [eax + 0x30]
jmp 0x1008fbac
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1008fb80
xor edx, edx
test ecx, ecx
je 0x1008fba9
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1008fb90
cmp esi, 0x90f473ab
je 0x1008fbb0
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x1008fb70
mov dword [0x100ff4d8], ebx
jmp 0x1008fbbe
mov ebx, dword [0x100ff4d8]
cmp byte [0x100c1c90], 0
je 0x1008fbe8
mov ecx, dword [0x100f9d00]
mov eax, dword [0x100ba240]
add ecx, 0xffffffb7
xor ecx, 0xeb0cd79
cmp byte [ecx + eax], 0
jne 0x1008fbe8
mov ecx, 3
jmp 0x1008fbea
xor ecx, ecx
mov eax, dword [ebx]
push ecx
mov ecx, ebx
mov eax, dword [eax + 0x40]
call eax
cmp byte [0x100bef98], 0
je 0x1008fd64
mov eax, dword [0x100f9aec]
movss xmm1, dword [eax + 0x10]
comiss xmm1, dword [0x100fee00]
ja 0x1008fd64
movss xmm2, dword [0x100fee04]
xorps xmm0, xmm0
comiss xmm0, xmm2
jae 0x1008fd64
cmp byte [0x100fa76c], 0
subss xmm1, dword [0x100fedfc]
movss xmm0, dword [0x100af90c]
mov eax, dword [0x100ba65c]
mov edi, dword [0x100ba658]
mov dword [ebp - 0xc], eax
divss xmm1, xmm2
subss xmm0, xmm1
mulss xmm0, dword [0x100afa94]
cvttss2si ebx, xmm0
mov byte [ebp - 5], bl
je 0x1008fc77
mov eax, dword [0x100bf14c]
mov cl, byte [0x100bf14e]
jmp 0x1008fc82
mov eax, dword [0x100bf208]
mov cl, byte [0x100bf20a]
mov byte [ebp - 6], cl
mov edx, eax
mov ecx, dword [0x100f9a9c]
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 [0x100f9a9c]
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 [0x100f9a9c]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100f9a9c]
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 [0x100f9a9c]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [0x100f9a9c]
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 [0x100f9a9c]
push esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
call eax
mov ecx, dword [0x100f9a9c]
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.1009c6c6
mov esp, ebp
pop ebp
ret