Function at 0x1009a0b7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100f93e0]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ebp + 8], 0
jne 0x1009a0d8
or eax, 0xffffffff
jmp 0x1009a311
cmp dword [ebp + 0xc], 0
jg 0x1009a0e6
push 0xfffffffffffffffe
pop eax
jmp 0x1009a311
cmp dword [ebp + 0x18], 0
jne 0x1009a0f4
push 0xfffffffffffffffd
pop eax
jmp 0x1009a311
cmp dword [ebp + 0x14], 0
jg 0x1009a102
push 0xfffffffffffffffc
pop eax
jmp 0x1009a311
cmp dword [ebp + 0x10], 0
jne 0x1009a110
push 0xfffffffffffffffb
pop eax
jmp 0x1009a311
cmp dword [ebp + 0x1c], 0
jg 0x1009a11e
push 0xfffffffffffffffa
pop eax
jmp 0x1009a311
mov eax, dword [ebp + 0x14]
cmp eax, dword [ebp + 0x1c]
jge 0x1009a12e
push 0xfffffffffffffff9
pop eax
jmp 0x1009a311
and dword [ebp - 0x214], 0
and dword [ebp - 4], 0
jmp 0x1009a142
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jge 0x1009a180
mov eax, dword [ebp - 4]
mov cl, byte [ebp - 4]
mov byte [ebp + eax - 0x108], cl
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
mov al, byte [eax]
mov byte [ebp + ecx - 0x210], al
mov eax, dword [ebp - 0x214]
inc eax
cdq
idiv dword [ebp + 0xc]
mov dword [ebp - 0x214], edx
jmp 0x1009a13b
and dword [ebp - 0x21c], 0
and dword [ebp - 4], 0
jmp 0x1009a194
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x100
jge 0x1009a20b
mov eax, dword [ebp - 4]
movzx eax, byte [ebp + eax - 0x108]
add eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
movzx ecx, byte [ebp + ecx - 0x210]
add eax, ecx
and eax, 0x800000ff
jns 0x1009a1c9
dec eax
or eax, 0xffffff00
inc eax
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x21c]
mov al, byte [ebp + eax - 0x108]
mov byte [ebp - 0x109], al
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
mov cl, byte [ebp + ecx - 0x108]
mov byte [ebp + eax - 0x108], cl
mov eax, dword [ebp - 4]
mov cl, byte [ebp - 0x109]
mov byte [ebp + eax - 0x108], cl
jmp 0x1009a18d
and dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x21c]
mov dword [ebp - 4], eax
and dword [ebp - 0x214], 0
jmp 0x1009a231
mov eax, dword [ebp - 0x214]
inc eax
mov dword [ebp - 0x214], eax
mov eax, dword [ebp - 0x214]
cmp eax, dword [ebp + 0x1c]
jge 0x1009a30f
mov eax, dword [ebp - 4]
inc eax
and eax, 0x800000ff
jns 0x1009a252
dec eax
or eax, 0xffffff00
inc eax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [ebp + eax - 0x108]
add eax, dword [ebp - 0x21c]
and eax, 0x800000ff
jns 0x1009a274
dec eax
or eax, 0xffffff00
inc eax
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x21c]
mov al, byte [ebp + eax - 0x108]
mov byte [ebp - 0x109], al
mov eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 4]
mov cl, byte [ebp + ecx - 0x108]
mov byte [ebp + eax - 0x108], cl
mov eax, dword [ebp - 4]
mov cl, byte [ebp - 0x109]
mov byte [ebp + eax - 0x108], cl
mov eax, dword [ebp - 4]
movzx eax, byte [ebp + eax - 0x108]
mov ecx, dword [ebp - 0x21c]
movzx ecx, byte [ebp + ecx - 0x108]
add eax, ecx
and eax, 0x800000ff
jns 0x1009a2dd
dec eax
or eax, 0xffffff00
inc eax
mov dword [ebp - 0x218], eax
mov eax, dword [ebp - 0x218]
movzx eax, byte [ebp + eax - 0x108]
mov ecx, dword [ebp + 0x18]
add ecx, dword [ebp - 0x214]
movzx ecx, byte [ecx]
xor eax, ecx
mov ecx, dword [ebp + 0x10]
add ecx, dword [ebp - 0x214]
mov byte [ecx], al
jmp 0x1009a224
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.100771ba
leave
ret