Function at 0x4f522a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
jne 0x4f523b
xor eax, eax
jmp 0x4f545a
mov eax, 1
test eax, eax
je 0x4f528a
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 4]
and ecx, 0xff
test ecx, ecx
je 0x4f5271
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f545e
add esp, 0xc
jmp 0x4f545a
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004f5863
add esp, 0xc
jmp 0x4f545a
mov edx, dword [ebp + 8]
xor edx, 0xffffffff
mov dword [ebp + 8], edx
cmp dword [ebp + 0x10], 8
jb 0x4f5413
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp + 8]
xor edx, ecx
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, dword [edx*4 + 0x580ca0]
xor ecx, eax
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp + 8]
xor edx, ecx
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, dword [edx*4 + 0x580ca0]
xor ecx, eax
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp + 8]
xor edx, ecx
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, dword [edx*4 + 0x580ca0]
xor ecx, eax
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp + 8]
xor edx, ecx
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, dword [edx*4 + 0x580ca0]
xor ecx, eax
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp + 8]
xor edx, ecx
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, dword [edx*4 + 0x580ca0]
xor ecx, eax
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp + 8]
xor edx, ecx
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, dword [edx*4 + 0x580ca0]
xor ecx, eax
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp + 8]
xor edx, ecx
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, dword [edx*4 + 0x580ca0]
xor ecx, eax
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0xc]
xor ecx, ecx
mov cl, byte [eax]
mov edx, dword [ebp + 8]
xor edx, ecx
and edx, 0xff
mov eax, dword [ebp + 8]
shr eax, 8
mov ecx, dword [edx*4 + 0x580ca0]
xor ecx, eax
mov dword [ebp + 8], ecx
mov edx, dword [ebp + 0xc]
add edx, 1
mov dword [ebp + 0xc], edx
mov eax, dword [ebp + 0x10]
sub eax, 8
mov dword [ebp + 0x10], eax
jmp 0x4f5293
cmp dword [ebp + 0x10], 0
je 0x4f5454
mov ecx, dword [ebp + 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp + 8]
xor eax, edx
and eax, 0xff
mov ecx, dword [ebp + 8]
shr ecx, 8
mov edx, dword [eax*4 + 0x580ca0]
xor edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp + 0xc]
add eax, 1
mov dword [ebp + 0xc], eax
mov ecx, dword [ebp + 0x10]
sub ecx, 1
mov dword [ebp + 0x10], ecx
cmp dword [ebp + 0x10], 0
jne 0x4f5419
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov esp, ebp
pop ebp
ret