Function at 0x48b330
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x44
movsx eax, word [0x753bec]
mov dword [esp + 0x4c], eax
push ebx
fild dword [esp + 0x50]
push ebp
push esi
push edi
fmul dword [0x4a727c]
fmul dword [0x4a7360]
call fcn.0049da5c
movsx ecx, word [0x753c10]
mov dword [esp + 0x5c], ecx
mov ebx, eax
fild dword [esp + 0x5c]
mov dword [esp + 0x58], ebx
fmul dword [0x4a7280]
fmul dword [0x4a73a8]
call fcn.0049da5c
push 0
mov dword [esp + 0x60], eax
call fcn.0048eb70
xor ecx, ecx
mov ch, al
mov dword [esp + 0x14], ecx
call fcn.0048eb70
mov ecx, dword [esp + 0x14]
mov cl, al
shl ecx, 8
mov dword [esp + 0x14], ecx
call fcn.0048eb70
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x74]
and eax, 0xff
add edx, 0x11
or ecx, eax
mov eax, dword [esp + 0x60]
push ecx
add eax, 0xfffffff0
push edx
lea ecx, [ebx + 0x18]
push eax
push ecx
call fcn.0048b1a0
mov eax, dword [esp + 0x74]
mov ebp, dword [esp + 0x80]
sar eax, 1
lea edi, [ebp*8]
add esp, 0x14
cdq
sub edi, ebp
xor eax, edx
sar edi, 3
sub eax, edx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x60], eax
je 0x48b434
mov dl, byte [0x4bf2d2]
and edx, 7
shl edx, 0xd
sar edx, 3
movsx ecx, word [edx*2 + 0x4b34d0]
lea edx, [eax - 0x1000]
shl ecx, 2
sar edx, 5
imul ecx, edx
sar ecx, 0xe
add eax, ecx
mov dword [esp + 0x60], eax
jns 0x48b434
mov dword [esp + 0x60], 0
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
sar edx, 1
sar ecx, 1
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], ecx
js 0x48b5eb
mov ebx, 0xffffc000
jmp 0x48b459
mov edi, dword [esp + 0x6c]
mov esi, ebx
sar esi, 3
and esi, 0x1ffe
add esi, esi
movsx eax, word [esi + 0x4b34d0]
lea ecx, [eax*4]
mov eax, ecx
imul ecx, ebp
imul eax, edi
sar ecx, 0xd
mov edi, ecx
movsx ecx, word [0x753bec]
sar eax, 0xd
mov dword [esp + 0x70], ecx
mov edx, eax
fild dword [esp + 0x70]
sar edx, 2
sub eax, edx
fmul dword [0x4a727c]
mov dword [esp + 0x70], eax
fild dword [esp + 0x70]
fmul st(1)
call fcn.0049da5c
add eax, dword [esp + 0x58]
mov dword [esp + 0x70], eax
movsx eax, word [esi + 0x4b34d2]
fild dword [esp + 0x70]
fstp dword [esp + 0x14]
lea esi, [eax*4]
movsx eax, word [0x753c10]
mov ecx, esi
mov dword [esp + 0x70], eax
imul ecx, dword [esp + 0x6c]
fild dword [esp + 0x70]
fmul dword [0x4a7280]
fstp dword [esp + 0x70]
neg ecx
sar ecx, 0xe
mov dword [esp + 0x10], ecx
fild dword [esp + 0x10]
fmul dword [esp + 0x70]
call fcn.0049da5c
mov ecx, dword [esp + 0x5c]
mov edx, dword [0x753ba4]
add eax, ecx
mov ecx, edi
mov dword [esp + 0x10], eax
mov eax, dword [0x753c28]
fild dword [esp + 0x10]
sar ecx, 2
sub edi, ecx
mov dword [esp + 0x1c], edx
fstp dword [esp + 0x18]
mov dword [esp + 0x10], edi
mov dword [esp + 0x20], eax
fild dword [esp + 0x10]
fmul st(1)
call fcn.0049da5c
imul esi, ebp
fstp st(0)
add eax, dword [esp + 0x58]
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
neg esi
sar esi, 0xe
fstp dword [esp + 0x34]
mov dword [esp + 0x10], esi
fild dword [esp + 0x10]
fmul dword [esp + 0x70]
call fcn.0049da5c
mov ecx, dword [esp + 0x5c]
mov edx, dword [0x753ba4]
add eax, ecx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x70], eax
mov eax, dword [0x753c28]
fild dword [esp + 0x70]
mov dword [esp + 0x40], eax
fstp dword [esp + 0x38]
mov edi, dword [esp + 0x64]
lea ecx, [ebx + 0x4000]
xor eax, eax
cmp ecx, edi
setle al
dec eax
mov edx, dword [esp + 0x28]
and eax, 0xffff0001
push 6
dec eax
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x38]
mov dword [esp + 0x4c], edx
push eax
push ecx
call dword [0x5339a0]
mov eax, dword [esp + 0x74]
add ebx, 0x800
add esp, 0xc
lea edx, [ebx + 0x4000]
cmp edx, eax
jle 0x48b455
mov ebx, dword [esp + 0x58]
mov eax, dword [esp + 0x60]
lea esi, [eax - 0x4000]
mov ecx, ebp
sar esi, 3
and esi, 0x1ffe
add esi, esi
sar ecx, 4
movsx eax, word [esi + 0x4b34d0]
sub ebp, ecx
lea ecx, [eax*4]
mov edx, ecx
imul ecx, ebp
neg edx
sar ecx, 0xd
shl edx, 2
mov edi, ecx
mov eax, edx
movsx ecx, word [0x753bec]
sar eax, 0xd
mov dword [esp + 0x60], ecx
mov edx, eax
fild dword [esp + 0x60]
sar edx, 2
sub eax, edx
fmul dword [0x4a727c]
mov dword [esp + 0x60], eax
fild dword [esp + 0x60]
fmul st(1)
call fcn.0049da5c
add eax, ebx
mov dword [esp + 0x60], eax
movsx eax, word [esi + 0x4b34d2]
fild dword [esp + 0x60]
fstp dword [esp + 0x14]
lea esi, [eax*4]
movsx eax, word [0x753c10]
mov dword [esp + 0x60], eax
lea ecx, [esi*4]
fild dword [esp + 0x60]
sar ecx, 0xe
mov dword [esp + 0x60], ecx
fmul dword [0x4a7280]
fstp dword [esp + 0x70]
fild dword [esp + 0x60]
fmul dword [esp + 0x70]
call fcn.0049da5c
mov ecx, dword [esp + 0x5c]
mov edx, dword [0x753ba4]
add eax, ecx
mov ecx, edi
mov dword [esp + 0x60], eax
mov eax, dword [0x753c28]
fild dword [esp + 0x60]
sar ecx, 2
sub edi, ecx
mov dword [esp + 0x1c], edx
fstp dword [esp + 0x18]
mov dword [esp + 0x60], edi
mov dword [esp + 0x20], eax
fild dword [esp + 0x60]
fmul st(1)
call fcn.0049da5c
imul esi, ebp
fstp st(0)
add eax, ebx
mov dword [esp + 0x60], eax
fild dword [esp + 0x60]
neg esi
sar esi, 0xe
fstp dword [esp + 0x34]
mov dword [esp + 0x60], esi
fild dword [esp + 0x60]
fmul dword [esp + 0x70]
call fcn.0049da5c
mov ebx, dword [esp + 0x5c]
mov edx, dword [0x753ba4]
add eax, ebx
mov dword [esp + 0x3c], edx
mov dword [esp + 0x60], eax
mov eax, dword [0x753c28]
fild dword [esp + 0x60]
fstp dword [esp + 0x38]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
lea eax, [esp + 0x34]
push 6
lea ecx, [esp + 0x18]
push eax
push ecx
mov dword [esp + 0x54], edx
call dword [0x5339a0]
add esp, 0xc
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret