Function at 0x4d1fd8
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
push ecx
mov ecx, dword [esp + 8]
push ebx
push ebp
push esi
push edi
test ecx, ecx
je 0x4d2507
mov eax, dword [esp + 0x20]
test eax, eax
je 0x4d2507
mov esi, dword [esp + 0x1c]
mov ebp, 0xc0
lea edi, [ebp - 0x40]
cmp esi, edi
je 0x4d201d
cmp esi, ebp
je 0x4d2019
cmp esi, 0x100
je 0x4d2019
push 0xfffffffffffffffe
pop eax
jmp 0x4d250a
cmp esi, edi
jne 0x4d2029
mov dword [eax + 0xf0], 0xa
jmp 0x4d203a
xor edx, edx
cmp esi, ebp
setne dl
lea edx, [edx + edx + 0xc]
mov dword [eax + 0xf0], edx
movzx edx, byte [ecx]
movzx ebx, byte [ecx + 1]
shl edx, 8
xor edx, ebx
movzx ebx, byte [ecx + 2]
shl edx, 8
xor edx, ebx
movzx ebx, byte [ecx + 3]
shl edx, 8
xor edx, ebx
mov dword [eax], edx
movzx ebx, byte [ecx + 4]
movzx ebp, byte [ecx + 5]
shl ebx, 8
xor ebx, ebp
movzx ebp, byte [ecx + 6]
shl ebx, 8
xor ebx, ebp
movzx ebp, byte [ecx + 7]
shl ebx, 8
xor ebx, ebp
lea edx, [eax + 4]
mov dword [edx], ebx
movzx ebx, byte [ecx + 9]
mov dword [esp + 0x18], edx
movzx edx, byte [ecx + 8]
shl edx, 8
xor edx, ebx
movzx ebx, byte [ecx + 0xa]
shl edx, 8
xor edx, ebx
movzx ebx, byte [ecx + 0xb]
shl edx, 8
xor edx, ebx
mov dword [eax + 8], edx
movzx edx, byte [ecx + 0xc]
movzx ebx, byte [ecx + 0xd]
shl edx, 8
xor edx, ebx
movzx ebx, byte [ecx + 0xe]
shl edx, 8
xor edx, ebx
movzx ebx, byte [ecx + 0xf]
shl edx, 8
xor edx, ebx
mov dword [eax + 0xc], edx
cmp esi, edi
jne 0x4d21d7
mov esi, edx
shr edx, 0x10
mov edi, esi
mov ecx, 0xff
and edx, ecx
mov edx, dword [edx*4 + str.ccccwwww]
xor edx, 0x1000000
shr edi, 8
and edi, ecx
mov ebp, dword [edi*4 + str.ccccwwww]
mov ebx, 0xff000000
and edx, ebx
mov edi, 0xff0000
and ebp, edi
xor edx, ebp
mov ebp, esi
shr ebp, 0x18
movzx ebp, byte [ebp*4 + str.ccccwwww]
xor edx, ebp
and esi, ecx
mov ebp, dword [esi*4 + str.ccccwwww]
mov esi, 0xff00
and ebp, esi
xor edx, ebp
xor edx, dword [eax]
mov ebp, dword [esp + 0x18]
mov ebp, dword [ebp]
mov dword [eax + 0x10], edx
xor ebp, edx
mov edx, dword [eax + 8]
xor edx, ebp
mov dword [eax + 0x18], edx
xor edx, dword [eax + 0xc]
mov dword [eax + 0x14], ebp
mov dword [eax + 0x1c], edx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], 0x60edcc
mov ebp, dword [eax + 0x18]
mov edx, ebp
mov dword [esp + 0x18], ebp
add eax, 0x10
shr ebp, 0x10
and ebp, ecx
mov ebp, dword [ebp*4 + str.ccccwwww]
shr edx, 8
and edx, ecx
mov edx, dword [edx*4 + str.ccccwwww]
and ebp, ebx
and edx, edi
xor edx, ebp
mov ebp, dword [esp + 0x18]
shr ebp, 0x18
movzx ebp, byte [ebp*4 + str.ccccwwww]
xor edx, ebp
mov ebp, dword [esp + 0x18]
and ebp, ecx
mov ebp, dword [ebp*4 + str.ccccwwww]
and ebp, esi
xor edx, ebp
xor edx, dword [eax - 4]
mov ebp, dword [esp + 0x10]
xor edx, dword [ebp]
add dword [esp + 0x10], 4
mov dword [eax + 0xc], edx
mov ebp, dword [eax]
xor ebp, edx
mov dword [eax + 0x10], ebp
mov edx, dword [eax + 4]
xor edx, ebp
mov dword [eax + 0x14], edx
mov ebp, dword [eax + 8]
xor ebp, edx
cmp dword [esp + 0x10], 0x60edf0
mov dword [eax + 0x18], ebp
jne 0x4d2151
xor eax, eax
jmp 0x4d250a
movzx edx, byte [ecx + 0x10]
movzx edi, byte [ecx + 0x11]
shl edx, 8
xor edx, edi
movzx edi, byte [ecx + 0x12]
shl edx, 8
xor edx, edi
movzx edi, byte [ecx + 0x13]
shl edx, 8
xor edx, edi
mov dword [eax + 0x10], edx
movzx edx, byte [ecx + 0x14]
movzx edi, byte [ecx + 0x15]
shl edx, 8
xor edx, edi
movzx edi, byte [ecx + 0x16]
shl edx, 8
xor edx, edi
movzx edi, byte [ecx + 0x17]
shl edx, 8
xor edx, edi
mov dword [eax + 0x14], edx
cmp esi, 0xc0
jne 0x4d2344
mov esi, edx
shr edx, 0x10
mov edi, esi
mov ecx, 0xff
and edx, ecx
mov edx, dword [edx*4 + str.ccccwwww]
xor edx, 0x1000000
shr edi, 8
and edi, ecx
mov ebp, dword [edi*4 + str.ccccwwww]
mov ebx, 0xff000000
and edx, ebx
mov edi, 0xff0000
and ebp, edi
xor edx, ebp
mov ebp, esi
shr ebp, 0x18
movzx ebp, byte [ebp*4 + str.ccccwwww]
xor edx, ebp
and esi, ecx
mov ebp, dword [esi*4 + str.ccccwwww]
mov esi, 0xff00
and ebp, esi
xor edx, ebp
xor edx, dword [eax]
mov ebp, dword [esp + 0x18]
mov ebp, dword [ebp]
xor ebp, edx
mov dword [eax + 0x18], edx
mov edx, dword [eax + 8]
xor edx, ebp
mov dword [eax + 0x1c], ebp
mov ebp, dword [eax + 0xc]
xor ebp, edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], ebp
add eax, 0x28
mov dword [esp + 0x10], 0x60edcc
mov edx, dword [eax - 0x18]
xor edx, dword [eax - 4]
mov ebp, dword [eax - 0x14]
xor ebp, edx
mov dword [eax + 4], ebp
mov dword [eax], edx
mov ebp, dword [eax + 4]
mov edx, ebp
mov dword [esp + 0x18], ebp
add eax, 0x18
shr ebp, 0x10
and ebp, ecx
mov ebp, dword [ebp*4 + str.ccccwwww]
shr edx, 8
and edx, ecx
mov edx, dword [edx*4 + str.ccccwwww]
and ebp, ebx
and edx, edi
xor edx, ebp
mov ebp, dword [esp + 0x18]
shr ebp, 0x18
movzx ebp, byte [ebp*4 + str.ccccwwww]
xor edx, ebp
mov ebp, dword [esp + 0x18]
and ebp, ecx
mov ebp, dword [ebp*4 + str.ccccwwww]
and ebp, esi
xor edx, ebp
xor edx, dword [eax - 0x28]
mov ebp, dword [esp + 0x10]
xor edx, dword [ebp]
add dword [esp + 0x10], 4
mov dword [eax - 0x10], edx
mov ebp, dword [eax - 0x24]
xor ebp, edx
mov dword [eax - 0xc], ebp
mov edx, dword [eax - 0x20]
xor edx, ebp
mov dword [eax - 8], edx
mov ebp, dword [eax - 0x1c]
xor ebp, edx
cmp dword [esp + 0x10], 0x60ede8
mov dword [eax - 4], ebp
jne 0x4d22ab
jmp 0x4d21d0
movzx edx, byte [ecx + 0x18]
movzx edi, byte [ecx + 0x19]
shl edx, 8
xor edx, edi
movzx edi, byte [ecx + 0x1a]
shl edx, 8
xor edx, edi
movzx edi, byte [ecx + 0x1b]
shl edx, 8
xor edx, edi
mov dword [eax + 0x18], edx
movzx edx, byte [ecx + 0x1c]
movzx edi, byte [ecx + 0x1d]
shl edx, 8
xor edx, edi
movzx edi, byte [ecx + 0x1e]
movzx ecx, byte [ecx + 0x1f]
shl edx, 8
xor edx, edi
shl edx, 8
xor edx, ecx
mov dword [eax + 0x1c], edx
cmp esi, 0x100
jne 0x4d21d0
mov esi, edx
shr edx, 0x10
mov edi, esi
mov ecx, 0xff
and edx, ecx
mov edx, dword [edx*4 + str.ccccwwww]
xor edx, 0x1000000
shr edi, 8
and edi, ecx
mov ebp, dword [edi*4 + str.ccccwwww]
mov ebx, 0xff000000
and edx, ebx
mov edi, 0xff0000
and ebp, edi
xor edx, ebp
mov ebp, esi
shr ebp, 0x18
movzx ebp, byte [ebp*4 + str.ccccwwww]
xor edx, ebp
and esi, ecx
mov ebp, dword [esi*4 + str.ccccwwww]
mov esi, 0xff00
and ebp, esi
xor edx, ebp
xor edx, dword [eax]
mov ebp, dword [esp + 0x18]
mov ebp, dword [ebp]
xor ebp, edx
mov dword [eax + 0x20], edx
mov edx, dword [eax + 8]
xor edx, ebp
mov dword [eax + 0x24], ebp
mov ebp, dword [eax + 0xc]
xor ebp, edx
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], ebp
add eax, 0x30
mov dword [esp + 0x10], 0x60edcc
mov ebp, dword [eax - 4]
mov edx, ebp
mov dword [esp + 0x18], ebp
shr ebp, 8
and ebp, ecx
mov ebp, dword [ebp*4 + str.ccccwwww]
and ebp, esi
shr edx, 0x10
and edx, ecx
mov edx, dword [edx*4 + str.ccccwwww]
and edx, edi
xor edx, ebp
mov ebp, dword [esp + 0x18]
shr ebp, 0x18
mov ebp, dword [ebp*4 + str.ccccwwww]
and ebp, ebx
xor edx, ebp
mov ebp, dword [esp + 0x18]
and ebp, ecx
movzx ebp, byte [ebp*4 + str.ccccwwww]
xor edx, ebp
xor edx, dword [eax - 0x20]
mov ebp, dword [eax - 0x1c]
xor ebp, edx
mov dword [eax], edx
mov edx, dword [eax - 0x18]
xor edx, ebp
mov dword [eax + 4], ebp
mov ebp, dword [eax - 0x14]
xor ebp, edx
mov dword [eax + 0xc], ebp
mov dword [eax + 8], edx
mov ebp, dword [eax + 0xc]
mov edx, ebp
mov dword [esp + 0x18], ebp
add eax, 0x20
shr ebp, 0x10
and ebp, ecx
mov ebp, dword [ebp*4 + str.ccccwwww]
shr edx, 8
and edx, ecx
mov edx, dword [edx*4 + str.ccccwwww]
and ebp, ebx
and edx, edi
xor edx, ebp
mov ebp, dword [esp + 0x18]
shr ebp, 0x18
movzx ebp, byte [ebp*4 + str.ccccwwww]
xor edx, ebp
mov ebp, dword [esp + 0x18]
and ebp, ecx
mov ebp, dword [ebp*4 + str.ccccwwww]
and ebp, esi
xor edx, ebp
xor edx, dword [eax - 0x30]
mov ebp, dword [esp + 0x10]
xor edx, dword [ebp]
add dword [esp + 0x10], 4
mov dword [eax - 0x10], edx
mov ebp, dword [eax - 0x2c]
xor ebp, edx
mov dword [eax - 0xc], ebp
mov edx, dword [eax - 0x28]
xor edx, ebp
mov dword [eax - 8], edx
mov ebp, dword [eax - 0x24]
xor ebp, edx
cmp dword [esp + 0x10], 0x60ede4
mov dword [eax - 4], ebp
jne 0x4d2418
jmp 0x4d21d0
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret