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

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
sub esp, 0x10
mov eax, dword [0x10121080]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x1013584c]
mov eax, dword [0x10133864]
add ecx, 0xffffffc9
xor ecx, 0xdbe8049c
push esi
push edi
mov eax, dword [ecx + eax]
cmp eax, 8
je 0x100af43a
cmp eax, 9
je 0x100af43a
test dword [0x10133c20], 0x20000
jne 0x100af43a
test byte [0x10133c20], 2
je 0x100af43a
test byte [0x101337ec], 1
jne 0x100af43a
movss xmm3, dword [0x10133800]
movss xmm4, dword [0x10133804]
movaps xmm1, xmm3
movaps xmm0, xmm4
mulss xmm1, xmm3
mulss xmm0, xmm4
addss xmm0, xmm1
call fcn.10015bf0
movaps xmm1, xmm0
movss xmm0, dword [0x1010f034]
comiss xmm0, xmm1
jae 0x100af43a
cmp byte [0x1012bb24], 0
je 0x100af43a
mov eax, dword [0x1013af10]
test al, 1
jne 0x100af2ab
or eax, 1
mov dword [0x1013af10], eax
mov eax, dword [0x10135620]
mov eax, dword [eax + 0x30]
mov dword [ebp - 8], eax
test eax, eax
je 0x100af296
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x100af260
xor edx, edx
test ecx, ecx
je 0x100af28c
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100af270
cmp esi, 0xda6a172f
je 0x100af2a0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
test eax, eax
jne 0x100af250
xor esi, esi
mov dword [0x1013af0c], esi
jmp 0x100af2b1
mov esi, dword [ebp - 8]
mov dword [0x1013af0c], esi
jmp 0x100af2b1
mov esi, dword [0x1013af0c]
mov edi, dword [0x10133c18]
mov eax, dword [edi + 0x30]
mov ecx, eax
shr ecx, 3
mov edx, eax
and ecx, 0xffffff01
shr edx, 0xa
mov dword [ebp - 8], ecx
and dl, 1
mov ecx, eax
shr eax, 4
shr ecx, 9
and cl, 1
test al, 1
je 0x100af328
movss xmm2, dword [0x1010f178]
mov dword [0x1013acec], 0xc3340000
test cl, cl
je 0x100af30c
movss xmm2, dword [0x1010f180]
mov dword [0x1013acec], 0xc3610000
jmp 0x100af395
test dl, dl
je 0x100af395
movss xmm2, dword [0x1010f174]
mov dword [0x1013acec], 0xc3070000
jmp 0x100af395
test cl, cl
je 0x100af358
cmp byte [ebp - 8], 0
movss xmm2, dword [0x1010f0b4]
mov dword [0x1013acec], 0x42b40000
je 0x100af395
movss xmm2, dword [0x1010f08c]
mov dword [0x1013acec], 0x42340000
jmp 0x100af395
test dl, dl
je 0x100af388
cmp byte [ebp - 8], 0
movss xmm2, dword [0x1010f16c]
mov dword [0x1013acec], 0xc2b40000
je 0x100af395
movss xmm2, dword [0x1010f15c]
mov dword [0x1013acec], 0xc2340000
jmp 0x100af395
mov dword [0x1013acec], 0
xorps xmm2, xmm2
addss xmm2, dword [0x10133c38]
movaps xmm1, xmm3
movaps xmm0, xmm4
movss dword [0x10133c38], xmm2
call fcn.10015ba0
mulss xmm0, dword [0x1010f09c]
lea ecx, [ebp - 8]
subss xmm2, xmm0
movss dword [ebp - 8], xmm2
call fcn.100ae7f0
movss xmm0, dword [ebp - 8]
xorps xmm1, xmm1
comiss xmm0, xmm1
mov dword [edi + 0x24], 0
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x30]
jbe 0x100af3fb
mov dword [ebp - 0xc], eax
call dword [ebp - 0xc]
fstp dword [ebp - 0xc]
movss xmm0, dword [ebp - 0xc]
xorps xmm0, xmmword [0x1010fff0]
jmp 0x100af409
mov dword [ebp - 0xc], eax
call dword [ebp - 0xc]
fstp dword [ebp - 0xc]
movss xmm0, dword [ebp - 0xc]
mov eax, dword [0x10133c18]
lea ecx, [ebp - 8]
movss dword [eax + 0x28], xmm0
movss xmm0, dword [0x10133c38]
subss xmm0, dword [ebp - 8]
movss dword [ebp - 8], xmm0
call fcn.100ae7f0
movss xmm0, dword [ebp - 8]
movss dword [0x10133c38], xmm0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100c60f2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret