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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609fbc
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x7f206c]
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 edi, dword [0x800f60]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
lea eax, [edi + 4]
push eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x34], eax
call fcn.004a5780
add esp, 4
test eax, eax
je 0x4ed7cc
push eax
call fcn.004a5351
add esp, 4
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov edx, dword [eax]
mov ecx, edx
mov byte [ebp - 0x28], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ed7f0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.004074c0
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
mov ebx, dword [ebp - 0x18]
mov edx, 0x811c9dc5
cmovae esi, dword [ebp - 0x28]
xor ecx, ecx
test ebx, ebx
je 0x4ed831
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4ed820
mov eax, dword [edi + 0x4c]
mov ebx, dword [ebp - 0x2c]
and eax, edx
mov edx, dword [edi + 0x40]
mov dword [ebp - 0x3c], edx
mov esi, dword [ebx + 0x38]
mov ecx, dword [edx + eax*8]
lea eax, [eax*8 + 4]
mov dword [ebp - 0x38], ecx
mov edi, ecx
mov dword [ebp - 0x34], eax
cmp ecx, esi
jne 0x4ed85c
mov eax, esi
jmp 0x4ed861
mov eax, dword [eax + edx]
mov eax, dword [eax]
cmp edi, eax
je 0x4ed902
cmp dword [ebp - 0x14], 0x10
lea ecx, [edi + 8]
mov ebx, dword [ecx + 0x10]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
cmp dword [ecx + 0x14], 0x10
jb 0x4ed882
mov ecx, dword [ecx]
cmp ebx, dword [ebp - 0x18]
jne 0x4ed8e0
sub ebx, 4
jb 0x4ed8a1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4ed8a6
add ecx, 4
add edx, 4
sub ebx, 4
jae 0x4ed890
cmp ebx, 0xfffffffc
je 0x4ed8da
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4ed8d3
cmp ebx, 0xfffffffd
je 0x4ed8da
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4ed8d3
cmp ebx, 0xfffffffe
je 0x4ed8da
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4ed8d3
cmp ebx, 0xffffffff
je 0x4ed8da
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4ed8da
sbb eax, eax
or eax, 1
jmp 0x4ed8dc
xor eax, eax
test eax, eax
je 0x4ed8f0
mov edi, dword [edi]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x34]
jmp 0x4ed854
lea eax, [edi + 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00403a80
test al, al
cmove esi, edi
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4ed938
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ed92e
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4eda0d
push ecx
push edx
call fcn.004a7e9f
add esp, 8
mov ebx, dword [ebp - 0x2c]
cmp esi, dword [ebx + 0x38]
je 0x4ed9cf
mov edi, dword [ebp - 0x40]
lea edx, [esi + 0x40]
mov ebx, 1
mov eax, dword [edi]
lea ecx, [eax - 8]
cmp ecx, 0x7a1354
je 0x4ed964
mov eax, ebx
lock xadd dword [ecx], eax
mov eax, dword [edi]
xchg dword [edx], eax
lea ecx, [eax - 8]
or edi, 0xffffffff
cmp ecx, 0x7a1354
je 0x4ed987
mov eax, edi
lock xadd dword [ecx], eax
test eax, eax
jne 0x4ed987
push ecx
call fcn.004a8172
add esp, 4
mov eax, dword [ebp - 0x30]
lea edx, [esi + 0x50]
mov eax, dword [eax]
lea ecx, [eax - 8]
cmp ecx, 0x7a1354
je 0x4ed9a3
lock xadd dword [ecx], ebx
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
xchg dword [edx], eax
add eax, 0xfffffff8
cmp eax, 0x7a1354
je 0x4ed9c0
lock xadd dword [eax], edi
test edi, edi
jne 0x4ed9c0
push eax
call fcn.004a8172
add esp, 4
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp - 0x2c]
mov dword [esi + 0x48], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x4c], eax
lea eax, [ebx + 4]
mov dword [ebp - 4], 2
push eax
call fcn.004a57a5
add esp, 4
test eax, eax
je 0x4ed9ef
push eax
call fcn.004a5351
add esp, 4
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.004a7e5e
mov esp, ebp
pop ebp
ret 0x14
call fcn.004c2f13
int3