Function at 0x10001000
Capabilities:
Encode data using xor
Encrypt data using rc4 ksa

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
xor ecx, ecx
mov al, 1
movzx edx, al
mov bl, al
mov byte [ecx + 0x1000a7c8], al
mov byte [edx + 0x100075c8], cl
mov dl, al
and dl, 0x80
neg dl
sbb dl, dl
and edx, 0x1b
shl bl, 1
xor dl, bl
xor al, dl
inc ecx
cmp ecx, 0x100
jb 0x1000100a
and byte [0x100075c9], 0
mov al, 1
mov ecx, 0x100075a0
movzx edx, al
mov dword [ecx], edx
mov dl, al
and dl, 0x80
neg dl
sbb dl, dl
add ecx, 4
and edx, 0x1b
shl al, 1
xor al, dl
cmp ecx, 0x100075c8
jl 0x10001044
xor edx, edx
test edx, edx
je 0x1000107c
movzx eax, byte [edx + 0x100075c8]
mov ecx, 0x1000a8c7
sub ecx, eax
mov bl, byte [ecx]
jmp 0x1000107e
xor bl, bl
mov al, bl
mov cl, bl
shr al, 7
shl cl, 1
or al, cl
mov cl, al
xor bl, al
shr cl, 7
shl al, 1
or cl, al
mov al, cl
xor bl, cl
shr al, 7
shl cl, 1
or al, cl
mov cl, al
xor bl, al
shr cl, 7
shl al, 1
or cl, al
xor cl, bl
xor cl, 0x63
movzx eax, cl
mov byte [edx + 0x100096c8], cl
mov byte [eax + 0x1000a8c8], dl
inc edx
cmp edx, 0x100
jb 0x10001066
xor edi, edi
mov bl, byte [edi + 0x100096c8]
mov ecx, edi
movzx esi, bl
shl ecx, 2
mov eax, esi
rol eax, 8
mov dword [ecx + 0x100086c8], esi
mov dword [ecx + 0x10008ac8], eax
mov eax, esi
rol eax, 0x10
mov dword [ecx + 0x10008ec8], eax
mov eax, esi
rol eax, 0x18
test bl, bl
mov dword [ecx + 0x100092c8], eax
je 0x10001123
movzx eax, byte [esi + 0x100075c8]
movzx edx, byte [0x100075ca]
add eax, edx
mov ebp, 0xff
cdq
idiv ebp
movzx ebp, byte [edx + 0x1000a7c8]
jmp 0x10001125
xor ebp, ebp
test bl, bl
je 0x1000114a
movzx eax, byte [esi + 0x100075c8]
movzx edx, byte [0x100075cb]
add eax, edx
mov ebx, 0xff
cdq
idiv ebx
movzx eax, byte [edx + 0x1000a7c8]
jmp 0x1000114c
xor eax, eax
shl eax, 8
or eax, esi
mov bl, byte [edi + 0x1000a8c8]
shl eax, 8
or eax, esi
shl eax, 8
or eax, ebp
mov edx, eax
mov dword [ecx + 0x100065a0], eax
rol edx, 8
mov dword [ecx + 0x100069a0], edx
mov edx, eax
rol edx, 0x10
movzx esi, bl
rol eax, 0x18
mov dword [ecx + 0x10006da0], edx
mov dword [ecx + 0x100071a0], eax
mov eax, esi
mov dword [ecx + 0x100076c8], esi
rol eax, 8
mov dword [ecx + 0x10007ac8], eax
mov eax, esi
rol eax, 0x10
mov dword [ecx + 0x10007ec8], eax
mov eax, esi
rol eax, 0x18
test bl, bl
mov dword [ecx + 0x100082c8], eax
je 0x100011d9
movzx eax, byte [esi + 0x100075c8]
movzx edx, byte [0x100075d6]
add eax, edx
mov ebp, 0xff
cdq
idiv ebp
movzx eax, byte [edx + 0x1000a7c8]
mov dword [esp + 0x14], eax
jmp 0x100011de
and dword [esp + 0x14], 0
test bl, bl
je 0x10001207
movzx eax, byte [esi + 0x100075c8]
movzx edx, byte [0x100075d1]
add eax, edx
mov ebp, 0xff
cdq
idiv ebp
movzx eax, byte [edx + 0x1000a7c8]
mov dword [esp + 0x10], eax
jmp 0x1000120c
and dword [esp + 0x10], 0
test bl, bl
je 0x10001231
movzx eax, byte [esi + 0x100075c8]
movzx edx, byte [0x100075d5]
add eax, edx
mov ebp, 0xff
cdq
idiv ebp
movzx ebp, byte [edx + 0x1000a7c8]
jmp 0x10001233
xor ebp, ebp
test bl, bl
je 0x10001258
movzx eax, byte [esi + 0x100075c8]
movzx edx, byte [0x100075d3]
add eax, edx
mov esi, 0xff
cdq
idiv esi
movzx eax, byte [edx + 0x1000a7c8]
jmp 0x1000125a
xor eax, eax
shl eax, 8
or eax, ebp
shl eax, 8
or eax, dword [esp + 0x10]
shl eax, 8
or eax, dword [esp + 0x14]
inc edi
mov edx, eax
mov dword [ecx + 0x100097c8], eax
rol edx, 8
mov dword [ecx + 0x10009bc8], edx
mov edx, eax
rol edx, 0x10
rol eax, 0x18
mov dword [ecx + 0x10009fc8], edx
cmp edi, 0x100
mov dword [ecx + 0x1000a3c8], eax
jl 0x100010c9
pop edi
pop esi
pop ebp
mov dword [0x1000a9c8], 1
pop ebx
pop ecx
pop ecx
ret