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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x101cfbd0]
sub esp, 0x14
push ebx
push esi
push edi
test al, 1
jne 0x100f0898
or eax, 1
mov dword [0x101cfbd0], eax
mov eax, dword [0x101cc800]
mov ebx, dword [eax + 0x30]
jmp 0x100f088c
mov edi, dword [ebx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [edi + ecx], 0
jne 0x100f0860
xor edx, edx
test ecx, ecx
je 0x100f0889
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100f0870
cmp esi, 0x90f473ab
je 0x100f0890
mov ebx, dword [ebx + 4]
test ebx, ebx
jne 0x100f0854
mov dword [0x101cfaac], ebx
jmp 0x100f089e
mov ebx, dword [0x101cfaac]
cmp byte [0x1014c8a0], 0
je 0x100f08c8
mov ecx, dword [0x101ccab8]
mov eax, dword [0x10140e2c]
add ecx, 0xffffffb7
xor ecx, 0x59107278
cmp byte [ecx + eax], 0
jne 0x100f08c8
mov ecx, 3
jmp 0x100f08ca
xor ecx, ecx
mov eax, dword [ebx]
push ecx
mov ecx, ebx
mov eax, dword [eax + 0x40]
call eax
push 0x10155328
lea ecx, [ebp - 0x14]
call fcn.10033a60
mov edi, dword [ebp - 0x10]
lea ecx, [ebp - 0x14]
mov esi, dword [ebp - 0x14]
call fcn.10033990
cmp esi, edi
je 0x100f0ac5
mov eax, dword [0x101cc864]
movss xmm0, dword [eax + 0x10]
comiss xmm0, dword [0x10157f3c]
ja 0x100f0ac5
xorps xmm0, xmm0
comiss xmm0, dword [0x10157f40]
jae 0x100f0ac5
mov eax, dword [0x101411a4]
cdq
sub eax, edx
mov esi, eax
mov eax, dword [0x101411a8]
push 1
push dword [0x1015532c]
cdq
push dword [0x10155328]
sub eax, edx
sar esi, 1
mov edi, eax
sar edi, 1
call fcn.10100b00
mov ecx, dword [0x1015532c]
cmp eax, ecx
je 0x100f099f
mov eax, dword [0x101cc864]
movss xmm0, dword [0x10114e70]
push ecx
movss xmm3, dword [eax + 0x10]
subss xmm3, dword [0x10157f38]
divss xmm3, dword [0x10157f40]
subss xmm0, xmm3
mulss xmm0, dword [0x10115084]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push edi
push esi
call fcn.100f0ad0
mov ecx, dword [0x1015532c]
push 0
push ecx
push dword [0x10155328]
call fcn.10100b00
cmp eax, dword [0x1015532c]
je 0x100f0ac5
mov edx, dword [0x10157f54]
mov eax, edx
sub eax, dword [0x10157f50]
sar eax, 4
test eax, eax
je 0x100f0ac5
xor ebx, ebx
test eax, eax
je 0x100f0ac5
xor ecx, ecx
mov dword [ebp - 4], ecx
mov eax, dword [0x101cc864]
mov edi, dword [0x10157f50]
add edi, ecx
movss xmm0, dword [0x10114e70]
movss xmm2, dword [eax + 0x10]
movaps xmm1, xmm2
movss xmm3, dword [edi + 0xc]
subss xmm1, xmm3
divss xmm1, dword [0x10157f40]
subss xmm0, xmm1
movss dword [ebp - 8], xmm1
xorps xmm1, xmm1
mulss xmm0, dword [0x10115084]
cvttss2si esi, xmm0
movd xmm0, esi
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jae 0x100f0a71
comiss xmm3, xmm2
ja 0x100f0a71
lea edx, [ebp - 0x10]
mov ecx, edi
call fcn.100e9490
test al, al
je 0x100f0a69
cvttss2si eax, dword [ebp - 0xc]
push ecx
movss xmm3, dword [ebp - 8]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push eax
cvttss2si eax, dword [ebp - 0x10]
push eax
call fcn.100f0ad0
mov edx, dword [0x10157f54]
jmp 0x100f0aa8
lea ecx, [edi + 0x10]
cmp ecx, edx
je 0x100f0a9f
mov eax, dword [ecx]
lea edi, [edi + 0x10]
mov dword [edi - 0x10], eax
mov eax, dword [ecx + 4]
mov dword [edi - 0xc], eax
mov eax, dword [ecx + 8]
mov dword [edi - 8], eax
mov eax, dword [ecx + 0xc]
add ecx, 0x10
mov dword [edi - 4], eax
cmp ecx, edx
jne 0x100f0a78
mov edx, dword [0x10157f54]
sub edx, 0x10
mov dword [0x10157f54], edx
mov ecx, dword [ebp - 4]
mov eax, edx
sub eax, dword [0x10157f50]
inc ebx
add ecx, 0x10
sar eax, 4
mov dword [ebp - 4], ecx
cmp ebx, eax
jb 0x100f09e1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret