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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x541380
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x58fc74]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov eax, dword [ebp + 8]
mov esi, eax
cmp dword [eax + 0x14], 0x10
mov ebx, dword [eax + 0x10]
mov dword [ebp - 0x18], ebx
jb 0x47f9b0
mov esi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x47f9d1
nop dword [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x47f9c0
mov eax, dword [edi + 0x18]
mov esi, dword [ebp - 0x18]
and eax, edx
mov edx, dword [edi + 0xc]
mov dword [ebp - 0x20], edx
mov edi, dword [edx + eax*8]
add eax, eax
lea ecx, [eax*4 + 4]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x10]
add ecx, 4
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x14], ecx
mov ebx, dword [ecx]
nop
cmp eax, ebx
jne 0x47fa08
mov eax, ebx
jmp 0x47fa10
mov eax, dword [ebp - 0x24]
mov eax, dword [edx + eax]
mov eax, dword [eax]
cmp edi, eax
je 0x47faae
mov ecx, dword [ebp + 8]
mov edx, ecx
cmp dword [ecx + 0x14], 0x10
jb 0x47fa25
mov edx, dword [ecx]
cmp dword [edi + 0x1c], 0x10
lea ecx, [edi + 8]
jb 0x47fa31
mov ecx, dword [edi + 8]
push esi
push edx
push dword [edi + 0x18]
push ecx
call fcn.0041a3a0
add esp, 0x10
test al, al
jne 0x47fa4d
mov edi, dword [edi]
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
jmp 0x47fa00
mov esi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x28], esi
mov esi, dword [ebp + 8]
cmp dword [ebp - 0x1c], ebx
jne 0x47fa61
mov eax, ebx
jmp 0x47fa71
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + ecx]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax]
mov ebx, dword [ecx]
cmp edi, eax
je 0x47faa4
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
jb 0x47fa81
mov edx, dword [edi + 8]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x47fa8b
mov ecx, dword [esi]
push dword [edi + 0x18]
mov eax, dword [esi + 0x10]
push edx
push eax
push ecx
call fcn.0041a3a0
add esp, 0x10
test al, al
je 0x47faa4
mov edi, dword [edi]
jmp 0x47fa58
cmp dword [ebp - 0x28], edi
je 0x47faae
mov ecx, dword [ebp - 0x18]
jmp 0x47fab2
mov ecx, ebx
mov edi, ebx
mov eax, ecx
xor ebx, ebx
mov dword [ebp - 0x24], ebx
cmp eax, edi
je 0x47faca
nop dword [eax]
mov eax, dword [eax]
inc ebx
cmp eax, edi
jne 0x47fac0
mov dword [ebp - 0x24], ebx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
cmp ecx, dword [eax]
jne 0x47fb05
cmp edi, eax
jne 0x47fb05
mov ecx, edx
mov dword [ebp - 4], 0
call fcn.0047eaf0
mov ecx, dword [ebp - 0x10]
push 8
call fcn.00472cd0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp ecx, edi
je 0x47faef
nop dword [eax]
mov esi, ecx
mov ecx, dword [ecx]
cmp dword [esi + 0x1c], 0x10
lea edx, [esi + 8]
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp + 8], edx
jb 0x47fb2b
mov eax, dword [edx]
mov dword [ebp + 8], eax
mov dword [ebp - 0x20], ecx
xor edx, edx
mov ecx, dword [esi + 0x18]
mov ebx, 0x811c9dc5
test ecx, ecx
je 0x47fb58
mov esi, dword [ebp + 8]
nop
movzx eax, byte [edx + esi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x47fb40
mov esi, dword [ebp - 0x28]
mov edx, dword [esi]
jmp 0x47fb5b
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
and ebx, dword [eax + 0x18]
mov eax, dword [eax + 0xc]
cmp dword [eax + ebx*8 + 4], esi
lea ecx, [eax + ebx*8]
jne 0x47fb8e
cmp dword [ecx], esi
jne 0x47fb86
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xc]
mov eax, dword [edx]
mov dword [ecx + ebx*8 + 4], eax
jmp 0x47fb94
mov eax, dword [esi + 4]
mov dword [ecx + 4], eax
jmp 0x47fb94
cmp dword [ecx], esi
jne 0x47fb94
mov dword [ecx], edx
mov edx, dword [esi + 4]
lea ecx, [esi + 8]
mov eax, dword [esi]
mov dword [edx], eax
mov edx, dword [esi]
mov eax, dword [esi + 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x10]
dec dword [eax + 8]
call fcn.0047dff0
push 0x28
push esi
call fcn.004fa19d
mov ecx, dword [ebp - 0x18]
add esp, 8
cmp ecx, edi
jne 0x47fb10
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4