Function at 0x4257bd
Capabilities:
Encrypt data using rc4 prga

Disassembly:
and byte [ebx + edi], cl
sti
sbb ebp, eax
jno 0x425445
in al, dx
mov ax, word [ebp + 8]
cmp ax, 0x50
add ah, bh
je 0x425453
mov eax, dword [0x490d40]
xor eax, ebp
sub eax, ecx
mov ecx, dword [edi]
add eax, 0xfffffffe
jbe 0x42546b
cld
je 0x4257a1
push dword [esi + 4]
pop esi
pop ebx
inc dword [ebx - 0x3ca2ef3c]
mov edx, dword [esi - 0x75]
xor eax, 0x496660
jmp 0x425474
les edx, [eax]
pop ebp
ret
push edi
jne 0x425462
push ebx
push dword [ebp + 0x27]
out 0xc, eax
cmp byte [eax], 0x30
je 0x425490
mov eax, dword [edi + 0xd]
mov eax, dword [esi]
mov al, byte [edi + eax]
inc edi
or eax, 0x48a068b
pop es
cmp al, 0x3d
je 0x42548a
test al, al
je 0x42548a
add esi, 4
mov eax, dword [esi]
jp 0x425477
push dword [ebp - 0x27]
jne 0x425453
mov eax, esi
sub eax, dword [0x496660]
sar eax, 2
neg eax
inc ebp
in al, dx
mov dword [ebp - 0x3a], edx
sub eax, dword [0x496660]
sar eax, 2
jmp 0x425487
push ebp
invalid
dec ecx
add cl, al
clc
add ch, bl
invalid
je 0x4257a2
inc edi
add bl, al
jne 0x4257c8
mov dword [eax], 0xe82075c3
loopne 0x4257d2
call 0x672e7f8d
mov eax, dword [ebp + 8]
in al, dx
mov ax, word [ebp + 8]
cmp ax, 0x30
and dword [edi], 0x45
cld
push eax
add ah, bh
je 0x4257e9
mov eax, dword [0x490d40]
xor eax, ebp
mov dword [eax + 4], edi
jo 0x42581f
push esi
mov esi, dword [ebp - 0xc]
cmp dword [esi + 8], ebx
jne 0x42580b
popal
jo 0x4257d1
leave
ret
movzx edx, cl
test byte [edx + esi + 0x1d], 4
je 0x425802
inc eax
mov dl, byte [eax]
cmp dl, bl
je 0x425829
movzx ecx, cx
movzx edx, dl
shl ecx, 8
or ecx, edx
cmp dword [ebp + 0xc], ecx
jne 0x42580a
dec eax
jmp 0x42581b
movzx edx, cx
cmp dword [ebp + 0xc], edx
je 0x425813
inc eax
movzx ecx, byte [eax]
cmp cx, bx
jne 0x4257de
movzx ecx, cx
cmp dword [ebp + 0xc], ecx
jne 0x425829
push eax
add ah, bh
je 0x425837
pop ss
arpl word [ebx], ax
add byte [eax], al
push dword [esi + 4]
jmp 0x425837
push eax
add ah, bh
je 0x42585a
mov eax, dword [0x490d40]
xor eax, ebp
mov dword [eax + 0x5e], edi
pop esi
pop ebx
inc dword [ebx - 0x3ca2ef3c]
mov edi, edi
push esi
mov esi, eax
adc al, 0x56
call 0x598077ed
pop ecx
inc dword [ebx + 0x30c53]
push ebp
or al, 0x8d
dec ecx
lea eax, [edx - 1]
pop ebx
ret
cmp dword [ebx], eax
jne 0x435363
mov ebx, dword [ebx + 8]
lea ecx, [ebp + 0x20]
push ecx
push ebx
mov dword [ebp + 8], ebx
call dword [0x75ff2444]
or al, 0xff
js 0x425412
mov edx, dword [ebp + 0x20]
cmp dword [edx], 0x73747263
jne 0x74983c08
mov ebx, dword [ebp + 0xc]
mov eax, 0x66684000
test word [ebx], ax
je 0x4353a1
mov edx, dword [esi]
shl edx, 4
add edx, edi
mov ecx, 0x5798013
push edx
mov word [ebx], cx
push esi
call 0x7642776c
mov eax, dword [esi]
mov cx, word [ebx]
shl eax, 4
add edi, eax
mov word [edi], cx
mov edx, dword [ebp + 0x20]
mov eax, dword [edx + 4]
mov edx, dword [ebp + 8]
push edx
mov dword [edi + 8], eax
call dword [0x482497]
pop edi
pop esi
pop ebx
pop ebp
ret 0x51c
add byte [ebp + 0xc], al
mov ecx, 0x66684000
test word [eax], cx
je 0x62e5412
mov edx, 0x5798013
push edx
mov word [eax], dx
mov eax, dword [esi]
push 0
push ebx
add eax, eax
push ebx
mov word [edi + eax*8], dx
call dword [0xffffd5ec]
mov edx, dword [esi]
mov eax, dword [ebx + 8]
add edx, edx
mov dword [edi + edx*8 + 8], eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x51c
add byte [ebp + 8], cl
mov eax, dword [ecx + 0x10]
sub eax, 2
je 0x435406
mov dword [ebp + 0xc], 0x5798008
mov dword [ebp + 0x10], eax
mov edi, edi
mov ecx, dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x20]
mov ebx, dword [edx + eax]
shl ecx, 4
add ecx, edi
push ecx
push esi
call 0x764277ff
mov eax, dword [esi]
add dword [ebp + 0xc], 4
mov ecx, eax
shl ecx, 4
add ecx, edi
mov edx, 0x5798013
mov word [ecx], dx
mov dword [ecx + 8], ebx
mov ebx, dword [ebp + 0x18]
mov word [ebx + eax*2], dx
mov edx, dword [ebp + 0x1c]
mov dword [edx + eax*4], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ecx + eax*4], 0xe8ec4d
inc eax
dec dword [ebp + 0x10]
mov dword [esi], eax
jne 0x4353b8
dec dword [esi]
mov edx, dword [ebp + 8]
push edx
call dword [0x482497]
pop edi
pop esi
pop ebx
pop ebp
ret 0x51c