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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4ea0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4dc04c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0x14]
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0x2c], ecx
cmp ecx, 0x10
jb 0x4065a9
mov esi, dword [eax]
jmp 0x4065ab
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x4065c7
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4065b6
mov ebx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x18]
mov edi, dword [ebx + 0xc]
and eax, edx
lea ecx, [eax*8]
mov eax, dword [edi + ecx]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x30], eax
cmp eax, dword [ebx + 4]
jne 0x4065ec
mov edi, dword [ebx + 4]
jmp 0x4065f2
mov edi, dword [edi + ecx + 4]
mov edi, dword [edi]
cmp edi, eax
je 0x4066aa
nop word [eax + eax]
mov edi, dword [edi + 4]
cmp dword [edi + 0x1c], 0x10
lea ecx, [edi + 8]
lea edx, [ecx + 0x10]
jb 0x406611
mov ecx, dword [ecx]
cmp dword [ebp - 0x2c], 0x10
mov ebx, dword [ebp - 0x18]
jb 0x40661c
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x18]
mov edx, dword [edx]
mov esi, edx
mov dword [ebp - 0x20], edx
cmp dword [eax + 0x10], edx
cmovb esi, dword [eax + 0x10]
mov eax, dword [ebp - 0x30]
test esi, esi
je 0x406693
sub esi, 4
jb 0x406651
nop dword [eax]
mov edx, dword [ebx]
cmp edx, dword [ecx]
jne 0x406656
add ebx, 4
add ecx, 4
sub esi, 4
jae 0x406640
cmp esi, 0xfffffffc
je 0x40668a
mov dl, byte [ebx]
cmp dl, byte [ecx]
jne 0x406683
cmp esi, 0xfffffffd
je 0x40668a
mov dl, byte [ebx + 1]
cmp dl, byte [ecx + 1]
jne 0x406683
cmp esi, 0xfffffffe
je 0x40668a
mov dl, byte [ebx + 2]
cmp dl, byte [ecx + 2]
jne 0x406683
cmp esi, 0xffffffff
je 0x40668a
mov dl, byte [ebx + 3]
cmp dl, byte [ecx + 3]
je 0x40668a
sbb ecx, ecx
or ecx, 1
jmp 0x40668c
xor ecx, ecx
test ecx, ecx
jne 0x40669f
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x18]
mov ebx, dword [ecx + 0x10]
cmp ebx, edx
jb 0x40669f
jbe 0x4066f1
cmp edi, eax
jne 0x406600
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x20], esi
mov eax, dword [esi]
cmp edi, eax
je 0x4066d7
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 + 0xc]
mov edx, dword [ebp - 0x28]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx + 4]
jne 0x406741
mov dword [ecx], esi
mov eax, dword [ebx + 0xc]
mov dword [edx + eax + 4], esi
jmp 0x406761
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 - 0x1c]
dec dword [ecx + 8]
lea ecx, [esi + 8]
call fcn.00406de0
push esi
call fcn.00428749
mov eax, dword [ebp - 0x24]
add esp, 4
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 ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00428705
mov esp, ebp
pop ebp
ret 0xc
cmp eax, edi
jne 0x406749
mov dword [ecx], esi
jmp 0x406761
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, esi
je 0x406761
add edx, dword [ebx + 0xc]
mov eax, dword [edx + 4]
mov eax, dword [eax + 4]
mov dword [edx + 4], eax
mov ecx, ebx
mov dword [ebp - 4], 2
call fcn.00407290
mov eax, dword [ebp - 0x24]
mov dword [eax], esi
mov byte [eax + 4], 1
jmp 0x406723