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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x10048070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [eax + 0x10]
push esi
push edi
mov edi, ecx
mov ecx, dword [eax + 0x14]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x18], ecx
cmp ecx, 0x10
jb 0x10016afd
mov esi, dword [eax]
jmp 0x10016aff
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x10016b21
lea ebx, [ebx]
movzx eax, byte [ecx + esi]
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
cmp ecx, ebx
jb 0x10016b10
mov esi, dword [edi + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [edi + 0x18], ecx
ja 0x10016b36
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov eax, dword [edi + 8]
mov esi, dword [edi]
lea edx, [eax + ecx*8]
mov dword [ebp - 0x14], edx
mov eax, dword [edx]
mov dword [ebp - 0x10], eax
mov ecx, eax
mov dword [ebp - 0x1c], esi
jmp 0x10016b50
cmp eax, esi
jne 0x10016b58
mov eax, esi
jmp 0x10016b5d
mov eax, dword [edx + 4]
mov eax, dword [eax]
cmp ecx, eax
je 0x10016d03
cmp dword [ebp - 0x18], 0x10
lea edx, [ecx + 8]
jb 0x10016b75
mov eax, dword [ebp + 0xc]
mov ebx, dword [eax]
jmp 0x10016b78
mov ebx, dword [ebp + 0xc]
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
mov dword [ebp - 0xc], eax
jb 0x10016b86
mov edx, dword [edx]
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 8]
cmp eax, dword [esi + 0x10]
mov esi, dword [ebp - 0x1c]
cmovb edi, eax
test edi, edi
je 0x10016bf3
sub edi, 4
jb 0x10016bb1
mov edi, edi
mov eax, dword [edx]
cmp eax, dword [ebx]
jne 0x10016bb6
add edx, 4
add ebx, 4
sub edi, 4
jae 0x10016ba0
cmp edi, 0xfffffffc
je 0x10016bea
mov al, byte [edx]
cmp al, byte [ebx]
jne 0x10016be3
cmp edi, 0xfffffffd
je 0x10016bea
mov al, byte [edx + 1]
cmp al, byte [ebx + 1]
jne 0x10016be3
cmp edi, 0xfffffffe
je 0x10016bea
mov al, byte [edx + 2]
cmp al, byte [ebx + 2]
jne 0x10016be3
cmp edi, 0xffffffff
je 0x10016bea
mov al, byte [edx + 3]
cmp al, byte [ebx + 3]
je 0x10016bea
sbb eax, eax
or eax, 1
jmp 0x10016bec
xor eax, eax
test eax, eax
jne 0x10016c06
mov eax, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
cmp eax, ebx
jb 0x10016c06
xor eax, eax
cmp dword [ebp - 0xc], ebx
setne al
test eax, eax
je 0x10016c13
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
jmp 0x10016b50
mov edx, ecx
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 8]
jmp 0x10016c20
mov eax, dword [ebp - 0x14]
cmp dword [eax], esi
jne 0x10016c2b
mov eax, esi
jmp 0x10016c30
mov eax, dword [eax + 4]
mov eax, dword [eax]
cmp ecx, eax
je 0x10016ce1
cmp dword [ecx + 0x1c], 0x10
mov ebx, dword [ecx + 0x18]
lea edi, [ecx + 8]
mov dword [ebp - 0xc], ebx
jb 0x10016c49
mov edi, dword [edi]
cmp dword [ebp - 0x18], 0x10
mov eax, dword [ebp + 0xc]
jb 0x10016c54
mov eax, dword [eax]
cmp edx, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmovb ebx, edx
test ebx, ebx
je 0x10016cc8
sub ebx, 4
jb 0x10016c7d
mov eax, dword [eax]
cmp eax, dword [edi]
jne 0x10016c82
mov eax, dword [ebp - 8]
add eax, 4
add edi, 4
mov dword [ebp - 8], eax
sub ebx, 4
jae 0x10016c66
cmp ebx, 0xfffffffc
je 0x10016cc2
mov eax, dword [ebp - 8]
mov al, byte [eax]
cmp al, byte [edi]
jne 0x10016cbb
cmp ebx, 0xfffffffd
je 0x10016cc2
mov eax, dword [ebp - 8]
mov al, byte [eax + 1]
cmp al, byte [edi + 1]
jne 0x10016cbb
cmp ebx, 0xfffffffe
je 0x10016cc2
mov eax, dword [ebp - 8]
mov al, byte [eax + 2]
cmp al, byte [edi + 2]
jne 0x10016cbb
cmp ebx, 0xffffffff
je 0x10016cc2
mov eax, dword [ebp - 8]
mov al, byte [eax + 3]
cmp al, byte [edi + 3]
je 0x10016cc2
sbb eax, eax
or eax, 1
jmp 0x10016cc4
xor eax, eax
test eax, eax
jne 0x10016ce1
mov ebx, dword [ebp - 0xc]
cmp edx, ebx
jb 0x10016ce1
xor eax, eax
cmp edx, ebx
setne al
test eax, eax
jne 0x10016ce1
mov ecx, dword [ecx]
jmp 0x10016c20
mov edx, dword [ebp - 0x10]
cmp edx, ecx
je 0x10016d03
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov dword [eax + 4], ecx
pop edi
pop esi
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
mov dword [eax], esi
mov dword [eax + 4], esi
pop esi
xor ecx, ebp
pop ebx
call fcn.10029016
mov esp, ebp
pop ebp
ret 8