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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x4c33d0]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x10]
push esi
push edi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
cmp ecx, 8
jb 0x451600
mov esi, dword [ebx]
jmp 0x451602
mov esi, ebx
lea edi, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x451621
movzx eax, byte [ecx + esi]
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
cmp ecx, edi
jb 0x451610
mov edi, dword [esp + 0x18]
mov ecx, dword [edi + 0x14]
and edx, ecx
cmp dword [edi + 0x18], edx
ja 0x451638
shr ecx, 1
or eax, 0xffffffff
sub eax, ecx
add edx, eax
mov esi, dword [edi]
lea ecx, [edx*8]
mov dword [esp + 0x28], ecx
add ecx, dword [edi + 8]
mov eax, dword [ecx]
cmp esi, eax
je 0x4516e7
mov esi, dword [ecx + 4]
mov esi, dword [esi]
cmp esi, eax
je 0x4516e7
nop
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 8
mov ecx, dword [esi + 0x18]
lea edx, [esi + 8]
mov dword [esp + 0x24], ecx
jb 0x451675
mov edx, dword [edx]
cmp dword [ebx + 0x14], 8
jb 0x45167f
mov edi, dword [ebx]
jmp 0x451681
mov edi, ebx
cmp dword [esp + 0x10], ecx
mov ebx, ecx
cmovb ebx, dword [esp + 0x10]
test ebx, ebx
jne 0x4516a7
xor ecx, ecx
mov ebx, dword [esp + 0x10]
test ecx, ecx
jne 0x4516cf
mov edx, dword [esp + 0x24]
cmp ebx, edx
jae 0x4516c6
or ecx, 0xffffffff
jmp 0x4516cd
mov cx, word [edi]
cmp cx, word [edx]
jne 0x4516b8
add edi, 2
add edx, 2
dec ebx
jmp 0x45168e
movzx ecx, word [edi]
cmp cx, word [edx]
sbb ecx, ecx
and ecx, 0xfffffffe
inc ecx
jmp 0x451692
xor ecx, ecx
cmp ebx, edx
setne cl
test ecx, ecx
sete cl
test cl, cl
sete cl
test cl, cl
je 0x451732
mov ebx, dword [esp + 0x14]
cmp esi, eax
jne 0x451660
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x451711
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 ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
mov ecx, dword [ebx + 8]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x451796
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [edx + eax + 4], edi
jmp 0x4517b6
cmp dword [esp + 0x20], 8
mov eax, dword [esp + 0x14]
lea ecx, [esi + 8]
jb 0x451742
mov eax, dword [eax]
push ebx
push eax
push dword [ecx + 0x10]
push ecx
call fcn.0041a6e0
test eax, eax
je 0x451755
mov esi, dword [esi]
jmp 0x4516e7
mov ebx, dword [esp + 0x18]
mov edi, dword [ebp + 0x10]
cmp edi, dword [ebx]
je 0x451778
mov ecx, dword [edi + 4]
mov eax, dword [edi]
mov dword [ecx], eax
mov edx, dword [edi]
mov ecx, dword [edi + 4]
push edi
mov dword [edx + 4], ecx
call fcn.004514a0
dec dword [ebx + 4]
mov eax, dword [esp + 0x1c]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0047cd06
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x45179e
mov dword [ecx], edi
jmp 0x4517b6
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x4517b6
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.004517e0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov dword [eax], edi
pop edi
pop esi
pop ebx
xor ecx, esp
mov byte [eax + 4], 1
call fcn.0047cd06
mov esp, ebp
pop ebp
ret 0xc