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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
mov dword [ebp - 0x20], edi
cmp esi, ebx
je 0x406e32
cmp dword [esi + 0x1c], 8
lea ecx, [esi + 8]
mov eax, dword [edi + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 4]
mov dword [ebp - 4], eax
mov dword [ebp - 8], ecx
jb 0x406d8f
mov eax, dword [ecx]
mov dword [ebp - 8], eax
mov eax, dword [ecx + 0x10]
mov edx, 0x811c9dc5
mov ecx, 0
add eax, eax
je 0x406dbc
mov esi, dword [ebp - 8]
mov ebx, eax
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x406da5
mov ebx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, edx
mov edx, dword [ebp + 8]
mov esi, dword [esi]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
call fcn.00407690
dec dword [edi + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0xc]
je 0x406e0e
nop word [eax + eax]
mov dword [ebp - 0x1c], esi
cmp esi, ebx
je 0x406e1d
mov edx, esi
mov esi, dword [esi]
call fcn.00407690
dec dword [edi + 8]
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x1c], eax
jne 0x406df0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jne 0x406e3d
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
jmp 0x406e40
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jne 0x406e2a
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov eax, dword [ebp - 4]
mov dword [eax], esi
mov dword [esi + 4], eax
pop edi
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 4]
mov dword [ecx + 4], eax
cmp esi, ebx
je 0x406e2a
nop word [eax + eax]
cmp dword [esi + 0x1c], 8
lea ecx, [esi + 8]
mov dword [ebp - 0xc], esi
mov dword [ebp + 8], ecx
jb 0x406e64
mov eax, dword [ecx]
mov dword [ebp + 8], eax
mov eax, dword [ecx + 0x10]
mov edx, 0x811c9dc5
add eax, eax
mov ecx, 0
mov dword [ebp - 0x1c], eax
je 0x406e97
mov edi, dword [ebp + 8]
mov ebx, eax
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x406e80
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp + 0xc]
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, edx
mov edx, esi
mov esi, dword [esi]
lea eax, [ecx + eax*8]
mov dword [ebp - 0x10], eax
mov eax, dword [eax + 4]
mov dword [ebp + 8], eax
call fcn.00407690
dec dword [edi + 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
je 0x406edd
nop
mov eax, dword [ebp + 0xc]
mov ebx, esi
cmp esi, eax
je 0x406f03
mov edx, esi
mov esi, dword [esi]
call fcn.00407690
dec dword [edi + 8]
cmp ebx, dword [ebp + 8]
jne 0x406ec0
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, ebx
jne 0x406e50
mov eax, dword [ebp - 4]
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x10]
pop edi
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8