Function at 0x5c81f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x5c8478
sub esp, 0x4c
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x5c]
mov ebp, eax
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x68], ecx
test eax, eax
jle 0x5c83b5
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
xor edi, edi
mov dword [esp + 0x14], eax
cmp edi, 8
jge 0x5c829b
test eax, eax
je 0x5c846b
lea ecx, [edx - 2]
sar ecx, 0x1f
xor ecx, 0xffffffff
and ecx, 1
add ecx, ebx
dec edx
xor ebp, ebp
movzx ebx, byte [ebx + ebp]
lea ebp, [0x7e3b20]
movzx ebx, byte [ebp + ebx]
cmp edi, 8
jae 0x5c8464
mov byte [esp + edi + 0x18], bl
dec eax
cmp bl, 0xff
je 0x5c841e
inc edi
mov ebp, dword [esp + 0x60]
mov ebx, ecx
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x14], eax
cmp edi, 8
jl 0x5c8248
mov dword [esp + 0x64], edx
mov dword [esp + 0x5c], ebx
movzx ebp, byte [esp + 0x18]
movzx eax, byte [esp + 0x19]
shl ebp, 3
shr al, 2
or ebp, eax
mov eax, dword [esp + 0x54]
cmp esi, eax
jae 0x5c8417
mov edx, dword [esp + 0x50]
xchg ebp, eax
mov byte [edx + esi], al
xchg ebp, eax
movzx ebp, byte [esp + 0x19]
movzx ebx, byte [esp + 0x1a]
shl ebp, 6
shl ebx, 1
or ebp, ebx
movzx ebx, byte [esp + 0x1b]
shr bl, 4
or ebp, ebx
lea ebx, [esi + 1]
cmp ebx, eax
jae 0x5c8410
xchg ebp, eax
mov byte [edx + esi + 1], al
xchg ebp, eax
movzx ebx, byte [esp + 0x1b]
movzx ebp, byte [esp + 0x1c]
shl ebx, 4
xchg ebp, eax
shr al, 1
xchg ebp, eax
or ebx, ebp
lea ebp, [esi + 2]
cmp ebp, eax
jae 0x5c8409
mov byte [edx + esi + 2], bl
movzx ebx, byte [esp + 0x1c]
movzx ebp, byte [esp + 0x1d]
shl ebx, 7
shl ebp, 2
or ebx, ebp
movzx ebp, byte [esp + 0x1e]
xchg ebp, eax
shr al, 3
xchg ebp, eax
or ebx, ebp
lea ebp, [esi + 3]
cmp ebp, eax
jae 0x5c8402
mov byte [edx + esi + 3], bl
movzx ebx, byte [esp + 0x1e]
movzx ebp, byte [esp + 0x1f]
shl ebx, 5
or ebx, ebp
lea ebp, [esi + 4]
cmp ebp, eax
jae 0x5c83fb
mov byte [edx + esi + 4], bl
test ecx, ecx
jge 0x5c83d4
mov ebx, edi
lea edi, [esp + 0x28]
mov ebp, esi
lea esi, [0x659aa0]
call fcn.0044a326
cmp ebx, 9
jae 0x5c83cd
mov ecx, dword [esp + ebx*4 + 0x28]
add ecx, ebp
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x14]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x60]
mov edx, esi
mov eax, dword [esp + 0x14]
mov esi, ecx
mov ecx, ebx
mov ebx, edi
mov dword [esp + 0x10], esi
mov dword [esp + 0x68], ecx
test eax, eax
jg 0x5c822d
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
add esp, 0x4c
ret
call dbg.runtime.panicindex
ud2
cmp ecx, 0x28
jle 0x5c83f7
mov ebx, 0x28
lea ebp, [ebx + 7]
sar ebp, 0x1f
shr ebp, 0x1d
lea ebp, [ebx + ebp + 7]
sar ebp, 3
add ebp, esi
lea ebx, [ecx - 0x28]
mov ecx, ebp
jmp 0x5c8389
mov ebx, ecx
jmp 0x5c83de
call dbg.runtime.panicindex
ud2
call dbg.runtime.panicindex
ud2
call dbg.runtime.panicindex
ud2
call dbg.runtime.panicindex
ud2
call dbg.runtime.panicindex
ud2
mov ecx, dword [esp + 0x60]
sub ecx, eax
lea eax, [ecx - 1]
mov dword [esp + 0x20], eax
sar eax, 0x1f
mov dword [esp + 0x24], eax
lea eax, [0x724ff0]
mov dword [esp], eax
lea eax, [esp + 0x20]
mov dword [esp + 4], eax
call dbg.runtime.convT2I
mov eax, dword [esp + 8]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], ecx
add esp, 0x4c
ret
call dbg.runtime.panicindex
ud2
mov dword [esp + 0x64], edx
mov dword [esp + 0x5c], ebx
jmp 0x5c82a3
call dbg.runtime.morestack_noctxt
jmp dbg.botlib.z32decode