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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x10048070]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [eax + 0x10]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 0x14]
push esi
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
cmp ecx, 0x10
jb 0x10017c0c
mov esi, dword [eax]
jmp 0x10017c0e
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x10017c31
lea esp, [esp]
movzx eax, byte [ecx + esi]
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
cmp ecx, ebx
jb 0x10017c20
mov ebx, dword [esp + 0x14]
mov esi, dword [ebx + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [ebx + 0x18], ecx
ja 0x10017c4a
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov edi, dword [ebx]
shl ecx, 3
mov dword [esp + 0x1c], ecx
add ecx, dword [ebx + 8]
mov eax, dword [ecx]
mov dword [esp + 0x28], eax
cmp edi, eax
je 0x10017d3b
mov edi, dword [ecx + 4]
mov edi, dword [edi]
cmp edi, eax
je 0x10017d3b
mov edi, dword [edi + 4]
cmp dword [edi + 0x1c], 0x10
mov edx, dword [edi + 0x18]
lea ecx, [edi + 8]
mov dword [esp + 0x24], edx
jb 0x10017c86
mov ecx, dword [ecx]
cmp dword [esp + 0x20], 0x10
mov ebx, dword [esp + 0x10]
jb 0x10017c93
mov ebx, dword [ebx]
mov eax, dword [esp + 0x10]
mov esi, edx
cmp dword [eax + 0x10], edx
cmovb esi, dword [eax + 0x10]
mov eax, dword [esp + 0x28]
test esi, esi
je 0x10017d0a
sub esi, 4
jb 0x10017cc1
lea ecx, [ecx]
mov edx, dword [ebx]
cmp edx, dword [ecx]
jne 0x10017cc6
add ebx, 4
add ecx, 4
sub esi, 4
jae 0x10017cb0
cmp esi, 0xfffffffc
je 0x10017cfa
mov dl, byte [ebx]
cmp dl, byte [ecx]
jne 0x10017cf3
cmp esi, 0xfffffffd
je 0x10017cfa
mov dl, byte [ebx + 1]
cmp dl, byte [ecx + 1]
jne 0x10017cf3
cmp esi, 0xfffffffe
je 0x10017cfa
mov dl, byte [ebx + 2]
cmp dl, byte [ecx + 2]
jne 0x10017cf3
cmp esi, 0xffffffff
je 0x10017cfa
mov dl, byte [ebx + 3]
cmp dl, byte [ecx + 3]
je 0x10017cfa
sbb ecx, ecx
or ecx, 1
jmp 0x10017cfc
xor ecx, ecx
test ecx, ecx
je 0x10017d06
mov esi, dword [esp + 0x10]
jmp 0x10017d21
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
mov ebx, dword [esi + 0x10]
cmp ebx, edx
jae 0x10017d1a
or ecx, 0xffffffff
jmp 0x10017d21
xor ecx, ecx
cmp ebx, edx
setne cl
test ecx, ecx
sete cl
test cl, cl
sete cl
test cl, cl
je 0x10017d7f
cmp edi, eax
jne 0x10017c71
mov ebx, dword [esp + 0x14]
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
cmp edi, eax
je 0x10017d65
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 [esp + 0x1c]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x10017dc0
mov dword [ecx], esi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], esi
jmp 0x10017de2
lea eax, [edi + 8]
push esi
push eax
call fcn.10017100
test al, al
je 0x10017d91
mov edi, dword [edi]
jmp 0x10017d37
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
call fcn.10018120
mov eax, dword [esp + 0x18]
mov dword [eax], edi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.10029016
mov esp, ebp
pop ebp
ret 0xc
cmp eax, edi
jne 0x10017dc8
mov dword [ecx], esi
jmp 0x10017de2
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, esi
je 0x10017de2
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.10018060
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
pop edi
mov dword [eax], esi
pop esi
pop ebx
xor ecx, esp
mov byte [eax + 4], 1
call fcn.10029016
mov esp, ebp
pop ebp
ret 0xc