Function at 0x10093650
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, ecx
push ebx
push esi
xor esi, esi
mov dword [ebp - 0x1c], eax
mov ebx, dword [eax]
mov edx, dword [eax + 4]
dec ebx
sar ebx, 4
inc ebx
imul edx, ebx
push edi
mov dword [ebp - 0xc], ebx
test edx, edx
jle 0x1009370a
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
cmp edx, 0x10
jb 0x100936e9
lea eax, [edi - 2]
lea eax, [eax + edx*2]
lea ecx, [ebx - 2]
lea ecx, [ecx + edx*2]
cmp ebx, eax
ja 0x10093697
cmp ecx, edi
jae 0x100936e9
mov eax, edx
and eax, 0x8000000f
jns 0x100936a5
dec eax
or eax, 0xfffffff0
inc eax
movups xmm1, xmmword [0x101649f0]
mov ecx, edx
sub ecx, eax
lea eax, [ebx + 0x10]
sub edi, ebx
mov ebx, dword [ebp + 8]
nop dword [eax + eax]
movups xmm0, xmmword [ebx + esi*2]
add esi, 0x10
lea eax, [eax + 0x20]
pandn xmm0, xmm1
movups xmmword [eax - 0x30], xmm0
movups xmm0, xmmword [edi + eax - 0x20]
pandn xmm0, xmm1
movups xmmword [eax - 0x20], xmm0
cmp esi, ecx
jl 0x100936c0
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
cmp esi, edx
jge 0x10093707
sub edi, ebx
lea ecx, [ebx + esi*2]
sub edx, esi
mov ax, word [ecx + edi]
lea ecx, [ecx + 2]
not ax
mov word [ecx - 2], ax
sub edx, 1
jne 0x100936f4
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], 0
mov eax, dword [eax + 4]
dec eax
test eax, eax
jle 0x100937fe
mov ecx, dword [ebp + 8]
lea edi, [ebx + ebx]
mov edx, dword [ebp + 0xc]
lea eax, [ecx + 2]
add eax, edi
sub ecx, edx
mov dword [ebp - 0x10], eax
mov dword [ebp + 8], ecx
nop word [eax + eax]
movzx esi, word [ecx + edx]
lea eax, [ecx + edx]
movzx edi, word [edi + eax]
xor ecx, ecx
mov dword [ebp - 4], ecx
test ebx, ebx
jle 0x100937da
mov ebx, dword [ebp - 0x10]
sub eax, edx
mov dword [ebp - 8], ebx
mov dword [ebp - 0x20], eax
lea ebx, [ecx + 1]
lea ebx, [edx + ebx*2]
movzx eax, word [eax + ebx]
shl eax, 0x10
add esi, eax
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 8]
movzx eax, word [eax]
shl eax, 0x10
add edi, eax
xor eax, eax
mov edx, esi
and edx, 3
je 0x100937b8
mov ecx, edi
and ecx, 3
lea ecx, [edx + ecx*4]
cmp ecx, 9
jne 0x1009380d
cmp eax, 0xf
jge 0x10093807
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 4]
movzx edx, word [ecx + edx*2]
lea ecx, [eax + 1]
btc edx, ecx
mov ecx, dword [ebp + 0xc]
mov word [ecx + ebx*2], dx
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp + 0xc]
inc eax
shr esi, 1
shr edi, 1
cmp eax, 0x10
jl 0x10093782
mov ecx, dword [ebp - 4]
add dword [ebp - 8], 2
inc ecx
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], ecx
cmp ecx, ebx
jl 0x10093763
mov eax, dword [ebp - 0x1c]
lea edi, [ebx + ebx]
mov ecx, dword [ebp - 0x18]
add edx, edi
add dword [ebp - 0x10], edi
inc ecx
mov dword [ebp - 0x18], ecx
mov eax, dword [eax + 4]
dec eax
mov dword [ebp + 0xc], edx
cmp ecx, eax
mov ecx, dword [ebp + 8]
jl 0x10093740
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor word [ebx], 1
jmp 0x100937b8
cmp ecx, 6
jne 0x100937b8
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp - 4]
mov ebx, dword [ebp - 4]
movzx ecx, word [edx + ecx*2]
btc ecx, eax
mov word [edx + ebx*2], cx
mov ebx, dword [ebp - 0x14]
jmp 0x100937bb