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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10048070]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
cmp dword [ebx + 0x14], 0x10
mov eax, dword [ebx + 0x10]
push edi
mov edi, ecx
mov dword [ebp - 8], eax
jb 0x10016e18
mov esi, dword [ebx]
jmp 0x10016e1a
mov esi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
test eax, eax
je 0x10016e3b
mov ebx, eax
movzx eax, byte [esi + ecx]
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
cmp ecx, ebx
jb 0x10016e27
mov ebx, dword [ebp + 0xc]
mov esi, dword [edi + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [edi + 0x18], ecx
ja 0x10016e50
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov eax, dword [edi + 8]
mov edx, dword [edi]
lea esi, [eax + ecx*8]
mov dword [ebp - 0xc], esi
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov ecx, eax
mov dword [ebp - 0x10], edx
cmp eax, edx
jne 0x10016e6d
mov eax, edx
jmp 0x10016e72
mov eax, dword [esi + 4]
mov eax, dword [eax]
cmp ecx, eax
je 0x10016fed
cmp dword [ebx + 0x14], 0x10
lea edx, [ecx + 8]
jb 0x10016e87
mov edi, dword [ebx]
jmp 0x10016e89
mov edi, ebx
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x14], eax
jb 0x10016e97
mov edx, dword [edx]
mov esi, dword [ebp - 8]
cmp eax, esi
cmovb esi, eax
test esi, esi
je 0x10016efb
sub esi, 4
jb 0x10016eb9
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x10016ebe
add edx, 4
add edi, 4
sub esi, 4
jae 0x10016ea8
cmp esi, 0xfffffffc
je 0x10016ef2
mov al, byte [edx]
cmp al, byte [edi]
jne 0x10016eeb
cmp esi, 0xfffffffd
je 0x10016ef2
mov al, byte [edx + 1]
cmp al, byte [edi + 1]
jne 0x10016eeb
cmp esi, 0xfffffffe
je 0x10016ef2
mov al, byte [edx + 2]
cmp al, byte [edi + 2]
jne 0x10016eeb
cmp esi, 0xffffffff
je 0x10016ef2
mov al, byte [edx + 3]
cmp al, byte [edi + 3]
je 0x10016ef2
sbb eax, eax
or eax, 1
jmp 0x10016ef4
xor eax, eax
test eax, eax
jne 0x10016f0e
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
cmp eax, edx
jb 0x10016f0e
xor eax, eax
cmp dword [ebp - 0x14], edx
setne al
test eax, eax
je 0x10016f1e
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0xc]
jmp 0x10016e65
cmp dword [ecx + 0x1c], 0x10
mov edi, dword [ecx + 0x18]
lea edx, [ecx + 8]
jb 0x10016f2c
mov edx, dword [edx]
cmp dword [ebx + 0x14], 0x10
jb 0x10016f34
mov ebx, dword [ebx]
mov eax, dword [ebp - 8]
cmp eax, edi
mov esi, edi
cmovb esi, eax
test esi, esi
je 0x10016f9a
sub esi, 4
jb 0x10016f58
mov eax, dword [ebx]
cmp eax, dword [edx]
jne 0x10016f5d
add ebx, 4
add edx, 4
sub esi, 4
jae 0x10016f47
cmp esi, 0xfffffffc
je 0x10016f91
mov al, byte [ebx]
cmp al, byte [edx]
jne 0x10016f8a
cmp esi, 0xfffffffd
je 0x10016f91
mov al, byte [ebx + 1]
cmp al, byte [edx + 1]
jne 0x10016f8a
cmp esi, 0xfffffffe
je 0x10016f91
mov al, byte [ebx + 2]
cmp al, byte [edx + 2]
jne 0x10016f8a
cmp esi, 0xffffffff
je 0x10016f91
mov al, byte [ebx + 3]
cmp al, byte [edx + 3]
je 0x10016f91
sbb eax, eax
or eax, 1
jmp 0x10016f93
xor eax, eax
test eax, eax
jne 0x10016fca
mov eax, dword [ebp - 8]
cmp eax, edi
jb 0x10016fca
xor eax, eax
cmp dword [ebp - 8], edi
setne al
test eax, eax
jne 0x10016fca
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0xc]
pop edi
mov ecx, dword [ecx]
pop esi
mov dword [eax], ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029016
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xc]
pop edi
mov ecx, dword [ecx]
pop esi
mov dword [eax], ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029016
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [eax], edx
pop ebx
call fcn.10029016
mov esp, ebp
pop ebp
ret 8