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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 0x20], edi
cmp eax, ebx
jne 0x1013e581
pop edi
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [eax + 0x1c], 0xf
lea edx, [eax + 8]
mov ecx, dword [edi + 4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 4]
mov eax, dword [edx + 0x10]
mov dword [ebp - 4], ecx
jbe 0x1013e5a1
mov edx, dword [edx]
xor ecx, ecx
push esi
mov esi, 0x811c9dc5
test eax, eax
je 0x1013e5c4
mov ebx, eax
nop
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x1013e5b0
mov ebx, dword [ebp + 0xc]
mov eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, esi
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
mov edx, eax
mov dword [ebp - 0x10], ecx
mov esi, dword [eax]
call fcn.1013f780
dec dword [edi + 8]
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0xc]
je 0x1013e612
mov dword [ebp - 0x1c], esi
cmp esi, ebx
je 0x1013e621
mov edx, esi
mov esi, dword [esi]
call fcn.1013f780
dec dword [edi + 8]
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x1c], eax
jne 0x1013e5f4
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jne 0x1013e641
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
jmp 0x1013e644
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x10], eax
jne 0x1013e62e
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov eax, dword [ebp - 4]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 4]
mov dword [ecx + 4], eax
cmp esi, ebx
je 0x1013e62e
nop dword [eax + eax]
cmp dword [esi + 0x1c], 0xf
lea edx, [esi + 8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x1c], esi
mov dword [ebp + 8], eax
jbe 0x1013e664
mov edx, dword [edx]
xor ecx, ecx
mov ebx, 0x811c9dc5
test eax, eax
je 0x1013e686
mov edi, dword [ebp + 8]
movzx eax, byte [edx + ecx]
inc ecx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp ecx, edi
jb 0x1013e672
mov edi, dword [ebp - 0x20]
mov eax, dword [edi + 0x18]
mov edx, esi
mov ecx, dword [ebp - 0x14]
and eax, ebx
mov ebx, dword [ecx + eax*8 + 4]
mov esi, dword [esi]
mov dword [ebp - 0x10], ebx
lea eax, [ecx + eax*8]
mov dword [ebp + 8], eax
call fcn.1013f780
dec dword [edi + 8]
cmp dword [ebp - 0x1c], ebx
je 0x1013e6ca
nop dword [eax]
mov eax, dword [ebp + 0xc]
mov ebx, esi
cmp esi, eax
je 0x1013e6f3
mov edx, esi
mov esi, dword [esi]
call fcn.1013f780
dec dword [edi + 8]
cmp ebx, dword [ebp - 0x10]
jne 0x1013e6b0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
mov ebx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], eax
cmp esi, ebx
jne 0x1013e650
mov eax, dword [ebp - 4]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8