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

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x20
test ecx, ecx
jne 0x427fb1
xor eax, eax
add esp, 0x20
ret
push ebx
push ebp
mov ebp, dword [esp + 0x34]
push esi
push edi
mov edi, dword [esp + 0x34]
cmp ebp, 0x17
not edi
jb 0x4281d6
test ebp, ebp
je 0x427ff0
test cl, 3
je 0x427ff0
mov eax, edi
xor edx, edx
mov dl, byte [ecx]
and eax, 0xff
xor eax, edx
dec ebp
shr edi, 8
mov eax, dword [eax*4 + 0x441d78]
xor edi, eax
inc ecx
test ebp, ebp
jne 0x427fcc
mov eax, 0xcccccccd
xor ebx, ebx
mul ebp
shr edx, 4
mov eax, edx
mov esi, ecx
neg eax
shl eax, 2
sub eax, edx
lea ebp, [ebp + eax*4]
xor eax, eax
dec edx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x38], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x10], eax
je 0x428182
mov dword [esp + 0x1c], edx
mov ebp, dword [esi + 4]
mov edx, dword [esi]
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
xor ebp, ebx
mov ebx, dword [esp + 0x38]
xor edx, edi
mov edi, dword [esp + 0x34]
xor ecx, ebx
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x28], ecx
xor eax, edi
mov edi, dword [esi + 0x10]
and ecx, 0xff
xor edi, ebx
mov dword [esp + 0x2c], eax
mov ecx, dword [ecx*4 + 0x442578]
mov dword [esp + 0x18], edi
mov edi, edx
mov ebx, ebp
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x18]
and eax, 0xff
add esi, 0x14
and edi, 0xff
and ebx, 0xff
mov eax, dword [eax*4 + 0x442578]
and ecx, 0xff
mov edi, dword [edi*4 + 0x442578]
mov ebx, dword [ebx*4 + 0x442578]
mov dword [esp + 0x34], eax
mov eax, dword [ecx*4 + 0x442578]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x14], 1
mov eax, 0x100
jmp 0x4280ce
mov edx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x14]
shl ecx, 3
shr edx, cl
shr ebp, cl
and edx, 0xff
and ebp, 0xff
add edx, eax
add ebp, eax
xor edi, dword [edx*4 + 0x442578]
mov edx, dword [ebp*4 + 0x442578]
mov ebp, dword [esp + 0x38]
xor ebx, edx
mov edx, dword [esp + 0x28]
shr edx, cl
and edx, 0xff
add edx, eax
mov edx, dword [edx*4 + 0x442578]
xor ebp, edx
mov edx, dword [esp + 0x2c]
shr edx, cl
mov dword [esp + 0x38], ebp
mov ebp, dword [esp + 0x34]
and edx, 0xff
add edx, eax
mov edx, dword [edx*4 + 0x442578]
xor ebp, edx
mov edx, dword [esp + 0x18]
shr edx, cl
mov dword [esp + 0x34], ebp
mov ebp, dword [esp + 0x14]
and edx, 0xff
add edx, eax
add eax, 0x100
mov ecx, dword [edx*4 + 0x442578]
mov edx, dword [esp + 0x10]
xor edx, ecx
inc ebp
cmp eax, 0x400
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebp
jl 0x4280c6
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x1c], eax
jne 0x428028
mov ebp, dword [esp + 0x3c]
mov edx, dword [esi]
xor edx, edi
push edx
call fcn.00428300
mov ecx, dword [esi + 4]
xor ecx, ebx
xor ecx, eax
push ecx
call fcn.00428300
mov edx, dword [esi + 8]
mov edi, dword [esp + 0x40]
xor edx, edi
xor edx, eax
push edx
call fcn.00428300
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
xor ecx, edx
xor ecx, eax
push ecx
call fcn.00428300
mov edx, dword [esi + 0x10]
mov ecx, dword [esp + 0x20]
xor edx, ecx
xor edx, eax
push edx
call fcn.00428300
add esp, 0x14
add esi, 0x14
mov edi, eax
mov ecx, esi
cmp ebp, 8
jb 0x4282c9
mov esi, ebp
shr esi, 3
xor edx, edx
mov eax, edi
mov dl, byte [ecx]
and eax, 0xff
xor eax, edx
sub ebp, 8
shr edi, 8
mov eax, dword [eax*4 + 0x441d78]
xor ebx, ebx
mov bl, byte [ecx + 1]
xor eax, edi
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x441d78]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x441d78]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x441d78]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x441d78]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x441d78]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x441d78]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edi, dword [edx*4 + 0x441d78]
xor edi, eax
inc ecx
dec esi
jne 0x4281e4
test ebp, ebp
je 0x4282ea
mov eax, edi
xor edx, edx
mov dl, byte [ecx]
and eax, 0xff
xor eax, edx
shr edi, 8
mov eax, dword [eax*4 + 0x441d78]
xor edi, eax
inc ecx
dec ebp
jne 0x4282cd
mov eax, edi
pop edi
pop esi
pop ebp
not eax
pop ebx
add esp, 0x20
ret
jmp 0x427fa0