Function at 0x615410
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x64454f
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x6cf520]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x70]
mov ecx, dword [ebp + 0x10]
mov esi, ebx
mov dword [ebp - 0x74], eax
neg esi
lea eax, [ebx + 4]
mov dword [ebp - 0x6c], 0
sbb esi, esi
and esi, eax
mov eax, dword [ecx]
push edx
push 0x6da10c
push str.Rounds
mov eax, dword [eax + 4]
call eax
test al, al
je 0x61547f
mov edi, dword [ebp - 0x70]
cmp edi, 1
jl 0x6155e3
jmp 0x615484
mov edi, 0x14
mov dword [ebx + 0xc], edi
lea edi, [edi*2 + 4]
mov ecx, dword [ebx + 0x18]
mov edx, dword [ebx + 0x1c]
mov dword [ebp - 0x70], edi
cmp ecx, edi
je 0x6154be
test edx, edx
je 0x6154b1
mov edi, edx
xor eax, eax
rep stosd dword es:[edi], eax
push edx
call fcn.00597380
mov edi, dword [ebp - 0x70]
add esp, 4
push 0
push edi
lea ecx, [ebx + 0x10]
call fcn.0052cc80
mov edx, eax
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
mov dword [ebx + 0x18], edi
mov eax, 1
push 0
mov dword [ebx + 0x1c], edx
lea edi, [esi + 3]
mov dword [ebx + 0x14], 0x3fffffff
shr edi, 2
cmp edi, eax
mov dword [ebp - 0x1c], 0x3fffffff
cmovb edi, eax
push edi
mov dword [ebp - 0x18], edi
call fcn.0052cc80
mov dword [ebp - 0x14], eax
push esi
push dword [ebp - 0x74]
mov dword [ebp - 4], 4
push edi
push eax
push 0
call fcn.005c3650
mov eax, dword [ebx + 0x1c]
mov edx, 1
add esp, 0x14
mov dword [eax], 0xb7e15163
mov eax, dword [ebx + 0x18]
cmp eax, edx
jbe 0x61553a
mov eax, dword [ebx + 0x1c]
lea ecx, [eax + edx*4]
inc edx
mov eax, dword [ecx - 4]
sub eax, 0x61c88647
mov dword [ecx], eax
mov eax, dword [ebx + 0x18]
cmp edx, eax
jb 0x615522
xor esi, esi
xor ecx, ecx
cmp eax, edi
cmovb eax, edi
lea edx, [eax + eax*2]
xor eax, eax
mov dword [ebp - 0x74], edx
mov dword [ebp - 0x6c], eax
test edx, edx
je 0x615594
xor edx, edx
add esi, ecx
div dword [ebx + 0x18]
mov eax, dword [ebx + 0x1c]
add esi, dword [eax + edx*4]
lea eax, [eax + edx*4]
rol esi, 3
xor edx, edx
mov dword [eax], esi
mov eax, dword [ebp - 0x6c]
div edi
mov eax, dword [ebp - 0x14]
lea edx, [eax + edx*4]
lea eax, [ecx + esi]
add ecx, esi
add eax, dword [edx]
and ecx, 0x1f
rol eax, cl
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
mov dword [edx], eax
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp eax, dword [ebp - 0x74]
jb 0x615552
mov edx, dword [ebp - 0x14]
cmp edi, 0x3fffffff
mov eax, 0x3fffffff
mov dword [ebp - 4], 5
cmova edi, eax
mov dword [ebp - 0x74], edi
test edx, edx
je 0x6155c5
mov ecx, dword [ebp - 0x74]
mov edi, edx
xor eax, eax
rep stosd dword es:[edi], eax
push edx
call fcn.00597380
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00597338
mov esp, ebp
pop ebp
ret 0xc
test esi, esi
je 0x615602
mov eax, dword [esi]
lea ecx, [ebp - 0x28]
push ecx
mov ecx, esi
call dword [eax + 8]
mov dword [ebp - 4], 0
mov dword [ebp - 0x6c], 1
jmp 0x61561d
push str.VariableRounds
lea ecx, [ebp - 0x68]
call fcn.0043eb80
mov dword [ebp - 4], 1
mov dword [ebp - 0x6c], 2
push edi
push eax
lea ecx, [ebp - 0x50]
call fcn.005c4a70
push 0x6ad718
lea eax, [ebp - 0x50]
push eax
call fcn.005d2e27
int3