Function at 0x4e71c0
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 0x4e7525
mov edx, dword [ebx + 0x14]
test edx, edx
lea esi, [ebx + 0x10]
jne 0x4e71f1
xor ecx, ecx
jmp 0x4e71f9
mov ecx, dword [esi + 8]
sub ecx, edx
sar ecx, 3
add ecx, 0xffffffff
cmp ecx, eax
ja 0x4e723e
mov ecx, edx
test ecx, ecx
jne 0x4e720a
xor eax, eax
jmp 0x4e7212
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.004e78c0
jmp 0x4e724c
mov ecx, dword [ebx + 0x20]
cmp ecx, eax
jae 0x4e724c
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 0x4e7270
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x4e7275
call fcn.006151fe
add ebx, 4
mov eax, dword [esi + 4]
mov ecx, dword [eax + edi*8 + 4]
mov dword [esp + 0x1c], ecx
jne 0x4e728a
call fcn.006151fe
mov dword [esp + 0x20], ebx
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4e72a8
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
lea ecx, [edi + 1]
cmp ecx, eax
jb 0x4e72ad
call fcn.006151fe
mov edx, dword [esi + 4]
cmp dword [edx + edi*8 + 0xc], ebx
lea eax, [edi + 1]
je 0x4e7519
mov edi, dword [esp + 0x20]
test edi, edi
jne 0x4e72ca
call fcn.006151fe
cmp ebx, dword [edi + 4]
jne 0x4e72d4
call fcn.006151fe
cmp dword [ebx + 0x20], 0x10
jb 0x4e72df
mov ecx, dword [ebx + 0xc]
jmp 0x4e72e2
lea ecx, [ebx + 0xc]
mov eax, ecx
lea edi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x4e72e7
sub eax, edi
add eax, ecx
cmp ecx, eax
mov edx, 0x811c9dc5
je 0x4e7312
lea ecx, [ecx]
movsx edi, byte [ecx]
imul edx, edx, 0x1000193
add ecx, 1
xor edx, edi
cmp ecx, eax
jne 0x4e7300
push 0x1f31d
push edx
call fcn.00616f87
imul eax, eax, 0xb14
imul edx, edx, 0x41a7
add esp, 8
sub edx, eax
jns 0x4e7336
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 0x4e7359
cmp ebx, dword [eax + 4]
jne 0x4e7352
call fcn.006151fe
mov ebx, dword [ebx]
jmp 0x4e7292
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 0x4e7375
call fcn.006151fe
cmp dword [esp + 0x18], edi
mov edx, dword [ebx]
mov dword [esp + 0x1c], edx
je 0x4e7386
call fcn.006151fe
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x1c], eax
je 0x4e7482
mov edi, dword [esp + 0x10]
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4e73ab
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x4e73b0
call fcn.006151fe
mov ecx, dword [esi + 4]
cmp dword [ecx + edi*8 + 4], ebx
jne 0x4e73e9
test ecx, ecx
je 0x4e73c9
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x4e73ce
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 0x4e73e9
sub edi, 1
jmp 0x4e7398
mov eax, dword [ebp + 8]
mov edi, dword [eax + 8]
add eax, 4
cmp eax, eax
je 0x4e7403
mov edx, dword [ebp + 8]
xor ecx, ecx
add edx, 4
call fcn.004410c0
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 0x4e743d
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 0x4e7469
mov ecx, dword [esi + 8]
sub ecx, eax
sar ecx, 3
cmp edi, ecx
jb 0x4e746e
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 0x4e74ec
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 0x4e74ae
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x4e74b3
call fcn.006151fe
mov ecx, dword [esi + 4]
mov edx, dword [esp + 0x3c]
cmp dword [ecx + edi*8 + 4], edx
jne 0x4e74ec
test ecx, ecx
je 0x4e74d0
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x4e74d5
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 0x4e748e
mov eax, dword [ebp + 8]
mov edi, dword [eax + 8]
add eax, 4
cmp dword [esp + 0x18], eax
je 0x4e7500
call fcn.006151fe
mov ebx, dword [esp + 0x1c]
cmp ebx, edi
je 0x4e7519
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x10]
mov dword [esp + 0x20], edx
jmp 0x4e7292
mov eax, dword [ebp + 8]
add dword [eax + 0x24], 1
mov ecx, dword [ebp + 0x10]
mov ebx, eax
cmp dword [ecx + 0x18], 0x10
jb 0x4e7533
mov esi, dword [ecx + 4]
lea eax, [ecx + 4]
jmp 0x4e7536
lea esi, [ecx + 4]
mov eax, esi
lea edx, [eax + 1]
jmp 0x4e7540
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4e7540
sub eax, edx
add eax, esi
cmp esi, eax
mov ecx, esi
mov edx, 0x811c9dc5
je 0x4e7572
jmp 0x4e7560
movsx esi, byte [ecx]
imul edx, edx, 0x1000193
add ecx, 1
xor edx, esi
cmp ecx, eax
jne 0x4e7560
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 0x4e7597
add eax, 0x7fffffff
mov ecx, dword [ebx + 0x20]
and eax, ecx
cmp dword [ebx + 0x24], eax
mov dword [esp + 0x10], eax
ja 0x4e75b2
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 0x4e75cc
mov eax, dword [ebx + 0x18]
sub eax, ecx
sar eax, 3
cmp esi, eax
jb 0x4e75d1
call fcn.006151fe
mov eax, dword [ebx + 0x14]
mov esi, dword [eax + esi*8 + 4]
lea edi, [ebx + 4]
test edi, edi
jne 0x4e75e4
call fcn.006151fe
mov dword [esp + 0x20], edi
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x4e75fd
mov eax, dword [ebx + 0x18]
sub eax, ecx
sar eax, 3
cmp dword [esp + 0x10], eax
jb 0x4e7602
call fcn.006151fe
mov ecx, dword [ebx + 0x14]
mov edx, dword [esp + 0x10]
cmp dword [ecx + edx*8 + 4], esi
je 0x4e770c
mov edi, dword [esp + 0x20]
test edi, edi
jne 0x4e7620
call fcn.006151fe
mov esi, dword [esi + 4]
cmp esi, dword [edi + 4]
jne 0x4e7637
call fcn.006151fe
cmp esi, dword [edi + 4]
jne 0x4e7637
call fcn.006151fe
cmp dword [esi + 0x20], 0x10
jb 0x4e7642
mov edx, dword [esi + 0xc]
jmp 0x4e7645
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 0x4e7656
mov ecx, edi
cmp dword [eax + 0x18], 0x10
jb 0x4e7663
add eax, 4
mov eax, dword [eax]
jmp 0x4e7666
add eax, 4
push ecx
push edx
push eax
call fcn.00403fd0
add esp, 0xc
test eax, eax
jne 0x4e7686
cmp edi, dword [esi + 0x1c]
jb 0x4e75e8
cmp edi, dword [esi + 0x1c]
setne al
test eax, eax
jl 0x4e75e8
mov eax, dword [esp + 0x20]
cmp esi, dword [eax + 4]
jne 0x4e769a
call fcn.006151fe
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x18], 0x10
mov ecx, dword [eax + 0x14]
mov dword [esp + 0x10], ecx
jb 0x4e76b2
mov edx, dword [eax + 4]
add eax, 4
jmp 0x4e76b7
add eax, 4
mov edx, eax
mov edi, dword [esi + 0x1c]
mov eax, edi
cmp eax, edi
jae 0x4e76c0
cmp edi, ecx
jae 0x4e76c6
mov ecx, edi
cmp dword [esi + 0x20], 0x10
jb 0x4e76d1
mov eax, dword [esi + 0xc]
jmp 0x4e76d4
lea eax, [esi + 0xc]
push ecx
push edx
push eax
call fcn.00403fd0
add esp, 0xc
test eax, eax
jne 0x4e76f6
mov eax, dword [esp + 0x10]
cmp edi, eax
jb 0x4e76fc
xor ecx, ecx
cmp edi, eax
setne cl
mov eax, ecx
test eax, eax
jge 0x4e77b5
mov edx, dword [esp + 0x20]
cmp esi, dword [edx + 4]
jne 0x4e770a
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.004e7ce0
mov ecx, 1
lea edx, [ebx + 4]
mov edi, eax
call fcn.004410c0
cmp dword [esp + 0x20], 0
mov dword [esi + 4], edi
mov edx, dword [edi + 4]
mov dword [edx], edi
jne 0x4e7749
call fcn.006151fe
mov eax, dword [esi + 4]
mov ecx, dword [esp + 0x10]
cmp eax, dword [ecx + 4]
mov dword [esp + 0x14], eax
jne 0x4e775e
call fcn.006151fe
mov edi, dword [esp + 0x18]
mov ecx, dword [ebx + 0x14]
test ecx, ecx
je 0x4e7775
mov eax, dword [ebx + 0x18]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x4e777a
call fcn.006151fe
mov edx, dword [ebx + 0x14]
cmp dword [edx + edi*8 + 4], esi
jne 0x4e77ce
mov ecx, edx
test ecx, ecx
je 0x4e7795
mov eax, dword [ebx + 0x18]
sub eax, ecx
sar eax, 3
cmp edi, eax
jb 0x4e779a
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 0x4e77ce
sub edi, 1
jmp 0x4e7762
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