Function at 0x4a5e40
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
mov dword [ebp - 0x4c], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 4]
lea edx, [ecx + ecx + 2]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp + 0x10]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x10]
and eax, 0x80000003
jns 0x4a5e75
dec eax
or eax, 0xfffffffc
inc eax
test eax, eax
je 0x4a5e82
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x10], 0
jmp 0x4a5e94
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x4a5ea9
mov ecx, dword [ebp - 0x10]
mov dword [ebp + ecx*4 - 0x40], 0
jmp 0x4a5e8b
lea edx, [ebp - 0x40]
mov dword [ebp - 8], edx
mov dword [ebp - 0x10], 0
jmp 0x4a5ec1
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp + 0x10]
jge 0x4a5edd
mov edx, dword [ebp + 0xc]
add edx, dword [ebp - 0x10]
movzx eax, byte [edx]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov dword [edx + ecx*4], eax
jmp 0x4a5eb8
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov dword [ecx], 0xb7e15163
mov dword [ebp - 0x10], 1
jmp 0x4a5efa
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x18]
jge 0x4a5f21
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
mov ecx, dword [edx + eax*4 - 4]
sub ecx, 0x61c88647
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov edx, dword [ebp - 0x10]
mov dword [eax + edx*4], ecx
jmp 0x4a5ef1
mov dword [ebp - 0x44], 0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x10], 0
jmp 0x4a5f40
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x18]
jge 0x4a5f6c
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x48]
add eax, dword [ecx + edx*4]
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x44]
xor ecx, dword [edx + eax*4]
mov dword [ebp - 0x44], ecx
jmp 0x4a5f37
mov edx, dword [ebp - 0xc]
cmp edx, dword [ebp - 0x18]
jle 0x4a5f7f
mov eax, dword [ebp - 0xc]
imul eax, eax, 3
mov dword [ebp - 0x14], eax
jmp 0x4a5f88
mov ecx, dword [ebp - 0x18]
imul ecx, ecx, 3
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x44], 0
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x10], 0
jmp 0x4a5fa7
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
cmp ecx, dword [ebp - 0x14]
jge 0x4a6063
mov eax, dword [ebp - 0x10]
cdq
idiv dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov ecx, dword [ecx + edx*4]
add ecx, dword [ebp - 0x48]
add ecx, dword [ebp - 0x44]
shl ecx, 3
mov eax, dword [ebp - 0x10]
cdq
idiv dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [eax + edx*4]
add edx, dword [ebp - 0x48]
add edx, dword [ebp - 0x44]
shr edx, 0x1d
or ecx, edx
mov eax, dword [ebp - 0x10]
cdq
idiv dword [ebp - 0x18]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [eax + edx*4], ecx
mov eax, dword [ebp - 0x10]
cdq
idiv dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx]
mov ecx, dword [eax + edx*4]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
add edx, dword [ebp - 0x44]
and edx, 0x1f
mov dword [ebp - 4], edx
mov eax, dword [ebp - 0x10]
cdq
idiv dword [ebp - 0xc]
mov esi, dword [ebp + edx*4 - 0x40]
add esi, dword [ebp - 0x48]
add esi, dword [ebp - 0x44]
mov ecx, dword [ebp - 4]
shl esi, cl
mov eax, dword [ebp - 0x10]
cdq
idiv dword [ebp - 0xc]
mov eax, dword [ebp + edx*4 - 0x40]
add eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x44]
mov ecx, 0x20
sub ecx, dword [ebp - 4]
shr eax, cl
or esi, eax
mov eax, dword [ebp - 0x10]
cdq
idiv dword [ebp - 0xc]
mov dword [ebp + edx*4 - 0x40], esi
mov eax, dword [ebp - 0x10]
cdq
idiv dword [ebp - 0xc]
mov ecx, dword [ebp + edx*4 - 0x40]
mov dword [ebp - 0x44], ecx
jmp 0x4a5f9e
mov dword [ebp - 0x10], 0
jmp 0x4a6075
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xc]
jge 0x4a608a
mov ecx, dword [ebp - 0x10]
mov dword [ebp + ecx*4 - 0x40], 0
jmp 0x4a606c
mov eax, 1
pop esi
mov esp, ebp
pop ebp
ret 0xc