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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b04c0
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x4ef340]
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 ebx, ecx
mov dword [ebp - 0x20], ebx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0x14]
mov edi, dword [eax + 0x10]
mov dword [ebp - 0x2c], ecx
cmp ecx, 8
jb 0x47b9db
mov esi, dword [eax]
jmp 0x47b9dd
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
add edi, edi
je 0x47b9f9
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x47b9e8
mov ecx, dword [ebx + 0x18]
and ecx, edx
mov edx, dword [ebx + 0xc]
lea esi, [ecx*8]
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x28], esi
mov eax, dword [edx + esi]
cmp eax, dword [ebx + 4]
jne 0x47ba1b
mov edi, dword [ebx + 4]
jmp 0x47ba21
mov edi, dword [edx + esi + 4]
mov edi, dword [edi]
cmp edi, eax
je 0x47ba89
lea eax, [ecx*8]
mov dword [ebp - 0x34], eax
nop
mov edi, dword [edi + 4]
cmp dword [edi + 0x1c], 8
lea eax, [edi + 8]
mov dword [ebp - 0x30], edi
lea ebx, [eax + 0x10]
jb 0x47ba44
mov eax, dword [eax]
cmp dword [ebp - 0x2c], 8
jb 0x47ba51
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
jmp 0x47ba54
mov edx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebx]
mov esi, ebx
cmp dword [edi + 0x10], ebx
cmovb esi, dword [edi + 0x10]
mov edi, dword [ebp - 0x30]
test esi, esi
jne 0x47bad3
xor eax, eax
test eax, eax
jne 0x47ba7b
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx + 0x10]
cmp eax, ebx
jb 0x47ba7b
jbe 0x47baf1
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x1c]
cmp edi, dword [ecx + eax]
jne 0x47ba30
mov ebx, dword [ebp - 0x20]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x1c], esi
mov eax, dword [esi]
cmp edi, eax
je 0x47bab6
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 0x47bb41
mov dword [ecx], esi
mov eax, dword [ebx + 0xc]
mov dword [eax + edx + 4], esi
jmp 0x47bb61
mov cx, word [edx]
cmp cx, word [eax]
jne 0x47bae6
add edx, 2
add eax, 2
sub esi, 1
jmp 0x47ba67
sbb eax, eax
and eax, 0xfffffffe
inc eax
jmp 0x47ba6b
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 - 0x20]
dec dword [ecx + 8]
lea ecx, [esi + 8]
call fcn.0047e220
push esi
call fcn.004385e3
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.0043cfdf
mov esp, ebp
pop ebp
ret 0xc
cmp eax, edi
jne 0x47bb49
mov dword [ecx], esi
jmp 0x47bb61
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, esi
je 0x47bb61
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.0047fe80
mov eax, dword [ebp - 0x24]
mov dword [eax], esi
mov byte [eax + 4], 1
jmp 0x47bb23