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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57bcf2
mov eax, dword fs:[0]
push eax
sub esp, 0xb0
mov eax, dword [0x5e8024]
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 ebx, ecx
mov dword [ebp - 0xa8], ebx
cmp dword [ebx + 0x60], 0
jne 0x4f8573
xor al, al
jmp 0x4f87e6
mov eax, dword [ebx + 0x60]
sub esp, 0x18
add eax, dword [ebx + 0x5c]
mov ecx, dword [ebx + 0x58]
mov dword [ebp - 0xb0], eax
dec ecx
dec eax
mov dword [ebp - 0xb8], esp
and ecx, eax
mov eax, dword [ebx + 0x54]
mov ebx, dword [ebx + 0x24]
mov esi, dword [eax + ecx*4]
mov ecx, esp
mov eax, dword [ebx]
push 0
push 0x593988
mov dword [ecx], 0
mov edi, dword [eax + 8]
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.004082a0
mov dword [ebp - 4], 0
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xbc], esp
push esi
call fcn.00407250
mov byte [ebp - 4], 1
push 0x138f
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call fcn.004e7d90
mov dword [ebp - 4], 2
mov ecx, ebx
push eax
call edi
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x40]
call fcn.00408570
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00408570
mov ebx, dword [ebp - 0xa8]
cmp dword [ebx + 0x60], 0
je 0x4f872d
mov eax, dword [ebx + 0x60]
add eax, dword [ebx + 0x5c]
mov ecx, dword [ebx + 0x58]
mov dword [ebp - 0xb0], eax
dec ecx
dec eax
and ecx, eax
mov eax, dword [ebx + 0x54]
mov eax, dword [eax + ecx*4]
mov edi, eax
mov dword [ebp - 0xa8], eax
cmp dword [eax + 0x14], 8
mov esi, dword [eax + 0x10]
jb 0x4f8655
mov edi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
add esi, esi
je 0x4f8677
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4f8660
mov eax, dword [ebp - 0xa8]
push edx
push eax
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebx + 0x64]
call fcn.0040b800
mov eax, dword [eax + 4]
test eax, eax
jne 0x4f8692
mov eax, dword [ebx + 0x68]
cmp eax, dword [ebx + 0x68]
je 0x4f869c
mov edx, dword [eax + 0x20]
jmp 0x4f869e
xor edx, edx
mov ecx, dword [ebx + 0x24]
xor esi, esi
mov eax, dword [ecx]
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x5c], 0x13a8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], si
mov dword [ebp - 4], 5
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], si
mov byte [ebp - 4], 6
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 7
lea edx, [ebp - 0x5c]
push edx
call dword [eax + 8]
mov dword [ebp - 4], 8
lea ecx, [ebp - 0x40]
call fcn.00408570
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
jmp 0x4f87df
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0xa4], 0x13a4
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov dword [ebp - 4], 0xa
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x70], 0x13a8
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 0xc
lea edx, [ebp - 0xa4]
mov ecx, dword [ebx + 0x24]
push edx
mov eax, dword [ecx]
call dword [eax + 8]
mov dword [ebp - 4], 0xd
lea ecx, [ebp - 0x88]
call fcn.00408570
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.00408570
mov al, 1
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.0052df57
mov esp, ebp
pop ebp
ret 4