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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5789d3
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x5dd024]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
cmp edx, eax
je 0x50cad4
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [edx + 4]
mov dword [ebp - 0x20], ecx
mov ecx, edx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], 0
lea esi, [edx + 8]
cmp dword [esi + 0x14], 8
mov eax, dword [edx + 4]
mov ebx, dword [esi + 0x10]
mov dword [ebp - 0x30], eax
jb 0x50c936
mov esi, dword [esi]
xor edx, edx
mov edi, 0x811c9dc5
add ebx, ebx
je 0x50c952
movzx eax, byte [edx + esi]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
cmp edx, ebx
jb 0x50c941
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + 0x18]
and eax, edi
lea eax, [edx + eax*8]
mov edx, dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x2c], eax
nop
mov edi, ecx
cmp ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x3c], eax
sete bl
mov dword [ebp - 0x28], eax
lea esi, [edi + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 1
lea ecx, [esi + 0x18]
call fcn.00508a00
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.00407f30
push 0xb8
push edi
call fcn.005255cc
mov ecx, dword [ebp - 0x14]
add esp, 8
dec dword [ecx + 8]
test bl, bl
jne 0x50c9d9
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
jne 0x50c970
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 8]
jne 0x50cac2
mov eax, dword [ebp - 0x18]
jmp 0x50cac0
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp + 8]
mov eax, dword [ebp - 0x18]
jne 0x50c9eb
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
jmp 0x50c9ee
mov ecx, dword [ebp - 0x30]
mov dword [eax + 4], ecx
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 0xc]
je 0x50cac2
nop dword [eax]
cmp dword [ecx + 0x1c], 8
lea edx, [ecx + 8]
mov edi, dword [edx + 0x10]
jb 0x50ca0e
mov edx, dword [edx]
xor eax, eax
mov esi, 0x811c9dc5
add edi, edi
je 0x50ca34
nop dword [eax]
movzx ecx, byte [eax + edx]
inc eax
xor ecx, esi
imul esi, ecx, 0x1000193
cmp eax, edi
jb 0x50ca20
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov eax, dword [eax + 0x18]
and eax, esi
lea eax, [edx + eax*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x2c], eax
nop dword [eax + eax]
mov edi, ecx
cmp ecx, eax
mov eax, dword [ecx]
mov dword [ebp - 0x3c], eax
sete bl
mov dword [ebp - 0x30], eax
lea esi, [edi + 8]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x38], esi
mov byte [ebp - 4], 3
lea ecx, [esi + 0x18]
call fcn.00508a00
mov byte [ebp - 4], 0
mov ecx, esi
call fcn.00407f30
push 0xb8
push edi
call fcn.005255cc
mov eax, dword [ebp - 0x14]
add esp, 8
mov ecx, dword [ebp - 0x10]
dec dword [eax + 8]
test bl, bl
jne 0x50caa7
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 0x30], eax
je 0x50cabd
mov eax, dword [ebp - 0x2c]
jmp 0x50ca50
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x24]
mov dword [eax], ebx
mov dword [eax + 4], ebx
cmp ecx, dword [ebp + 0xc]
jne 0x50ca00
jmp 0x50cac2
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
mov dword [eax], ecx
mov dword [ecx + 4], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8