Function at 0x1019d0d4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
lea esp, [esp + 0x44]
je 0x1019f1f2
cmc
add edx, eax
shld cx, sp, cl
mov ecx, dword [esi + 0x7c]
call fcn.1019f28a
add byte [eax], al
inc edi
jb 0x1019d153
jns 0x1019d147
je 0x1019d168
imul ebp, dword [esi + 0x67], 0xdf390041
pushal
lea esp, [esp + 0x24]
ja 0x1019fa65
call fcn.101a4927
add byte [eax], al
inc edi
je 0x1019d157
insb byte es:[edi], dx
dec ecx
je 0x1019d17d
insd dword es:[edi], dx
add byte [eax], al
add byte [eax + 0x65], dl
imul ecx, dword gs:[ebp + 0x65], 0x73
jae 0x1019d186
inc ecx
add byte [edi], cl
mov bl, 0xe3
bsf bx, di
mov ebx, eax
jmp 0x1019edc5
inc edi
je 0x1019d19e
jns 0x1019d1c0
je 0x1019d1b4
insd dword es:[edi], dx
push esp
imul ebp, dword [ebp + 0x65], 0x43000000
add byte gs:[eax], al
add byte [ebx + 0x6f], al
inc ebx
outsd dx, dword [esi]
jo 0x1019d1d4
push edx
arpl word gs:[eax + eax], si
add byte [edi + 0x65], al
je 0x1019d1a8
imul ecx, dword [ebp + 0x6f], 0x64
add byte gs:[eax], al
outsd dx, dword [esi]
add byte gs:[eax], al
add byte [edi + 0x65], al
je 0x1019d1b5
insb byte es:[edi], dx
imul esp, dword [ebp + 0x6e], 0x63655274
je 0x1019d17c
lodsb al, byte [esi]
pushfd
test ch, bh
neg al
call fcn.101a551e
add byte [eax], al
inc esp
jne 0x1019d1fc
add byte [eax], al
add byte [ebp + esi*2 + 0x70], al
insb byte es:[edi], dx
imul esp, dword [ebx + 0x61], 0x61486574
outsb dx, byte [esi]
insb byte es:[edi], dx
add byte gs:[eax], al
add byte [ecx + 0x6e], cl
jbe 0x1019d200
popal
insb byte es:[edi], dx
imul esp, dword [ecx + 0x74], 0x63655265
je 0x1019d1aa
inc esp
and al, 4
sahf
inc esp
push 0x70557261
jo 0x1019d240
jb 0x1019d21e
add byte [eax], al
add byte [ebx + 0x65], dl
je 0x1019d23b
imul ebp, dword [esi + 0x64], 0x6554776f
js 0x1019d261
inc ecx
add byte [eax], al
add byte [ebp + 0x6e], al
popal
bound ebp, qword [ebp + 0x57]
imul ebp, dword [esi + 0x64], 0x776f
ja 0x1019d1fe
add byte [eax], al
add byte [ebx + 0x72], al
popal
inc ebx
jb 0x1019d268
popal
je 0x1019d26b
push edx
arpl word gs:[edx + edx*2 + 0x67], si
outsb dx, byte [esi]
dec ecx
outsb dx, byte [esi]
imul esi, dword fs:[edx + 0x65], 0x8a007463
shl dword [esi - 0x429170e2], 0xee
xor byte [ecx - 0x711a33fe], dl
cmp byte [edx + 0x17cd24], bl
dec ecx
sal ch, cl
dec esp
rcr dword [ebp + 0x2319f820], 1
stosb byte es:[edi], al
sbb byte [ebx - 0x1c], cl
inc ebp
cmpsd dword [esi], dword es:[edi]
fsubr qword [edx + 0x71]
push 0x71
sub byte [eax], dh
mov ah, 0xf9
stc
jmp 0x1019d1ff
loope 0x1019d2ce
push es
test eax, 0xf83ca89d
clc
inc esp
jmp dword [ebx - 9]
arpl di, si
push edx
ror byte [edx + edx*2 + 0x6d61c11b], 1
cmp bl, byte [eax]
invalid
jmp 0xcd5e239
cmp byte [edi], 0x23
pushal
lea esp, [esp + 0x20]
jne 0x101a473a
shld ax, dx, 8
shr ax, cl
sub ah, dl
xor edx, edx
rol eax, 6
sar ax, cl
aad 0xf6
mov eax, edx
rcr al, cl
shl al, cl
sal al, 3
or al, al
add edi, 1
xor al, 8
jb 0x101a2e31
xor al, 0xb8
sar al, 1
mov al, byte [edi]
pushfd
test al, al
push 0xa40fef46
push dword [esp]
lea esp, [esp + 0xc]
je 0x101a472a
cmc
jmp 0x101a0f1c
pushal
cmp al, 9
call fcn.1019f939
test ch, 0x3e
clc
sub al, 0x30
jg 0x101a0484
test bx, 0xa028
cmp al, 9
pushfd
mov byte [esp], 0x8c
lea esp, [esp + 4]
ja 0x1019f586
call fcn.101a0c84
mov dword [esp + 0x28], eax
push edi
pushfd
push dword [esp + 0x30]
ret 0x34
sbb al, cl
neg al
pushal
ror al, 1
mov al, byte [edi]
call fcn.1019f32b
add byte [eax], al
push edi
popal
imul esi, dword [esi + eax*2 + 0x6f], 0x6e695372
insb byte es:[di], dx
dec edi
bound ebp, qword [edx + 0x65]
arpl word [eax + eax - 0x64], si
pushfd
jmp 0x101a280b