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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6ebbe0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push esi
push edi
mov eax, dword [0x7ce4e4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [esi + 4]
mov ecx, dword [esi + 0x14]
mov dword [ebp - 0x28], eax
cmp eax, 1
jne 0x4c6723
mov dword [esi + 0xc], 8
mov dword [esi + 4], 8
test ecx, ecx
jne 0x4c66e8
push 0x20
call fcn.005be217
add esp, 4
jmp 0x4c66fb
push 0x7d96fc
push 0x20
mov dword [ebp - 4], 0xffffffff
call fcn.005b4330
xorps xmm0, xmm0
movups xmmword [eax], xmm0
movups xmmword [eax + 0x10], xmm0
mov dword [esi + 0x10], eax
mov eax, esi
shr eax, 4
mov dword [esi + 8], eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 8]
mov dword [esi + 4], eax
lea edi, [eax*4]
test ecx, ecx
jne 0x4c6745
push edi
call fcn.005be217
add esp, 4
jmp 0x4c675d
lea eax, [edi + 7]
mov dword [ebp - 4], 0xffffffff
push 0x7d96fc
and eax, 0xfffffff8
push eax
call fcn.005b4330
push edi
mov esi, eax
push 0
push esi
call fcn.005c0be0
mov edi, dword [ebp - 0x10]
add esp, 0xc
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 4]
mov dword [edi + 0xc], eax
mov eax, dword [ebp - 0x28]
mov dword [edi + 0x10], esi
mov dword [ebp - 0x24], edx
cmp edx, eax
jae 0x4c6949
mov esi, dword [ebp - 0x18]
nop dword [eax + eax]
mov eax, dword [esi + edx*4]
mov ecx, edx
xor ecx, 1
mov dword [ebp - 0x20], eax
test eax, eax
je 0x4c693a
cmp eax, dword [esi + ecx*4]
je 0x4c6825
nop dword [eax + eax]
cmp dword [eax + 0x14], 0x10
mov esi, eax
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x1c], ecx
jb 0x4c67c0
mov esi, dword [eax]
mov edi, dword [eax + 0x10]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x4c67e4
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4c67d0
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x10]
push eax
mov eax, 0x9e3779b9
mov ecx, dword [edi + 8]
xor ecx, edx
mul ecx
mov esi, eax
mov eax, 0x7f4a7c15
mul ecx
mov ecx, dword [edi + 4]
lea eax, [ebp - 0x38]
dec ecx
add esi, edx
and esi, ecx
mov ecx, edi
push esi
push eax
call fcn.004c6460
mov ecx, dword [ebp - 0x1c]
mov eax, ecx
mov dword [ebp - 0x20], eax
test ecx, ecx
jne 0x4c67b0
mov edx, dword [ebp - 0x24]
jmp 0x4c6937
test eax, eax
je 0x4c693a
cmp eax, dword [esi + ecx*4]
jne 0x4c693a
mov esi, dword [eax + 4]
lea edx, [eax + 4]
mov dword [ebp - 0x1c], edx
mov esi, dword [esi]
mov dword [ebp - 0x14], esi
mov eax, dword [esi + 0x10]
mov edi, eax
cmp dword [eax + 0x14], 0x10
jb 0x4c6851
mov edi, dword [eax]
mov eax, dword [eax + 0x10]
xor ecx, ecx
mov dword [ebp - 0x2c], eax
mov edx, 0x811c9dc5
test eax, eax
je 0x4c6878
mov esi, eax
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4c6864
mov esi, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x10]
mov eax, 0x9e3779b9
push dword [esi + 0x14]
mov ecx, dword [ecx + 8]
xor ecx, edx
mul ecx
mov edi, eax
mov eax, 0x7f4a7c15
mul ecx
mov eax, dword [ebp - 0x10]
add edi, edx
mov ecx, dword [eax + 4]
lea eax, [ebp - 0x44]
dec ecx
and edi, ecx
push edi
mov edi, dword [ebp - 0x10]
mov ecx, edi
push eax
call fcn.004c6460
mov ecx, dword [esi + 8]
mov edx, dword [ebp - 0x1c]
cmp byte [ecx + 0xd], 0
mov eax, dword [edx]
je 0x4c68db
mov ecx, dword [esi + 4]
cmp byte [ecx + 0xd], 0
jne 0x4c68d4
cmp esi, dword [ecx + 8]
jne 0x4c68d4
mov esi, ecx
mov ecx, dword [ecx + 4]
cmp byte [ecx + 0xd], 0
je 0x4c68c4
mov esi, ecx
mov dword [ebp - 0x14], esi
jmp 0x4c68fa
mov esi, ecx
mov dword [ebp - 0x14], esi
mov edx, dword [esi]
cmp byte [edx + 0xd], 0
jne 0x4c68f7
mov ecx, dword [edx]
mov esi, edx
mov dword [ebp - 0x14], edx
mov edx, ecx
cmp byte [ecx + 0xd], 0
je 0x4c68e8
mov edx, dword [ebp - 0x1c]
cmp esi, eax
jne 0x4c6844
cmp dword [edi + 0x14], 0
jne 0x4c6933
push dword [eax + 4]
mov esi, dword [ebp - 0x20]
mov ecx, edx
push esi
call fcn.004c6340
cmp dword [esi], 0
jne 0x4c6928
push 0x18
push dword [esi + 4]
call fcn.005be247
add esp, 8
push 0xc
push esi
call fcn.005be247
add esp, 8
mov edx, dword [ebp - 0x24]
inc edx
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x28]
inc edx
mov dword [ebp - 0x24], edx
cmp edx, eax
jb 0x4c6790
cmp dword [edi + 0x14], 0
jne 0x4c695e
shl eax, 2
push eax
push dword [ebp - 0x18]
call fcn.005be247
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4