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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x583480
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5ea6c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp + 0xc]
mov esi, ebx
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 0x10
mov edi, dword [ebx + 0x10]
jb 0x406a47
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x406a66
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x406a52
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
mov edi, dword [ebp - 0x14]
and eax, edx
lea ecx, [eax*8]
mov dword [ebp - 0x18], ecx
add ecx, dword [edi + 0xc]
mov edi, dword [edi + 4]
mov dword [ebp + 0xc], ecx
cmp dword [ecx], edi
je 0x406a8a
mov edi, dword [ecx + 4]
mov edi, dword [edi]
mov esi, dword [ebx + 0x10]
nop dword [eax]
cmp edi, dword [ecx]
je 0x406b62
mov edi, dword [edi + 4]
cmp dword [edi + 0x1c], 0x10
lea eax, [edi + 8]
mov ecx, dword [eax + 0x10]
jb 0x406aa9
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0x10
mov edx, ebx
jb 0x406ab3
mov edx, dword [ebx]
cmp esi, ecx
mov ecx, dword [ebp + 0xc]
jne 0x406a90
sub esi, 4
jb 0x406ad1
nop
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x406ad6
add edx, 4
add eax, 4
sub esi, 4
jae 0x406ac0
cmp esi, 0xfffffffc
je 0x406b0a
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x406b03
cmp esi, 0xfffffffd
je 0x406b0a
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x406b03
cmp esi, 0xfffffffe
je 0x406b0a
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x406b03
cmp esi, 0xffffffff
je 0x406b0a
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x406b0a
sbb eax, eax
or eax, 1
jmp 0x406b0c
xor eax, eax
mov esi, dword [ebx + 0x10]
mov ecx, dword [ebp + 0xc]
test eax, eax
jne 0x406a90
mov esi, dword [ebp + 0x10]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
lea ecx, [esi + 8]
mov eax, dword [ebp - 0x14]
dec dword [eax + 8]
call fcn.00408d90
push 0x28
push esi
call fcn.0051238c
mov eax, dword [ebp + 8]
add esp, 8
mov dword [eax], edi
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
mov esi, dword [ebp + 0x10]
mov dword [ebp + 0xc], esi
mov eax, dword [esi]
cmp edi, eax
je 0x406b8f
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], esi
mov ecx, dword [eax + 4]
mov edx, dword [edi + 4]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [esi + 4], edx
mov edx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [edx + 0xc]
add ecx, ebx
mov eax, dword [ecx]
cmp eax, dword [edx + 4]
jne 0x406bac
mov dword [ecx], esi
mov eax, dword [edx + 0xc]
mov dword [eax + ebx + 4], esi
jmp 0x406bce
cmp eax, edi
jne 0x406bb4
mov dword [ecx], esi
jmp 0x406bce
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, esi
je 0x406bce
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.0040d820
mov eax, dword [ebp + 8]
mov dword [eax], esi
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