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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x100bc008]
xor eax, esp
mov dword [esp + 0x2c], eax
mov eax, dword [0x100c3410]
push esi
push edi
cmp eax, 0xffffffff
je 0x100877d2
lea eax, [eax + eax*2]
mov al, byte [eax*4 + 0x100cbac8]
test al, al
jne 0x10087c2b
mov ecx, dword [0x10159508]
test ecx, ecx
je 0x10087c2b
cmp byte [0x1015950c], 0
je 0x10087c2b
cmp byte [0x101520c2], 0
je 0x10087c2b
mov eax, dword [0x10153f98]
add eax, 0xffffffc7
mov byte [0x101520c2], 0
xor eax, 0xccb3e6fd
test byte [eax + ecx], 1
je 0x10087c2b
mov eax, dword [0x10154050]
add eax, 0xffffff99
xor eax, 0xccb3e72b
mov eax, dword [eax + ecx]
mov ecx, dword [0x10153cf8]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 0x10]
mov edx, esp
mov dword [edx], eax
call esi
mov esi, eax
test esi, esi
je 0x10087c2b
mov ecx, dword [esi]
mov edx, dword [ecx + 0x6f8]
mov ecx, esi
call edx
test eax, eax
je 0x10087c2b
mov ecx, dword [0x10154094]
add ecx, 0xffffff88
xor ecx, 0xccb3e73c
cmp dword [ecx + esi], 0
jne 0x10087877
movss xmm0, dword [eax + 0x12c]
jmp 0x1008787f
movss xmm0, dword [eax + 0x130]
mov eax, dword [0x10153f50]
add eax, 0xffffffd9
movss dword [esp + 0xc], xmm0
xor eax, 0xccb3e6eb
add eax, dword [0x10159508]
movq xmm0, qword [eax]
movq qword [esp + 0x1c], xmm0
movss xmm0, dword [esp + 0x1c]
movss xmm1, dword [esp + 0x20]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10019ff0
mov eax, dword [0x1015e818]
movss dword [esp + 0x10], xmm0
test al, 1
jne 0x1008793e
or eax, 1
mov dword [0x1015e818], eax
mov eax, dword [0x10153cf0]
mov eax, dword [eax + 0x30]
mov dword [esp + 8], eax
test eax, eax
je 0x10087928
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x100878f0
xor edx, edx
test ecx, ecx
je 0x1008791d
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10087900
cmp esi, 0xe01f2035
je 0x10087932
mov eax, dword [esp + 8]
mov eax, dword [eax + 4]
mov dword [esp + 8], eax
test eax, eax
jne 0x100878e6
xor ecx, ecx
mov dword [0x1015e810], ecx
jmp 0x10087944
mov ecx, dword [esp + 8]
mov dword [0x1015e810], ecx
jmp 0x10087944
mov ecx, dword [0x1015e810]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
mov ecx, dword [0x10153dbc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
movss xmm4, dword [esp + 0xc]
fstp st(0)
mulss xmm4, dword [0x100b0f6c]
movss xmm2, dword [esp + 0x10]
comiss xmm2, xmm4
jbe 0x10087bd0
xorps xmm0, xmm0
mov dword [esp + 0x28], 0
comiss xmm2, xmm0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
movss dword [esp + 8], xmm0
jbe 0x100879d6
movss xmm1, dword [esp + 0x1c]
movss xmm0, dword [esp + 0x20]
call fcn.10019f80
mulss xmm0, dword [0x100b10f0]
movaps xmm1, xmm2
movss dword [esp + 8], xmm0
movss xmm0, dword [0x100b11b8]
call fcn.10019f80
mulss xmm0, dword [0x100b0fc4]
jmp 0x100879de
movss xmm0, dword [0x100b0ff0]
mov ecx, dword [0x10153cf4]
lea edx, [esp + 0x28]
push edx
movss dword [esp + 0x10], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x48]
call eax
movss xmm0, dword [esp + 0xc]
call fcn.10019fb0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x2c]
subss xmm0, dword [esp + 8]
mulss xmm0, dword [0x100b0f00]
movss dword [esp + 0x10], xmm0
call fcn.10019fb0
mulss xmm0, dword [esp + 0xc]
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x10]
call fcn.10019fe0
mulss xmm0, dword [esp + 0xc]
mov ecx, dword [0x1015e818]
movss dword [esp + 0x14], xmm0
test cl, 2
jne 0x10087ad8
or ecx, 2
mov dword [0x1015e818], ecx
mov eax, dword [0x10153cf0]
mov eax, dword [eax + 0x30]
mov dword [esp + 8], eax
test eax, eax
je 0x10087abe
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x10087a80
xor edx, edx
test ecx, ecx
je 0x10087aad
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ecx
jb 0x10087a90
mov eax, dword [esp + 8]
cmp edi, 0x7939b3a7
je 0x10087acb
mov eax, dword [eax + 4]
mov dword [esp + 8], eax
test eax, eax
jne 0x10087a71
mov ecx, dword [0x1015e818]
xor eax, eax
mov dword [esp + 8], eax
mov dword [0x1015e81c], eax
jmp 0x10087ae1
mov ecx, dword [0x1015e818]
mov dword [0x1015e81c], eax
jmp 0x10087ae1
mov eax, dword [0x1015e81c]
mov dword [esp + 8], eax
test cl, 4
jne 0x10087b4f
or ecx, 4
mov dword [0x1015e818], ecx
mov eax, dword [0x10153cf0]
mov eax, dword [eax + 0x30]
mov dword [esp + 0xc], eax
test eax, eax
je 0x10087b48
nop
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10087b10
xor edx, edx
test ecx, ecx
je 0x10087b3d
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10087b20
mov eax, dword [esp + 0xc]
cmp esi, 0xda6a172f
je 0x10087b4a
mov eax, dword [eax + 4]
mov dword [esp + 0xc], eax
test eax, eax
jne 0x10087b00
xor eax, eax
mov dword [0x1015e824], eax
mov ecx, dword [esp + 8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
call dword [esp + 0x10]
mov ecx, dword [0x1015e824]
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
xorps xmm0, xmmword [0x100b12d0]
mov eax, dword [ecx]
movss dword [esp + 0xc], xmm0
mov eax, dword [eax + 0x30]
mov dword [esp + 0x10], eax
call dword [esp + 0x10]
movss xmm1, dword [esp + 0x18]
mov eax, dword [0x1015b4d8]
fmul dword [esp + 0x14]
mulss xmm1, dword [esp + 0xc]
movss dword [eax + 0x24], xmm1
mov eax, dword [0x1015b4d8]
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
xorps xmm0, xmmword [0x100b12d0]
movss dword [eax + 0x28], xmm0
pop edi
pop esi
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.1009cb56
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1015b4d8]
movss xmm3, dword [eax + 0x28]
movss xmm2, dword [eax + 0x24]
movaps xmm0, xmm3
movaps xmm1, xmm2
mulss xmm0, xmm3
and dword [eax + 0x30], 0xfffdffff
mulss xmm1, xmm2
addss xmm1, xmm0
sqrtss xmm1, xmm1
comiss xmm1, dword [0x100b10c0]
jbe 0x10087c2b
comiss xmm1, xmm4
jbe 0x10087c2b
divss xmm2, xmm1
divss xmm3, xmm1
movaps xmm0, xmm1
minss xmm0, xmm4
mulss xmm2, xmm0
mulss xmm3, xmm0
movss dword [eax + 0x24], xmm2
movss dword [eax + 0x28], xmm3
mov ecx, dword [esp + 0x34]
pop edi
pop esi
xor ecx, esp
call fcn.1009cb56
mov esp, ebp
pop ebp
ret