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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x10034034]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x10]
push esi
push edi
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x18], ecx
cmp ecx, 8
jb 0x10017217
mov esi, dword [ebx]
jmp 0x10017219
mov esi, ebx
lea edi, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x10017238
movzx eax, byte [ecx + esi]
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
cmp ecx, edi
jb 0x10017227
mov eax, dword [ebp - 0x10]
mov esi, dword [eax + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [eax + 0x18], ecx
ja 0x10017253
or eax, 0xffffffff
shr esi, 1
sub eax, esi
add ecx, eax
mov eax, dword [ebp - 0x10]
mov esi, dword [eax]
mov eax, dword [eax + 8]
shl ecx, 3
mov dword [ebp - 0x20], ecx
add ecx, eax
mov eax, dword [ecx]
cmp esi, eax
je 0x100172f0
mov esi, dword [ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x100172f0
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
mov ecx, dword [esi + 0x18]
lea edx, [esi + 8]
mov dword [ebp - 0x1c], ecx
jb 0x10017287
mov edx, dword [edx]
cmp dword [ebx + 0x14], 8
jb 0x10017291
mov edi, dword [ebx]
jmp 0x10017293
mov edi, ebx
cmp dword [ebp - 0xc], ecx
mov ebx, ecx
cmovb ebx, dword [ebp - 0xc]
test ebx, ebx
jne 0x100172b5
xor ecx, ecx
mov edi, dword [ebp - 0xc]
test ecx, ecx
jne 0x100172dd
mov edx, dword [ebp - 0x1c]
cmp edi, edx
jae 0x100172d4
or ecx, 0xffffffff
jmp 0x100172db
mov cx, word [edi]
cmp cx, word [edx]
jne 0x100172c6
add edi, 2
add edx, 2
dec ebx
jmp 0x1001729e
movzx ecx, word [edi]
cmp cx, word [edx]
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
jmp 0x100172a2
xor ecx, ecx
cmp edi, edx
setne cl
test ecx, ecx
mov ebx, dword [ebp - 8]
sete cl
test cl, cl
sete cl
test cl, cl
je 0x10017320
cmp esi, eax
jne 0x10017273
mov ecx, dword [ebp - 0x10]
push ebx
mov eax, dword [ecx]
mov edi, dword [eax]
push dword [edi + 4]
push edi
call fcn.10017780
mov ebx, dword [ebp - 0x10]
mov edx, eax
mov eax, dword [ebx + 4]
mov ecx, 0x7fffffe
sub ecx, eax
cmp ecx, 1
jae 0x1001735e
push str.list_T__too_long
call dword [sym.imp.MSVCP110.dll_void___cdecl_std::_Xlength_error_char_const__]
cmp dword [ebp - 0x18], 8
lea ecx, [esi + 8]
jb 0x1001732d
mov eax, dword [ebx]
jmp 0x1001732f
mov eax, ebx
push edi
push eax
push dword [ecx + 0x10]
push ecx
call fcn.10014280
test eax, eax
je 0x10017342
mov esi, dword [esi]
jmp 0x100172f0
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10020d6c
mov esp, ebp
pop ebp
ret 0xc
inc eax
mov dword [ebx + 4], eax
mov dword [edi + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov edi, dword [ebx]
mov edi, dword [edi]
mov eax, dword [edi]
cmp esi, eax
je 0x10017395
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [ebp - 0x20]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x100173ae
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [edx + eax + 4], edi
jmp 0x100173ce
cmp eax, esi
jne 0x100173b6
mov dword [ecx], edi
jmp 0x100173ce
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x100173ce
add edx, dword [ebx + 8]
mov eax, dword [edx + 4]
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
mov ecx, ebx
call fcn.10017400
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
mov dword [eax], edi
pop edi
pop esi
xor ecx, ebp
mov byte [eax + 4], 1
pop ebx
call fcn.10020d6c
mov esp, ebp
pop ebp
ret 0xc