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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
push ebx
push esi
push edi
mov esi, 0xc6f51c
mov dword [ebp - 0x4c], edx
lea edi, [ebp - 0x60]
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x20], 0x1cdeb269
mov dword [ebp - 0x1c], 0x542bcb85
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x18], 0x3446a26c
mov dword [ebp - 0x14], 0x8e48db35
mov dword [ebp - 0x10], 0xeb7f9b1c
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xc], 0x703f2f6
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
xor edi, edi
xor eax, eax
mov byte [ebp + eax - 0x194], al
inc eax
cmp eax, 0x100
jb 0xc476a2
imul eax, dword [0xc77138], 0xce77a9ca
xor esi, esi
mov dword [0xc77138], eax
xor edx, edx
mov bl, byte [ebp + esi - 0x194]
push 0xa
mov eax, esi
pop ecx
div ecx
movzx ecx, bl
movzx eax, byte [ebp + edx - 0x60]
add eax, edi
add ecx, eax
movzx edi, cl
mov al, byte [ebp + edi - 0x194]
mov byte [ebp + esi - 0x194], al
inc esi
mov byte [ebp + edi - 0x194], bl
cmp esi, 0x100
jb 0xc476c2
xor ebx, ebx
xor edi, edi
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [ebp + edi - 0x194]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
mov al, byte [ebp + ebx - 0x194]
mov byte [ebp + edi - 0x194], al
mov byte [ebp + ebx - 0x194], cl
movzx eax, byte [ebp + edi - 0x194]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x194]
xor al, byte [ebp + esi - 0x20]
mov byte [ebp + esi - 0x94], al
inc esi
cmp esi, 0x18
jb 0xc47705
xor ebx, ebx
lea eax, [ebp - 0x3c]
push eax
push ebx
push ebx
push ebx
push dword [ebp + 8]
lea edx, [ebp - 0x94]
mov byte [ebp - 0x7c], bl
push ebx
push 7
pop ecx
call fcn.00c4ba1b
call eax
test eax, eax
jne 0xc47799
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x48]
mov edx, dword [edx]
call fcn.00c4d34c
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x4c]
mov edx, dword [edx + 4]
call fcn.00c4d34c
jmp 0xc4795c
push 5
pop ecx
mov esi, 0xc6f240
mov dword [ebp - 0x38], 0xa092a1ff
lea edi, [ebp - 0x20]
mov dword [ebp - 0x34], 0x2045f431
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x30], 0x9f1d479e
mov eax, ebx
mov dword [ebp - 0x2c], 0xa2c08d4a
mov dword [ebp - 0x28], 0x4477f09d
movsw word es:[edi], word [esi]
mov dword [ebp - 0x24], 0x11dea8f3
movsb byte es:[edi], byte [esi]
mov esi, ebx
mov byte [ebp + eax - 0x194], al
inc eax
cmp eax, 0x100
jb 0xc477d7
mov eax, dword [0xc7719c]
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x40], eax
push 0x16
pop edi
mov eax, ebx
mov cl, byte [ebp + ebx - 0x194]
xor edx, edx
mov byte [ebp - 1], cl
div edi
movzx ecx, cl
lea edi, [ebp - 0x78]
push 5
movzx eax, byte [ebp + edx - 0x20]
add eax, esi
mov esi, 0xc6f240
add ecx, eax
movzx eax, cl
pop ecx
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x54], eax
mov al, byte [ebp + eax - 0x194]
mov byte [ebp + ebx - 0x194], al
xor ebx, ebx
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
cmp byte [ebp - 0x78], 0x53
jne 0xc4789b
mov al, 0x53
test al, al
je 0xc47856
cmp byte [ebp + ebx - 0x78], 0
je 0xc47856
mov al, byte [ebx + 0xc70e99]
inc ebx
cmp al, byte [ebp + ebx - 0x78]
je 0xc4783e
mov esi, dword [ebp - 0x50]
cmp esi, ebx
jae 0xc4789b
mov edi, dword [ebp - 0x40]
cmp esi, 0xf2
jne 0xc47884
mov eax, dword [0xc77138]
mov edx, str.no_message
push eax
mov ecx, 0xc6f550
imul edi, eax, 0xfd8c91f2
call fcn.00c45a44
pop ecx
sub edi, 0x242b806c
inc esi
mov dword [0xc7719c], edi
cmp esi, ebx
jb 0xc47860
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x50], esi
mov ebx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x54]
inc ebx
mov al, byte [ebp - 1]
mov dword [ebp - 0x44], ebx
mov byte [ebp + esi - 0x194], al
cmp ebx, 0x100
jb 0xc477f1
xor ebx, ebx
xor edi, edi
xor esi, esi
lea eax, [edi + 1]
movzx edi, al
mov cl, byte [ebp + edi - 0x194]
movzx edx, cl
lea eax, [edx + ebx]
movzx ebx, al
mov al, byte [ebp + ebx - 0x194]
mov byte [ebp + edi - 0x194], al
mov byte [ebp + ebx - 0x194], cl
movzx eax, byte [ebp + edi - 0x194]
add eax, edx
movzx eax, al
mov al, byte [ebp + eax - 0x194]
xor al, byte [ebp + esi - 0x38]
mov byte [ebp + esi - 0x20], al
inc esi
cmp esi, 0x18
jb 0xc478c1
lea ecx, [ebp - 0x20]
mov byte [ebp - 8], 0
call fcn.00c4d05e
mov esi, eax
mov ecx, esi
call fcn.00c4d317
add eax, eax
push eax
push esi
push dword [ebp - 0x48]
call fcn.00c4cef6
mov ecx, esi
call fcn.00c4d317
add eax, eax
push eax
push esi
push dword [ebp - 0x4c]
call fcn.00c4cef6
mov ecx, esi
call fcn.00c4d317
push eax
push 0
push esi
call fcn.00c4cf49
add esp, 0x24
mov ecx, esi
call fcn.00c4ba07
pop edi
pop esi
pop ebx
leave
ret