Function at 0x4fcc50
Capabilities:
Encode data using xor
Hash data using murmur2

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov esi, ecx
mov edx, dword [ebp + 0xc]
movzx eax, byte [edx + 0xb]
test al, al
jns 0x4fcc6d
mov ecx, dword [edx + 4]
mov edx, dword [edx]
jmp 0x4fcc6f
mov ecx, eax
mov eax, ecx
mov dword [ebp - 0x18], edx
mov ebx, ecx
mov dword [ebp - 0x20], ecx
cmp ecx, 4
jb 0x4fcd02
mov edi, dword [ebp - 0x20]
lea ebx, [edi - 4]
test bl, 4
jne 0x4fccb2
mov edx, dword [ebp - 0x18]
imul eax, dword [edx], 0x5bd1e995
mov ecx, eax
shr ecx, 0x18
xor ecx, eax
imul ecx, ecx, 0x5bd1e995
imul eax, edi, 0x5bd1e995
xor eax, ecx
add edx, 4
mov ecx, ebx
jmp 0x4fccb9
mov ecx, edi
mov edx, dword [ebp - 0x18]
mov eax, edi
cmp ebx, 4
jb 0x4fcd02
imul edi, dword [edx], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
imul edi, dword [edx + 4], 0x5bd1e995
mov ebx, edi
shr ebx, 0x18
xor ebx, edi
imul edi, ebx, 0x5bd1e995
imul eax, eax, 0x5bd1e995
xor eax, edi
add edx, 8
add ecx, 0xfffffff8
cmp ecx, 3
ja 0x4fccbe
mov ebx, ecx
cmp ebx, 1
je 0x4fcd23
cmp ebx, 2
je 0x4fcd1a
cmp ebx, 3
jne 0x4fcd2e
movzx ecx, byte [edx + 2]
shl ecx, 0x10
xor eax, ecx
movzx ecx, byte [edx + 1]
shl ecx, 8
xor eax, ecx
movzx ecx, byte [edx]
xor ecx, eax
imul eax, ecx, 0x5bd1e995
mov ebx, dword [esi + 4]
xor ecx, ecx
test ebx, ebx
je 0x4fce3f
mov dword [ebp - 0x14], esi
mov edx, eax
shr edx, 0xd
xor edx, eax
imul eax, edx, 0x5bd1e995
mov edi, eax
shr edi, 0xf
xor edi, eax
mov eax, ebx
shr eax, 1
and eax, 0x55555555
mov edx, ebx
sub edx, eax
mov eax, 0x33333333
mov esi, ebx
mov ebx, edx
and ebx, eax
shr edx, 2
and edx, eax
add edx, ebx
mov eax, edx
shr eax, 4
add eax, edx
and eax, 0xf0f0f0f
imul eax, eax, 0x1010101
shr eax, 0x18
mov dword [ebp - 0x30], eax
cmp eax, 1
mov dword [ebp - 0x1c], esi
ja 0x4fce27
lea edx, [esi - 1]
and edx, edi
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x4fce3f
mov esi, dword [eax]
test esi, esi
je 0x4fce3f
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x14], edx
mov eax, dword [esi + 4]
cmp edi, eax
jne 0x4fce00
movzx eax, byte [esi + 0x13]
mov ecx, eax
test al, al
jns 0x4fcdd2
mov ecx, dword [esi + 0xc]
cmp ecx, dword [ebp - 0x20]
jne 0x4fce0d
lea ecx, [esi + 8]
mov edx, dword [ecx]
test al, al
cmovs ecx, edx
jns 0x4fce4e
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x4fce52
push eax
push dword [ebp - 0x18]
push ecx
call fcn.004cf0db
add esp, 0xc
test eax, eax
mov edx, dword [ebp - 0x14]
jne 0x4fce0d
jmp 0x4fce52
cmp dword [ebp - 0x30], 1
ja 0x4fce15
and eax, dword [ebp - 0x2c]
cmp eax, edx
jne 0x4fce3d
mov esi, dword [esi]
test esi, esi
jne 0x4fcdbe
jmp 0x4fce3d
mov ecx, dword [ebp - 0x1c]
cmp eax, ecx
jb 0x4fce09
xor edx, edx
div ecx
mov eax, edx
mov edx, dword [ebp - 0x14]
jmp 0x4fce09
mov edx, edi
cmp edi, esi
jb 0x4fcd9a
mov eax, edi
xor edx, edx
div dword [ebp - 0x1c]
jmp 0x4fcd9a
xor ecx, ecx
mov eax, dword [ebp + 8]
mov dword [eax], ecx
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 8
test al, al
jne 0x4fce56
mov ecx, esi
jmp 0x4fce3f
mov ecx, dword [ebp - 0x18]
cmp byte [ecx], dl
mov edx, dword [ebp - 0x14]
jne 0x4fce0d
dec eax
xor ecx, ecx
cmp eax, ecx
je 0x4fce52
mov dword [ebp - 0x24], ecx
mov cl, byte [esi + ecx + 9]
mov byte [ebp - 0xd], cl
mov ecx, dword [ebp - 0x24]
lea edx, [ecx + 1]
mov dword [ebp - 0x28], edx
mov edx, dword [ebp - 0x18]
mov cl, byte [ebp - 0xd]
mov ebx, dword [ebp - 0x24]
cmp cl, byte [edx + ebx + 1]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x14]
je 0x4fce63
jmp 0x4fce0d