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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dc800
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x51b170]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, ecx
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0
mov ebx, dword [ebp + 0xc]
mov esi, ebx
cmp dword [ebx + 0x14], 0x10
mov edi, dword [ebx + 0x10]
jb 0x4314e7
mov esi, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x431506
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x4314f2
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x18]
mov edi, dword [ebp - 0x14]
and eax, edx
lea ecx, [eax*8]
mov dword [ebp - 0x18], ecx
add ecx, dword [edi + 0xc]
mov edi, dword [edi + 4]
mov dword [ebp + 0xc], ecx
cmp dword [ecx], edi
je 0x43152a
mov edi, dword [ecx + 4]
mov edi, dword [edi]
mov esi, dword [ebx + 0x10]
nop dword [eax]
cmp edi, dword [ecx]
je 0x4315f5
mov edi, dword [edi + 4]
cmp dword [edi + 0x1c], 0x10
lea eax, [edi + 8]
mov ecx, dword [eax + 0x10]
jb 0x431549
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0x10
mov edx, ebx
jb 0x431553
mov edx, dword [ebx]
cmp esi, ecx
mov ecx, dword [ebp + 0xc]
jne 0x431530
sub esi, 4
jb 0x431571
nop
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x431576
add edx, 4
add eax, 4
sub esi, 4
jae 0x431560
cmp esi, 0xfffffffc
je 0x4315aa
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x4315a3
cmp esi, 0xfffffffd
je 0x4315aa
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x4315a3
cmp esi, 0xfffffffe
je 0x4315aa
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x4315a3
cmp esi, 0xffffffff
je 0x4315aa
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x4315aa
sbb eax, eax
or eax, 1
jmp 0x4315ac
xor eax, eax
mov esi, dword [ebx + 0x10]
mov ecx, dword [ebp + 0xc]
test eax, eax
jne 0x431530
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [edx + 4]
mov eax, dword [edx]
mov dword [ecx], eax
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x14]
dec dword [eax + 8]
call fcn.0041ab00
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov byte [eax + 4], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebp + 0x10]
mov dword [ebp + 0xc], esi
mov eax, dword [esi]
cmp edi, eax
je 0x431622
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 - 0x14]
mov ebx, dword [ebp - 0x18]
mov ecx, dword [edx + 0xc]
add ecx, ebx
mov eax, dword [ecx]
cmp eax, dword [edx + 4]
jne 0x43163f
mov dword [ecx], esi
mov eax, dword [edx + 0xc]
mov dword [eax + ebx + 4], esi
jmp 0x431661
cmp eax, edi
jne 0x431647
mov dword [ecx], esi
jmp 0x431661
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, esi
je 0x431661
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
mov dword [ebp - 4], 2
call fcn.0042d9f0
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc