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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x44
mov ebx, dword [esp + 0x5c]
test ebx, ebx
jne 0xf0f91e
xor eax, eax
jmp 0xf0fc2a
mov edx, dword [esp + 0x58]
mov esi, dword [esp + 0x60]
not edx
cmp esi, 0x17
jb 0xf0fb2e
test bl, 3
je 0xf0f957
mov ecx, edx
movzx eax, dl
movzx edx, byte [ebx]
inc ebx
shr ecx, 8
xor eax, edx
mov edx, ecx
xor edx, dword [eax*4 + 0x112994c]
dec esi
je 0xf0f957
mov eax, ebx
and eax, 3
jne 0xf0f936
mov ecx, 0xcccccccd
mov eax, esi
mov edi, edx
mul ecx
mov ecx, edi
xor ecx, dword [ebx]
shr edx, 4
lea eax, [edx*4]
mov edi, edx
lea eax, [eax + eax*4]
dec edi
jne 0xf0f990
mov dword [esp + 4], 0
mov dword [esp], 0
xor edi, edi
xor ebp, ebp
jmp 0xf0faef
mov dword [esp + 0x1c], eax
lea eax, [edx + edx*4]
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], esi
xor ebp, ebp
xor edi, edi
xor edx, edx
lea eax, [ebx + eax*4 - 0x14]
mov dword [esp + 0x18], eax
xor eax, eax
jmp 0xf0f9d4
mov ebx, dword [esp + 8]
mov edx, ebp
mov eax, dword [esp]
mov ebp, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
xor esi, dword [ebx + 0x14]
add ebx, 0x14
dec dword [esp + 0x24]
mov ecx, esi
je 0xf0fadf
xor eax, dword [ebx + 4]
mov dword [esp + 0x14], ecx
mov ecx, edi
xor edx, dword [ebx + 8]
mov edi, ebp
mov dword [esp + 8], ebx
xor ecx, dword [ebx + 0xc]
xor edi, dword [ebx + 0x10]
mov dword [esp + 0x34], eax
movzx eax, al
mov dword [esp + 0x30], edx
mov eax, dword [eax*4 + 0x1129d4c]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x28], edi
mov dword [esp], eax
movzx eax, dl
xor edx, edx
mov ebp, dword [eax*4 + 0x1129d4c]
movzx eax, cl
inc edx
mov eax, dword [eax*4 + 0x1129d4c]
mov dword [esp + 0x10], eax
mov eax, edi
movzx eax, al
mov eax, dword [eax*4 + 0x1129d4c]
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0x14]
mov esi, dword [eax*4 + 0x1129d4c]
mov eax, dword [esp + 0x14]
mov ecx, edx
mov ebx, dword [esp + 0x30]
mov edi, dword [esp]
shl cl, 3
shr eax, cl
shr ebx, cl
movzx eax, al
mov dword [esp + 4], eax
mov eax, dword [esp + 0x34]
shr eax, cl
movzx eax, al
mov dword [esp + 0x40], eax
movzx eax, bl
mov ebx, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
shr eax, cl
movzx eax, al
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x28]
shr eax, cl
mov ecx, edx
inc edx
shl ecx, 0xa
movzx eax, al
xor esi, dword [ecx + ebx*4 + 0x1129d4c]
mov ebx, dword [esp + 0x40]
xor edi, dword [ecx + ebx*4 + 0x1129d4c]
mov ebx, dword [esp + 0x3c]
mov dword [esp], edi
xor ebp, dword [ecx + ebx*4 + 0x1129d4c]
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0x38]
xor ebx, dword [ecx + edi*4 + 0x1129d4c]
mov edi, dword [esp + 0xc]
xor edi, dword [ecx + eax*4 + 0x1129d4c]
cmp edx, 4
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edi
jne 0xf0fa40
jmp 0xf0f9b1
mov ebx, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], edx
sub esi, eax
call fcn.00f0fc32
mov ecx, dword [esp]
xor ecx, eax
xor ecx, dword [ebx + 4]
call fcn.00f0fc32
mov ecx, dword [esp + 4]
xor ecx, eax
xor ecx, dword [ebx + 8]
call fcn.00f0fc32
xor edi, eax
xor edi, dword [ebx + 0xc]
mov ecx, edi
call fcn.00f0fc32
xor ebp, eax
xor ebp, dword [ebx + 0x10]
mov ecx, ebp
call fcn.00f0fc32
mov edx, eax
add ebx, 0x14
cmp esi, 8
jb 0xf0fc06
lea eax, [esi - 8]
mov ebp, ebx
mov dword [esp + 8], ebx
mov ebx, edx
mov edx, esi
mov ecx, eax
mov esi, ebp
and ecx, 0xfffffff8
lea edi, [ecx + 8]
mov dword [esp], edi
movzx ebp, byte [esi]
movzx edi, bl
shr ebx, 8
add edx, 0xfffffff8
xor edi, ebp
movzx ebp, byte [esi + 1]
xor ebx, dword [edi*4 + 0x112994c]
movzx edi, bl
shr ebx, 8
xor edi, ebp
movzx ebp, byte [esi + 2]
xor ebx, dword [edi*4 + 0x112994c]
movzx edi, bl
shr ebx, 8
xor edi, ebp
movzx ebp, byte [esi + 3]
xor ebx, dword [edi*4 + 0x112994c]
movzx edi, bl
shr ebx, 8
xor edi, ebp
movzx ebp, byte [esi + 4]
xor ebx, dword [edi*4 + 0x112994c]
movzx edi, bl
shr ebx, 8
xor edi, ebp
movzx ebp, byte [esi + 5]
xor ebx, dword [edi*4 + 0x112994c]
movzx edi, bl
shr ebx, 8
xor edi, ebp
movzx ebp, byte [esi + 6]
xor ebx, dword [edi*4 + 0x112994c]
movzx edi, bl
shr ebx, 8
xor edi, ebp
movzx ebp, byte [esi + 7]
add esi, 8
xor ebx, dword [edi*4 + 0x112994c]
movzx edi, bl
shr ebx, 8
xor edi, ebp
xor ebx, dword [edi*4 + 0x112994c]
cmp edx, 7
ja 0xf0fb51
mov edi, dword [esp + 8]
sub eax, ecx
mov edx, ebx
mov esi, eax
add edi, dword [esp]
mov ebx, edi
test esi, esi
jne 0xf0fc0e
mov eax, edx
jmp 0xf0fc28
mov eax, edx
movzx ecx, byte [ebx]
movzx edx, dl
shr eax, 8
inc ebx
xor edx, ecx
xor eax, dword [edx*4 + 0x112994c]
dec esi
mov edx, eax
jne 0xf0fc10
not eax
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
jmp 0xf0f908