Function at 0x100ade00
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 [0x10118080]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x1013c444]
mov eax, dword [0x1013a44c]
add ecx, 0xffffffc9
xor ecx, 0x20f6a018
push esi
push edi
mov eax, dword [ecx + eax]
cmp eax, 8
je 0x100ae0ca
cmp eax, 9
je 0x100ae0ca
test dword [0x1013a808], 0x20000
jne 0x100ae0ca
test byte [0x1013a808], 2
je 0x100ae0ca
test byte [0x1013a3d4], 1
jne 0x100ae0ca
movss xmm3, dword [0x1013a3e8]
movss xmm4, dword [0x1013a3ec]
movaps xmm1, xmm3
movaps xmm0, xmm4
mulss xmm1, xmm3
mulss xmm0, xmm4
addss xmm0, xmm1
call fcn.10016620
movaps xmm1, xmm0
movss xmm0, dword [0x10106df0]
comiss xmm0, xmm1
jae 0x100ae0ca
cmp byte [0x10122f78], 0
je 0x100ae0ca
mov eax, dword [0x10141a6c]
test al, 1
jne 0x100adf3b
or eax, 1
mov dword [0x10141a6c], eax
mov eax, dword [0x1013c208]
mov eax, dword [eax + 0x30]
mov dword [ebp - 8], eax
test eax, eax
je 0x100adf26
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x100adef0
xor edx, edx
test ecx, ecx
je 0x100adf1c
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100adf00
cmp esi, 0xda6a172f
je 0x100adf30
mov eax, dword [ebp - 8]
mov eax, dword [eax + 4]
mov dword [ebp - 8], eax
test eax, eax
jne 0x100adee0
xor esi, esi
mov dword [0x10141a68], esi
jmp 0x100adf41
mov esi, dword [ebp - 8]
mov dword [0x10141a68], esi
jmp 0x100adf41
mov esi, dword [0x10141a68]
mov edi, dword [0x1013a800]
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 0x100adfb8
movss xmm2, dword [0x10106f40]
mov dword [0x101418b0], 0xc3340000
test cl, cl
je 0x100adf9c
movss xmm2, dword [0x10106f48]
mov dword [0x101418b0], 0xc3610000
jmp 0x100ae025
test dl, dl
je 0x100ae025
movss xmm2, dword [0x10106f3c]
mov dword [0x101418b0], 0xc3070000
jmp 0x100ae025
test cl, cl
je 0x100adfe8
cmp byte [ebp - 8], 0
movss xmm2, dword [0x10106e70]
mov dword [0x101418b0], 0x42b40000
je 0x100ae025
movss xmm2, dword [0x10106e44]
mov dword [0x101418b0], 0x42340000
jmp 0x100ae025
test dl, dl
je 0x100ae018
cmp byte [ebp - 8], 0
movss xmm2, dword [0x10106f30]
mov dword [0x101418b0], 0xc2b40000
je 0x100ae025
movss xmm2, dword [0x10106f1c]
mov dword [0x101418b0], 0xc2340000
jmp 0x100ae025
mov dword [0x101418b0], 0
xorps xmm2, xmm2
addss xmm2, dword [0x1013a820]
movaps xmm1, xmm3
movaps xmm0, xmm4
movss dword [0x1013a820], xmm2
call fcn.100165d0
mulss xmm0, dword [0x10106e54]
lea ecx, [ebp - 8]
subss xmm2, xmm0
movss dword [ebp - 8], xmm2
call fcn.100ad670
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 0x100ae08b
mov dword [ebp - 0xc], eax
call dword [ebp - 0xc]
fstp dword [ebp - 0xc]
movss xmm0, dword [ebp - 0xc]
xorps xmm0, xmmword [0x10107030]
jmp 0x100ae099
mov dword [ebp - 0xc], eax
call dword [ebp - 0xc]
fstp dword [ebp - 0xc]
movss xmm0, dword [ebp - 0xc]
mov eax, dword [0x1013a800]
lea ecx, [ebp - 8]
movss dword [eax + 0x28], xmm0
movss xmm0, dword [0x1013a820]
subss xmm0, dword [ebp - 8]
movss dword [ebp - 8], xmm0
call fcn.100ad670
movss xmm0, dword [ebp - 8]
movss dword [0x1013a820], xmm0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100c6262
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret