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

Disassembly:
mov ecx, dword [esp + 8]
sub esp, 0x20
test ecx, ecx
jne 0x426611
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 0x426836
test ebp, ebp
je 0x426650
test cl, 3
je 0x426650
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 + 0x43aa58]
xor edi, eax
inc ecx
test ebp, ebp
jne 0x42662c
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 0x4267e2
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 + 0x43b258]
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 + 0x43b258]
and ecx, 0xff
mov edi, dword [edi*4 + 0x43b258]
mov ebx, dword [ebx*4 + 0x43b258]
mov dword [esp + 0x34], eax
mov eax, dword [ecx*4 + 0x43b258]
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x14], 1
mov eax, 0x100
jmp 0x42672e
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 + 0x43b258]
mov edx, dword [ebp*4 + 0x43b258]
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 + 0x43b258]
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 + 0x43b258]
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 + 0x43b258]
mov edx, dword [esp + 0x10]
xor edx, ecx
inc ebp
cmp eax, 0x400
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ebp
jl 0x426726
mov eax, dword [esp + 0x1c]
dec eax
mov dword [esp + 0x1c], eax
jne 0x426688
mov ebp, dword [esp + 0x3c]
mov edx, dword [esi]
xor edx, edi
push edx
call fcn.00426960
mov ecx, dword [esi + 4]
xor ecx, ebx
xor ecx, eax
push ecx
call fcn.00426960
mov edx, dword [esi + 8]
mov edi, dword [esp + 0x40]
xor edx, edi
xor edx, eax
push edx
call fcn.00426960
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x40]
xor ecx, edx
xor ecx, eax
push ecx
call fcn.00426960
mov edx, dword [esi + 0x10]
mov ecx, dword [esp + 0x20]
xor edx, ecx
xor edx, eax
push edx
call fcn.00426960
add esp, 0x14
add esi, 0x14
mov edi, eax
mov ecx, esi
cmp ebp, 8
jb 0x426929
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 + 0x43aa58]
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 + 0x43aa58]
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 + 0x43aa58]
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 + 0x43aa58]
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 + 0x43aa58]
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 + 0x43aa58]
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 + 0x43aa58]
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 + 0x43aa58]
xor edi, eax
inc ecx
dec esi
jne 0x426844
test ebp, ebp
je 0x42694a
mov eax, edi
xor edx, edx
mov dl, byte [ecx]
and eax, 0xff
xor eax, edx
shr edi, 8
mov eax, dword [eax*4 + 0x43aa58]
xor edi, eax
inc ecx
dec ebp
jne 0x42692d
mov eax, edi
pop edi
pop esi
pop ebp
not eax
pop ebx
add esp, 0x20
ret
jmp 0x426600