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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x3c
mov esi, dword [ecx + 4]
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x34], eax
lea eax, [esi + esi]
test esi, esi
mov edi, 0x10
cmovne edi, eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x1c], eax
test edi, edi
mov dword [esp + 4], edi
mov dword [esp + 0x14], ecx
je 0x100f4307
mov ebp, ecx
lea esi, [ecx + 0xc]
lea ebx, [edi*4]
lea eax, [ebx + ebx*2]
push eax
call fcn.101ac7e6
add esp, 4
mov dword [esp], eax
xor eax, eax
cmp edi, 4
jb 0x100f42c5
mov ecx, dword [esp + 4]
and ecx, 0xfffffffc
xor eax, eax
mov edx, dword [esp]
nop word cs:[eax + eax]
mov edi, dword [esi + 8]
mov dword [edx + 8], edi
movsd xmm0, qword [esi]
movsd qword [edx], xmm0
mov edi, dword [esi + 8]
mov dword [edx + 0x14], edi
movsd xmm0, qword [esi]
movsd qword [edx + 0xc], xmm0
mov edi, dword [esi + 8]
mov dword [edx + 0x20], edi
movsd xmm0, qword [esi]
movsd qword [edx + 0x18], xmm0
movsd xmm0, qword [esi]
movsd qword [edx + 0x24], xmm0
mov edi, dword [esi + 8]
mov dword [edx + 0x2c], edi
add eax, 4
add edx, 0x30
cmp ecx, eax
jne 0x100f4280
test byte [esp + 4], 2
je 0x100f42f7
lea eax, [eax + eax*2]
mov ecx, dword [esp]
lea eax, [ecx + eax*4]
and ebx, 8
lea ecx, [ebx + ebx*2]
xor edx, edx
nop dword [eax]
mov edi, dword [esi + 8]
mov dword [eax + edx + 8], edi
movsd xmm0, qword [esi]
movsd qword [eax + edx], xmm0
add edx, 0xc
cmp ecx, edx
jne 0x100f42e0
mov esi, dword [ebp + 4]
mov edi, dword [esp + 4]
test esi, esi
jne 0x100f4316
jmp 0x100f44bf
mov dword [esp], 0
test esi, esi
je 0x100f44bf
lea eax, [edi - 1]
mov dword [esp + 0x38], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x20], eax
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x28], eax
xor ebx, ebx
mov dword [esp + 0x24], esi
jmp 0x100f4368
mov ecx, dword [esp + 0x2c]
mov eax, dword [ecx + 8]
mov dword [ebp + 8], eax
movsd xmm0, qword [ecx]
movsd qword [ebp], xmm0
mov edi, dword [esp + 4]
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0x30]
inc ebx
cmp ebx, esi
jae 0x100f44bf
lea ecx, [ebx + ebx*2]
mov eax, dword [esp + 0x18]
mov ebp, dword [eax + ecx*4]
mov dword [esp + 8], ecx
mov edx, dword [eax + ecx*4 + 4]
cmp edx, dword [esp + 0x28]
mov dword [esp + 0xc], edx
jne 0x100f439a
push edx
push dword [esp + 0x24]
push ebp
call fcn.10366e0d
mov edx, dword [esp + 0x18]
add esp, 0xc
test eax, eax
je 0x100f435f
mov dword [esp + 0x10], ebp
test edx, edx
mov dword [esp + 0x30], ebx
je 0x100f43c0
mov eax, edx
and eax, 3
cmp edx, 4
jae 0x100f43d0
mov ebx, 0x811c9dc5
xor ecx, ecx
mov ebp, dword [esp + 0x10]
jmp 0x100f441b
mov ebx, 0x811c9dc5
mov edi, dword [esp + 8]
jmp 0x100f4441
and edx, 0xfffffffc
mov ebx, 0x811c9dc5
xor ecx, ecx
mov ebp, dword [esp + 0x10]
nop
movzx esi, byte [ebp + ecx]
xor esi, ebx
imul esi, esi, 0x1000193
movzx edi, byte [ebp + ecx + 1]
xor edi, esi
imul esi, edi, 0x1000193
movzx edi, byte [ebp + ecx + 2]
xor edi, esi
imul esi, edi, 0x1000193
movzx edi, byte [ebp + ecx + 3]
xor edi, esi
imul ebx, edi, 0x1000193
add ecx, 4
cmp edx, ecx
jne 0x100f43e0
test eax, eax
mov edi, dword [esp + 8]
je 0x100f4441
add ecx, ebp
xor edx, edx
nop word [eax + eax]
movzx esi, byte [ecx + edx]
xor esi, ebx
imul ebx, esi, 0x1000193
inc edx
cmp eax, edx
jne 0x100f4430
mov eax, dword [esp + 0x18]
lea eax, [eax + edi*4]
mov dword [esp + 0x2c], eax
xor edi, edi
mov dword [esp + 8], 1
mov edx, dword [esp + 0xc]
jmp 0x100f4468
add ebx, edi
inc ebx
inc edi
inc dword [esp + 8]
and ebx, dword [esp + 0x38]
lea eax, [ebx + ebx*2]
mov ecx, dword [esp]
lea ebp, [ecx + eax*4]
mov esi, dword [ecx + eax*4 + 4]
cmp esi, dword [esp + 0x1c]
jne 0x100f449e
push dword [esp + 0x1c]
push dword [esp + 0x38]
push dword [ebp]
call fcn.10366e0d
mov edx, dword [esp + 0x18]
add esp, 0xc
test eax, eax
je 0x100f4340
cmp esi, edx
jne 0x100f4460
push edx
push dword [esp + 0x14]
push dword [ebp]
call fcn.10366e0d
mov edx, dword [esp + 0x18]
add esp, 0xc
test eax, eax
jne 0x100f4460
jmp 0x100f4340
mov edx, dword [esp + 0x14]
mov eax, dword [edx]
mov ecx, dword [esp]
mov dword [edx], ecx
mov dword [edx + 4], edi
test eax, eax
je 0x100f44dc
push eax
call fcn.101ac816
add esp, 0x40
jmp 0x100f44df
add esp, 0x3c
pop esi
pop edi
pop ebx
pop ebp
ret