Function at 0x415560
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f4
push esi
mov dword [ebp - 8], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0xc], ecx
cmp dword [ebp - 4], 0x10
jae 0x4155cd
mov edx, dword [ebp - 0xc]
shl edx, 8
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 4]
movzx ecx, byte [eax]
and ecx, 0xff
or edx, ecx
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
and eax, 3
jne 0x4155cb
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0xc]
mov dword [ebp + ecx*4 - 0x1f4], edx
mov eax, dword [ebp - 8]
add eax, 1
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0
jmp 0x41557d
mov dword [ebp - 0x14], 0x2c
mov ecx, 4
imul edx, ecx, 0
mov dword [ebp + edx - 0xf4], 0xb7e15163
mov dword [ebp - 4], 1
jmp 0x4155f9
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp - 0x14]
jae 0x41561c
mov edx, dword [ebp - 4]
mov eax, dword [ebp + edx*4 - 0xf8]
sub eax, 0x61c88647
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0xf4], eax
jmp 0x4155f0
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 8]
jbe 0x41562c
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
jmp 0x415632
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
imul edx, dword [ebp - 0x1c], 3
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0xc], ecx
jmp 0x415669
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x28]
jae 0x415725
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + ecx*4 - 0xf4]
add edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
shr edx, 3
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + eax*4 - 0xf4]
add ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
shl ecx, 0x1d
or edx, ecx
mov dword [ebp - 0x20], edx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x20]
mov dword [ebp + edx*4 - 0xf4], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp + edx*4 - 0x1f4]
add eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
shr eax, cl
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + ecx*4 - 0x1f4]
add edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
add ecx, dword [ebp - 0x10]
mov esi, 0x20
sub esi, ecx
mov ecx, esi
shl edx, cl
or eax, edx
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x24]
mov dword [ebp + edx*4 - 0x1f4], eax
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x10], ecx
mov eax, dword [ebp - 4]
add eax, 1
xor edx, edx
div dword [ebp - 0x14]
mov dword [ebp - 4], edx
mov eax, dword [ebp - 8]
add eax, 1
xor edx, edx
div dword [ebp - 0x2c]
mov dword [ebp - 8], edx
jmp 0x415660
mov dword [ebp - 4], 0
jmp 0x415737
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0x14]
jae 0x415754
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov eax, dword [ebp + eax*4 - 0xf4]
mov dword [edx + ecx*4], eax
jmp 0x41572e
pop esi
mov esp, ebp
pop ebp
ret