Function at 0x1019fa39
Capabilities:
Encrypt data using rc4 prga

Disassembly:
call fcn.1019d0d4
add byte [eax], al
inc edi
je 0x1019f9f4
jo 0x1019fa0c
outsb dx, byte [esi]
inc esi
imul ebp, dword [ebp + 0x4e], 0x41656d61
add byte [eax], al
add byte [ebx + 0x72], al
popal
je 0x1019fa1f
inc ebp
jbe 0x1019fa22
outsb dx, byte [esi]
je 0x1019fa01
add byte [eax], al
add byte [edi + 0x65], al
je 0x1019fa17
jb 0x1019fa38
jo 0x1019fa0c
add byte [eax], al
add byte [edx + esi*2 + 0x61], dl
outsb dx, byte [esi]
jae 0x1019fa40
popal
je 0x1019fa3c
inc ecx
arpl word [ebx + 0x65], sp
insb byte es:[edi], dx
jb 0x1019fa40
je 0x1019fa50
jb 0x1019fa24
add byte [eax], al
add byte [ebp + 0x6e], al
jne 0x1019fa57
inc esp
imul esi, dword [ebx + 0x70], 0x5379616c
je 0x1019fa69
je 0x1019fa5f
imul ebp, dword [esi + 0x67], 0x4173
outsb dx, byte [esi]
jae 0x1019fa3b
add byte [eax], al
add byte [edi + 0x61], dh
jbe 0x1019fa66
dec edi
jne 0x1019fa78
push edi
jb 0x1019fa70
je 0x1019fa6e
add byte [eax], al
add byte [ebp + 0x6c], al
inc ebp
insb byte es:[edi], dx
insb byte es:[edi], dx
imul esi, dword [eax + 0x73], 0x65
insd dword es:[edi], dx
imul esp, dword [ecx + ebp*2 + 0x53], 0x61657274
insd dword es:[edi], dx
push eax
jb 0x1019fa92
outsd dx, dword [esi]
jo 0x1019fa8a
jb 0x1019fa9b
jb 0x1019fa9b
jns 0x1019fa29
add byte [eax], al
inc edi
je 0x1019fa86
imul ebp, dword [esi + 0x64], 0x6552776f
arpl word [eax + eax - 0x73], si
lea esp, [esp + 0x2c]
add byte [ebp + 0xf2c2464], cl
and al, 0x2c
sub al, 0xf
jne 0x1019f1f2
test dword [edi - 0x7b000009], ebp
int1
idiv edi
inc dword [ecx + esi*8 - 0x7c067664]
in al, dx
cld
test cl, dh
pushfd
mov ecx, edi
sub esp, 0xfffffffc
rcl esi, cl
inc byte [eax + edi*8]
je 0x1019fa85
add al, 0x83
les eax, [esp + ebx*4]
and al, 0xe8
test esi, edx
invalid
invalid
inc dword [eax]
add byte [edx + esi*2 + 0x61], al
jb 0x1019faed
ja 0x1019fad4
outsd dx, dword [esi]
arpl word [ebp + 0x73], si
push edx
arpl word gs:[eax + eax], si
add byte [ebp + 0x73], al
je 0x1019fb10
jae 0x1019fb11
jb 0x1019fb0e
outsd dx, dword [esi]
jns 0x1019fae4
jne 0x1019fb15
jae 0x1019fb14
jb 0x1019faa7
add byte [eax], al
inc esi
jb 0x1019fb11
inc ebp
outsb dx, byte [esi]
jbe 0x1019fb1a
jb 0x1019fb22
outsb dx, byte [esi]
insd dword es:[edi], dx
outsb dx, byte gs:[esi]
je 0x1019fb0c
je 0x1019fb2d
imul ebp, dword [esi + 0x67], 0x4173
add byte [edx + 0x65], dl
dec edi
jo 0x1019fb2e
outsb dx, byte [esi]
dec ebx
jns 0x1019fb13
js 0x1019fb11
add byte [eax], al
add byte [esp + ebp*2 + 0x73], dl
inc esi
insb byte es:[edi], dx
jae 0x1019fb1d
jb 0x1019fb3e
add byte gs:[ecx], al
invalid
ja 0x1019fb47
jbe 0x1019fb4d
dec edi
jne 0x1019fb5f
push eax
popal
jne 0x1019fb62
add bh, al
inc esp
and al, 0x30
jmp 0x1019facb
test byte [eax], al
add byte [eax], al
add byte [ebx + esi*2 + 0x74], ch
insb byte es:[edi], dx
jae 0x1019fb88
je 0x1019fb87
jb 0x1019fb79
arpl word [eax + 0x79], si
jo 0x1019fb91
inc ecx
add byte [eax], al
add byte [edi + 0x65], al
je 0x1019fb76
add byte [eax], al
inc edi
je 0x1019fb76
jb 0x1019fb96
jae 0x1019fb8d
imul ebp, dword [edi + 0x6e], 0x53000000
je 0x1019fb6f
outsd dx, dword [esi]
outsb dx, byte [esi]
add byte [eax], al
add byte [ebx + 0x65], dl
je 0x1019fb6f
imul ecx, dword [ebp + 0x6f], 0x64
add byte gs:[eax], al
dec ebp
outsd dx, dword [esi]
add byte gs:[eax], al
add byte [ebp + 0x69], ch
imul edx, dword fs:[ebx + 0x74], 0x6d616572
insd dword es:[edi], dx
dec edi
jo 0x1019fba7
outsb dx, byte [esi]
add byte [eax], al
add byte [ebp + 0x6e], al
outsb dx, byte [esi]
inc esp
imul esp, dword [ecx + 0x6c], 0xc100676f
outsd dx, dword [esi]
add cl, al
ret
inc ecx
mov ebx, dword [edx + 0x20]
sub cl, bl
rcr cl, 3
pop edx
and byte [eax], ch
fld st(0)
fld dword [ebx]
add ebx, eax
cmc
bts cx, 7
mov dword [ebp - 8], 0
jmp 0x85fc27b
add byte [eax], al
bts ecx, 0x1f
dec ecx
rcl cx, cl
mov edx, 0x66491fe9
rcl ecx, cl
cmc
mov ecx, dword [edx + 0x18]
cmp dh, 0x17
stc
clc
cmp ecx, dword [ebp - 8]
pushal
lea esp, [esp + 0x40]
jbe 0x1019f1f2
call [ebx + eax*4 + 0xf6601e9]
mov bl, 0xdf
pushfd
sub ecx, 1
btr di, bx
mov dword [ebp - 4], ecx
not di
xchg cx, di
stc
rcl ch, cl
mov ecx, dword [ebp - 8]
not esi
dec di
pushal
add ecx, dword [ebp - 4]
shl edi, 0x15
shl si, 9
xor esi, 0xb13aa55e
shr ecx, 1
mov dword [esp + 0xc], esp
xadd si, di
cmc
dec si
mov edi, dword [ebx + ecx*4]
inc si
movzx si, dl
pushal
add edi, eax
mov word [esp], 0xf932
pushfd
push dword [esp + 0xc]
call fcn.1019d890
ret 0xe29