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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov ecx, dword [ebp + 0x10]
sub esp, 0x34
push ebx
mov ebx, dword [ebp + 8]
mov edx, dword [ebx + 0xc]
mov eax, dword [ebx + 0x24]
shr edx, 2
cmp eax, edx
push esi
push edi
ja 0x467075
mov edx, dword [ebx + 0x14]
test edx, edx
lea esi, [ebx + 0x10]
jne 0x466d41
xor ecx, ecx
jmp 0x466d49
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 3
add ecx, 0xffffffff
cmp ecx, eax
ja 0x466d8e
mov ecx, edx
test ecx, ecx
jne 0x466d5a
xor eax, eax
jmp 0x466d62
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
lea eax, [eax + eax - 3]
mov dword [ebx + 0x20], eax
mov edx, dword [ebx + 8]
lea ecx, [ebx + 4]
sub esp, 8
mov eax, esp
mov dword [eax], 0
mov dword [eax], ecx
mov dword [eax + 4], edx
mov eax, dword [ebx + 0x20]
add eax, 2
mov ecx, esi
call fcn.00467b40
jmp 0x466d9c
mov ecx, dword [ebx + 0x20]
cmp ecx, eax
jae 0x466d9c
lea ecx, [ecx + ecx + 1]
mov dword [ebx + 0x20], ecx
mov edx, dword [ebx + 0x20]
mov edi, dword [ebx + 0x24]
mov ecx, dword [esi + 4]
shr edx, 1
sub edi, edx
sub edi, 1
test ecx, ecx
mov dword [esp + 0x10], edi
je 0x466dc0
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x466dc5
call fcn.006151fe
add ebx, 4
mov eax, dword [esi + 4]
mov ecx, dword [eax + edi*8 + 4]
mov dword [esp + 0x1c], ecx
jne 0x466dda
call fcn.006151fe
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x466df8
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
lea ecx, [edi + 1]
cmp ecx, eax
jb 0x466dfd
call fcn.006151fe
mov edx, dword [esi + 4]
cmp dword [edx + edi*8 + 0xc], ebx
lea eax, [edi + 1]
je 0x467069
mov edi, dword [esp + 0x20]
test edi, edi
jne 0x466e1a
call fcn.006151fe
cmp ebx, dword [edi + 4]
jne 0x466e24
call fcn.006151fe
cmp dword [ebx + 0x20], 0x10
jb 0x466e2f
mov ecx, dword [ebx + 0xc]
jmp 0x466e32
lea ecx, [ebx + 0xc]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x466e37
sub eax, edi
add eax, ecx
cmp ecx, eax
mov edx, 0x811c9dc5
je 0x466e62
lea ecx, [ecx]
movsx edi, byte [ecx]
imul edx, edx, 0x1000193
add ecx, 1
xor edx, edi
cmp ecx, eax
jne 0x466e50
push 0x1f31d
push edx
call fcn.00616f87
imul eax, eax, 0xb14
imul edx, edx, 0x41a7
add esp, 8
sub edx, eax
jns 0x466e86
add edx, 0x7fffffff
mov ecx, dword [ebp + 8]
and edx, dword [ecx + 0x20]
mov edi, dword [esp + 0x10]
cmp edx, edi
mov eax, dword [esp + 0x20]
jne 0x466ea9
cmp ebx, dword [eax + 4]
jne 0x466ea2
call fcn.006151fe
mov ebx, dword [ebx]
jmp 0x466de2
cmp ebx, dword [eax + 4]
lea edi, [ecx + 4]
mov ecx, dword [edi + 4]
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x2c], ecx
jne 0x466ec5
call fcn.006151fe
cmp dword [esp + 0x18], edi
mov edx, dword [ebx]
mov dword [esp + 0x1c], edx
je 0x466ed6
call fcn.006151fe
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x1c], eax
je 0x466fd2
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x466efb
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x466f00
call fcn.006151fe
mov ecx, dword [esi + 4]
cmp dword [ecx + edi*8 + 4], ebx
jne 0x466f39
test ecx, ecx
je 0x466f19
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x466f1e
call fcn.006151fe
test edi, edi
mov eax, dword [esi + 4]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [eax + edi*8], edx
mov dword [eax + edi*8 + 4], ecx
je 0x466f39
sub edi, 1
jmp 0x466ee8
mov eax, dword [ebp + 8]
mov edi, dword [eax + 8]
add eax, 4
cmp eax, eax
je 0x466f53
mov edx, dword [ebp + 8]
xor ecx, ecx
add edx, 4
call fcn.00467fd0
mov edx, dword [ebx + 4]
mov ecx, dword [esp + 0x1c]
mov dword [edx], ecx
mov eax, dword [ecx + 4]
mov dword [eax], edi
mov edx, dword [edi + 4]
mov dword [edx], ebx
mov edx, dword [ecx + 4]
mov eax, dword [edi + 4]
mov dword [edi + 4], edx
mov edx, dword [ebx + 4]
mov dword [ecx + 4], edx
mov ecx, dword [ebp + 8]
add ecx, 4
mov dword [ebx + 4], eax
mov eax, dword [ecx + 4]
mov edi, dword [eax + 4]
cmp edi, eax
jne 0x466f8d
call fcn.006151fe
mov ecx, dword [ebp + 8]
lea eax, [ecx + 4]
mov dword [esp + 0x20], eax
mov eax, dword [eax + 4]
mov ebx, edi
mov edi, dword [ecx + 0x24]
mov dword [esp + 0x34], eax
mov eax, dword [esi + 4]
add edi, 1
test eax, eax
je 0x466fb9
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 3
cmp edi, ecx
jb 0x466fbe
call fcn.006151fe
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 4]
add ecx, 4
mov dword [eax + edi*8], ecx
mov ecx, dword [esp + 0x34]
mov dword [eax + edi*8 + 4], ecx
mov edx, dword [ebp + 8]
mov edi, dword [edx + 0x24]
cmp dword [esp + 0x10], edi
jae 0x46703c
mov eax, dword [ebp + 8]
mov ecx, dword [esi + 4]
add eax, 4
test ecx, ecx
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], eax
je 0x466ffe
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x467003
call fcn.006151fe
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x3c]
cmp dword [ecx + edi*8 + 4], edx
jne 0x46703c
test ecx, ecx
je 0x467020
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x467025
call fcn.006151fe
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x20]
mov dword [eax + edi*8], ecx
mov dword [eax + edi*8 + 4], ebx
sub edi, 1
cmp dword [esp + 0x10], edi
jb 0x466fde
mov eax, dword [ebp + 8]
mov edi, dword [eax + 8]
add eax, 4
cmp dword [esp + 0x18], eax
je 0x467050
call fcn.006151fe
mov ebx, dword [esp + 0x1c]
cmp ebx, edi
je 0x467069
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x20], edx
jmp 0x466de2
mov eax, dword [ebp + 8]
add dword [eax + 0x24], 1
mov ecx, dword [ebp + 0x10]
mov ebx, eax
cmp dword [ecx + 0x18], 0x10
jb 0x467083
mov esi, dword [ecx + 4]
lea eax, [ecx + 4]
jmp 0x467086
lea esi, [ecx + 4]
mov eax, esi
lea edx, [eax + 1]
jmp 0x467090
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x467090
sub eax, edx
add eax, esi
cmp esi, eax
mov ecx, esi
mov edx, 0x811c9dc5
je 0x4670c2
jmp 0x4670b0
movsx esi, byte [ecx]
imul edx, edx, 0x1000193
add ecx, 1
xor edx, esi
cmp ecx, eax
jne 0x4670b0
push 0x1f31d
push edx
call fcn.00616f87
imul eax, eax, 0xb14
imul edx, edx, 0x41a7
add esp, 8
sub edx, eax
mov eax, edx
jns 0x4670e7
add eax, 0x7fffffff
mov ecx, dword [ebx + 0x20]
and eax, ecx
cmp dword [ebx + 0x24], eax
mov dword [esp + 0x10], eax
ja 0x467102
shr ecx, 1
or edx, 0xffffffff
sub edx, ecx
add eax, edx
mov dword [esp + 0x10], eax
mov ecx, dword [ebx + 0x14]
test ecx, ecx
mov dword [esp + 0x18], eax
lea esi, [eax + 1]
je 0x46711c
mov eax, dword [ebx + 0x18]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x467121
call fcn.006151fe
mov eax, dword [ebx + 0x14]
mov esi, dword [eax + esi*8 + 4]
lea edi, [ebx + 4]
test edi, edi
jne 0x467134
call fcn.006151fe
mov dword [esp + 0x20], edi
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x46714d
mov eax, dword [ebx + 0x18]
sub eax, ecx
sar eax, 3
cmp dword [esp + 0x10], eax
jb 0x467152
call fcn.006151fe
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x10]
cmp dword [ecx + edx*8 + 4], esi
je 0x46725c
mov edi, dword [esp + 0x20]
test edi, edi
jne 0x467170
call fcn.006151fe
mov esi, dword [esi + 4]
cmp esi, dword [edi + 4]
jne 0x467187
call fcn.006151fe
cmp esi, dword [edi + 4]
jne 0x467187
call fcn.006151fe
cmp dword [esi + 0x20], 0x10
jb 0x467192
mov edx, dword [esi + 0xc]
jmp 0x467195
lea edx, [esi + 0xc]
mov eax, dword [ebp + 0x10]
mov edi, dword [eax + 0x14]
mov ecx, edi
mov ecx, dword [esi + 0x1c]
cmp edi, ecx
jae 0x4671a6
mov ecx, edi
cmp dword [eax + 0x18], 0x10
jb 0x4671b3
add eax, 4
mov eax, dword [eax]
jmp 0x4671b6
add eax, 4
push ecx
push edx
push eax
call fcn.00403fd0
add esp, 0xc
test eax, eax
jne 0x4671d6
cmp edi, dword [esi + 0x1c]
jb 0x467138
cmp edi, dword [esi + 0x1c]
setne al
test eax, eax
jl 0x467138
mov eax, dword [esp + 0x20]
cmp esi, dword [eax + 4]
jne 0x4671ea
call fcn.006151fe
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x18], 0x10
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x10], ecx
jb 0x467202
mov edx, dword [eax + 4]
add eax, 4
jmp 0x467207
add eax, 4
mov edx, eax
mov edi, dword [esi + 0x1c]
mov eax, edi
cmp eax, edi
jae 0x467210
cmp edi, ecx
jae 0x467216
mov ecx, edi
cmp dword [esi + 0x20], 0x10
jb 0x467221
mov eax, dword [esi + 0xc]
jmp 0x467224
lea eax, [esi + 0xc]
push ecx
push edx
push eax
call fcn.00403fd0
add esp, 0xc
test eax, eax
jne 0x467246
mov eax, dword [esp + 0x10]
cmp edi, eax
jb 0x46724c
xor ecx, ecx
cmp edi, eax
setne cl
mov eax, ecx
test eax, eax
jge 0x467305
mov edx, dword [esp + 0x20]
cmp esi, dword [edx + 4]
jne 0x46725a
call fcn.006151fe
mov esi, dword [esi]
mov eax, dword [ebp + 0x10]
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x20]
push eax
push ecx
push esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
call fcn.004685d0
mov ecx, 1
lea edx, [ebx + 4]
mov edi, eax
call fcn.00467fd0
cmp dword [esp + 0x20], 0
mov dword [esi + 4], edi
mov edx, dword [edi + 4]
mov dword [edx], edi
jne 0x467299
call fcn.006151fe
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x10]
cmp eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
jne 0x4672ae
call fcn.006151fe
mov edi, dword [esp + 0x18]
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x4672c5
mov eax, dword [ebx + 0x18]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x4672ca
call fcn.006151fe
mov edx, dword [ebx + 0x14]
cmp dword [edx + edi*8 + 4], esi
jne 0x46731e
mov ecx, edx
test ecx, ecx
je 0x4672e5
mov eax, dword [ebx + 0x18]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x4672ea
call fcn.006151fe
test edi, edi
mov eax, dword [ebx + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [eax + edi*8], ecx
mov dword [eax + edi*8 + 4], edx
je 0x46731e
sub edi, 1
jmp 0x4672b2
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x20]
mov dword [eax + 4], esi
mov byte [eax + 8], 0
mov dword [eax], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
pop edi
pop esi
mov dword [eax + 4], edx
mov byte [eax + 8], 1
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc