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

Disassembly:
push ebp
xor eax, eax
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x10
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
test esi, esi
je 0x4f2443
mov dword [ebp - 0x10], 1
mov ebx, ecx
not ebx
cmp byte [ebp - 0x10], 0
jne 0x4f1fa7
jmp 0x4f21c4
mov al, byte [esi]
dec edi
xor eax, ebx
inc esi
movzx eax, al
shr ebx, 8
xor ebx, dword [eax*4 + 0x5498ac]
test edi, edi
je 0x4f2157
test esi, 3
jne 0x4f1f94
jmp 0x4f2157
mov edx, ebx
xor edx, dword [esi]
mov eax, edx
shr eax, 0x18
movzx ecx, dl
mov eax, dword [eax*4 + 0x5498ac]
xor eax, dword [ecx*4 + 0x54a4ac]
movzx ecx, dh
shr edx, 0x10
xor eax, dword [esi + 4]
and edx, 0xff
xor eax, dword [ecx*4 + 0x54a0ac]
xor eax, dword [edx*4 + 0x549cac]
mov edx, eax
shr edx, 0x18
movzx ecx, al
mov edx, dword [edx*4 + 0x5498ac]
xor edx, dword [ecx*4 + 0x54a4ac]
movzx ecx, ah
shr eax, 0x10
xor edx, dword [esi + 8]
and eax, 0xff
xor edx, dword [ecx*4 + 0x54a0ac]
xor edx, dword [eax*4 + 0x549cac]
mov eax, edx
shr eax, 0x18
movzx ecx, dl
mov eax, dword [eax*4 + 0x5498ac]
xor eax, dword [ecx*4 + 0x54a4ac]
movzx ecx, dh
shr edx, 0x10
xor eax, dword [esi + 0xc]
and edx, 0xff
xor eax, dword [ecx*4 + 0x54a0ac]
xor eax, dword [edx*4 + 0x549cac]
mov edx, eax
shr edx, 0x18
movzx ecx, al
mov edx, dword [edx*4 + 0x5498ac]
xor edx, dword [ecx*4 + 0x54a4ac]
movzx ecx, ah
shr eax, 0x10
xor edx, dword [esi + 0x10]
and eax, 0xff
xor edx, dword [ecx*4 + 0x54a0ac]
xor edx, dword [eax*4 + 0x549cac]
mov eax, edx
movzx ecx, dl
shr eax, 0x18
sub edi, 0x20
mov eax, dword [eax*4 + 0x5498ac]
xor eax, dword [ecx*4 + 0x54a4ac]
movzx ecx, dh
shr edx, 0x10
xor eax, dword [esi + 0x14]
and edx, 0xff
xor eax, dword [ecx*4 + 0x54a0ac]
xor eax, dword [edx*4 + 0x549cac]
mov edx, eax
shr edx, 0x18
movzx ecx, al
mov edx, dword [edx*4 + 0x5498ac]
xor edx, dword [ecx*4 + 0x54a4ac]
movzx ecx, ah
shr eax, 0x10
xor edx, dword [esi + 0x18]
and eax, 0xff
xor edx, dword [ecx*4 + 0x54a0ac]
xor edx, dword [eax*4 + 0x549cac]
mov eax, edx
shr eax, 0x18
movzx ecx, dl
mov eax, dword [eax*4 + 0x5498ac]
xor eax, dword [ecx*4 + 0x54a4ac]
movzx ecx, dh
shr edx, 0x10
xor eax, dword [esi + 0x1c]
and edx, 0xff
xor eax, dword [ecx*4 + 0x54a0ac]
xor eax, dword [edx*4 + 0x549cac]
add esi, 0x20
movzx edx, al
mov ecx, eax
shr ecx, 0x18
mov ebx, dword [edx*4 + 0x54a4ac]
movzx edx, ah
shr eax, 0x10
xor ebx, dword [ecx*4 + 0x5498ac]
and eax, 0xff
xor ebx, dword [edx*4 + 0x54a0ac]
xor ebx, dword [eax*4 + 0x549cac]
cmp edi, 0x1f
ja 0x4f1fbc
jmp 0x4f219b
mov eax, ebx
sub edi, 4
xor eax, dword [esi]
add esi, 4
movzx edx, al
mov ecx, eax
shr ecx, 0x18
mov ebx, dword [edx*4 + 0x54a4ac]
movzx edx, ah
shr eax, 0x10
xor ebx, dword [ecx*4 + 0x5498ac]
and eax, 0xff
xor ebx, dword [edx*4 + 0x54a0ac]
xor ebx, dword [eax*4 + 0x549cac]
cmp edi, 3
ja 0x4f2162
test edi, edi
je 0x4f21bb
mov edx, esi
mov al, byte [edx]
inc edx
xor eax, ebx
movzx eax, al
shr ebx, 8
xor ebx, dword [eax*4 + 0x5498ac]
dec edi
jne 0x4f21a6
mov eax, ebx
not eax
jmp 0x4f2443
mov eax, ecx
mov edx, ecx
shr eax, 8
shr edx, 0x18
and eax, 0xff00
add eax, edx
mov edx, ecx
shl ecx, 0x18
and edx, 0xff00
shl edx, 8
add eax, edx
lea ebx, [eax + ecx]
not ebx
jmp 0x4f2202
mov eax, ebx
dec edi
movzx edx, byte [esi]
shr eax, 0x18
inc esi
shl ebx, 8
xor eax, edx
xor ebx, dword [eax*4 + 0x54a8ac]
test edi, edi
je 0x4f220e
test esi, 3
jne 0x4f21ec
sub esi, 4
jmp 0x4f23b1
mov edx, ebx
xor edx, dword [esi + 4]
mov eax, edx
shr eax, 0x18
movzx ecx, dl
mov eax, dword [eax*4 + 0x54b4ac]
xor eax, dword [ecx*4 + 0x54a8ac]
movzx ecx, dh
shr edx, 0x10
xor eax, dword [esi + 8]
and edx, 0xff
xor eax, dword [ecx*4 + 0x54acac]
xor eax, dword [edx*4 + 0x54b0ac]
mov edx, eax
shr edx, 0x18
movzx ecx, al
mov edx, dword [edx*4 + 0x54b4ac]
xor edx, dword [ecx*4 + 0x54a8ac]
movzx ecx, ah
shr eax, 0x10
xor edx, dword [esi + 0xc]
and eax, 0xff
xor edx, dword [ecx*4 + 0x54acac]
xor edx, dword [eax*4 + 0x54b0ac]
mov eax, edx
shr eax, 0x18
movzx ecx, dl
mov eax, dword [eax*4 + 0x54b4ac]
xor eax, dword [ecx*4 + 0x54a8ac]
movzx ecx, dh
shr edx, 0x10
xor eax, dword [esi + 0x10]
and edx, 0xff
xor eax, dword [ecx*4 + 0x54acac]
xor eax, dword [edx*4 + 0x54b0ac]
mov edx, eax
shr edx, 0x18
movzx ecx, al
mov edx, dword [edx*4 + 0x54b4ac]
xor edx, dword [ecx*4 + 0x54a8ac]
movzx ecx, ah
shr eax, 0x10
xor edx, dword [esi + 0x14]
and eax, 0xff
xor edx, dword [ecx*4 + 0x54acac]
xor edx, dword [eax*4 + 0x54b0ac]
mov eax, edx
movzx ecx, dl
shr eax, 0x18
sub edi, 0x20
mov eax, dword [eax*4 + 0x54b4ac]
xor eax, dword [ecx*4 + 0x54a8ac]
movzx ecx, dh
shr edx, 0x10
xor eax, dword [esi + 0x18]
and edx, 0xff
xor eax, dword [ecx*4 + 0x54acac]
xor eax, dword [edx*4 + 0x54b0ac]
mov edx, eax
shr edx, 0x18
movzx ecx, al
mov edx, dword [edx*4 + 0x54b4ac]
xor edx, dword [ecx*4 + 0x54a8ac]
movzx ecx, ah
shr eax, 0x10
xor edx, dword [esi + 0x1c]
and eax, 0xff
xor edx, dword [ecx*4 + 0x54acac]
xor edx, dword [eax*4 + 0x54b0ac]
add esi, 0x20
mov eax, edx
shr eax, 0x18
movzx ecx, dl
mov eax, dword [eax*4 + 0x54b4ac]
xor eax, dword [ecx*4 + 0x54a8ac]
movzx ecx, dh
shr edx, 0x10
xor eax, dword [esi]
and edx, 0xff
xor eax, dword [ecx*4 + 0x54acac]
xor eax, dword [edx*4 + 0x54b0ac]
movzx edx, al
mov ecx, eax
shr ecx, 0x18
mov ebx, dword [edx*4 + 0x54a8ac]
movzx edx, ah
shr eax, 0x10
xor ebx, dword [ecx*4 + 0x54b4ac]
and eax, 0xff
xor ebx, dword [edx*4 + 0x54acac]
xor ebx, dword [eax*4 + 0x54b0ac]
cmp edi, 0x1f
ja 0x4f2216
jmp 0x4f23f5
add esi, 4
mov eax, ebx
sub edi, 4
xor eax, dword [esi]
movzx edx, al
mov ecx, eax
shr ecx, 0x18
mov ebx, dword [edx*4 + 0x54a8ac]
movzx edx, ah
shr eax, 0x10
xor ebx, dword [ecx*4 + 0x54b4ac]
and eax, 0xff
xor ebx, dword [edx*4 + 0x54acac]
xor ebx, dword [eax*4 + 0x54b0ac]
cmp edi, 3
ja 0x4f23bc
test edi, edi
je 0x4f241b
xor ecx, ecx
mov eax, ebx
movzx edx, byte [ecx + esi + 4]
shr eax, 0x18
inc ecx
shl ebx, 8
xor eax, edx
xor ebx, dword [eax*4 + 0x54a8ac]
cmp ecx, edi
jne 0x4f2400
mov ecx, ebx
not ecx
mov edx, ecx
mov eax, ecx
shr edx, 8
shr eax, 0x18
and edx, 0xff00
add edx, eax
mov eax, ecx
shl ecx, 0x18
and eax, 0xff00
shl eax, 8
add edx, eax
lea eax, [edx + ecx]
add esp, 0x10
pop ebx
pop esi
pop edi
pop ebp
ret