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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x10121854]
sub esp, 0x10
push ebx
push esi
push edi
test al, 1
jne 0x10089e4d
or eax, 1
mov dword [0x10121854], eax
mov ebx, dword [0x1011a5b4]
mov ebx, dword [ebx + 0x30]
test ebx, ebx
je 0x10089e45
nop word [eax + eax]
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10089e10
xor edx, edx
test ecx, ecx
je 0x10089e39
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10089e20
cmp esi, 0x172ab01a
je 0x10089e63
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10089e00
mov eax, dword [0x10121854]
xor ebx, ebx
mov dword [0x10121838], ebx
test al, 2
jne 0x10089eb6
or eax, 2
mov dword [0x10121854], eax
mov eax, dword [0x1011a5b4]
mov ebx, dword [eax + 0x30]
jmp 0x10089eac
mov eax, dword [0x10121854]
jmp 0x10089e47
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10089e80
xor edx, edx
test ecx, ecx
je 0x10089ea9
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10089e90
cmp esi, 0xad8af3df
je 0x10089eb0
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x10089e70
mov dword [0x10121848], ebx
mov ecx, dword [0x1011a8b8]
mov eax, dword [0x100bf240]
add ecx, 0xffffff9d
xor ecx, 0xb869bbdd
mov eax, dword [ecx + eax]
mov ecx, dword [0x1011a5bc]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
test eax, eax
je 0x1008a007
movss xmm0, dword [ebp + 0x90]
movss xmm1, dword [ebp + 0x94]
mulss xmm0, xmm0
mov dword [ebp + 0x98], 0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1001c880
comiss xmm0, dword [0x100b52a8]
movss dword [ebp - 8], xmm0
jb 0x10089fde
mov ecx, dword [0x10121848]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
call dword [ebp - 4]
mov ecx, dword [0x1011a878]
mov eax, dword [0x100bf240]
add ecx, 0xffffffad
xor ecx, 0xb869bbcd
fstp dword [ebp - 4]
movss xmm0, dword [ebp - 4]
mulss xmm0, dword [ecx + eax]
mov ecx, dword [0x10121848]
movss dword [ebp - 0xc], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 4], eax
call dword [ebp - 4]
movss xmm2, dword [ebp - 8]
mov eax, dword [0x1011a618]
movaps xmm1, xmm2
fstp dword [ebp - 4]
movss xmm0, dword [ebp - 4]
maxss xmm0, xmm2
mulss xmm0, dword [ebp - 0xc]
mulss xmm0, dword [eax + 0x20]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm1, xmm0
ucomiss xmm2, xmm1
lahf
test ah, 0x44
jnp 0x10089fde
divss xmm1, xmm2
movss xmm0, dword [ebp + 0x90]
mulss xmm0, xmm1
movss dword [ebp + 0x90], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [ebp + 0x94]
mulss xmm1, dword [ebp + 0x98]
movss dword [ebp + 0x94], xmm0
movss dword [ebp + 0x98], xmm1
lea eax, [ebp + 0x90]
push eax
lea eax, [ebp + 0x84]
push eax
lea eax, [ebp + 0x78]
push eax
lea eax, [ebp + 0x6c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.10089b10
mov dword [ebp + 0x98], 0
mov ecx, dword [0x10121838]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0xc], eax
call dword [ebp - 0xc]
pop edi
pop esi
fstp st(0)
pop ebx
mov esp, ebp
pop ebp
ret 0x94