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

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
jne 0x498781
xor eax, eax
jmp 0x4989a0
mov eax, 1
test eax, eax
je 0x4987d0
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 4]
and ecx, 0xff
test ecx, ecx
je 0x4987b7
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004989b0
add esp, 0xc
jmp 0x4989a0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00498dc0
add esp, 0xc
jmp 0x4989a0
mov edx, dword [ebp + 8]
xor edx, 0xffffffff
mov dword [ebp + 8], edx
cmp dword [ebp + 0x10], 8
jb 0x498959
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 + 0x4d7580]
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 + 0x4d7580]
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 + 0x4d7580]
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 + 0x4d7580]
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 + 0x4d7580]
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 + 0x4d7580]
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 + 0x4d7580]
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 + 0x4d7580]
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 0x4987d9
cmp dword [ebp + 0x10], 0
je 0x49899a
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 + 0x4d7580]
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 0x49895f
mov eax, dword [ebp + 8]
xor eax, 0xffffffff
mov esp, ebp
pop ebp
ret