Function at 0x100177c0
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 - 0x18], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + 0x14]
push esi
push edi
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x1c], ecx
cmp ecx, 0x10
jb 0x100177f7
mov esi, dword [eax]
jmp 0x100177f9
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x10017815
movzx eax, byte [ecx + esi]
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
cmp ecx, ebx
jb 0x10017804
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebx + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [ebx + 0x18], ecx
ja 0x1001782d
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov edi, dword [ebx]
shl ecx, 3
mov dword [ebp - 0x20], ecx
add ecx, dword [ebx + 8]
mov eax, dword [ecx]
cmp edi, eax
je 0x10017901
mov edi, dword [ecx + 4]
mov edi, dword [edi]
cmp edi, eax
je 0x10017901
nop
mov edi, dword [edi + 4]
cmp dword [edi + 0x1c], 0x10
mov ecx, dword [edi + 0x18]
lea edx, [edi + 8]
mov dword [ebp - 0x14], ecx
jb 0x10017864
mov edx, dword [edx]
cmp dword [ebp - 0x1c], 0x10
mov ebx, dword [ebp - 8]
jb 0x1001786f
mov ebx, dword [ebx]
cmp dword [ebp - 0xc], ecx
mov esi, ecx
cmovb esi, dword [ebp - 0xc]
test esi, esi
je 0x100178d4
sub esi, 4
jb 0x10017892
mov ecx, dword [ebx]
cmp ecx, dword [edx]
jne 0x10017897
add ebx, 4
add edx, 4
sub esi, 4
jae 0x10017881
cmp esi, 0xfffffffc
je 0x100178cb
mov cl, byte [ebx]
cmp cl, byte [edx]
jne 0x100178c4
cmp esi, 0xfffffffd
je 0x100178cb
mov cl, byte [ebx + 1]
cmp cl, byte [edx + 1]
jne 0x100178c4
cmp esi, 0xfffffffe
je 0x100178cb
mov cl, byte [ebx + 2]
cmp cl, byte [edx + 2]
jne 0x100178c4
cmp esi, 0xffffffff
je 0x100178cb
mov cl, byte [ebx + 3]
cmp cl, byte [edx + 3]
je 0x100178cb
sbb ecx, ecx
or ecx, 1
jmp 0x100178cd
xor ecx, ecx
test ecx, ecx
jne 0x100178ea
mov ecx, dword [ebp - 0x14]
mov ebx, dword [ebp - 0xc]
cmp ebx, ecx
jae 0x100178e0
or ecx, 0xffffffff
jmp 0x100178e8
xor ecx, ecx
cmp ebx, dword [ebp - 0x14]
setne cl
test ecx, ecx
sete cl
test cl, cl
sete cl
test cl, cl
je 0x1001792d
cmp edi, eax
jne 0x10017850
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebx]
push dword [ebp - 8]
mov esi, dword [eax]
push dword [esi + 4]
push esi
call fcn.10018290
mov edx, eax
mov eax, dword [ebx + 4]
mov ecx, 0x7fffffe
sub ecx, eax
cmp ecx, 1
jae 0x1001795d
push str.list_T__too_long
call dword [sym.imp.MSVCP110.dll_void___cdecl_std::_Xlength_error_char_const__]
push dword [ebp - 8]
lea eax, [edi + 8]
push eax
call fcn.10017100
test al, al
je 0x10017941
mov edi, dword [edi]
jmp 0x100178fe
mov eax, dword [ebp - 0x18]
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
inc eax
mov dword [ebx + 4], eax
mov dword [esi + 4], edx
mov eax, dword [edx + 4]
mov dword [eax], edx
mov esi, dword [ebx]
mov esi, dword [esi]
mov eax, dword [esi]
cmp edi, eax
je 0x10017994
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 - 0x20]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x100179ad
mov dword [ecx], esi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], esi
jmp 0x100179cd
cmp eax, edi
jne 0x100179b5
mov dword [ecx], esi
jmp 0x100179cd
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, esi
je 0x100179cd
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.100179f0
mov eax, dword [ebp - 0x18]
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