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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x586928
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x5ea6c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
call fcn.004a9670
mov eax, dword [esi + 0x558]
add esi, 0x558
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 0x38], ebx
call dword [eax + 0xc]
test eax, eax
jle 0x4edac7
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x100]
mov ecx, eax
call fcn.00438630
mov ebx, eax
mov dword [ebp - 0x18], 0
mov edi, ebx
mov dword [ebp - 0x14], 7
xor eax, eax
mov word [ebp - 0x28], ax
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4ed8d6
sub edi, ecx
sar edi, 1
cmp edi, 7
ja 0x4ed916
lea esi, [edi + edi]
mov dword [ebp - 0x18], edi
push esi
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.00553160
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x28], ax
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ebx
jmp 0x4ed975
cmp edi, 0x7ffffffe
ja 0x4edae3
mov esi, edi
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4ed936
mov esi, SysReAllocString
jmp 0x4ed941
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x2c], esi
push eax
lea ecx, [ebp - 0x28]
call fcn.0040e490
mov dword [ebp - 0x14], esi
lea esi, [edi + edi]
push esi
push ebx
mov ebx, eax
mov dword [ebp - 0x30], eax
push ebx
mov dword [ebp - 0x18], edi
call fcn.00552be0
add esp, 0xc
mov dword [ebp - 0x28], ebx
xor eax, eax
mov word [ebx + esi], ax
mov eax, dword [ebp - 0x2c]
cmp eax, 8
mov dword [ebp - 4], 0
lea esi, [ebp - 0x28]
mov edx, 0x811c9dc5
cmovae esi, ebx
lea ebx, [edi + edi]
xor ecx, ecx
test ebx, ebx
je 0x4ed9a4
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4ed993
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 0xaa4]
and eax, edx
mov edx, dword [ecx + 0xa98]
mov ecx, dword [ecx + 0xa90]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
mov esi, dword [edx + eax*8]
add eax, eax
lea ebx, [eax*4 + 4]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], eax
cmp eax, ecx
jne 0x4ed9de
mov eax, ecx
jmp 0x4ed9e3
mov eax, dword [ebx + edx]
mov eax, dword [eax]
cmp esi, eax
je 0x4eda53
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x28]
lea ebx, [esi + 8]
cmovae eax, dword [ebp - 0x30]
cmp dword [esi + 0x1c], 8
jb 0x4ed9fe
mov ebx, dword [esi + 8]
mov edx, dword [esi + 0x18]
cmp edx, edi
jne 0x4eda46
test edx, edx
je 0x4eda21
sub ebx, eax
nop dword [eax + eax]
mov cx, word [ebx + eax]
cmp cx, word [eax]
jne 0x4eda43
add eax, 2
sub edx, 1
jne 0x4eda10
mov edi, dword [ebp - 0x34]
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0xa8c]
call fcn.0046fb90
test al, al
je 0x4eda55
mov esi, dword [edi + 0xa90]
jmp 0x4eda55
mov ecx, dword [ebp - 0x3c]
mov esi, dword [esi]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x48]
jmp 0x4ed9d6
mov esi, ecx
mov edi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x38]
cmp esi, dword [edi + 0xa90]
je 0x4eda6d
push 0
push ebx
mov ecx, edi
call fcn.004ed250
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x4edaaa
mov edx, dword [ebp - 0x30]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4edaa0
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4edae8
push ecx
push edx
call fcn.0051238c
add esp, 8
mov eax, dword [edi + 0x558]
lea esi, [edi + 0x558]
inc ebx
mov ecx, esi
mov dword [ebp - 0x38], ebx
call dword [eax + 0xc]
cmp ebx, eax
jl 0x4ed8a3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00512634
mov esp, ebp
pop ebp
ret
call fcn.0040e390
call fcn.00556b30
int3