Function at 0x4875b0
Capabilities:
Encrypt data using rc6

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x70c955
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x7b7fc0]
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 esi, ecx
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov edi, esi
neg edi
mov dword [ebp - 0x58], eax
lea eax, [esi + 4]
mov dword [ebp - 0x14], 0x10
sbb edi, edi
push edx
and edi, eax
mov eax, dword [ecx]
push 0x7bc21c
push str.Rounds
call dword [eax + 4]
mov ebx, dword [ebp - 0x14]
cmp ebx, 1
jl 0x4877f7
mov dword [esi + 0x10], ebx
lea eax, [ebx*2 + 2]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov dword [ebp - 0x14], eax
cmp ecx, eax
je 0x48764f
mov edi, edx
xor eax, eax
rep stosd dword es:[edi], eax
push edx
call fcn.0068c018
add esp, 4
lea ecx, [esi + 0x14]
push 0
push dword [ebp - 0x14]
call fcn.00458bc0
mov edx, eax
mov eax, dword [ebp - 0x14]
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0x20]
add edi, 3
mov dword [esi + 0x18], eax
mov eax, 1
shr edi, 2
cmp edi, eax
mov dword [esi + 0x1c], edx
push 0
cmovb edi, eax
push edi
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x1c], edi
call fcn.00458bc0
mov ebx, eax
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp + 0xc]
lea ecx, [edi*4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x14], 4
test eax, eax
je 0x48770d
test ebx, ebx
jne 0x4876ae
call fcn.0068bca3
mov dword [eax], 0x16
jmp 0x4876fe
mov edx, dword [ebp - 0x58]
test edx, edx
je 0x4876c6
cmp ecx, eax
jb 0x4876c6
push eax
push edx
push ebx
call fcn.00678240
add esp, 0xc
jmp 0x487703
push ecx
push 0
push ebx
call fcn.00678c60
add esp, 0xc
cmp dword [ebp - 0x58], 0
jne 0x4876e5
call fcn.0068bca3
mov dword [eax], 0x16
jmp 0x4876fe
mov eax, dword [ebp + 0xc]
lea ecx, [edi*4]
cmp ecx, eax
jae 0x48770d
call fcn.0068bca3
mov dword [eax], 0x22
call fcn.00681d70
mov eax, dword [ebp + 0xc]
lea ecx, [edi*4]
sub ecx, eax
add eax, ebx
push ecx
push 0
push eax
call fcn.00678c60
add esp, 0xc
lea edx, [ebp - 0x14]
lea ecx, [ebp - 0x5c]
call fcn.0045d8d0
mov eax, dword [esi + 0x1c]
mov edx, 1
mov dword [eax], 0xb7e15163
mov eax, dword [esi + 0x18]
cmp eax, edx
jbe 0x487758
nop dword [eax]
mov eax, dword [esi + 0x1c]
lea ecx, [eax + edx*4]
inc edx
mov eax, dword [ecx - 4]
sub eax, 0x61c88647
mov dword [ecx], eax
mov eax, dword [esi + 0x18]
cmp edx, eax
jb 0x487740
cmp eax, edi
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
cmovb eax, edi
lea ecx, [eax + eax*2]
xor eax, eax
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x14], eax
test ecx, ecx
je 0x4877c7
nop word [eax + eax]
xor edx, edx
div dword [esi + 0x18]
mov eax, dword [esi + 0x1c]
lea ecx, [eax + edx*4]
xor edx, edx
mov eax, dword [ecx]
add eax, dword [ebp - 0x58]
add eax, dword [ebp - 0x5c]
rol eax, 3
mov dword [ecx], eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x14]
div edi
mov eax, dword [ebx + edx*4]
lea edx, [ebx + edx*4]
add eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x58]
add eax, dword [ebp - 0x5c]
add ecx, dword [ebp - 0x5c]
rol eax, cl
mov dword [ebp - 0x58], eax
mov dword [edx], eax
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 0x60]
jb 0x487780
mov ecx, dword [ebp - 0x64]
xor eax, eax
mov edi, ebx
rep stosd dword es:[edi], eax
push ebx
call fcn.0068c018
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.0065d40e
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [edi]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, edi
call dword [eax + 8]
push ebx
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0
call fcn.00468b60
push 0x79ecb0
lea eax, [ebp - 0x54]
push eax
call fcn.00678842
int3