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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006bb50
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x100891d4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 0xc]
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
jb 0x10021fb7
mov edi, dword [ebx]
jmp 0x10021fb9
mov edi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x10021fda
mov ebx, eax
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10021fc6
mov ebx, dword [ebp + 0xc]
mov eax, dword [esi + 0x18]
and eax, edx
lea ecx, [eax*8]
mov eax, dword [esi + 0xc]
mov dword [ebp + 0xc], ecx
mov edi, dword [eax + ecx]
cmp edi, dword [esi + 4]
jne 0x10021ff9
mov esi, dword [esi + 4]
jmp 0x10021fff
mov esi, dword [eax + ecx + 4]
mov esi, dword [esi]
cmp esi, edi
je 0x1002203c
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
lea eax, [esi + 8]
lea edx, [eax + 0x10]
jb 0x10022014
mov eax, dword [eax]
cmp dword [ebx + 0x14], 8
jb 0x1002201e
mov ecx, dword [ebx]
jmp 0x10022020
mov ecx, ebx
push dword [edx]
push eax
push dword [ebx + 0x10]
push ecx
call fcn.1000a290
add esp, 0x10
test eax, eax
sete al
test al, al
jne 0x10022089
cmp esi, edi
jne 0x10022003
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov eax, dword [edi]
cmp esi, eax
je 0x10022069
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp + 0xc]
mov ecx, dword [edx + 0xc]
add ecx, ebx
mov eax, dword [ecx]
cmp eax, dword [edx + 4]
jne 0x100220f8
mov dword [ecx], edi
mov eax, dword [edx + 0xc]
mov dword [eax + ebx + 4], edi
jmp 0x1002211a
mov ebx, dword [ebp + 0x10]
mov edx, dword [ebp - 0x14]
lea edi, [ebx + 8]
mov ecx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [ecx], eax
mov ecx, dword [ebx]
mov eax, dword [ebx + 4]
mov dword [ecx + 4], eax
dec dword [edx + 8]
mov eax, dword [edi + 0x14]
cmp eax, 8
jb 0x100220b7
inc eax
mov ecx, edi
push eax
push dword [edi]
call fcn.100062e0
mov dword [edi + 0x14], 7
cmp dword [edi + 0x14], 8
mov dword [edi + 0x10], 0
jb 0x100220cd
mov edi, dword [edi]
xor eax, eax
push ebx
mov word [edi], ax
call fcn.10062b69
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], esi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x10022100
mov dword [ecx], edi
jmp 0x1002211a
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x1002211a
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx + ebx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + ebx + 4], eax
mov ecx, edx
mov dword [ebp - 4], 2
call fcn.10022160
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc