Function at 0x10011bc0
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
cmp dword [ebp + 0x14], 0x10
je 0x10011be2
cmp dword [ebp + 0x14], 0xc
je 0x10011be2
cmp dword [ebp + 0x14], 8
je 0x10011be2
mov dword [ebp + 0x14], 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0x14]
mov dword [eax], ecx
mov edx, dword [ebp + 8]
add edx, 4
mov dword [ebp - 8], edx
mov dword [ebp - 0x30], 0
mov dword [ebp - 4], 0
jmp 0x10011c0c
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0xc]
sub ecx, 8
cmp dword [ebp - 4], ecx
jg 0x10011d00
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x10]
add ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx]
shl eax, 8
or eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x10]
add ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx]
shl eax, 0x10
or eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x10]
add ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx]
shl eax, 0x18
or eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x10]
add ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
mov dword [ebp + edx*4 - 0x138], eax
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x10]
add ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx]
shl eax, 8
or eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x10]
add ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx]
shl eax, 0x10
or eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x10]
add ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp + 0x10]
movzx eax, byte [edx]
shl eax, 0x18
or eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x10]
add ecx, 1
mov dword [ebp + 0x10], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x1c]
mov dword [ebp + edx*4 - 0x138], eax
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
jmp 0x10011c03
mov edx, dword [ebp + 0xc]
sub edx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
je 0x10011e2e
mov eax, dword [ebp + 0xc]
and eax, 7
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 0x14]
mov dword [ebp + 0x10], ecx
mov dword [ebp - 0x34], 0
mov edx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x13c], eax
mov ecx, dword [ebp - 0x13c]
sub ecx, 1
mov dword [ebp - 0x13c], ecx
cmp dword [ebp - 0x13c], 7
ja case.default.0x10011d59
mov edx, dword [ebp - 0x13c]
jmp dword [edx*4 + 0x10011fb0]
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx]
shl edx, 0x18
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx]
shl edx, 0x10
or edx, dword [ebp - 0x34]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx]
shl edx, 8
or edx, dword [ebp - 0x34]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx]
or edx, dword [ebp - 0x34]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx]
shl edx, 0x18
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx]
shl edx, 0x10
or edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx]
shl edx, 8
or edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp + 0x10]
sub eax, 1
mov dword [ebp + 0x10], eax
mov ecx, dword [ebp + 0x10]
movzx edx, byte [ecx]
or edx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x138], ecx
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x34]
mov dword [ebp + edx*4 - 0x134], eax
mov eax, dword [ebp + 0xc]
add eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp + 0x14]
lea edx, [ecx + ecx + 2]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 8]
mov dword [eax], 0xb7e15163
mov dword [ebp - 4], 1
jmp 0x10011e65
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x24]
jge 0x10011e88
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 - 4]
sub edx, 0x61c88647
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov dword [ecx + eax*4], edx
jmp 0x10011e5c
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebp - 0x20]
jle 0x10011e9b
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x140], eax
jmp 0x10011ea4
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x140], ecx
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
imul eax, eax, 3
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], 0
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov dword [ebp - 4], 0
jmp 0x10011ee2
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x30]
jge 0x10011faa
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + edx*4]
add ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x14]
shl edx, 3
mov eax, dword [ebp - 0x14]
shr eax, 0x1d
or edx, eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 8]
mov dword [eax + ecx*4], edx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4]
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
add ecx, dword [ebp - 0xc]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + edx*4 - 0x138]
add eax, dword [ebp - 0x18]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x2c]
and ecx, 0x1f
mov edx, dword [ebp - 0x14]
shl edx, cl
mov eax, dword [ebp - 0x2c]
and eax, 0x1f
mov ecx, 0x20
sub ecx, eax
mov eax, dword [ebp - 0x14]
shr eax, cl
or edx, eax
mov ecx, dword [ebp - 0x28]
mov dword [ebp + ecx*4 - 0x138], edx
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp + edx*4 - 0x138]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0x24]
jl 0x10011f8d
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x28]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x28]
cmp ecx, dword [ebp - 0x20]
jl 0x10011fa5
mov dword [ebp - 0x28], 0
jmp 0x10011ed9
mov esp, ebp
pop ebp
ret