Function at 0x4eec80
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7334cd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, ecx
mov dword [ebp - 0x14], edi
mov edx, dword [ebx]
mov ecx, dword [ebx + 4]
test edx, edx
jne 0x4eeccc
cmp ecx, 0x10000000
jne 0x4eeccc
mov eax, dword [ebp + 8]
pop edi
cdq
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
mov eax, edx
or eax, ecx
jne 0x4eecef
push dword [ebp + 8]
call fcn.004da920
add esp, 4
pop edi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
push esi
test edx, edx
jne 0x4eed54
cmp ecx, 0xf0000000
jne 0x4eed54
mov edx, dword [ebp + 8]
test edx, edx
je 0x4eed16
mov ecx, edx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4eed08
sub ecx, edx
mov edx, dword [ebp + 8]
jmp 0x4eed18
xor ecx, ecx
lea eax, [ecx + edx]
xor esi, esi
mov dword [ebp - 0x18], eax
mov ebx, edx
cmp edx, eax
je 0x4eed48
mov edi, eax
movsx edx, byte [ebx]
mov ecx, esi
mov eax, esi
shl ecx, 6
shr eax, 2
add ecx, edx
add eax, 0x9e3779b9
inc ebx
add eax, ecx
xor esi, eax
cmp ebx, edi
jne 0x4eed28
mov edi, dword [ebp - 0x14]
mov ebx, dword [ebp + 0xc]
mov dword [ebx], esi
mov dword [ebx + 4], 0
call fcn.004e3540
mov esi, eax
push esi
mov dword [ebp - 0x20], esi
call fcn.006de95e
add esp, 4
test eax, eax
jne 0x4eef5a
mov dword [ebp - 4], eax
mov ecx, edi
lea eax, [ebp - 0x18]
push eax
push ebx
call fcn.004ee9c0
test al, al
je 0x4eedc1
mov eax, dword [edi + 0xc]
mov ebx, dword [ebp - 0x18]
shl eax, 4
add eax, dword [edi]
cmp ebx, eax
je 0x4eedc1
push dword [ebx + 0xc]
push dword [ebx + 8]
push 6
call fcn.004e34c0
add esp, 0xc
test eax, eax
jne 0x4eedb6
push dword [ebp + 8]
call fcn.004da920
add esp, 4
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], edx
mov edi, dword [ebx + 8]
mov ebx, dword [ebx + 0xc]
jmp 0x4eef3a
mov ebx, dword [edi + 4]
lea eax, [edi + 0x10]
mov dword [ebp - 0x24], eax
cmp ebx, dword [edi + 0x24]
jb 0x4eeef4
mov esi, ebx
jmp 0x4eedda
lea eax, [edi + 0x10]
mov ecx, dword [eax + 8]
dec ecx
and ecx, dword [eax + 0xc]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
lea ecx, [ebp - 0x18]
push ecx
push eax
mov ecx, edi
mov dword [ebp - 0x14], eax
call fcn.004ee9c0
mov edx, dword [ebp - 0x18]
test al, al
je 0x4eee01
mov ebx, esi
jmp 0x4eee72
lea esi, [ebx + 1]
mov dword [ebp - 0x10], edx
mov ebx, dword [edi + 0xc]
lea eax, [esi*4]
lea ecx, [ebx + ebx*2]
cmp eax, ecx
jb 0x4eee37
lea eax, [ebx + ebx]
push eax
mov ecx, edi
call fcn.004f01a0
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x10]
push eax
push ebx
mov ecx, edi
call fcn.004ee9c0
mov edx, dword [ebp - 0x10]
jmp 0x4eee4d
mov ecx, ebx
mov eax, ebx
sub ecx, dword [edi + 8]
sub ecx, esi
shr eax, 3
cmp ecx, eax
ja 0x4eee4a
push ebx
jmp 0x4eee1c
mov ebx, dword [ebp - 0x14]
inc dword [edi + 4]
mov eax, dword [edx]
and eax, dword [edx + 4]
cmp eax, 0xffffffff
je 0x4eee5d
dec dword [edi + 8]
mov eax, dword [ebx]
xorps xmm0, xmm0
mov ecx, dword [ebx + 4]
mov dword [edx], eax
mov dword [edx + 4], ecx
movq qword [edx + 8], xmm0
mov ebx, dword [edi + 4]
mov eax, dword [ebp - 0x14]
mov esi, dword [edx + 8]
mov ecx, dword [edx + 0xc]
cmp dword [eax + 8], esi
jne 0x4eeec2
cmp dword [eax + 0xc], ecx
jne 0x4eeec2
lea ecx, [ebp - 0x1c]
push ecx
push eax
mov ecx, edi
call fcn.004ee9c0
test al, al
je 0x4eeeae
mov eax, dword [ebp - 0x1c]
mov dword [eax], 0xfffffffe
mov dword [eax + 4], 0xffffffff
dec dword [edi + 4]
mov ebx, dword [edi + 4]
inc dword [edi + 8]
add dword [edi + 0x20], 0xffffffff
jne 0x4eeebd
mov dword [edi + 0x1c], 0
jmp 0x4eeee6
inc dword [edi + 0x1c]
jmp 0x4eeee6
mov dword [eax + 0xc], ecx
lea ecx, [edi + 0x10]
push eax
mov dword [eax + 8], esi
call fcn.004f03e0
add dword [edi + 0x20], 0xffffffff
jne 0x4eeee0
mov dword [edi + 0x1c], 0
jmp 0x4eeee3
inc dword [edi + 0x1c]
mov ebx, dword [edi + 4]
mov esi, ebx
cmp ebx, dword [edi + 0x24]
jae 0x4eedd7
mov esi, dword [ebp - 0x20]
push dword [ebp + 0xc]
mov ecx, edi
call fcn.004eebe0
push dword [ebp + 8]
mov ebx, eax
call fcn.004da920
mov ecx, dword [ebp - 0x24]
add esp, 4
mov dword [ebx], eax
mov eax, dword [ebp + 0xc]
mov dword [ebx + 4], edx
mov edx, dword [eax]
mov edi, dword [eax + 4]
mov eax, dword [ebx]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], edx
mov edx, dword [ebx + 4]
push eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], edx
call fcn.004f03e0
mov edi, dword [ebx]
mov ebx, dword [ebx + 4]
push esi
call fcn.006de9b9
mov ecx, dword [ebp - 0xc]
add esp, 4
mov eax, edi
mov dword fs:[0], ecx
mov edx, ebx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
push eax
call fcn.006ded1a
int3