Function at 0x10010c5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push eax
push ecx
nop
push edx
nop
push ebx
nop
push esp
push ebp
push esi
push edi
push ebp
mov ebp, esp
sub esp, 0x7c
mov dword [ebp - 8], 2
mov eax, 0x12
mov ecx, 2
xor edx, edx
test eax, eax
setl dl
add eax, edx
sar eax, 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], 6
mov eax, 0x14
mov ecx, 2
xor edx, edx
test eax, eax
setl dl
add eax, edx
sar eax, 1
mov dword [ebp - 0xc], eax
mov edx, dword [ebp - 8]
add edx, eax
sub edx, 0xc
mov dword [ebp - 0x1c], edx
and dword [ebp - 0x10], 0
mov dword [ebp - 0x48], 0x3a18
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], 0x6c6a
mov dword [ebp - 0x3c], 0x8217a480
add dword [ebp - 0x10], 0x7b24
jmp 0x1001385
mov eax, dword [ebp - 0x18]
sub eax, 6
mov dword [ebp - 0x34], eax
add dword [ebp - 0x1c], 0x425b
jmp 0x10013a2
dec dword [ebp - 0x3c]
mov ebx, 0x1042000
mov dword [ebp - 4], 0x1012704
mov eax, dword [ebp - 0x30]
sub eax, 6
mov dword [ebp - 0x24], eax
inc dword [ebp - 0x24]
mov edi, dword [ebp - 0x24]
mov eax, 6
mov ecx, dword [ebp - 0x18]
cdq
idiv ecx
sub edi, eax
mov edx, dword [ebp - 0x10]
mov dl, byte [edx + edi]
mov byte [ebp - 0x1d], dl
movzx edx, byte [ebp - 0x1d]
mov dword [ebp - 0x78], edx
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x74], eax
mov ecx, 6
mov edx, 0xaaaaaaab
mul edx
shr edx, 2
mov dword [ebp - 0x7c], edx
mov edi, edx
add edi, dword [ebp - 0x3c]
mov edx, edi
and edx, 0xff
mov edi, dword [ebp - 0x78]
xor edi, edx
mov edx, edi
mov byte [ebp - 0x1d], dl
mov eax, dword [ebp - 0x24]
mov edx, dword [ebp - 0xc]
sub edx, 9
sub eax, edx
mov edx, dword [ebp - 0x10]
mov cl, byte [ebp - 0x1d]
mov byte [edx + eax], cl
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x1c], eax
jbe 0x1001278
jmp 0x1001177
mov eax, dword [ebp - 0xc]
sub eax, 4
cmp eax, dword [ebp - 0x34]
jae 0x1001162
mov dword [ebp - 0x4c], 0x1034d04
mov dword [ebp - 0x50], 0x1156000
mov esi, dword [ebp - 8]
sub esi, 2
cmp esi, 0x224b4
jae 0x1001222
mov eax, dword [ebp - 4]
mov al, byte [eax + esi]
mov byte [ebx + esi], al
inc esi
jmp 0x100120e
mov dword [ebp - 0x14], 0x103e904
mov dword [ebp - 0x54], 0x10000000
mov eax, dword [ebp - 0xc]
sub eax, 0xa
mov dword [ebp - 0x28], eax
inc dword [ebp - 0x28]
mov edi, dword [ebp - 0x28]
mov eax, 6
mov ecx, dword [ebp - 0x18]
cdq
idiv ecx
sub edi, eax
mov edx, dword [ebp - 0x4c]
mov dl, byte [edx + edi]
mov byte [ebp - 0x1d], dl
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 8]
sub edx, 0xb
sub eax, edx
mov edx, dword [ebp - 0x50]
mov cl, byte [ebp - 0x1d]
mov byte [edx + eax], cl
mov eax, 0x97ac
cmp eax, dword [ebp - 0x28]
jbe 0x1001280
jmp 0x1001239
inc dword [ebp - 0x34]
jmp 0x10011eb
mov dword [ebp - 0x70], 0x115000
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 8]
sub eax, 2
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x5c], 0x1000
mov eax, ebx
sub eax, dword [ebp - 0x5c]
mov dword [ebp - 0x44], eax
jmp 0x10012fe
mov eax, dword [ebp - 0x58]
mov ax, word [eax]
mov word [ebp - 0x3e], ax
movzx edi, word [ebp - 0x3e]
mov eax, 0x28
mov ecx, dword [ebp - 0xc]
cdq
idiv ecx
mov ecx, eax
shl edi, cl
mov word [ebp - 0x36], di
movzx edi, word [ebp - 0x36]
mov ecx, dword [ebp - 0x18]
sub ecx, 2
sar edi, cl
mov word [ebp - 0x36], di
movzx eax, word [ebp - 0x3e]
mov edx, dword [ebp - 0x30]
sub edx, 9
cmp eax, edx
je 0x1001391
movzx edi, word [ebp - 0x3e]
mov ecx, dword [ebp - 8]
add ecx, 0xa
sar edi, cl
mov word [ebp - 0x5e], di
jmp 0x100130f
mov eax, dword [ebp - 0x18]
add eax, 2
add eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x58], eax
jmp 0x10012a9
mov eax, dword [ebp - 0xc]
sub eax, 0xa
cmp dword [ebp - 0x2c], eax
je 0x1001328
mov eax, dword [ebp - 0x30]
sub eax, 9
movzx edx, word [ebp - 0x36]
cmp eax, edx
je 0x1001391
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x54]
mov dword [ebp - 0x6c], eax
mov eax, 0xc
mov ecx, dword [ebp - 0x18]
cdq
idiv ecx
add dword [ebp - 0x2c], eax
mov eax, 6
mov ecx, dword [ebp - 8]
cdq
idiv ecx
movzx edi, word [ebp - 0x5e]
cmp eax, edi
jne 0x100136f
movzx eax, word [ebp - 0x36]
add eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x44]
mov dword [ebp - 0x64], eax
mov edi, eax
mov edx, dword [ebp - 0xc]
sub edx, 0xa
mov ecx, dword [ebp - 0x6c]
add ecx, dword [edi]
mov dword [edi + edx*4], ecx
mov edi, dword [ebp - 0x30]
sub edi, 8
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x2c]
cmp dword [edx + edi*4], ecx
jbe 0x1001391
jmp OleInitialize
add dword [ebp - 0x1c], 0x2493b
jmp 0x100114a
mov edi, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
dec edx
mov edx, dword [edi + edx*4]
add edx, edi
mov dword [ebp - 0x14], edx
push ebp
in al, dx
jmp 0x10013ae
add dword [ebp - 0x10], 0x1006dc8
jmp 0x100115f
mov eax, 0x104180c
cmp eax, dword [ebp - 0x14]
ja 0x1001280
leave
push 0x1043fe1
ret