Function at 0x425af0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov edx, 1
mov ecx, esi
shl edx, cl
mov ecx, dword [ebp + 8]
push edi
mov edi, 1
mov dword [ebp - 4], edx
lea ebx, [edx - 1]
lea eax, [ecx + 4]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], eax
mov eax, edx
shr eax, 1
test esi, esi
cmove eax, edi
xor esi, esi
mov edi, ebx
lea eax, [ecx + eax*4]
mov ecx, edx
mov dword [ebp - 0x24], eax
mov eax, edx
shr eax, 3
xor edx, edx
shr ecx, 1
add ecx, 3
add eax, ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x10]
inc eax
mov dword [ebp - 0x18], eax
lea eax, [ecx + eax*2]
xor ecx, ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
bts ecx, eax
cmp eax, 0x20
cmovae edx, ecx
xor ecx, edx
cmp eax, 0x40
mov eax, dword [ebp + 0x10]
cmovae edx, ecx
add eax, 2
add eax, ecx
adc esi, edx
shrd eax, esi, 1
shr esi, 1
add eax, 2
adc esi, 0
shld esi, eax, 2
shl eax, 2
test esi, esi
jb 0x425b9c
ja 0x425b90
cmp eax, dword [ebp + 0x1c]
jbe 0x425b9c
pop edi
pop esi
mov eax, 0xffffffd4
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 8]
xor edx, edx
mov ecx, dword [ebp + 0x14]
mov word [eax], cx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0x10]
mov word [eax - 2], cx
mov eax, dword [ebp + 0x18]
lea esi, [ecx + 1]
mov word [eax], dx
mov edx, 1
cmp esi, edx
jb 0x425c03
mov ebx, dword [ebp + 0xc]
mov ecx, eax
sub ebx, eax
nop word [eax + eax]
movzx esi, word [ebx + ecx]
lea ecx, [ecx + 2]
movzx eax, word [ecx - 2]
cmp si, 0xffff
jne 0x425bf2
mov esi, dword [ebp - 8]
inc eax
mov word [ecx], ax
lea eax, [edx - 1]
mov byte [edi + esi + 2], al
dec edi
jmp 0x425bf7
add eax, esi
mov word [ecx], ax
mov esi, dword [ebp + 0x10]
inc edx
inc esi
cmp edx, esi
jbe 0x425bd0
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
movzx eax, cx
mov dword [ebp - 0x20], eax
inc eax
mov word [edx], ax
xor eax, eax
cmp edi, ebx
jne 0x425ce4
lea edi, [edx + 2]
xor esi, esi
mov edx, dword [ebp + 0x10]
add edi, ecx
mov dword [ebp + 8], edi
xorps xmm0, xmm0
mov dword [ebp + 0x1c], esi
movlpd qword [ebp - 0x1c], xmm0
add edx, 1
je 0x425c9b
mov edx, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x1c]
mov ecx, dword [ebp + 0xc]
movsx ecx, word [ecx + eax*2]
mov dword [ebp - 0x18], ecx
mov dword [esi + edi], ebx
mov dword [esi + edi + 4], edx
cmp ecx, 8
jle 0x425c78
add edi, esi
add ecx, 0xfffffff7
shr ecx, 2
and ecx, 0x3ffffffe
mov dword [edi + 8], ebx
lea esi, [edi + 8]
mov dword [edi + 0xc], edx
add edi, 0x10
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x18]
mov esi, dword [ebp + 0x1c]
mov edi, dword [ebp + 8]
add esi, ecx
mov ecx, dword [ebp + 0x10]
inc eax
add ebx, 0x1010101
mov dword [ebp + 0x1c], esi
adc edx, 0x1010101
inc ecx
cmp eax, ecx
jb 0x425c40
mov ebx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
xor esi, esi
xor edi, edi
test ecx, ecx
je 0x425d30
mov eax, dword [ebp + 8]
mov ecx, esi
mov edx, dword [ebp - 8]
and ecx, ebx
movzx eax, byte [edi + eax]
mov byte [ecx + edx + 2], al
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp + 8]
lea ecx, [esi + edx]
movzx eax, byte [edi + eax + 1]
lea esi, [esi + edx*2]
and ecx, ebx
add edi, 2
mov ebx, dword [ebp - 8]
mov byte [ecx + ebx + 2], al
mov ebx, dword [ebp - 0xc]
and esi, ebx
cmp edi, dword [ebp - 4]
jb 0x425ca7
xor esi, esi
jmp 0x425d36
xor ecx, ecx
mov dword [ebp + 8], ecx
test esi, esi
je 0x425d2d
nop dword [eax]
mov edx, dword [ebp + 0xc]
movsx edx, word [edx + ecx*2]
test edx, edx
jle 0x425d25
mov esi, dword [ebp - 8]
nop
mov ecx, dword [ebp + 8]
mov byte [eax + esi + 2], cl
mov ecx, dword [ebp - 0x10]
add eax, ecx
and eax, ebx
cmp eax, edi
jbe 0x425d1a
add eax, ecx
and eax, ebx
cmp eax, edi
ja 0x425d12
sub edx, 1
jne 0x425d00
mov ecx, dword [ebp + 8]
mov esi, dword [ebp - 0x18]
inc ecx
mov dword [ebp + 8], ecx
cmp ecx, esi
jb 0x425cf0
mov ecx, dword [ebp - 4]
xor esi, esi
test ecx, ecx
je 0x425d63
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x14]
nop dword [eax]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0x18]
movzx eax, byte [esi + eax + 2]
lea edx, [ecx + eax*2]
movzx eax, word [edx]
lea ecx, [edi + esi]
inc esi
mov word [ebx + eax*2], cx
inc word [edx]
mov ecx, dword [ebp - 4]
cmp esi, ecx
jb 0x425d40
mov esi, dword [ebp - 0x24]
xor edi, edi
mov edx, dword [ebp + 0xc]
xor ebx, ebx
add esi, 8
movsx edx, word [edx + ebx*2]
cmp edx, 0xffffffff
je 0x425dbc
test edx, edx
je 0x425daf
cmp edx, 1
je 0x425dbc
mov ecx, dword [ebp + 0x14]
lea eax, [edx - 1]
bsr eax, eax
sub ecx, eax
shl edx, cl
shl ecx, 0x10
sub ecx, edx
mov edx, dword [ebp + 0xc]
mov dword [esi], ecx
mov ecx, edi
movsx eax, word [edx + ebx*2]
sub ecx, eax
mov dword [esi - 4], ecx
movsx eax, word [edx + ebx*2]
mov ecx, dword [ebp - 4]
add edi, eax
jmp 0x425dd0
mov eax, dword [ebp + 0x14]
inc eax
shl eax, 0x10
sub eax, ecx
mov dword [esi], eax
jmp 0x425dcd
mov eax, dword [ebp + 0x14]
shl eax, 0x10
sub eax, ecx
mov dword [esi], eax
lea eax, [edi - 1]
mov dword [esi - 4], eax
inc edi
mov edx, dword [ebp + 0xc]
inc ebx
add esi, 8
cmp ebx, dword [ebp + 0x10]
jbe 0x425d70
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret