Function at 0x53c080
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x6ece84]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x104]
push 0x100
push 0
push eax
mov dword [ebp - 0x110], edi
call fcn.00607da0
mov esi, dword [ebp + 0x14]
add esp, 0xc
mov ecx, esi
mov dword [ebp - 0x108], ecx
cmp esi, 0x10
je 0x53c0df
cmp esi, 0xc
je 0x53c0df
cmp esi, 8
mov eax, 0x10
cmove eax, esi
mov esi, eax
mov ecx, eax
mov dword [ebp - 0x108], esi
mov edx, dword [ebp + 0x10]
xor ebx, ebx
mov dword [edi], ecx
xor edi, edi
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x114], 0
lea eax, [ecx - 8]
test eax, eax
js 0x53c16e
mov edi, ecx
shr edi, 3
lea eax, [edi*8]
mov dword [ebp - 0x10c], eax
nop
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [edx]
shl ecx, 0x10
or ecx, eax
movzx eax, byte [edx + 5]
mov dword [ebp + ebx*4 - 0x104], ecx
movzx ecx, byte [edx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 4]
shl ecx, 8
or ecx, eax
movzx eax, byte [edx + 7]
shl eax, 0x18
add edx, 8
or eax, ecx
mov dword [ebp + ebx*4 - 0x100], eax
add ebx, 2
sub edi, 1
jne 0x53c110
mov ecx, dword [ebp + 0xc]
mov edi, dword [ebp - 0x10c]
mov dword [ebp - 0x108], esi
jmp 0x53c170
xor ebx, ebx
cmp ecx, edi
je 0x53c1e3
mov eax, ecx
xor edi, edi
and eax, 7
xor esi, esi
lea ecx, [eax + edx]
dec eax
cmp eax, 7
ja case.default.0x53c186
jmp dword [eax*4 + 0x53c2f8]
movzx esi, byte [ecx - 1]
dec ecx
shl esi, 0x18
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 0x10
or esi, eax
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 8
or esi, eax
movzx eax, byte [ecx - 1]
dec ecx
or esi, eax
movzx edi, byte [ecx - 1]
dec ecx
shl edi, 0x18
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 0x10
or edi, eax
movzx eax, byte [ecx - 1]
dec ecx
shl eax, 8
or edi, eax
movzx eax, byte [ecx - 1]
or edi, eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp + ebx*4 - 0x100], esi
mov dword [ebp + ebx*4 - 0x104], edi
mov edi, dword [ebp - 0x108]
lea eax, [ecx + 3]
cdq
mov ecx, 1
and edx, 3
lea edi, [edi*2 + 2]
lea esi, [edx + eax]
mov edx, dword [ebp - 0x110]
sar esi, 2
mov dword [ebp - 0x118], esi
mov dword [edx + 4], 0xb7e15163
cmp edi, ecx
jle 0x53c231
nop dword [eax]
mov eax, dword [edx + ecx*4]
sub eax, 0x61c88647
mov dword [edx + ecx*4 + 4], eax
inc ecx
cmp ecx, edi
jl 0x53c220
xor edx, edx
xor ebx, ebx
xor ecx, ecx
mov eax, edi
cmp edi, esi
cmovle eax, esi
xor esi, esi
lea eax, [eax + eax*2]
mov dword [ebp - 0x108], eax
test eax, eax
jle 0x53c2e5
mov eax, dword [ebp - 0x110]
mov eax, dword [eax + ecx*4 + 4]
add ebx, eax
mov eax, dword [ebp - 0x110]
add ebx, edx
rol ebx, 3
mov dword [eax + ecx*4 + 4], ebx
mov eax, dword [ebp - 0x114]
lea ecx, [ebx + edx]
lea eax, [ebp + eax*4 - 0x104]
mov dword [ebp - 0x10c], eax
mov eax, dword [eax]
add eax, ebx
add edx, eax
and ecx, 0x1f
je 0x53c291
rol edx, cl
jmp 0x53c298
neg ecx
and ecx, 0x1f
ror edx, cl
mov ecx, dword [ebp - 0x10c]
inc esi
mov eax, dword [ebp - 0x114]
inc eax
mov dword [ebp - 0x10c], esi
mov dword [ecx], edx
xor ecx, ecx
cmp esi, edi
cmovge esi, ecx
cmp eax, dword [ebp - 0x118]
cmovge eax, ecx
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x114], eax
mov eax, ecx
dec ecx
mov dword [ebp - 0x108], ecx
cmp eax, 1
je 0x53c2df
mov ecx, esi
jmp 0x53c251
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.005e9f40
mov esp, ebp
pop ebp
ret