Function at 0x4dd198
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x57506c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
push 0x10
pop ecx
mov dword [ebp - 0x114], eax
cmp edi, ecx
je 0x4dd1cf
cmp edi, 0xc
je 0x4dd1cf
cmp edi, 8
cmovne edi, ecx
mov dword [ebp + 0x14], edi
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov edx, dword [ebp + 0x10]
mov esi, ebx
mov dword [eax], edi
mov dword [ebp - 0x108], ebx
lea eax, [ecx - 8]
mov dword [ebp - 0x10c], ebx
test eax, eax
js 0x4dd267
add eax, 8
shr eax, 3
mov dword [ebp - 0x110], eax
mov edi, eax
shl eax, 3
mov dword [ebp - 0x10c], eax
movzx eax, byte [edx + 1]
movzx ecx, byte [edx]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 2]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 3]
shl eax, 0x18
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [ebp + esi*4 - 0x104], ecx
movzx ecx, byte [edx + 4]
shl eax, 8
or ecx, eax
movzx eax, byte [edx + 6]
shl eax, 0x10
or ecx, eax
movzx eax, byte [edx + 7]
shl eax, 0x18
add edx, 8
or ecx, eax
mov dword [ebp + esi*4 - 0x100], ecx
add esi, 2
sub edi, 1
jne 0x4dd205
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x108], esi
mov eax, ecx
sub eax, dword [ebp - 0x10c]
je 0x4dd2de
mov eax, ecx
mov esi, ebx
and eax, 7
mov ecx, ebx
add edx, eax
dec eax
cmp eax, 7
ja case.default.0x4dd282
jmp dword [eax*4 + 0x4dd3ec]
dec edx
movzx ecx, byte [edx]
shl ecx, 0x18
dec edx
movzx eax, byte [edx]
shl eax, 0x10
or ecx, eax
dec edx
movzx eax, byte [edx]
shl eax, 8
or ecx, eax
dec edx
movzx eax, byte [edx]
or ecx, eax
dec edx
movzx esi, byte [edx]
shl esi, 0x18
dec edx
movzx eax, byte [edx]
shl eax, 0x10
or esi, eax
dec edx
movzx eax, byte [edx]
shl eax, 8
or esi, eax
movzx eax, byte [edx - 1]
or esi, eax
mov eax, dword [ebp - 0x108]
mov dword [ebp + eax*4 - 0x100], ecx
mov ecx, dword [ebp + 0xc]
mov dword [ebp + eax*4 - 0x104], esi
lea eax, [ecx + 3]
xor ecx, ecx
cdq
lea edi, [edi*2 + 2]
and edx, 3
inc ecx
lea esi, [edx + eax]
mov edx, dword [ebp - 0x114]
sar esi, 2
mov dword [ebp - 0x118], esi
mov dword [edx + 4], 0xb7e15163
cmp edi, ecx
jle 0x4dd31d
mov eax, dword [edx + ecx*4]
sub eax, 0x61c88647
mov dword [edx + ecx*4 + 4], eax
inc ecx
cmp ecx, edi
jl 0x4dd30c
cmp edi, esi
mov dword [ebp - 0x10c], ebx
mov eax, esi
mov dword [ebp - 0x108], ebx
cmovg eax, edi
mov ecx, ebx
imul eax, eax, 3
mov dword [ebp - 0x110], eax
test eax, eax
jle 0x4dd3d9
mov esi, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x108]
add ecx, eax
add ecx, dword [edx + esi*4 + 4]
rol ecx, 3
mov dword [edx + esi*4 + 4], ecx
add eax, ecx
mov edx, dword [ebp - 0x108]
add edx, ecx
mov dword [ebp - 0x11c], ecx
add edx, dword [ebp + ebx*4 - 0x104]
mov ecx, eax
neg ecx
mov dword [ebp - 0x108], edx
and ecx, 0x1f
and eax, 0x1f
shr dword [ebp - 0x108], cl
mov ecx, eax
mov eax, dword [ebp - 0x108]
shl edx, cl
lea ecx, [ebx + 1]
or eax, edx
xor edx, edx
mov dword [ebp + ebx*4 - 0x104], eax
mov dword [ebp - 0x108], eax
mov eax, esi
inc eax
cmp eax, edi
cmovl edx, eax
xor ebx, ebx
cmp ecx, dword [ebp - 0x118]
mov dword [ebp - 0x10c], edx
mov edx, dword [ebp - 0x114]
cmovl ebx, ecx
sub dword [ebp - 0x110], 1
mov ecx, dword [ebp - 0x11c]
jne 0x4dd343
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00469c8e
mov esp, ebp
pop ebp
ret