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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56e670
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x5d0074]
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 - 0x3c], ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x48]
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x74], 0x581580
mov dword [ebp - 0x44], eax
jb 0x518b6e
mov esi, dword [esi]
cmp dword [edx + 0x10], 0
mov ecx, dword [ecx + 4]
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], 0
mov eax, dword [ecx]
jne 0x518b87
xor edx, edx
jmp 0x518b8f
cmp dword [edx + 0x14], 8
jb 0x518b8f
mov edx, dword [edx]
lea esi, [ebp - 0x74]
push esi
push edx
push 0
lea edx, [ebp - 0x7c]
push edx
push edi
call dword [eax + 4]
mov edi, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
mov dword [ebp - 0x34], edi
cmp esi, edi
je 0x518d2a
nop
mov ecx, dword [esi]
mov dword [ebp - 0x38], ecx
mov eax, dword [ecx + 0x10]
test eax, eax
je 0x518d1f
mov edx, dword [ecx + 0x14]
mov ebx, ecx
mov dword [ebp - 0x6c], edx
cmp edx, 8
jb 0x518bcf
mov ebx, dword [ecx]
add eax, eax
mov edx, 0x811c9dc5
mov dword [ebp - 0x30], eax
xor eax, eax
cmp dword [ebp - 0x30], eax
jbe 0x518bfa
mov edi, dword [ebp - 0x30]
movzx ecx, byte [eax + ebx]
inc eax
xor ecx, edx
imul edx, ecx, 0x1000193
cmp eax, edi
jb 0x518be3
mov edi, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
mov ebx, dword [ebp - 0x3c]
mov eax, dword [ebx + 0x4c]
and eax, edx
mov edx, dword [ebx + 0x40]
mov edx, dword [edx + eax*8]
lea eax, [eax*8 + 4]
mov dword [ebp - 0x64], eax
mov ebx, edx
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x60], edx
mov edx, dword [eax + 0x38]
mov dword [ebp - 0x30], edx
cmp dword [ebp - 0x60], edx
jne 0x518c29
mov eax, edx
jmp 0x518c3d
mov edx, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x64]
mov eax, dword [edx + 0x40]
mov edx, dword [ebp - 0x30]
mov eax, dword [edi + eax]
mov edi, dword [ebp - 0x34]
mov eax, dword [eax]
cmp ebx, eax
je 0x518cd9
cmp dword [ecx + 0x14], 8
lea eax, [ebx + 8]
mov edi, dword [ecx + 0x10]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], edi
mov dword [ebp - 0x4c], ecx
jb 0x518c62
mov edx, dword [ecx]
mov dword [ebp - 0x4c], edx
mov edx, dword [ebp - 0x30]
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x5c], edi
mov edi, dword [eax + 0x14]
cmp edi, 8
mov dword [ebp - 0x68], edi
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x50], eax
jb 0x518c7e
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x5c]
cmp eax, dword [ebp - 0x58]
jne 0x518c9f
mov edx, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x50]
push eax
call fcn.00406f00
add esp, 4
test eax, eax
je 0x518ca6
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x30]
mov ebx, dword [ebx]
jmp 0x518c20
cmp dword [ebp - 0x68], 8
mov edx, dword [ebp - 0x54]
jb 0x518cb1
mov edx, dword [edx]
cmp dword [ebp - 0x6c], 8
mov ecx, dword [ebp - 0x38]
jb 0x518cbc
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x5c]
jne 0x518cd6
push eax
call fcn.00406f00
add esp, 4
test eax, eax
jne 0x518cd6
mov edx, dword [ebp - 0x30]
jmp 0x518cdb
mov edx, dword [ebp - 0x30]
mov ebx, edx
cmp ebx, edx
jne 0x518d1f
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0x3c]
push eax
push dword [esi]
call fcn.0051a310
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00407c80
add esi, 0xc
cmp esi, edi
jne 0x518bb0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x48]
test esi, esi
je 0x518da5
mov edi, dword [ebp - 0x44]
cmp esi, edi
je 0x518d51
nop
mov ecx, esi
call fcn.004066b0
add esi, 0xc
cmp esi, edi
jne 0x518d40
mov esi, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x40]
mov eax, 0x2aaaaaab
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*2]
mov eax, esi
shl ecx, 2
cmp ecx, 0x1000
jb 0x518d86
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x518dc3
push ecx
push esi
call fcn.00520c13
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 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.00520c02
mov esp, ebp
pop ebp
ret 0xc
call fcn.00526089
int3