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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [0x1000cbbc], 0x7f1a
call fcn.10001870
cmp eax, 0x1c6
jne 0x10001026
mov dword [0x1000cbe8], 0xffffffeb
push esi
mov dword [0x1000cbc8], 0xa3
call fcn.10002770
add eax, 0xd9
mov dword [0x1000cbe4], eax
add eax, 0x7f1a
mov dword [0x1000cba4], eax
call fcn.10002770
cmp eax, 0xef
jg 0x1000109b
call fcn.10001870
mov esi, eax
call fcn.10002770
imul esi, eax
mov dword [0x1000cbb0], esi
call fcn.10001870
imul eax, dword [0x1000cba4]
mov dword [0x1000d9d4], eax
call fcn.10002770
mov ecx, dword [0x1000cbc4]
sub ecx, eax
mov dword [0x1000cbb0], ecx
mov dword [0x1000cba8], 0x3b
jmp 0x100010a1
mov ecx, dword [0x1000cbb0]
mov esi, dword [0x1000cbc8]
push ebx
imul esi, ecx
mov ebx, dword [0x1000cbd8]
push edi
mov dword [ebp - 4], 0
add ebx, 0x66
mov edi, 5
call fcn.10002770
dec edi
mov dword [0x1000cbe8], esi
mov dword [0x1000cbac], ebx
jne 0x100010c1
mov eax, dword [0x1000cbc4]
mov ebx, 0xffffff01
cmp dword [0x1000d9d4], eax
jg 0x100010f0
mov dword [0x1000cbac], ebx
lea ecx, [ecx]
mov eax, dword [ebp + 8]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100010f6
sub eax, edx
mov dword [ebp - 0x10], eax
mov edi, 5
jmp 0x10001110
mov esi, 3
call fcn.10002770
cmp dword [0x1000cb98], eax
jg 0x10001128
mov dword [0x1000cbac], ebx
dec esi
jne 0x10001115
dec edi
jne 0x10001110
mov eax, dword [0x1000cbac]
mov ecx, dword [0x1000cbb4]
and eax, 0x78
mov dword [0x1000cbc4], eax
xor eax, eax
or ecx, dword [0x1000cb98]
mov dword [0x1000cbb0], ecx
nop
mov byte [eax + 0x1000d8d0], al
inc eax
cmp eax, 0x100
jl 0x10001150
call fcn.10002770
mov eax, dword [0x1000cba8]
or eax, 0x66
mov dword [0x1000cbd8], eax
mov dword [ebp - 8], 0
mov dword [0x1000cbc0], 0x184
mov dword [0x1000cba0], 0x1b8
jmp 0x10001190
mov ebx, 0xa3
mov dword [ebp - 0xc], 3
lea esp, [esp]
mov edi, 3
jmp 0x100011b0
mov dword [0x1000cbac], 0xffffff01
call fcn.10002770
add eax, 0xd9
xor eax, 0xffffffd8
mov dword [0x1000cbec], eax
mov dword [0x1000cbe4], 0xfd
call fcn.10002770
mov esi, eax
xor esi, 0x123
dec edi
mov dword [0x1000cbe4], esi
jne 0x100011b0
dec dword [ebp - 0xc]
jne 0x100011a0
mov edi, dword [ebp - 8]
mov eax, edi
cdq
idiv dword [ebp - 0x10]
mov eax, dword [ebp + 8]
movzx ecx, byte [edi + 0x1000d8d0]
mov dword [ebp - 0x14], ecx
movzx edx, byte [edx + eax]
add edx, ecx
add edx, dword [ebp - 4]
and edx, 0x800000ff
jns 0x10001220
dec edx
or edx, 0xffffff00
inc edx
mov dword [ebp - 4], edx
call fcn.10002770
imul eax, dword [0x1000cbd8]
mov dword [0x1000cbe0], eax
imul eax, eax, 0x129
cmp dword [0x1000cbb4], 0x1b1
mov dword [0x1000cbdc], eax
jl 0x1000125a
mov eax, dword [0x1000cbe8]
add eax, 0xf6
mov dword [0x1000cbec], eax
mov ecx, dword [ebp - 4]
mov eax, dword [0x1000cbe8]
mov dl, byte [ecx + 0x1000d8d0]
or eax, 0xffffffce
mov dword [0x1000cbd4], eax
mov byte [edi + 0x1000d8d0], dl
call fcn.10002770
cmp eax, 0x1eb
jl 0x1000131b
mov dword [ebp - 0xc], 2
lea ecx, [ecx]
cmp ebx, 0x137
jle 0x100012ea
mov edi, 5
lea ecx, [ecx]
cmp dword [0x1000cbb4], 0x1b1
mov dword [0x1000cbac], 0xffffff01
jl 0x100012c5
mov eax, dword [0x1000cbe8]
add eax, 0xf6
mov dword [0x1000cbec], eax
mov eax, dword [0x1000cb98]
imul eax, eax, 0xef
mov dword [0x1000cbe8], eax
call fcn.10002770
mov ebx, eax
imul ebx, ebx, 0xfc
dec edi
jne 0x100012a0
mov edi, dword [ebp - 8]
jmp 0x10001312
cmp dword [0x1000cbb4], 0x1b1
mov dword [0x1000cbac], 0xffffff01
jl 0x10001312
mov ecx, dword [0x1000cbe8]
add ecx, 0xf6
mov dword [0x1000cbec], ecx
dec dword [ebp - 0xc]
jne 0x10001290
cmp dword [0x1000cbb4], 0x1b1
mov dl, byte [ebp - 0x14]
mov eax, dword [ebp - 4]
mov byte [eax + 0x1000d8d0], dl
jl 0x10001347
mov edx, dword [0x1000cbe8]
add edx, 0xf6
mov dword [0x1000cbec], edx
jmp 0x1000134d
mov edx, dword [0x1000cbec]
mov ecx, dword [0x1000cbac]
inc edi
add ecx, 0x32
mov dword [0x1000cbb8], ecx
mov dword [0x1000cbcc], 0x389a
mov dword [ebp - 8], edi
cmp edi, 0x100
jl 0x10001190
mov ecx, dword [0x1000cbe8]
add esi, 0x7f1a
cmp dword [0x1000cbb4], 0x1b1
pop edi
mov dword [0x1000cbac], 0xffffff01
mov dword [0x1000cba4], esi
pop ebx
jl 0x100013ac
lea edx, [ecx + 0xf6]
mov dword [0x1000cbec], edx
mov eax, dword [0x1000cbdc]
or eax, 0x110
mov dword [0x1000cb9c], eax
mov eax, 0x7f1a
sub eax, dword [0x1000cbb0]
mov dword [0x1000cbd0], 0xa1c4
mov dword [0x1000cbc8], eax
mov eax, dword [0x1000cba8]
xor eax, 0xffffffdf
cmp esi, 0x1b8
mov dword [0x1000cbd8], eax
pop esi
jg 0x100013fd
and edx, 0xa1c4
mov dword [0x1000cba0], edx
xor eax, eax
mov esp, ebp
pop ebp
ret
cmp dword [0x1000cbd4], 0x13f
jge 0x1000141c
mov edx, 0x66
sub edx, ecx
mov dword [0x1000cb9c], edx
xor eax, eax
mov esp, ebp
pop ebp
ret
lea eax, [ecx - 0x1b8]
mov dword [0x1000cbd4], eax
xor eax, 0x7f1a
mov dword [0x1000cbe8], eax
mov dword [0x1000cba8], 0x10b
xor eax, eax
mov esp, ebp
pop ebp
ret