Function at 0x100befa0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
cmp esi, ebx
je 0x100bf16e
cmp dword [esi + 0x1c], 0xf
mov eax, dword [ecx + 4]
push edi
lea edi, [ecx + 4]
mov dword [ebp - 0x20], eax
mov eax, dword [ecx + 0xc]
lea ecx, [esi + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], eax
mov dword [ebp - 8], ecx
jbe 0x100befe3
mov eax, dword [ecx]
mov dword [ebp - 8], eax
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [esi + 0x18], ecx
jbe 0x100bf007
mov edi, dword [ebp - 8]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [esi + 0x18]
jb 0x100beff2
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
push dword [ebp + 8]
mov esi, dword [esi]
mov eax, dword [eax + 0x18]
and eax, edx
mov dword [ebp - 4], esi
push edi
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], eax
call fcn.100a1d40
dec dword [edi + 4]
add esp, 8
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0xc]
je 0x100bf064
nop
mov dword [ebp - 0x28], esi
cmp esi, ebx
je 0x100bf073
push esi
mov esi, dword [esi]
push edi
mov dword [ebp - 4], esi
call fcn.100a1d40
dec dword [edi + 4]
add esp, 8
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x28], eax
jne 0x100bf040
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jne 0x100bf097
mov eax, dword [ebp - 0x20]
mov dword [ecx], eax
jmp 0x100bf09a
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 8]
jne 0x100bf165
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 8]
pop edi
mov dword [ecx], esi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
cmp esi, ebx
je 0x100bf165
cmp dword [esi + 0x1c], 0xf
lea ecx, [esi + 8]
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], ecx
jbe 0x100bf0b9
mov eax, dword [ecx]
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x10]
mov edx, 0x811c9dc5
xor ecx, ecx
mov dword [ebp - 0x28], eax
test eax, eax
je 0x100bf0e7
mov edi, dword [ebp - 0x10]
mov esi, eax
nop
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x100bf0d0
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push esi
mov esi, dword [esi]
push edi
and edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 4], esi
lea eax, [eax + edx*8]
mov dword [ebp - 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
call fcn.100a1d40
dec dword [edi + 4]
add esp, 8
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x10]
je 0x100bf137
mov ebx, esi
cmp esi, dword [ebp + 0xc]
je 0x100bf15d
push esi
mov esi, dword [esi]
push edi
mov dword [ebp - 4], esi
call fcn.100a1d40
dec dword [edi + 4]
add esp, 8
cmp ebx, dword [ebp - 0x10]
jne 0x100bf116
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp esi, ebx
jne 0x100bf0a5
mov eax, dword [ebp - 0x24]
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp + 0xc]
mov dword [eax], esi
mov eax, dword [ebp - 0x24]
pop edi
mov dword [eax], esi
mov dword [esi + 4], eax
pop esi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8