Function at 0x40135e
Capabilities:
Encrypt data using rc4 prga

Disassembly:
sub dword [eax], 0xc86d1cc
jmp 0x40130b
push dword [ebx + 4]
pop edx
jmp 0x401160
jne 0x401160
jmp 0x40125f
sbb ah, byte [esi - 0x74]
in eax, dx
add dword [ebx + 0xff8012f], 0xffffff83
xor byte [eax], al
add byte [eax], al
sub dword [edi], 1
clc
jae 0x40122b
push 0x6b
clc
adc eax, 0x81c7bf22
mov gs, word [eax - 0x7bab6939]
call 0xef92a5c
dec edx
jmp 0x40119e
jne 0x4013ec
jae 0x4013dc
movsd dword es:[edi], dword [esi]
dec ebp
and dl, byte [edi - 0x72]
xchg ebp, eax
in eax, dx
inc edi
add al, 0x9f
into
in eax, dx
jnp 0x401287
or al, byte [esi]
or byte [ecx - 2], dl
or al, 0x91
daa
arpl word [edx + esi - 0x7d], sp
rcr cl, 1
loopne 0x4011ec
or byte [ecx + 0x4c], 0x5b
push esi
sahf
or ah, byte [edi]
push ds
add cl, bh
stc
sbb ebx, 0xfffffff7
jmp 0x4011f1
push 0xffffffffffffffab
dec edi
pop ebp
mov cl, 0xec
sbb dword [ebx], 0xffffffac
cwde
out 0xf6, al
dec esp
insb byte es:[edi], dx
xchg esp, eax
scasb al, byte es:[edi]
add eax, ebx
jmp 0x401181
jmp 0x403c81
pop ecx
pop esi
pop eax
pop edi
pop ebx
pop edx
clc
jae 0x4012c0
cmp ebx, dword [eax + ecx]
enter 0xffffffffffffe870, 0x72
add byte [eax], al
add byte [edi], ch
call 0x40135e
das
leave
pop ss
dec ebx
pop es
mov edi, 0x2a16eff
mov dword [0x77e06e62], eax
loopne 0x401346
mov gs, ebp
aaa
push edi
outsb dx, byte [esi]
jne 0x40136e
pushfd
aas
pop edi
xlatb
adc al, 0xe3
xchg esp, eax
stc
adc eax, 3
jmp 0x40120e
cmp ah, bh
test dword [esi], ebx
stosd dword es:[edi], eax
sub eax, 0x95291a9d
hlt
fnstsw word [edi]
fisub word [eax + 0x585300ab]
jl 0x401335
loope 0x401387
mov eax, dword [esi]
into
mov ecx, 0x5b0c9a62
stosb byte es:[edi], al
jb 0x40130c
sub eax, 0xffc0e95b
invalid
push es
push ebp
aad 0x3f
mov ah, 0xec
jo 0x401302
test eax, 0x4ac976af
pop es
stc
sbb ebx, 0xfffffffb
jmp 0x4013ec
mov al, 0x35
cmpsb byte [esi], byte es:[edi]
inc ebp
mov esi, 0x412b06c6
loopne 0x4013a4
cmp esi, dword [ecx + 0x43c023ea]
pop ss
sub eax, 0x3bebbc26
cmpsb byte [esi], byte es:[edi]
cmp ebx, 0x18
sti
hlt
out 0xff, eax
invalid
call 0x401418
jmp 0x4012d5
push dword [ebx]
pop eax
jmp 0x401297
push edx
sub edx, edx
push ebx
push edi
push eax
push esi
push ecx
je 0x4012e7
mov eax, dword [0x62c58b9a]
pop ebx
int1
fst dword [edi - 0x63]
or dl, al
rcl byte [eax + eax*8 + 0xc]
dec edx
loope 0x401434
and byte [edi + 0x15], dl
mov edx, dword [ebp - 0x2ff61430]
aam 0xd0
nop
idiv dword [eax + 0x4d5f8a5d]
dec ebp
mov ebp, 0xd1cc1ddb
or ecx, ebp
inc eax
loopne 0x4013c8
iretd
test dword [edx], esp
add byte [edx - 0x39], al
or al, 0x57
retf 0xc0c
daa
adc bh, cl
shr edi, 1
cld
adc al, byte ds:[edi - 0x38dd3f8c]
or al, 0x30
jae 0x403c1a
or al, 0xcc
rcl esi, 1
jo 0x403cee
test dword [esi + 0x9d1cc0c], 0xdd2524f9
arpl word [ebp + 0x37], dx
outsd dx, dword [esi]
or al, 0xe1
sbb edi, esi
dec esp
int3
invalid
cld
or byte [ebx + ebp - 0x2f33f368], dh
pushfd
push eax
cmp al, 0x12
xchg dword [edi + 0xcc77120], ebp
mov ah, 0xe9
xchg esi, eax
or al, 0xcc
je 0x403cce
mov ah, 0x2b
cwde
or al, 0xcc
rcr byte [eax + edx*2 - 0x5078edc4], 1
and byte [ecx - 0x39], dh
or al, 0xb4
jmp 0x750c499c
int3
cmpsb byte [esi], byte es:[edi]
or al, 0xd2
outsb dx, byte [esi]
int 0xd9
rol dword [esi - 0x7921310c], 1
or al, 0xb4
int1
nop
or al, 0xcc
pop edx
cld
fcomp qword [ecx + 0x17]
sub ebx, dword [ebp - 0x35]
out 0xc6, eax
jl 0x403d31
shr byte [esi - 0x60], cl
fcom st(1)
xchg byte [ebp + 0x527d6e11], dl
pushfd
sar edx, cl
adc bl, bl
mov ah, cl
loopne 0x403cf0
aad 0xf0
push ss
and al, 0x22
xchg byte [edx + 0xbdd2868], al
loope 0x403d53
test dword [esp + ecx*8 + 0x21], 0xd1a41a6f
xchg byte [esi - 0xb288def], dl
fstpnce st(3), st(0)
xchg byte [edi + edx*2], cl
pop ss
jae 0x403cf4
hlt
aam 0x5c
nop
xchg ebp, eax
sbb dword [edx - 0x29], ebp
pop ebp
mov ah, 0xa3
xchg ecx, eax
or al, 0xcc
sub ah, al
iretd