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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 4], ecx
cmp dword [ebx + 0x14], 0x10
mov edi, dword [ebx + 0x10]
mov dword [ebp - 8], edi
jb 0x45953f
mov esi, dword [ebx]
jmp 0x459541
mov esi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x459561
lea esp, [esp]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x459550
mov ecx, dword [ebp - 4]
mov eax, dword [ecx + 0x18]
mov edi, dword [ecx + 4]
and eax, edx
lea esi, [eax*8]
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x10], esi
mov edx, dword [eax + esi]
mov dword [ebp - 0xc], edx
cmp edi, edx
je 0x459669
mov edi, dword [eax + esi + 4]
mov edi, dword [edi]
cmp edi, edx
je 0x459669
mov edi, dword [edi + 4]
cmp dword [edi + 0x1c], 0x10
jb 0x4595a3
mov esi, dword [edi + 8]
jmp 0x4595a6
lea esi, [edi + 8]
cmp dword [ebx + 0x14], 0x10
jb 0x4595b0
mov edx, dword [ebx]
jmp 0x4595b2
mov edx, ebx
mov ebx, dword [edi + 0x18]
mov eax, ebx
mov ecx, dword [ebp - 8]
cmp ecx, ebx
cmovb eax, ecx
test eax, eax
je 0x45961b
sub eax, 4
jb 0x4595d9
mov ecx, dword [edx]
cmp ecx, dword [esi]
jne 0x4595de
add edx, 4
add esi, 4
sub eax, 4
jae 0x4595c8
cmp eax, 0xfffffffc
je 0x459612
mov cl, byte [edx]
cmp cl, byte [esi]
jne 0x45960b
cmp eax, 0xfffffffd
je 0x459612
mov cl, byte [edx + 1]
cmp cl, byte [esi + 1]
jne 0x45960b
cmp eax, 0xfffffffe
je 0x459612
mov cl, byte [edx + 2]
cmp cl, byte [esi + 2]
jne 0x45960b
cmp eax, 0xffffffff
je 0x459612
mov al, byte [edx + 3]
cmp al, byte [esi + 3]
je 0x459612
sbb eax, eax
or eax, 1
jmp 0x459614
xor eax, eax
test eax, eax
jne 0x459621
mov ecx, dword [ebp - 8]
cmp ecx, ebx
jb 0x459621
jbe 0x45962e
cmp edi, dword [ebp - 0xc]
je 0x459669
mov ebx, dword [ebp + 0xc]
jmp 0x459595
mov esi, dword [ebp + 0x10]
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ecx], eax
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 4]
dec dword [ecx + 8]
lea ecx, [esi + 8]
call fcn.0045a610
push esi
call fcn.0046101e
mov eax, dword [ebp + 8]
add esp, 4
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 0
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
cmp edi, eax
je 0x459693
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 edx, dword [ebp - 4]
mov ebx, dword [ebp - 0x10]
mov ecx, dword [edx + 0xc]
add ecx, ebx
mov eax, dword [ecx]
cmp eax, dword [edx + 4]
jne 0x4596b0
mov dword [ecx], esi
mov eax, dword [edx + 0xc]
mov dword [eax + ebx + 4], esi
jmp 0x4596d2
cmp eax, edi
jne 0x4596b8
mov dword [ecx], esi
jmp 0x4596d2
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, esi
je 0x4596d2
mov ecx, dword [edx + 0xc]
mov eax, dword [ecx + ebx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + ebx + 4], eax
mov ecx, edx
call fcn.0045e150
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc