Function at 0x100a2540
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, 0x30
mov eax, dword [0x10139040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x102261d8]
add eax, 0xffffffd9
xor eax, 0xe4f8a342
add eax, dword [0x1013aadc]
push esi
push edi
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x2c], xmm0
movss xmm3, dword [ebp - 0x2c]
movss xmm4, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
movaps xmm1, xmm4
mov eax, dword [0x1013e1cc]
mulss xmm1, xmm4
movq xmm0, qword [eax + 0xc]
movq qword [ebp - 0x10], xmm0
movaps xmm0, xmm3
mov eax, dword [eax + 0x14]
mulss xmm0, xmm3
mov dword [ebp - 8], eax
addss xmm0, xmm1
call fcn.10025940
movaps xmm2, xmm0
xorps xmm1, xmm1
comiss xmm2, xmm1
movss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x18], xmm1
jbe 0x100a2608
xorps xmm0, xmmword [0x1012d2a0]
movaps xmm1, xmm2
call fcn.100258d0
mulss xmm0, dword [0x1012d0dc]
movaps xmm1, xmm3
movss dword [ebp - 0x14], xmm0
movaps xmm0, xmm4
call fcn.100258d0
mulss xmm0, dword [0x1012d0dc]
movss dword [ebp - 0x18], xmm0
jmp 0x100a2624
comiss xmm0, xmm1
jbe 0x100a2617
movss xmm0, dword [0x1012d1ec]
jmp 0x100a261f
movss xmm0, dword [0x1012d108]
movss dword [ebp - 0x14], xmm0
mov ecx, dword [0x10225fa4]
lea edx, [ebp - 0x10]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
movss xmm0, dword [ebp - 0x14]
mulss xmm0, dword [0x1012ce88]
call fcn.10025900
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ebp - 0xc]
subss xmm0, dword [ebp - 0x18]
mulss xmm0, dword [0x1012ce88]
movss dword [ebp - 0x18], xmm0
call fcn.10025900
mulss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x18]
call fcn.10025930
mulss xmm0, dword [ebp - 0x14]
mov ecx, dword [0x1022b794]
movss dword [ebp - 0x1c], xmm0
test cl, 1
jne 0x100a2715
or ecx, 1
mov dword [0x1022b794], ecx
mov eax, dword [0x10225fa0]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100a26fc
nop dword [eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x100a26c0
xor edx, edx
test ecx, ecx
je 0x100a26ec
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100a26d0
mov eax, dword [ebp - 0x14]
cmp esi, 0x7939b3a7
je 0x100a2708
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x100a26b0
mov ecx, dword [0x1022b794]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [0x1022b798], eax
jmp 0x100a271d
mov ecx, dword [0x1022b794]
mov dword [0x1022b798], eax
jmp 0x100a271d
mov eax, dword [0x1022b798]
mov dword [ebp - 0x14], eax
test cl, 2
jne 0x100a278d
or ecx, 2
mov dword [0x1022b794], ecx
mov eax, dword [0x10225fa0]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100a2786
nop word [eax + eax]
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [esi + ecx], 0
jne 0x100a2750
xor edx, edx
test ecx, ecx
je 0x100a277c
nop dword [eax]
movsx eax, byte [esi + edx]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x100a2760
mov eax, dword [ebp - 0x18]
cmp edi, 0xda6a172f
je 0x100a2788
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x100a2740
xor eax, eax
mov dword [0x1022b790], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [0x1022b790]
fstp dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x18], eax
call dword [ebp - 0x18]
movss xmm0, dword [ebp - 0x14]
mulss xmm0, dword [ebp - 0x20]
mov eax, dword [0x1013e1cc]
fmul dword [ebp - 0x1c]
mov ecx, dword [ebp - 4]
xorps xmm0, xmmword [0x1012d2a0]
xor ecx, ebp
movss dword [eax + 0x24], xmm0
mov eax, dword [0x1013e1cc]
fstp dword [ebp - 0x1c]
movss xmm1, dword [ebp - 0x1c]
xorps xmm1, xmmword [0x1012d2a0]
pop edi
movss dword [eax + 0x28], xmm1
pop esi
call fcn.1010b45c
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret