Function at 0x100856a0
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, 0x38
mov eax, dword [0x100b9008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [0x100b998c]
push edi
test esi, esi
je 0x10085a20
cmp dword [0x100b9984], 0
je 0x10085a20
cmp dword [0x100b9988], 0x1f
je 0x10085a20
mov edi, dword [0x100b92e0]
test edi, edi
je 0x10085a20
cmp byte [0x100b92e4], 0
je 0x10085a20
test byte [0x100b99ec], 2
jne 0x10085a20
test byte [0x100b92e8], 1
je 0x10085a20
cmp byte [0x100bc5f0], 0
je 0x10085a20
mov eax, dword [0x100bc6a4]
mov ecx, eax
mov edx, dword [0x100bc6a8]
cmp ecx, edx
je 0x1008574c
cmp dword [ecx], 0
je 0x10085773
add ecx, 4
cmp ecx, edx
jne 0x10085740
cmp eax, edx
je 0x10085a20
cmp dword [eax], 1
je 0x1008578f
add eax, 4
cmp eax, edx
jne 0x10085754
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009b337
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp ecx, edx
je 0x1008574c
call fcn.10085430
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009b337
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
cmp eax, edx
je 0x10085a20
mov eax, dword [0x101122b8]
add eax, 0xffffffb7
xor eax, 0x7e881227
cmp byte [eax + edi], 0
jbe 0x100857b4
movss xmm0, dword [esi + 0x130]
jmp 0x100857bc
movss xmm0, dword [esi + 0x12c]
mulss xmm0, dword [0x100ad6d8]
call fcn.10023390
mov ecx, dword [0x10112230]
movaps xmm2, xmm0
lea eax, [ecx - 0x27]
xor eax, 0x7e881205
movss xmm1, dword [eax + edi + 4]
movss xmm0, dword [eax + edi]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1001a740
comiss xmm2, xmm0
jbe 0x10085816
movaps xmm0, xmm2
call fcn.10084f90
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1009b337
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
lea eax, [ecx - 0x27]
mov dword [ebp - 0x2c], 0
xor eax, 0x7e881205
mov dword [ebp - 0x28], 0
push ecx
lea edx, [ebp - 0x2c]
lea ecx, [ebp - 0x38]
movq xmm0, qword [eax + edi]
mov eax, dword [eax + edi + 8]
mov dword [ebp - 0x30], eax
mov eax, dword [0x100b99e0]
movq qword [ebp - 0x38], xmm0
movq xmm0, qword [eax + 0xc]
movq qword [ebp - 0x10], xmm0
mov eax, dword [eax + 0x14]
mov dword [ebp - 8], eax
call fcn.10083530
mov ecx, dword [0x10112028]
lea edx, [ebp - 0x10]
add esp, 4
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 0x48]
call eax
movss xmm0, dword [ebp - 0x2c]
mulss xmm0, dword [0x100ad684]
call fcn.1001a700
movss dword [ebp - 0x14], xmm0
movss xmm0, dword [ebp - 0xc]
subss xmm0, dword [ebp - 0x28]
mulss xmm0, dword [0x100ad684]
movss dword [ebp - 0x18], xmm0
call fcn.1001a700
mulss xmm0, dword [ebp - 0x14]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [ebp - 0x18]
call fcn.1001a730
mulss xmm0, dword [ebp - 0x14]
mov ecx, dword [0x101181d0]
movss dword [ebp - 0x1c], xmm0
test cl, 1
jne 0x10085945
or ecx, 1
mov dword [0x101181d0], ecx
mov eax, dword [0x10112024]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1008592c
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x100858f0
xor edx, edx
test ecx, ecx
je 0x1008591c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10085900
mov eax, dword [ebp - 0x18]
cmp esi, 0x7939b3a7
je 0x10085938
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x100858e6
mov ecx, dword [0x101181d0]
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [0x101181d4], eax
jmp 0x1008594d
mov ecx, dword [0x101181d0]
mov dword [0x101181d4], eax
jmp 0x1008594d
mov eax, dword [0x101181d4]
mov dword [ebp - 0x18], eax
test cl, 2
jne 0x100859bd
or ecx, 2
mov dword [0x101181d0], ecx
mov eax, dword [0x10112024]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x100859b6
nop word [eax + eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10085980
xor edx, edx
test ecx, ecx
je 0x100859ac
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10085990
mov eax, dword [ebp - 0x14]
cmp esi, 0xda6a172f
je 0x100859b8
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x10085970
xor eax, eax
mov dword [0x101181e0], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
call dword [ebp - 0x14]
mov ecx, dword [0x101181e0]
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
xorps xmm0, xmmword [0x100ada90]
mov eax, dword [ecx]
movss dword [ebp - 0x18], xmm0
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x14], eax
call dword [ebp - 0x14]
movss xmm1, dword [ebp - 0x20]
mov eax, dword [0x100b99e0]
fmul dword [ebp - 0x1c]
mulss xmm1, dword [ebp - 0x18]
movss dword [eax + 0x24], xmm1
mov eax, dword [0x100b99e0]
fstp dword [ebp - 0x1c]
movss xmm0, dword [ebp - 0x1c]
xorps xmm0, xmmword [0x100ada90]
movss dword [eax + 0x28], xmm0
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1009b337
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret