Function at 0x100af820
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, 0x28
mov eax, dword [0x100ee040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101fbd98]
add eax, 0xffffffdb
xor eax, 0x7467448a
add eax, dword [0x101f2574]
push esi
mov esi, dword [ebx + 8]
push edi
movq xmm0, qword [eax]
movq qword [ebp - 0x10], xmm0
movss xmm3, dword [ebp - 0xc]
movss xmm4, dword [ebp - 0x10]
movaps xmm1, xmm3
mov eax, dword [eax + 8]
movaps xmm0, xmm4
mulss xmm0, xmm4
mov dword [ebp - 0x1c], esi
mulss xmm1, xmm3
mov dword [ebp - 8], eax
addss xmm0, xmm1
call fcn.100277b0
movaps xmm1, xmm0
movss xmm0, dword [0x100e19f8]
comiss xmm0, xmm1
jbe 0x100af8a9
xorps xmm0, xmm0
xorps xmm1, xmm1
jmp 0x100afaad
movss xmm0, dword [ebp - 8]
xorps xmm0, xmmword [0x100e1c00]
call fcn.10027760
mulss xmm0, dword [0x100e1a4c]
movaps xmm1, xmm4
movss dword [ebp - 0x18], xmm0
movaps xmm0, xmm3
call fcn.10027760
mov ecx, dword [0x101fbb04]
lea edx, [ebp - 0x10]
mulss xmm0, dword [0x100e1a4c]
mov dword [ebp - 0x10], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov eax, dword [ecx]
push edx
movss dword [ebp - 0x14], xmm0
mov eax, dword [eax + 0x48]
call eax
movss xmm0, dword [ebp - 0x18]
mulss xmm0, dword [0x100e1850]
call fcn.10027790
movss dword [ebp - 0x18], xmm0
movss xmm0, dword [ebp - 0xc]
subss xmm0, dword [ebp - 0x14]
mulss xmm0, dword [0x100e1850]
movss dword [ebp - 0x14], xmm0
call fcn.10027790
mulss xmm0, dword [ebp - 0x18]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x14]
call fcn.100277a0
mulss xmm0, dword [ebp - 0x18]
mov ecx, dword [0x102026a4]
movss dword [ebp - 0x24], xmm0
test cl, 1
jne 0x100af9eb
or ecx, 1
mov dword [0x102026a4], ecx
mov eax, dword [0x101fbb00]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100af9cf
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 0x100af990
xor edx, edx
test ecx, ecx
je 0x100af9bc
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100af9a0
mov eax, dword [ebp - 0x14]
cmp esi, 0x7939b3a7
je 0x100af9db
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x100af980
mov ecx, dword [0x102026a4]
mov esi, dword [ebp - 0x1c]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [0x102026a8], eax
jmp 0x100af9f3
mov ecx, dword [0x102026a4]
mov esi, dword [ebp - 0x1c]
mov dword [0x102026a8], eax
jmp 0x100af9f3
mov eax, dword [0x102026a8]
mov dword [ebp - 0x14], eax
test cl, 2
jne 0x100afa60
or ecx, 2
mov dword [0x102026a4], ecx
mov eax, dword [0x101fbb00]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100afa56
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x100afa20
xor edx, edx
test ecx, ecx
je 0x100afa4c
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100afa30
mov eax, dword [ebp - 0x18]
cmp esi, 0xda6a172f
je 0x100afa58
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x100afa10
xor eax, eax
mov esi, dword [ebp - 0x1c]
mov dword [0x102026ac], eax
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1c], eax
call dword [ebp - 0x1c]
fmul dword [ebp - 0x20]
mov ecx, dword [0x102026ac]
mov eax, dword [ecx]
fstp dword [ebp - 0x20]
movss xmm0, dword [ebp - 0x20]
xorps xmm0, xmmword [0x100e1c00]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x20], eax
movss dword [ebp - 0x1c], xmm0
call dword [ebp - 0x20]
fmul dword [ebp - 0x24]
movss xmm0, dword [ebp - 0x1c]
fstp dword [ebp - 0x24]
movss xmm1, dword [ebp - 0x24]
xorps xmm1, xmmword [0x100e1c00]
mov edx, 0x28
mov ecx, 0x24
mov eax, esi
pop edi
movss dword [esi + edx], xmm1
movss dword [eax + ecx], xmm0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.100ca346
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4