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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x24
mov dword [esp + 8], ecx
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
cmp eax, esi
je 0x10161225
mov ebx, dword [eax + 0x18]
cmp dword [eax + 0x1c], 0x10
jb 0x1016122c
mov eax, dword [eax + 8]
jmp 0x1016122f
mov esi, eax
jmp 0x101614b0
add eax, 8
mov ecx, dword [esp + 8]
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0xc], ecx
test ebx, ebx
je 0x10161254
lea edx, [ebx - 1]
mov ecx, ebx
and ecx, 3
cmp edx, 3
jae 0x1016125b
mov edx, 0x811c9dc5
xor ebp, ebp
jmp 0x101612aa
mov edx, 0x811c9dc5
jmp 0x101612d3
and ebx, 0xfffffffc
mov edx, 0x811c9dc5
xor ebp, ebp
nop word cs:[eax + eax]
nop
movzx edi, byte [eax + ebp]
xor edi, edx
imul edx, edi, 0x1000193
movzx edi, byte [eax + ebp + 1]
xor edi, edx
imul edx, edi, 0x1000193
movzx edi, byte [eax + ebp + 2]
xor edi, edx
imul edx, edi, 0x1000193
movzx edi, byte [eax + ebp + 3]
xor edi, edx
imul edx, edi, 0x1000193
add ebp, 4
cmp ebx, ebp
jne 0x10161270
test ecx, ecx
je 0x101612d3
add eax, ebp
xor edi, edi
nop word cs:[eax + eax]
nop dword [eax]
movzx ebx, byte [eax + edi]
xor ebx, edx
imul edx, ebx, 0x1000193
add edi, 1
cmp ecx, edi
jne 0x101612c0
mov eax, dword [esp + 8]
lea ecx, [eax + 4]
mov dword [esp + 0x18], ecx
mov ecx, dword [eax + 4]
mov dword [esp + 0x10], ecx
and edx, dword [eax + 0x18]
mov ebp, dword [esp + 0x38]
mov eax, dword [ebp + 4]
mov dword [esp + 0x14], eax
lea eax, [edx + edx]
mov ecx, dword [esp + 0xc]
lea edi, [ecx + edx*8]
mov dword [esp], edi
lea edi, [edx + edx + 1]
mov dword [esp + 0x20], edi
mov edx, dword [ecx + edx*8]
mov dword [esp + 0x1c], edx
cmp edx, ebp
mov edi, dword [ecx + eax*4 + 4]
setne byte [esp + 4]
nop word [eax + eax]
mov ebx, ebp
mov ebp, dword [ebp]
push ebx
push dword [esp + 0x1c]
call fcn.10074470
add esp, 8
mov eax, dword [esp + 8]
add dword [eax + 8], 0xffffffff
cmp ebx, edi
je 0x10161358
cmp ebp, esi
setne al
or al, byte [esp + 4]
cmp al, 1
jne 0x101614a2
cmp ebp, esi
jne 0x10161320
jmp 0x101614a7
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
cmp ecx, dword [esp + 0x38]
jne 0x1016136f
mov eax, dword [esp + 0x10]
mov ecx, dword [esp]
mov dword [ecx], eax
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x20]
mov dword [ecx + edx*4], eax
cmp ebp, esi
je 0x101614a7
cmp dword [ebp + 0x1c], 0x10
jb 0x1016138d
mov eax, dword [ebp + 8]
jmp 0x10161390
lea eax, [ebp + 8]
mov edi, dword [ebp + 0x18]
test edi, edi
je 0x101613b1
lea ecx, [edi - 1]
mov edx, edi
and edx, 3
mov dword [esp + 4], edx
cmp ecx, 3
jae 0x101613b8
mov edx, 0x811c9dc5
xor ecx, ecx
jmp 0x1016140a
mov edx, 0x811c9dc5
jmp 0x10161433
and edi, 0xfffffffc
mov edx, 0x811c9dc5
xor ecx, ecx
nop word cs:[eax + eax]
nop dword [eax]
movzx ebx, byte [eax + ecx]
xor ebx, edx
imul edx, ebx, 0x1000193
movzx ebx, byte [eax + ecx + 1]
xor ebx, edx
imul edx, ebx, 0x1000193
movzx ebx, byte [eax + ecx + 2]
xor ebx, edx
imul edx, ebx, 0x1000193
movzx ebx, byte [eax + ecx + 3]
xor ebx, edx
imul edx, ebx, 0x1000193
add ecx, 4
cmp edi, ecx
jne 0x101613d0
mov ebx, dword [esp + 4]
test ebx, ebx
je 0x10161433
add eax, ecx
xor ecx, ecx
nop word cs:[eax + eax]
movzx edi, byte [eax + ecx]
xor edi, edx
imul edx, edi, 0x1000193
add ecx, 1
cmp ebx, ecx
jne 0x10161420
mov eax, dword [esp + 8]
and edx, dword [eax + 0x18]
lea eax, [edx + edx]
mov ecx, dword [esp + 0xc]
lea edi, [ecx + edx*8]
mov dword [esp], edi
add edx, edx
add edx, 1
mov dword [esp + 4], edx
mov edi, dword [ecx + eax*4 + 4]
nop word cs:[eax + eax]
nop
mov ebx, ebp
mov ebp, dword [ebp]
push ebx
push dword [esp + 0x1c]
call fcn.10074470
add esp, 8
mov eax, dword [esp + 8]
add dword [eax + 8], 0xffffffff
cmp ebx, edi
je 0x10161484
cmp ebp, esi
jne 0x10161460
jmp 0x101614a2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp]
mov dword [eax], ecx
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 4]
mov dword [eax + edx*4], ecx
cmp ebp, esi
jne 0x10161382
jmp 0x101614a7
mov eax, dword [esp]
mov dword [eax], esi
mov eax, dword [esp + 0x14]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, esi
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 8