Function at 0x4393b0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x24
push ebp
xor eax, eax
push esi
mov esi, dword [esp + 0x38]
mov ecx, esi
shr ecx, 2
push edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
test ecx, ecx
jbe 0x4393ff
mov edx, dword [esp + 0x38]
lea edx, [edx + ecx*4 - 4]
mov edi, dword [edx]
mov dword [esp + eax*4 + 0xc], edi
inc eax
sub edx, 4
cmp eax, ecx
jb 0x4393f1
mov ecx, dword [esp + 0x34]
mov dword [ecx + 0x210], esi
mov byte [esp + esi + 0xc], 0
xor esi, esi
cmp dword [ecx + 0x210], esi
jbe 0x439448
mov ebp, ecx
lea eax, [esp + 0xc]
sub ebp, eax
mov edi, dword [ecx + 0x210]
movzx edx, byte [esp + esi + 0xc]
xor byte [esp + edi + 0xc], dl
movzx edx, byte [esp + esi + 0xc]
lea eax, [esp + esi + 0xc]
lea edi, [esp + edi + 0xc]
inc esi
mov byte [eax + ebp], dl
cmp esi, dword [ecx + 0x210]
jb 0x439420
xor esi, esi
cmp dword [ecx + 0x210], esi
jbe 0x439612
lea eax, [ecx + 0x11]
lea edx, [esi + 0x24]
mov dword [esp + 0x3c], eax
push ebx
mov edi, dword [ecx + 0x210]
xor eax, eax
lea esp, [esp]
mov bl, byte [esp + eax + 0x10]
rol bl, 3
mov byte [esp + eax + 0x10], bl
inc eax
cmp eax, edi
jbe 0x439470
mov edi, dword [esp + 0x40]
lea eax, [esi + 1]
cmp esi, 0x10
mov dword [esp + 0x38], eax
mov ebp, 4
mov esi, edx
jae 0x439560
jmp 0x4394a0
lea ebx, [esi - 1]
and ebx, 0xff
movzx ebx, byte [ebx + 0x476710]
mov bl, byte [ebx + 0x476710]
add bl, byte [esp + eax + 0x10]
mov byte [edi - 1], bl
cmp eax, dword [ecx + 0x210]
jne 0x4394c9
xor eax, eax
jmp 0x4394ca
inc eax
mov ebx, esi
and ebx, 0xff
movzx ebx, byte [ebx + 0x476710]
mov bl, byte [ebx + 0x476710]
add bl, byte [esp + eax + 0x10]
mov byte [edi], bl
cmp eax, dword [ecx + 0x210]
jne 0x4394f1
xor eax, eax
jmp 0x4394f2
inc eax
lea ebx, [esi + 1]
and ebx, 0xff
movzx ebx, byte [ebx + 0x476710]
mov bl, byte [ebx + 0x476710]
add bl, byte [esp + eax + 0x10]
mov byte [edi + 1], bl
cmp eax, dword [ecx + 0x210]
jne 0x43951b
xor eax, eax
jmp 0x43951c
inc eax
lea ebx, [esi + 2]
and ebx, 0xff
movzx ebx, byte [ebx + 0x476710]
mov bl, byte [ebx + 0x476710]
add bl, byte [esp + eax + 0x10]
mov byte [edi + 2], bl
cmp eax, dword [ecx + 0x210]
jne 0x439545
xor eax, eax
jmp 0x439546
inc eax
add esi, 4
add edi, 4
sub ebp, 1
jne 0x4394a0
jmp 0x4395f9
lea ebx, [esi - 1]
and ebx, 0xff
mov bl, byte [ebx + 0x476710]
add bl, byte [esp + eax + 0x10]
mov byte [edi - 1], bl
cmp eax, dword [ecx + 0x210]
jne 0x439582
xor eax, eax
jmp 0x439583
inc eax
mov ebx, esi
and ebx, 0xff
mov bl, byte [ebx + 0x476710]
add bl, byte [esp + eax + 0x10]
mov byte [edi], bl
cmp eax, dword [ecx + 0x210]
jne 0x4395a3
xor eax, eax
jmp 0x4395a4
inc eax
lea ebx, [esi + 1]
and ebx, 0xff
mov bl, byte [ebx + 0x476710]
add bl, byte [esp + eax + 0x10]
mov byte [edi + 1], bl
cmp eax, dword [ecx + 0x210]
jne 0x4395c6
xor eax, eax
jmp 0x4395c7
inc eax
lea ebx, [esi + 2]
and ebx, 0xff
mov bl, byte [ebx + 0x476710]
add bl, byte [esp + eax + 0x10]
mov byte [edi + 2], bl
cmp eax, dword [ecx + 0x210]
jne 0x4395e9
xor eax, eax
jmp 0x4395ea
inc eax
add esi, 4
add edi, 4
sub ebp, 1
jne 0x439560
mov esi, dword [esp + 0x38]
add dword [esp + 0x40], 0x10
add edx, 0x11
cmp esi, dword [ecx + 0x210]
jb 0x439461
pop ebx
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x24
ret