Function at 0x10001000
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x10012234]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp + 0xc]
add eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp + eax*4 - 0x3c], 0
mov eax, dword [ebp + 0xc]
sub eax, 1
mov dword [ebp - 8], eax
jmp 0x1000103f
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
jl 0x10001075
mov eax, dword [ebp - 8]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov ecx, dword [ebp + eax*4 - 0x38]
shl ecx, 8
mov edx, dword [ebp + 8]
add edx, dword [ebp - 8]
movzx eax, byte [edx]
add ecx, eax
mov eax, dword [ebp - 8]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp + eax*4 - 0x38], ecx
jmp 0x10001036
mov ecx, dword [ebp - 0x40]
mov dword [ecx + 4], 0xb7e15163
mov dword [ebp - 8], 1
jmp 0x10001091
mov edx, dword [ebp - 8]
add edx, 1
mov dword [ebp - 8], edx
cmp dword [ebp - 8], 0x2b
jg 0x100010b2
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx + eax*4]
sub edx, 0x61c88647
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x40]
mov dword [ecx + eax*4 + 4], edx
jmp 0x10001088
mov dword [ebp - 0x3c], 0
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 8], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0x2c
mov eax, dword [ebp + 0xc]
add eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
cmp eax, dword [ebp - 4]
jle 0x100010f8
mov eax, dword [ebp + 0xc]
add eax, 3
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [ebp - 4], eax
mov edx, dword [ebp - 4]
imul edx, edx, 3
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], 1
jmp 0x10001113
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 4]
jg 0x100011e0
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + edx*4 + 4]
add ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x10]
shl ecx, 3
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x40]
mov edx, dword [eax + edx*4 + 4]
add edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x10]
shr edx, 0x1d
or ecx, edx
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
mov dword [ecx + eax*4 + 4], edx
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp + ecx*4 - 0x38]
add edx, dword [ebp - 0x14]
add edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x10]
and ecx, 0x1f
shl edx, cl
mov eax, dword [ebp - 0x3c]
mov eax, dword [ebp + eax*4 - 0x38]
add eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
add ecx, dword [ebp - 0x10]
and ecx, 0x1f
mov esi, 0x20
sub esi, ecx
mov ecx, esi
shr eax, cl
or edx, eax
mov dword [ebp - 0x48], edx
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x48]
mov dword [ebp + edx*4 - 0x38], eax
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 8]
add eax, 1
cdq
mov ecx, 0x2c
idiv ecx
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 0x3c]
add ecx, 1
mov eax, dword [ebp + 0xc]
add eax, 3
cdq
and edx, 3
add eax, edx
mov esi, eax
sar esi, 2
mov eax, ecx
cdq
idiv esi
mov dword [ebp - 0x3c], edx
jmp 0x1000110a
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.1000282a
mov esp, ebp
pop ebp
ret 8