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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x566fd8
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x5d0074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov edi, dword [ebp + 8]
mov esi, edi
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x4c], ebx
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x4f3154
mov esi, dword [edi]
xor ecx, ecx
mov edx, 0x811c9dc5
add eax, eax
je 0x4f3175
mov ebx, eax
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4f3161
mov ebx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0xb0]
mov ecx, dword [ecx + 0xa4]
and eax, edx
mov edx, dword [ecx + eax*8]
lea eax, [eax*8 + 4]
mov dword [ebp - 0x54], eax
mov esi, edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x5c], edx
mov ecx, dword [eax + 0x9c]
mov dword [ebp - 0x50], ecx
cmp edx, ecx
jne 0x4f31ac
mov eax, ecx
jmp 0x4f31c0
mov ebx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebx + 0xa4]
mov ebx, dword [ebp - 0x4c]
mov eax, dword [edx + eax]
mov eax, dword [eax]
cmp esi, eax
je 0x4f324d
cmp dword [edi + 0x14], 8
lea eax, [esi + 8]
mov dword [ebp - 0x48], edi
jb 0x4f31d9
mov edx, dword [edi]
mov dword [ebp - 0x48], edx
mov ebx, dword [eax + 0x14]
cmp ebx, 8
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x60], ebx
mov ebx, dword [ebp - 0x4c]
mov dword [ebp - 0x64], edx
mov dword [ebp - 0x58], eax
jb 0x4f31f4
mov eax, dword [eax]
jmp 0x4f31f7
mov eax, dword [ebp - 0x58]
cmp edx, dword [edi + 0x10]
jne 0x4f3211
push edx
mov edx, dword [ebp - 0x48]
mov ecx, eax
call fcn.00406f00
add esp, 4
test eax, eax
je 0x4f3218
mov ecx, dword [ebp - 0x50]
mov esi, dword [esi]
mov edx, dword [ebp - 0x5c]
jmp 0x4f31a4
cmp dword [ebp - 0x60], 8
jb 0x4f3223
mov edx, dword [esi + 8]
jmp 0x4f3226
lea edx, [esi + 8]
cmp dword [edi + 0x14], 8
mov ecx, edi
jb 0x4f3230
mov ecx, dword [edi]
mov eax, dword [edi + 0x10]
cmp eax, dword [ebp - 0x64]
jne 0x4f324a
push eax
call fcn.00406f00
add esp, 4
test eax, eax
jne 0x4f324a
mov ecx, dword [ebp - 0x50]
jmp 0x4f324f
mov ecx, dword [ebp - 0x50]
mov esi, ecx
cmp esi, ecx
jne 0x4f3305
xor eax, eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov dword [ebp - 4], 2
lea eax, [ebp - 0x40]
cmp eax, edi
je 0x4f32b3
cmp dword [edi + 0x14], 8
mov eax, dword [edi + 0x10]
jb 0x4f32a9
mov edi, dword [edi]
push eax
push edi
lea ecx, [ebp - 0x40]
call fcn.004079c0
lea eax, [ebp - 0x28]
cmp eax, ebx
je 0x4f32cf
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
jb 0x4f32c5
mov ebx, dword [ebx]
push eax
push ebx
lea ecx, [ebp - 0x28]
call fcn.004079c0
mov ecx, dword [ebp - 0x44]
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ecx + 0x98]
call fcn.0046daf0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x28]
call fcn.00407c80
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x40]
call fcn.00407c80
jmp 0x4f331e
lea ecx, [esi + 0x20]
cmp ecx, ebx
je 0x4f331e
cmp dword [ebx + 0x14], 8
mov eax, dword [ebx + 0x10]
jb 0x4f3317
mov ebx, dword [ebx]
push eax
push ebx
call fcn.004079c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00520c02
mov esp, ebp
pop ebp
ret 8