Function at 0x60137d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
movzx ecx, dl
cmp ecx, 6
ja case.0x60132c.0
jmp dword [ecx*4 + 0x6012c7]
movzx eax, byte [eax + 0x460]
sub al, 8
je 0x6012f7
sub al, 8
je 0x601306
jmp case.0x60132c.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x600d14
jmp case.0x60132c.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x600d90
jmp case.0x60132c.0
movzx ecx, byte [eax + 0x460]
cmp ecx, 0x10
ja case.0x60132c.0
movzx ecx, byte [ecx + 0x601333]
jmp dword [ecx*4 + 0x601344]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x600e5c
jmp case.0x60132c.0
cmp dl, 3
jne 0x601371
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x600f10
jmp case.0x60132c.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x600f94
jmp case.0x60132c.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x60101c
jmp case.0x60132c.0
movzx eax, byte [eax + 0x460]
sub al, 8
je 0x60139a
sub al, 8
je 0x6013a6
jmp case.0x60132c.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x601070
jmp case.0x60132c.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x601104
jmp case.0x60132c.0
movzx eax, byte [eax + 0x460]
sub al, 8
je 0x6013c3
sub al, 8
je 0x6013cf
jmp case.0x60132c.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x6011e4
jmp case.0x60132c.0
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], 0x601234
mov byte [ebp - 5], 0
mov dword [ebp - 0x24], 0x65bdd4
mov dword [ebp - 0x28], 0x65be0c
mov dword [ebp - 0x2c], 0x65bdb8
mov esi, 0x65bdf0
mov eax, dword [ebx + 0x18]
mov edx, dword [ebp - 0x24]
sub eax, dword [edx]
mov edx, dword [ebp - 0x28]
mov ecx, dword [edx]
add eax, ecx
dec eax
cdq
idiv ecx
mov edi, eax
mov eax, dword [ebx + 0x14]
movzx ecx, byte [eax + 0x460]
mov eax, dword [ebx + 0x14]
movzx edx, byte [eax + 0x461]
mov eax, edi
call fcn.005feb20
mov dword [ebx + 0x20], eax
movzx eax, byte [ebx + 0x48]
xor al, 1
and eax, 0x7f
mov eax, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebx + 0x20]
xor ecx, ecx
call fcn.00407f04
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebx + 0x14]
mov edx, dword [eax + 0x468]
mov ecx, dword [ebx + 0x1c]
dec ecx
sub ecx, dword [ebp - 0xc]
imul edx, ecx
mov ecx, edx
add ecx, dword [eax + 0x450]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 0x454]
mov edi, dword [ebx + 0x18]
imul edi, dword [ebp - 0xc]
add ecx, edi
mov dword [ebp - 0x10], ecx
add edx, dword [eax + 0x44c]
mov dword [ebp - 0x18], edx
cmp dword [ebx + 0x20], 0
jbe 0x601517
jmp 0x60150b
mov eax, dword [ebx + 0x20]
inc eax
push eax
lea eax, [ebx + 0x4c]
push eax
mov eax, dword [ebp + 8]
push eax
movzx eax, byte [ebx + 0x48]
mov ecx, dword [ebx + eax*4 + 0x40]
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.00600a98
test eax, eax
je 0x601517
mov eax, ebx
call fcn.00601adc
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x18]
push eax
movzx eax, byte [ebx + 0x48]
mov eax, dword [ebx + eax*4 + 0x40]
lea ecx, [eax + 1]
movzx edx, byte [ebp - 5]
mov eax, dword [ebp - 0x1c]
call dword [ebp - 0x20]
movzx eax, byte [ebx + 0x48]
xor al, 1
mov byte [ebx + 0x48], al
mov eax, dword [esi]
add dword [ebp - 0xc], eax
mov eax, dword [esi]
mov edx, dword [ebx + 0x14]
imul dword [edx + 0x468]
sub dword [ebp - 0x14], eax
mov eax, dword [esi]
imul dword [ebx + 0x18]
add dword [ebp - 0x10], eax
mov eax, dword [esi]
mov edx, dword [ebx + 0x14]
imul dword [edx + 0x468]
sub dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x1c]
cmp eax, dword [ebp - 0xc]
jg 0x60148e
inc byte [ebp - 5]
add esi, 4
add dword [ebp - 0x2c], 4
add dword [ebp - 0x28], 4
add dword [ebp - 0x24], 4
cmp byte [ebp - 5], 7
jne 0x6013f7
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8