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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10048070]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0xc], ecx
mov ecx, dword [eax + 0x14]
push esi
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 0x18], ecx
cmp ecx, 0x10
jb 0x10017e74
mov esi, dword [eax]
jmp 0x10017e76
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x10017e92
movzx eax, byte [ecx + esi]
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
cmp ecx, ebx
jb 0x10017e81
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebx + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [ebx + 0x18], ecx
ja 0x10017eaa
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov edi, dword [ebx]
shl ecx, 3
mov dword [ebp - 0x14], ecx
add ecx, dword [ebx + 8]
mov eax, dword [ecx]
mov dword [ebp - 0x20], eax
cmp edi, eax
je 0x10017f8e
mov edi, dword [ecx + 4]
mov edi, dword [edi]
cmp edi, eax
je 0x10017f8e
nop
mov edi, dword [edi + 4]
cmp dword [edi + 0x1c], 0x10
mov edx, dword [edi + 0x18]
lea ecx, [edi + 8]
mov dword [ebp - 0x1c], edx
jb 0x10017ee4
mov ecx, dword [ecx]
cmp dword [ebp - 0x18], 0x10
mov ebx, dword [ebp - 8]
jb 0x10017eef
mov ebx, dword [ebx]
mov eax, dword [ebp - 8]
mov esi, edx
cmp dword [eax + 0x10], edx
cmovb esi, dword [eax + 0x10]
mov eax, dword [ebp - 0x20]
test esi, esi
je 0x10017f5f
sub esi, 4
jb 0x10017f18
mov edx, dword [ebx]
cmp edx, dword [ecx]
jne 0x10017f1d
add ebx, 4
add ecx, 4
sub esi, 4
jae 0x10017f07
cmp esi, 0xfffffffc
je 0x10017f51
mov dl, byte [ebx]
cmp dl, byte [ecx]
jne 0x10017f4a
cmp esi, 0xfffffffd
je 0x10017f51
mov dl, byte [ebx + 1]
cmp dl, byte [ecx + 1]
jne 0x10017f4a
cmp esi, 0xfffffffe
je 0x10017f51
mov dl, byte [ebx + 2]
cmp dl, byte [ecx + 2]
jne 0x10017f4a
cmp esi, 0xffffffff
je 0x10017f51
mov dl, byte [ebx + 3]
cmp dl, byte [ecx + 3]
je 0x10017f51
sbb ecx, ecx
or ecx, 1
jmp 0x10017f53
xor ecx, ecx
test ecx, ecx
je 0x10017f5c
mov esi, dword [ebp - 8]
jmp 0x10017f75
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 8]
mov ebx, dword [esi + 0x10]
cmp ebx, edx
jae 0x10017f6e
or ecx, 0xffffffff
jmp 0x10017f75
xor ecx, ecx
cmp ebx, edx
setne cl
test ecx, ecx
sete cl
test cl, cl
sete cl
test cl, cl
je 0x10017fd1
cmp edi, eax
jne 0x10017ed0
mov ebx, dword [ebp - 0xc]
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
cmp edi, eax
je 0x10017fb8
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], esi
mov ecx, dword [eax + 4]
mov edx, dword [edi + 4]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [esi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x14]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x1001800e
mov dword [ecx], esi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], esi
jmp 0x10018030
lea eax, [edi + 8]
push esi
push eax
call fcn.10017100
test al, al
je 0x10017fe3
mov edi, dword [edi]
jmp 0x10017f8b
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
lea eax, [ebp - 0x14]
push eax
call fcn.10018120
mov eax, dword [ebp - 0x10]
mov dword [eax], edi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10029016
mov esp, ebp
pop ebp
ret 0xc
cmp eax, edi
jne 0x10018016
mov dword [ecx], esi
jmp 0x10018030
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, esi
je 0x10018030
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.100179f0
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
pop edi
mov dword [eax], esi
pop esi
xor ecx, ebp
mov byte [eax + 4], 1
pop ebx
call fcn.10029016
mov esp, ebp
pop ebp
ret 0xc