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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
mov dword [ebp - 0x68], ecx
lea edi, [ebp - 0xb0]
push 0xa
pop ecx
mov esi, 0xc6f368
mov dword [ebp - 0x64], 0x9a5f2ebd
rep movsd dword es:[edi], dword [esi]
push 5
pop ecx
xor ebx, ebx
mov dword [ebp - 0x60], 0x7bf00ab4
movsw word es:[edi], word [esi]
mov dword [ebp - 0x5c], 0xffa99f75
mov dword [ebp - 0x58], 0x1b3c8f1d
mov dword [ebp - 0x54], 0x7ddcd321
movsb byte es:[edi], byte [esi]
mov esi, 0xc6f240
mov dword [ebp - 0x50], 0xb9463234
lea edi, [ebp - 0x20]
mov dword [ebp - 0x4c], 0x10de28e8
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x48], 0xa44e97a3
mov dword [ebp - 0x44], 0xed52688d
mov dword [ebp - 0x40], 0x1e4c456c
movsw word es:[edi], word [esi]
mov dword [ebp - 0x3c], 0xd07da39d
mov dword [ebp - 0x38], 0x73de28c4
mov dword [ebp - 0x34], 0x4c895fba
movsb byte es:[edi], byte [esi]
cmp byte [ebp - 0x20], 0x62
mov dword [ebp - 0x30], 0xf54551e1
mov dword [ebp - 0x2c], 0x361fb8ff
mov dword [ebp - 0x28], 0xb7b3e046
mov byte [ebp - 0x24], 0xd5
jne 0xc49d2e
mov al, 0x62
test al, al
je 0xc49d2e
cmp byte [ebp + ebx - 0x20], 0
je 0xc49d2e
call fcn.00c49ad5
mov al, byte [ebx + 0xc71465]
inc ebx
cmp al, byte [ebp + ebx - 0x20]
je 0xc49d11
movzx eax, byte [ebp + ebx - 0x20]
movzx ecx, byte [ebx + str.bad_allocation]
sub ecx, eax
cmp ecx, 0x37d
jne 0xc49d50
mov eax, dword [0xc7724c]
or eax, 0xead1f52b
jmp 0xc49d5a
imul eax, dword [0xc7724c], 0x3ddc84d3
mov dword [ebp - 4], eax
xor edi, edi
xor eax, eax
mov byte [ebp + eax - 0x1cc], al
inc eax
cmp eax, 0x100
jb 0xc49d61
xor esi, esi
xor edx, edx
mov bl, byte [ebp + esi - 0x1cc]
push 0x2a
mov eax, esi
pop ecx
div ecx
movzx ecx, bl
movzx eax, byte [ebp + edx - 0xb0]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [ebp + edi - 0x1cc]
mov byte [ebp + esi - 0x1cc], al
inc esi
mov byte [ebp + edi - 0x1cc], bl
cmp esi, 0x100
jb 0xc49d72
xor ebx, ebx
xor edi, edi
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [ebp + edi - 0x1cc]
movzx edx, cl
lea eax, [ebx + edx]
movzx ebx, al
mov al, byte [ebp + ebx - 0x1cc]
mov byte [ebp + edi - 0x1cc], al
mov byte [ebp + ebx - 0x1cc], cl
movzx eax, byte [ebp + edi - 0x1cc]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x1cc]
xor al, byte [ebp + esi - 0x64]
mov byte [ebp + esi - 0x210], al
inc esi
cmp esi, 0x41
jb 0xc49db8
mov esi, str.NoRemove
mov byte [ebp - 0x1cf], 0
lea edi, [ebp - 0x84]
mov dword [ebp - 0x20], 0x90e8865b
mov dword [ebp - 0x1c], 0xac784b2c
mov ebx, 0x100
mov dword [ebp - 0x18], 0x66c455ac
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x14], 0xb92b46a0
mov dword [ebp - 0x10], 0xde1292df
mov dword [ebp - 0xc], 0x6695c53f
movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
xor edi, edi
xor eax, eax
mov byte [ebp + eax - 0x1cc], al
inc eax
cmp eax, ebx
jb 0xc49e50
xor esi, esi
mov dl, byte [ebp + esi - 0x1cc]
mov eax, esi
and eax, 7
movzx ecx, dl
movzx eax, byte [ebp + eax - 0x84]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [ebp + edi - 0x1cc]
mov byte [ebp + esi - 0x1cc], al
inc esi
mov byte [ebp + edi - 0x1cc], dl
cmp esi, ebx
jb 0xc49e5e
mov ebx, dword [ebp - 4]
xor edi, edi
xor ecx, ecx
xor edx, edx
mov dword [ebp - 8], edx
lea eax, [ecx + 1]
or ebx, 0x594c0216
movzx esi, al
mov dword [ebp - 0x78], esi
push 8
mov dword [0xc7724c], ebx
mov cl, byte [ebp + esi - 0x1cc]
movzx eax, cl
mov dword [ebp - 0x6c], eax
add eax, edi
movzx edi, al
mov dword [ebp - 0x70], edi
mov al, byte [ebp + edi - 0x1cc]
mov byte [ebp + esi - 0x1cc], al
mov esi, 0xc71078
mov byte [ebp + edi - 0x1cc], cl
xor eax, eax
pop ecx
lea edi, [ebp - 0xa8]
mov dword [ebp - 4], eax
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
cmp byte [ebp - 0xa8], 0x62
jne 0xc49f5f
mov cl, 0x62
test cl, cl
je 0xc49f2b
cmp byte [ebp + eax - 0xa8], 0
je 0xc49f2b
call fcn.00c49ad5
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
mov cl, byte [eax + str.bad_allocation]
cmp cl, byte [ebp + eax - 0xa8]
je 0xc49f02
mov esi, dword [ebp - 0x74]
cmp esi, eax
jae 0xc49f5c
cmp esi, 0x45a
jne 0xc49f48
xor ebx, 0x5f54742
call fcn.00c49ad5
mov eax, dword [ebp - 4]
xor ebx, 0x465ba0e0
inc esi
cmp esi, eax
jb 0xc49f32
mov dword [0xc7724c], ebx
mov dword [ebp - 0x74], esi
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 0x78]
mov edi, dword [ebp - 0x70]
movzx eax, byte [ebp + ecx - 0x1cc]
add eax, dword [ebp - 0x6c]
movzx eax, al
mov al, byte [ebp + eax - 0x1cc]
xor al, byte [ebp + edx - 0x20]
mov byte [ebp + edx - 0xcc], al
inc edx
mov dword [ebp - 8], edx
cmp edx, 0x18
jb 0xc49ea2
mov edi, dword [ebp - 0x68]
mov byte [ebp - 0xb4], 0
lea ecx, [edi + 1]
call fcn.00c4b9d3
mov ecx, 0x104
mov ebx, eax
call fcn.00c4b9d3
mov esi, eax
lea edx, [ebp - 0x210]
mov ecx, esi
mov dword [ebp - 8], esi
call fcn.00c4d328
mov ecx, esi
call fcn.00c4d309
xor ecx, ecx
lea edx, [ebp - 0xcc]
sub eax, 2
inc ecx
mov dword [ebp - 0x6c], eax
call fcn.00c4ba1b
call eax
mov esi, dword [0xc7724c]
add eax, edi
mov dword [ebp - 0x70], eax
xor edi, edi
call fcn.00c48f44
xor esi, 0xb74b4881
inc edi
cmp byte [edi + 0xc7144c], 0
jne 0xc49fec
mov ecx, esi
lea eax, [esi - 0x2ad477b2]
xor ecx, 0x81cfa072
cmp edi, 0x16d9
mov edi, dword [ebp - 8]
cmovae eax, ecx
xor esi, esi
mov dword [0xc7724c], eax
mov eax, dword [ebp - 0x68]
test eax, eax
je 0xc4a044
mov edx, dword [ebp - 0x6c]
lea eax, [ebp - 0x70]
push eax
call fcn.00c4d0fe
pop ecx
mov al, byte [eax + edi]
mov byte [esi + ebx], al
inc esi
mov eax, dword [ebp - 0x68]
cmp esi, eax
jb 0xc4a029
mov ecx, edi
mov byte [ebx + eax + 1], 0
call fcn.00c4ba07
add dword [0xc7724c], 0x1c63f33d
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret