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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42aa90
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x14]
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ecx
cmp ecx, 0x10
jb 0x40a71d
mov esi, dword [eax]
jmp 0x40a71f
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x40a741
lea ebx, [ebx]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x40a730
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebx + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [ebx + 0x18], ecx
ja 0x40a759
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov edx, dword [ebx + 8]
lea esi, [ecx*8]
mov edi, dword [ebx]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x28], esi
mov eax, dword [esi + edx]
cmp edi, eax
je 0x40a84c
mov edi, dword [esi + edx + 4]
mov edi, dword [edi]
cmp edi, eax
je 0x40a84c
lea eax, [ecx*8]
mov dword [ebp - 0x24], eax
mov edi, edi
mov edi, dword [edi + 4]
cmp dword [edi + 0x1c], 0x10
lea ecx, [edi + 8]
mov ebx, dword [ecx + 0x10]
jb 0x40a7a1
mov ecx, dword [ecx]
cmp dword [ebp - 0x1c], 0x10
mov esi, dword [ebp + 0xc]
jb 0x40a7ac
mov esi, dword [esi]
mov eax, dword [ebp - 0x18]
mov edx, ebx
cmp eax, ebx
cmovb edx, eax
test edx, edx
je 0x40a818
sub edx, 4
jb 0x40a7d1
nop
mov eax, dword [esi]
cmp eax, dword [ecx]
jne 0x40a7d6
add esi, 4
add ecx, 4
sub edx, 4
jae 0x40a7c0
cmp edx, 0xfffffffc
je 0x40a80a
mov al, byte [esi]
cmp al, byte [ecx]
jne 0x40a803
cmp edx, 0xfffffffd
je 0x40a80a
mov al, byte [esi + 1]
cmp al, byte [ecx + 1]
jne 0x40a803
cmp edx, 0xfffffffe
je 0x40a80a
mov al, byte [esi + 2]
cmp al, byte [ecx + 2]
jne 0x40a803
cmp edx, 0xffffffff
je 0x40a80a
mov al, byte [esi + 3]
cmp al, byte [ecx + 3]
je 0x40a80a
sbb eax, eax
or eax, 1
jmp 0x40a80c
xor eax, eax
test eax, eax
je 0x40a815
mov ecx, dword [ebp + 0xc]
jmp 0x40a82c
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 0xc]
cmp eax, ebx
jae 0x40a824
or eax, 0xffffffff
jmp 0x40a82c
xor eax, eax
cmp dword [ecx + 0x10], ebx
setne al
test eax, eax
sete al
test al, al
sete al
test al, al
je 0x40a896
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
cmp edi, dword [ecx + eax]
jne 0x40a790
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
cmp edi, eax
je 0x40a87d
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 - 0x28]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x40a8ec
mov dword [ecx], esi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], esi
jmp 0x40a90e
lea eax, [edi + 8]
push ecx
push eax
call fcn.00408ef0
test al, al
je 0x40a8a8
mov edi, dword [edi]
jmp 0x40a849
push dword [ebp + 0x10]
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 0xc]
push eax
call fcn.0040ac10
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
cmp eax, edi
jne 0x40a8f4
mov dword [ecx], esi
jmp 0x40a90e
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, esi
je 0x40a90e
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.0040aab0
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