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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x442310]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov ebx, ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 0x14], ecx
push edi
mov edi, dword [eax + 0x10]
mov dword [ebp - 0xc], edi
cmp ecx, 0x10
jb 0x406c1d
mov esi, dword [eax]
jmp 0x406c1f
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x406c41
lea ebx, [ebx]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x406c30
mov ecx, dword [ebx + 0x14]
mov edi, ecx
and edi, edx
cmp dword [ebx + 0x18], edi
ja 0x406c56
shr ecx, 1
or eax, 0xffffffff
sub eax, ecx
add edi, eax
mov ecx, dword [ebx + 8]
lea eax, [edi + edi]
mov edx, dword [ebx]
lea eax, [eax + 1]
mov ebx, dword [ebp - 0xc]
mov dword [ebp - 0x10], edx
mov esi, dword [ecx + edi*8]
mov edi, dword [ecx + eax*4 - 4]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x18], edi
mov dword [ebp - 8], eax
cmp edi, edx
jne 0x406c7f
mov eax, edx
jmp 0x406c83
mov eax, dword [eax]
mov eax, dword [eax]
cmp esi, eax
je 0x406db7
cmp dword [ebp - 0x14], 0x10
lea ecx, [esi + 8]
jb 0x406c9b
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
jmp 0x406c9e
mov edi, dword [ebp + 0xc]
cmp dword [ecx + 0x14], 0x10
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0xc], eax
jb 0x406cac
mov ecx, dword [ecx]
cmp eax, ebx
mov edx, ebx
cmovb edx, eax
test edx, edx
je 0x406d13
sub edx, 4
jb 0x406cd1
lea esp, [esp]
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x406cd6
add ecx, 4
add edi, 4
sub edx, 4
jae 0x406cc0
cmp edx, 0xfffffffc
je 0x406d0a
mov al, byte [ecx]
cmp al, byte [edi]
jne 0x406d03
cmp edx, 0xfffffffd
je 0x406d0a
mov al, byte [ecx + 1]
cmp al, byte [edi + 1]
jne 0x406d03
cmp edx, 0xfffffffe
je 0x406d0a
mov al, byte [ecx + 2]
cmp al, byte [edi + 2]
jne 0x406d03
cmp edx, 0xffffffff
je 0x406d0a
mov al, byte [ecx + 3]
cmp al, byte [edi + 3]
je 0x406d0a
sbb eax, eax
or eax, 1
jmp 0x406d0c
xor eax, eax
test eax, eax
jne 0x406d23
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jb 0x406d23
xor eax, eax
cmp dword [ebp - 0xc], ebx
setne al
test eax, eax
je 0x406d33
mov esi, dword [esi]
mov edx, dword [ebp - 0x10]
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
jmp 0x406c77
cmp dword [esi + 0x1c], 0x10
lea ecx, [esi + 8]
mov edi, dword [ecx + 0x10]
jb 0x406d41
mov ecx, dword [ecx]
cmp dword [ebp - 0x14], 0x10
jb 0x406d4f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp + 0xc], eax
cmp ebx, edi
mov eax, edi
cmovb eax, ebx
push eax
push ecx
push dword [ebp + 0xc]
call fcn.00407d00
add esp, 0xc
test eax, eax
jne 0x406d94
cmp ebx, edi
jb 0x406d94
cmp ebx, edi
setne al
test eax, eax
jne 0x406d94
mov eax, dword [ebp + 8]
lea ecx, [ebp - 8]
pop edi
mov dword [ebp - 8], esi
mov ecx, dword [ecx]
pop esi
mov dword [eax], ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d103
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x10]
lea ecx, [ebp - 8]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041d103
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [eax], edx
pop ebx
call fcn.0041d103
mov esp, ebp
pop ebp
ret 8