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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x609ec7
mov eax, dword fs:[0]
push eax
sub esp, 0x30
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 - 0x3c], eax
mov dword [ebp - 0x38], edi
lea eax, [edi + 4]
push eax
mov dword [ebp - 0x2c], eax
call fcn.004a5780
add esp, 4
test eax, eax
je 0x4ecf06
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 dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ecf30
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 0x4ecf71
nop dword [eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4ecf60
mov eax, dword [edi + 0x4c]
and eax, edx
mov edx, dword [edi + 0x40]
mov edi, dword [edi + 0x38]
mov dword [ebp - 0x34], edx
mov ecx, dword [edx + eax*8]
lea eax, [eax*8 + 4]
mov dword [ebp - 0x30], ecx
mov esi, ecx
mov dword [ebp - 0x2c], eax
cmp ecx, edi
jne 0x4ecf99
mov eax, edi
jmp 0x4ecf9e
mov eax, dword [eax + edx]
mov eax, dword [eax]
cmp esi, eax
je 0x4ed042
cmp dword [ebp - 0x14], 0x10
lea ecx, [esi + 8]
mov ebx, dword [ecx + 0x10]
lea edx, [ebp - 0x28]
cmovae edx, dword [ebp - 0x28]
cmp dword [ecx + 0x14], 0x10
jb 0x4ecfbf
mov ecx, dword [ecx]
cmp ebx, dword [ebp - 0x18]
jne 0x4ed020
sub ebx, 4
jb 0x4ecfe1
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4ecfe6
add ecx, 4
add edx, 4
sub ebx, 4
jae 0x4ecfd0
cmp ebx, 0xfffffffc
je 0x4ed01a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4ed013
cmp ebx, 0xfffffffd
je 0x4ed01a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4ed013
cmp ebx, 0xfffffffe
je 0x4ed01a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4ed013
cmp ebx, 0xffffffff
je 0x4ed01a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4ed01a
sbb eax, eax
or eax, 1
jmp 0x4ed01c
xor eax, eax
test eax, eax
je 0x4ed030
mov esi, dword [esi]
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x2c]
jmp 0x4ecf91
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00403a80
test al, al
cmove edi, esi
mov eax, dword [ebp - 0x14]
cmp eax, 0x10
jb 0x4ed078
mov edx, dword [ebp - 0x28]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x4ed06e
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4ed0fd
push ecx
push edx
call fcn.004a7e9f
add esp, 8
mov esi, dword [ebp - 0x38]
cmp edi, dword [esi + 0x38]
je 0x4ed0bf
mov edx, dword [ebp - 0x3c]
add edi, 0x5c
mov eax, dword [edx]
lea ecx, [eax - 8]
cmp ecx, 0x7a1354
je 0x4ed09e
mov eax, 1
lock xadd dword [ecx], eax
mov eax, dword [edx]
xchg dword [edi], eax
lea ecx, [eax - 8]
cmp ecx, 0x7a1354
je 0x4ed0bf
or eax, 0xffffffff
lock xadd dword [ecx], eax
test eax, eax
jne 0x4ed0bf
push ecx
call fcn.004a8172
add esp, 4
lea eax, [esi + 4]
mov dword [ebp - 4], 2
push eax
call fcn.004a57a5
add esp, 4
test eax, eax
je 0x4ed0df
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 8
call fcn.004c2f13
int3