Function at 0x4748a5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov eax, dword fs:[0]
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5f8013df
push eax
mov dword fs:[0], esp
sub esp, 0x68
mov dword [ebp - 0x10], ecx
push ebx
push esi
mov ebx, dword [ebp + 8]
push edi
cmp ebx, 0x111
jne 0x474903
mov ecx, dword [ecx]
mov esi, dword [ebp + 0x10]
push esi
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
call dword [eax + 0x48]
test eax, eax
je 0x4748f5
mov eax, 1
jmp 0x474a7b
push esi
mov ecx, dword [ebp - 0x10]
push edi
mov eax, dword [ebp - 0x14]
push ebx
jmp 0x474a78
cmp ebx, 0x4e
jne 0x47494c
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x20], 0
cmp dword [esi], 0
je 0x474937
lea eax, [ebp - 0x20]
mov edi, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push esi
mov eax, dword [ebp - 0x10]
push edi
mov eax, dword [eax]
call dword [eax + 0x4c]
test eax, eax
je 0x47493a
mov eax, dword [ebp - 0x20]
jmp 0x474a7b
mov edi, dword [ebp + 0xc]
push esi
mov eax, dword [ebp - 0x10]
push edi
mov ecx, eax
push ebx
mov esi, dword [eax]
call dword [esi + 0x60]
jmp 0x474a7b
cmp ebx, 6
jne 0x474969
mov esi, dword [ebp + 0x10]
push esi
call fcn.00474758
push eax
mov edi, dword [ebp + 0xc]
push edi
push dword [ebp - 0x10]
call fcn.00499851
jmp 0x47496f
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
cmp ebx, 0x20
jne 0x474997
mov eax, esi
shr eax, 0x10
movsx edx, si
movzx ecx, ax
push ecx
push edx
push dword [ebp - 0x10]
call fcn.004998bd
test eax, eax
je 0x474997
mov eax, 1
jmp 0x474a7b
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov ecx, eax
mov eax, dword [ebp - 0x14]
call dword [eax + 0x1c]
mov dword [ebp - 0x18], eax
movzx eax, ax
xor eax, ebx
and eax, 0xff
imul eax, eax, 0xc
add eax, 0x5f838310
mov dword [ebp - 0x1c], eax
cmp dword [eax], ebx
jne 0x4749e9
mov ecx, eax
mov eax, dword [ebp - 0x18]
cmp dword [ecx + 8], eax
jne 0x4749e9
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx + 4]
test eax, eax
je 0x474a6f
cmp ebx, 0xc000
jae 0x474e09
jmp 0x474a1a
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
test eax, eax
mov dword [ecx], ebx
mov dword [ecx + 8], eax
je 0x474a65
cmp ebx, 0xc000
jae 0x474a30
push 0
mov eax, dword [ebp - 0x18]
push 0
push ebx
push dword [eax + 4]
call fcn.00475b1c
test eax, eax
je 0x474a59
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
mov ecx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
dec eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x29
ja 0x474a8e
jmp dword [eax*4 + 0x5f8016c3]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 4]
push 0
push 0
push 0xc000
push eax
call fcn.00475b1c
test eax, eax
je 0x474a59
mov ecx, dword [eax + 0x10]
cmp dword [ecx], ebx
je 0x474e03
add eax, 0x18
jmp 0x474a36
mov eax, dword [ebp - 0x18]
call dword [eax]
mov dword [ebp - 0x18], eax
test eax, eax
jne 0x4749f8
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], 0
push esi
mov ecx, dword [ebp - 0x10]
push edi
mov eax, dword [ebp - 0x14]
push ebx
call dword [eax + 0x60]
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
xor eax, eax
jmp 0x474a7b
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 4], eax
mov eax, dword [eax + 0x14]
push esi
push edi
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
call eax
jmp 0x474a7b