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

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x20
test ecx, ecx
jne 0x426d01
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 0x426f26
test ebp, ebp
je 0x426d40
test cl, 3
je 0x426d40
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 + 0x43aab8]
xor edi, eax
inc ecx
test ebp, ebp
jne 0x426d1c
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 0x426ed2
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 + 0x43b2b8]
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 + 0x43b2b8]
and ecx, 0xff
mov edi, dword [edi*4 + 0x43b2b8]
mov ebx, dword [ebx*4 + 0x43b2b8]
mov dword [esp + 0x34], eax
mov eax, dword [ecx*4 + 0x43b2b8]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x14], 1
mov eax, 0x100
jmp 0x426e1e
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 + 0x43b2b8]
mov edx, dword [ebp*4 + 0x43b2b8]
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 + 0x43b2b8]
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 + 0x43b2b8]
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 + 0x43b2b8]
mov edx, dword [esp + 0x10]
xor edx, ecx
inc ebp
cmp eax, 0x400
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebp
jl 0x426e16
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x1c], eax
jne 0x426d78
mov ebp, dword [esp + 0x3c]
mov edx, dword [esi]
xor edx, edi
push edx
call fcn.00427050
mov ecx, dword [esi + 4]
xor ecx, ebx
xor ecx, eax
push ecx
call fcn.00427050
mov edx, dword [esi + 8]
mov edi, dword [esp + 0x40]
xor edx, edi
xor edx, eax
push edx
call fcn.00427050
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
xor ecx, edx
xor ecx, eax
push ecx
call fcn.00427050
mov edx, dword [esi + 0x10]
mov ecx, dword [esp + 0x20]
xor edx, ecx
xor edx, eax
push edx
call fcn.00427050
add esp, 0x14
add esi, 0x14
mov edi, eax
mov ecx, esi
cmp ebp, 8
jb 0x427019
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 + 0x43aab8]
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 + 0x43aab8]
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 + 0x43aab8]
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 + 0x43aab8]
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 + 0x43aab8]
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 + 0x43aab8]
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 + 0x43aab8]
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 + 0x43aab8]
xor edi, eax
inc ecx
dec esi
jne 0x426f34
test ebp, ebp
je 0x42703a
mov eax, edi
xor edx, edx
mov dl, byte [ecx]
and eax, 0xff
xor eax, edx
shr edi, 8
mov eax, dword [eax*4 + 0x43aab8]
xor edi, eax
inc ecx
dec ebp
jne 0x42701d
mov eax, edi
pop edi
pop esi
pop ebp
not eax
pop ebx
add esp, 0x20
ret
jmp 0x426cf0