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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56bf55
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + 0x38]
sub eax, edx
mov ecx, dword [edi + 0x7c]
sar eax, 2
cmp ecx, eax
jae 0x48930e
lea esp, [esp]
mov esi, dword [edx + ecx*4]
mov dword [ebp - 0x14], 0
mov eax, dword [esi]
lea ecx, [ebp - 0x14]
push ecx
push esi
mov dword [ebp - 4], 0
call dword [eax + 0xc]
test eax, eax
jns 0x489287
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4892f2
mov ecx, dword [eax]
push eax
mov dword [ebp - 4], 1
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
jmp 0x4892f2
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
push 0
push 0
mov ecx, dword [eax]
push esi
push eax
mov byte [ebp - 4], 2
call dword [ecx + 0x78]
mov ecx, dword [ebp - 0x18]
mov ebx, eax
shr ebx, 0x1f
xor bl, 1
test ecx, ecx
je 0x4892c4
mov eax, dword [ecx]
push ecx
mov byte [ebp - 4], 3
call dword [eax + 8]
mov dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4892e6
mov ecx, dword [eax]
push eax
mov dword [ebp - 4], 4
call dword [ecx + 8]
mov dword [ebp - 4], 0xffffffff
test bl, bl
je 0x4892f2
push esi
mov ecx, edi
call fcn.004869b0
mov ecx, dword [edi + 0x7c]
inc ecx
mov dword [edi + 0x7c], ecx
mov eax, dword [edi + 0x3c]
mov edx, dword [edi + 0x38]
sub eax, edx
sar eax, 2
cmp ecx, eax
jb 0x489240
jmp 0x489320
mov eax, dword [edi + 0x80]
cmp eax, dword [edi + 0xc0]
jae 0x4894e4
mov eax, dword [edi + 0x88]
lea esi, [edi + 0x84]
mov ecx, dword [esi]
mov dword [ebp - 0x2c], esi
cmp ecx, eax
je 0x489345
push esi
push eax
push ecx
call fcn.004839e0
mov eax, dword [esi]
add esp, 0xc
mov dword [esi + 4], eax
mov eax, dword [edi + 0x60]
mov esi, dword [eax]
mov dword [ebp - 0x14], esi
cmp esi, eax
je 0x4894d8
lea ebx, [esi + 8]
mov eax, 0xcccccccd
mov esi, dword [ebx + 4]
xor edi, edi
and esi, 0x7fffffff
mov dword [ebp - 0x18], ebx
mul esi
mov ecx, 0x811c9dc5
mov dword [ebp - 0x20], esi
shr edx, 3
inc edx
test esi, esi
je 0x489396
mov esi, dword [ebx]
mov ebx, dword [ebp - 0x20]
movzx eax, word [esi]
add edi, edx
imul ecx, ecx, 0x1000193
lea esi, [esi + edx*2]
xor ecx, eax
cmp edi, ebx
jb 0x489382
mov edx, dword [ebp - 0x10]
and ecx, dword [edx + 0x74]
mov eax, dword [edx + 0x68]
mov ebx, dword [edx + 0x60]
mov esi, dword [eax + ecx*8]
cmp esi, ebx
je 0x4893fb
mov edi, dword [eax + ecx*8 + 4]
lea ecx, [esi + 8]
push dword [ebp - 0x18]
call fcn.00485c00
test al, al
jne 0x4893d5
lea esp, [esp]
cmp esi, edi
je 0x4893f8
mov esi, dword [esi]
push dword [ebp - 0x18]
lea ecx, [esi + 8]
call fcn.00485c00
test al, al
je 0x4893c0
mov ebx, dword [esi]
cmp esi, edi
je 0x4893f8
jmp 0x4893e0
mov ecx, dword [ebp - 0x18]
lea eax, [ebx + 8]
push eax
mov esi, ebx
call fcn.00485c00
test al, al
je 0x4893f8
mov ebx, dword [ebx]
cmp esi, edi
jne 0x4893e0
mov edx, dword [ebp - 0x10]
mov esi, dword [ebp - 0x14]
cmp esi, ebx
je 0x4894cc
mov edi, dword [edx + 0xbc]
mov dword [ebp - 0x24], edi
nop
mov edx, dword [esi + 0x10]
add edx, 0x10
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], edx
cmp dword [edx + 0x14], 7
jbe 0x489427
mov eax, dword [edx]
mov dword [ebp - 0x1c], eax
mov eax, dword [edx + 0x10]
mov ecx, 0x811c9dc5
add eax, eax
mov dword [ebp - 0x20], eax
xor eax, eax
cmp dword [ebp - 0x20], eax
jbe 0x489463
mov esi, dword [ebp - 0x1c]
mov edi, ecx
mov edx, dword [ebp - 0x20]
movzx ecx, byte [esi + eax]
inc eax
xor ecx, edi
imul edi, ecx, 0x1000193
cmp eax, edx
jb 0x489443
mov esi, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x18]
push ecx
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x34]
push edx
push eax
lea ecx, [ecx + 0xb8]
call fcn.00483e10
mov eax, dword [eax + 4]
test eax, eax
jne 0x489487
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx + 0xbc]
cmp eax, edi
jne 0x48949a
mov esi, dword [esi]
mov dword [ebp - 0x14], esi
cmp esi, ebx
jne 0x489410
jmp 0x4894cc
mov edi, dword [ebp - 0x2c]
add esi, 8
mov edx, dword [edi + 4]
cmp edx, dword [edi + 8]
je 0x4894be
mov ecx, dword [esi + 4]
mov eax, dword [esi]
and ecx, 0x7fffffff
mov dword [edx], eax
mov dword [edx + 4], ecx
add dword [edi + 4], 8
jmp 0x4894c7
push esi
push edx
mov ecx, edi
call fcn.00483a40
mov esi, ebx
mov dword [ebp - 0x14], esi
mov edi, dword [ebp - 0x10]
cmp esi, dword [edi + 0x60]
jne 0x489355
mov eax, dword [edi + 0xc0]
mov dword [edi + 0x80], eax
mov ecx, dword [ebp - 0xc]
lea eax, [edi + 0x5c]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret