Function at 0x42ee80
Capabilities:
Encode data using xor

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
mov ebx, ecx
push esi
push edi
mov dword [ebx], 0x4a2cc4
mov dword [ebx + 4], ebp
mov al, byte [0x4e2885]
test al, 1
jne 0x42eebd
or al, 1
push 0xa
mov ecx, 0x4e28a0
mov byte [0x4e2885], al
call fcn.0042f1d0
push 0x42f0b0
call fcn.0041ef0a
add esp, 4
mov ecx, dword [0x4e28a4]
test ecx, ecx
je 0x42eee6
mov eax, ebp
xor edx, edx
shr eax, 4
div dword [0x4e28a8]
mov edx, dword [ecx + edx*4]
test edx, edx
je 0x42eee6
cmp dword [edx + 8], ebp
je 0x42ef5e
mov edx, dword [edx]
test edx, edx
jne 0x42eedb
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebx + 8], ecx
mov al, byte [0x4e2885]
test al, 1
jne 0x42ef1e
or al, 1
push 0xa
mov ecx, 0x4e28a0
mov byte [0x4e2885], al
call fcn.0042f1d0
push 0x42f0b0
call fcn.0041ef0a
add esp, 4
mov eax, dword [ebx + 8]
mov ecx, dword [0x4e28a8]
mov dword [esp + 0x10], eax
mov eax, ebp
shr eax, 4
xor edx, edx
div ecx
mov eax, dword [0x4e28a4]
test eax, eax
mov esi, edx
je 0x42efcb
mov eax, dword [eax + esi*4]
test eax, eax
je 0x42f006
cmp dword [eax + 8], ebp
je 0x42efc1
mov eax, dword [eax]
test eax, eax
jne 0x42ef4e
jmp 0x42f006
test edx, edx
je 0x42eee6
mov edx, dword [edx + 0xc]
lea eax, [esp + 0x18]
push eax
push 4
push edx
push ebp
mov dword [ebx + 8], edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebx + 8]
mov edi, dword [ebx + 4]
xor esi, esi
test eax, eax
jbe 0x42efa2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, 0xff
div ecx
mov al, byte [esi + edi]
xor al, dl
mov byte [esi + edi], al
mov eax, dword [ebx + 8]
inc esi
cmp esi, eax
jb 0x42ef83
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx + 8]
lea edx, [esp + 0x18]
push edx
push eax
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
pop ecx
ret 4
test eax, eax
jne 0x42f089
jmp 0x42f006
mov eax, ecx
mov dword [esp + 0x18], eax
lea edi, [eax*4]
push edi
call sub.MFC42.DLL_operatornew
mov edx, eax
mov ecx, edi
mov dword [0x4e28a4], edx
mov edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x18]
mov dword [0x4e28a8], eax
mov eax, dword [0x4e28b0]
xor edi, edi
cmp eax, edi
jne 0x42f054
mov ecx, dword [0x4e28b8]
push 0x10
push ecx
push 0x4e28b4
call sub.MFC42.DLL_CPlex::Create
mov edx, dword [0x4e28b8]
add eax, 4
mov ecx, edx
shl ecx, 4
lea ecx, [eax + ecx - 0x10]
lea eax, [edx - 1]
cmp eax, edi
jl 0x42f09a
lea edx, [eax + 1]
mov eax, dword [0x4e28b0]
mov dword [ecx], eax
mov eax, ecx
sub ecx, 0x10
dec edx
jne 0x42f045
mov dword [0x4e28b0], eax
mov ecx, dword [0x4e28ac]
mov edx, dword [eax]
inc ecx
mov dword [0x4e28b0], edx
mov dword [0x4e28ac], ecx
mov dword [eax + 8], edi
mov dword [eax + 0xc], edi
mov dword [eax + 4], esi
mov dword [eax + 8], ebp
mov ecx, dword [0x4e28a4]
mov edx, dword [ecx + esi*4]
mov dword [eax], edx
mov ecx, dword [0x4e28a4]
mov dword [ecx + esi*4], eax
mov edx, dword [esp + 0x10]
pop edi
mov dword [eax + 0xc], edx
pop esi
mov eax, ebx
pop ebp
pop ebx
pop ecx
ret 4
mov eax, dword [0x4e28b0]
jmp 0x42f054