Function at 0x784930
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, edi
shr ecx, 0x1d
jmp 0x78479a
jmp 0x76b25b
call fcn.00784a4f
pop edi
call fcn.00784a08
jmp 0x76b223
jmp 0x74f590
mov dword [eax + 8], 0xc96f2cf0
pushfd
mov dword [esp], eax
mov word [esp + 1], di
jmp 0x74fd40
and dword [eax + 4], 0
pushal
lea esp, [esp + 0x20]
and dword [eax], 0
jmp 0x74fcfc
push word [esp + 1]
lea esp, [esp + 2]
jmp 0x74fd59
lea esp, [esp + 4]
mov dword [eax + 0xc], 0x30b965a0
mov dword [eax + 0x10], 0x5192dedd
pushal
jmp 0x74fd25
lea esp, [esp + 0x20]
mov dword [eax + 0x14], 0x704dac02
ret
jmp 0x74fd17
push ebp
jmp 0x78465d
test edi, edi
jne 0x784673
mov bx, word [esp]
jmp 0x784989
mov dh, byte [esp]
setle dh
lea ebx, [0xce4d42f5]
jmp 0x7847e5
mov ebp, esp
shl edx, 0xa
jmp 0x7846a0
mov ecx, dword [esp]
mov ecx, dword [ebp + 8]
mov cl, byte [ecx]
jmp 0x7847d1
sub esp, 1
lea esp, [esp]
lea esp, [esp + 1]
jmp 0x7847b9
mov ecx, dword [esi]
sub esp, 0x40
adc edx, 0xdb578de7
mov dx, 0x4f4a
jmp 0x78474d
lea edx, [ecx + edi*8]
jmp 0x78472c
shr eax, 3
lea edx, [ecx - 0x80]
lea edx, [eax + edx]
jmp 0x7846d4
mov edi, eax
mov ah, 0x83
mov dx, word [esp]
mov eax, 0x81cf5b85
mov eax, ecx
jmp 0x7846ea
push dword [esp + 3]
jmp 0x784737
and eax, 0x3f
cmp edx, ecx
pushfd
mov dword [esp], ebx
jmp 0x784716
lea esp, [esp + 8]
jae 0x74f569
call fcn.00784771
sbb al, 0x8b
sbb edi, dword [esi - 0x73]
dec esi
scasb al, byte es:[edi]
bsr dx, cx
push edi
mov di, word [esp]
setb dl
jmp 0x784705
add dword [esi + 4], ecx
pushfd
call fcn.0078477b
lea esp, [esp + 0xc]
cmp eax, 0x40
jmp 0x784800
inc dword [ebp + 8]
sub esp, 0xe
mov byte [esp + 3], dh
lea esp, [esp + 2]
jmp 0x7847a3
dec edi
mov byte [eax + esi + 0x18], cl
inc eax
jmp 0x784680
clc
lea eax, [esi + 0x1a]
jmp 0x784645
push ebp
pushal
lea edx, [edx + edi]
setne dh
jmp 0x78480d
jne 0x784626
cpuid
clc
xor ecx, ecx
jmp 0x7847dc
mov dword [esp + 8], eax
sub esp, 0x15
mov word [esp + 6], cx
sub esp, 0x1d
lea esp, [esp + 2]
lea esp, [esp + 0x30]
jmp 0x784860
rcr ebx, 0xa
bsr ebx, ecx
movzx ebx, byte [eax]
clc
jmp 0x7848da
mov ebx, esp
movzx ebx, byte [eax - 1]
jmp 0x784892
popal
add ebp, 1
movzx edx, byte [ebp]
pop ebp
lea ebx, [ecx + esi]
jmp 0x784837
neg bh
lea ebx, [ebx - 0x7d]
mov bl, byte [esp]
shl bl, cl
movzx ebx, byte [eax - 2]
jmp 0x7848b3
shl edx, 8
pushfd
mov byte [esp], cl
or edx, ebx
jmp 0x78486e
or edx, ebx
stc
jmp 0x7848c0
stc
stc
shl edx, 8
sub esp, 0x1f
sub esp, 9
jmp 0x78489d
push edi
mov edi, ecx
lea edi, [edi*4]
jmp 0x784904
shl edx, 8
push bx
mov word [esp], bx
lea esp, [esp + 2]
or edx, ebx
jmp 0x784846
lea esp, [esp + 0x2c]
inc ecx
clc
jmp 0x784928
lea edi, [edi + ebp]
add edi, 0xffffffc0
mov dword [edi], edx
pop edi
jmp 0x7848ee
add eax, 4
call fcn.00784912
mov dword [esp], ecx
jmp 0x784952
lea esp, [esp + 4]
jb 0x784645
mov ch, byte [esp]
mov ax, word [esp]
lea eax, [ecx*4]
jmp 0x784add
setns bl
jmp 0x7849a8
mov ebx, dword [esp]
lea esp, [esp + 4]
jmp 0x74f5a6
lea ecx, [esi + 8]
lea eax, [ebp - 0x40]
call fcn.00784a7f
mov byte [eax], 0
call fcn.00784b72
push esi
fimul word [ebx + ebp - 0x1a]
push eax
movsb byte es:[edi], byte [esi]
xor esp, dword [ebx - 0x490eca3a]
mov eax, dword [0xe8744d8b]
mov dl, 0
add byte [eax], al
in al, dx
invalid