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

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1c]
test edi, edi
not eax
je 0x463a19
test cl, 3
je 0x463a19
xor ebx, ebx
mov bl, byte [ecx]
mov edx, eax
and edx, 0xff
shr eax, 8
xor edx, ebx
mov edx, dword [edx*4 + 0x47cd64]
xor eax, edx
inc ecx
dec edi
jne 0x4639f6
cmp edi, 0x20
mov esi, ecx
jb 0x463c2f
mov ebp, edi
shr ebp, 5
xor eax, dword [esi]
xor edx, edx
mov dl, ah
xor ecx, ecx
mov dword [esp + 0x18], eax
mov cl, byte [esp + 0x1a]
add esi, 4
add esi, 4
add esi, 4
mov ebx, dword [edx*4 + 0x47d564]
mov edx, eax
shr edx, 0x18
mov ecx, dword [ecx*4 + 0x47d164]
xor ecx, ebx
mov ebx, dword [edx*4 + 0x47cd64]
mov edx, dword [esi - 8]
xor ecx, ebx
and eax, 0xff
xor ecx, dword [eax*4 + 0x47d964]
xor ecx, edx
xor edx, edx
mov dl, ch
xor eax, eax
mov dword [esp + 0x18], ecx
mov al, byte [esp + 0x1a]
add esi, 4
add esi, 4
mov ebx, dword [edx*4 + 0x47d564]
mov edx, ecx
shr edx, 0x18
mov eax, dword [eax*4 + 0x47d164]
xor eax, ebx
mov ebx, dword [edx*4 + 0x47cd64]
mov edx, dword [esi - 0xc]
xor eax, ebx
and ecx, 0xff
xor eax, dword [ecx*4 + 0x47d964]
xor eax, edx
xor edx, edx
mov dl, ah
xor ecx, ecx
mov dword [esp + 0x18], eax
mov cl, byte [esp + 0x1a]
mov ebx, dword [edx*4 + 0x47d564]
mov edx, eax
shr edx, 0x18
mov ecx, dword [ecx*4 + 0x47d164]
xor ecx, ebx
mov ebx, dword [edx*4 + 0x47cd64]
mov edx, dword [esi - 8]
xor ecx, ebx
and eax, 0xff
xor ecx, dword [eax*4 + 0x47d964]
xor ecx, edx
xor edx, edx
mov dl, ch
xor eax, eax
mov dword [esp + 0x18], ecx
mov al, byte [esp + 0x1a]
mov ebx, dword [edx*4 + 0x47d564]
mov edx, ecx
shr edx, 0x18
mov eax, dword [eax*4 + 0x47d164]
xor eax, ebx
mov ebx, dword [edx*4 + 0x47cd64]
mov edx, dword [esi - 4]
and ecx, 0xff
xor eax, ebx
xor eax, dword [ecx*4 + 0x47d964]
xor eax, edx
xor ecx, ecx
mov dword [esp + 0x18], eax
mov cl, byte [esp + 0x1a]
xor edx, edx
mov dl, ah
mov ecx, dword [ecx*4 + 0x47d164]
xor ecx, dword [edx*4 + 0x47d564]
mov edx, eax
shr edx, 0x18
mov ebx, dword [edx*4 + 0x47cd64]
mov edx, dword [esi]
xor ecx, ebx
and eax, 0xff
xor ecx, dword [eax*4 + 0x47d964]
xor ecx, edx
xor edx, edx
mov dl, ch
xor eax, eax
mov dword [esp + 0x18], ecx
mov al, byte [esp + 0x1a]
add esi, 4
add esi, 4
add esi, 4
mov ebx, dword [edx*4 + 0x47d564]
mov edx, ecx
shr edx, 0x18
mov eax, dword [eax*4 + 0x47d164]
xor eax, ebx
mov ebx, dword [edx*4 + 0x47cd64]
mov edx, dword [esi - 8]
xor eax, ebx
and ecx, 0xff
xor eax, dword [ecx*4 + 0x47d964]
xor eax, edx
xor edx, edx
mov dl, ah
mov dword [esp + 0x18], eax
xor ecx, ecx
mov cl, byte [esp + 0x1a]
sub edi, 0x20
mov ebx, dword [edx*4 + 0x47d564]
mov edx, eax
shr edx, 0x18
mov ecx, dword [ecx*4 + 0x47d164]
xor ecx, ebx
mov ebx, dword [edx*4 + 0x47cd64]
mov edx, dword [esi - 4]
and eax, 0xff
xor ecx, ebx
xor ecx, dword [eax*4 + 0x47d964]
xor ecx, edx
xor edx, edx
xor eax, eax
mov dl, ch
mov dword [esp + 0x18], ecx
mov al, byte [esp + 0x1a]
mov ebx, dword [edx*4 + 0x47d564]
mov edx, ecx
mov eax, dword [eax*4 + 0x47d164]
xor eax, ebx
shr edx, 0x18
xor eax, dword [edx*4 + 0x47cd64]
and ecx, 0xff
xor eax, dword [ecx*4 + 0x47d964]
dec ebp
jne 0x463a29
cmp edi, 4
jb 0x463c7e
mov ebp, edi
shr ebp, 2
xor eax, dword [esi]
xor edx, edx
xor ecx, ecx
mov dl, ah
mov dword [esp + 0x18], eax
mov cl, byte [esp + 0x1a]
add esi, 4
sub edi, 4
mov ebx, dword [edx*4 + 0x47d564]
mov edx, eax
mov ecx, dword [ecx*4 + 0x47d164]
xor ecx, ebx
shr edx, 0x18
mov ebx, dword [edx*4 + 0x47cd64]
and eax, 0xff
xor ecx, ebx
xor ecx, dword [eax*4 + 0x47d964]
dec ebp
mov eax, ecx
jne 0x463c39
test edi, edi
je 0x463ca0
xor edx, edx
mov dl, byte [esi]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor ecx, edx
mov ecx, dword [ecx*4 + 0x47cd64]
xor eax, ecx
inc esi
dec edi
jne 0x463c82
pop edi
pop esi
pop ebp
not eax
pop ebx
ret