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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cf6df
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x69001c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], 0
add eax, 0x168
mov ebx, dword [ebp + 0xc]
mov esi, ebx
mov dword [ebp - 0x18], eax
cmp dword [ebx + 0x14], 8
mov edi, dword [ebx + 0x10]
jb 0x48062c
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
add edi, edi
je 0x48064b
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x480637
mov eax, dword [ebp - 0x18]
push edx
push ebx
lea ecx, [ebp - 0x28]
push ecx
mov ecx, eax
call fcn.0040c0a0
mov eax, dword [eax + 4]
test eax, eax
jne 0x480665
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
mov edi, dword [ebp - 0x1c]
cmp eax, dword [edi + 0x16c]
je 0x4806a6
mov esi, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov dword [esi], eax
test eax, eax
je 0x480682
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 1
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], 7
push ebx
call fcn.004814e0
cmp dword [eax + 0x10], esi
jne 0x48073c
cmp dword [ebx + 0x60], esi
je 0x48070d
cmp dword [ebx + 0x64], esi
je 0x48070d
push dword [ebp + 0x14]
push ecx
mov eax, esp
mov dword [ebp + 0xc], esp
mov dword [ebp + 0x14], eax
mov dword [eax], esi
mov byte [ebp - 4], 0x11
mov esi, dword [ebp + 8]
push ebx
push esi
mov byte [ebp - 4], 7
mov ecx, edi
call fcn.00480950
mov dword [ebp - 0x10], 1
mov dword [ebp - 4], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov byte [ebp - 4], 7
mov dword [ebp - 0x10], 1
mov dword [ebp - 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 0x10
push ebx
call fcn.004814e0
mov edx, eax
mov dword [ebp - 0x20], edx
cmp dword [edx + 0x14], 8
mov ecx, dword [edx + 0x10]
jb 0x480755
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
lea eax, [ecx + ecx]
mov edi, 0x811c9dc5
xor ecx, ecx
mov dword [ebp - 0x24], eax
test eax, eax
je 0x480786
mov ebx, dword [ebp - 0x20]
mov esi, eax
nop dword [eax + eax]
movzx eax, byte [ecx + ebx]
inc ecx
xor eax, edi
imul edi, eax, 0x1000193
cmp ecx, esi
jb 0x480770
mov ebx, dword [ebp + 0xc]
xor esi, esi
push edi
mov edi, dword [ebp - 0x18]
lea eax, [ebp - 0x28]
push edx
push eax
mov ecx, edi
call fcn.0040c0a0
mov eax, dword [eax + 4]
test eax, eax
jne 0x4807a0
mov eax, dword [edi + 4]
mov ecx, dword [ebp - 0x1c]
cmp eax, dword [ecx + 0x16c]
jne 0x4807e0
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov byte [ebp - 4], 7
mov dword [ebp - 0x10], 1
mov dword [ebp - 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 0x10
add eax, 0x20
lea ecx, [ebp - 0x14]
cmp ecx, eax
je 0x4807f9
mov esi, dword [eax]
mov dword [ebp - 0x14], esi
test esi, esi
je 0x4807f9
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov dword [ebp + 0xc], 0
mov byte [ebp - 4], 0x1b
lea edx, [ebp + 0xc]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], 2
call fcn.0046b9e0
test al, al
jne 0x480826
cmp dword [ebx + 0x60], 0
je 0x480826
cmp dword [ebx + 0x64], 0
jne 0x480828
mov al, 1
mov dword [ebp - 4], 7
mov edi, 2
mov dword [ebp - 0x10], edi
and edi, 0xfffffffd
mov dword [ebp - 0x10], edi
test al, al
je 0x480856
mov ebx, dword [ebp + 8]
mov dword [ebx], 0
mov byte [ebp - 4], 7
or edi, 1
mov dword [ebp - 0x10], edi
jmp 0x480889
push dword [ebp + 0x14]
push ecx
mov dword [ebp + 0xc], esp
mov eax, esp
mov dword [ebp + 0x14], eax
mov dword [eax], esi
test esi, esi
je 0x48086e
mov eax, dword [esi]
push esi
call dword [eax + 4]
mov byte [ebp - 4], 0x25
push ebx
mov ebx, dword [ebp + 8]
push ebx
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x1c]
call fcn.00480950
or edi, 1
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
test esi, esi
je 0x48089c
lea ecx, [ebp - 0x14]
call fcn.0043a500
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10