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

Disassembly:
mov eax, 0x188d8
call fcn.0040fb20
push ebx
push ebp
mov ebp, dword [esp + 0x188f0]
push esi
push edi
push 0x181c0
call fcn.0040e395
mov esi, eax
lea ecx, [esp + 0x72c]
sub eax, ecx
mov edx, esi
sub edx, ecx
add esp, 4
xor edi, edi
xor ebx, ebx
inc edx
mov dword [esp + 0x28], edx
lea edx, [esp + 0x728]
mov ecx, 1
sub ecx, edx
mov dword [esp + 0x24], ecx
mov ecx, esi
sub ecx, edx
add ecx, 2
mov dword [esp + 0x20], ecx
mov ecx, 2
sub ecx, edx
mov dword [esp + 0x18], ecx
mov ecx, esi
sub ecx, edx
add ecx, 3
mov dword [esp + 0x1c], ecx
mov ecx, 3
sub ecx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
jmp 0x403162
mov eax, dword [esp + 0x10]
lea ecx, [esp + ebx + 0x728]
mov byte [eax + ecx], bl
mov eax, ebx
cdq
idiv ebp
mov eax, dword [esp + 0x188f4]
mov dl, byte [edx + eax]
mov byte [ecx], dl
mov edx, dword [esp + 0x28]
mov al, bl
inc al
mov byte [edx + ecx], al
mov eax, dword [esp + 0x24]
add eax, ecx
cdq
idiv ebp
mov eax, dword [esp + 0x188f4]
mov dl, byte [edx + eax]
mov byte [ecx + 1], dl
mov edx, dword [esp + 0x20]
mov al, bl
add al, 2
mov byte [edx + ecx], al
mov eax, dword [esp + 0x18]
add eax, ecx
cdq
idiv ebp
mov eax, dword [esp + 0x188f4]
mov dl, byte [edx + eax]
mov byte [ecx + 2], dl
mov edx, dword [esp + 0x1c]
mov al, bl
add al, 3
mov byte [edx + ecx], al
mov eax, dword [esp + 0x14]
add eax, ecx
cdq
idiv ebp
mov eax, dword [esp + 0x188f4]
add ebx, 4
cmp ebx, 0x181c0
mov dl, byte [edx + eax]
mov byte [ecx + 3], dl
jl 0x40315e
lea edx, [esp + 0x729]
sub edx, esi
mov dword [esp + 0x1c], edx
lea edx, [esp + 0x72a]
sub edx, esi
mov dword [esp + 0x18], edx
lea eax, [esp + 0x728]
sub eax, esi
lea edx, [esp + 0x72b]
sub edx, esi
mov ecx, esi
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], edx
mov dword [esp + 0x10], 0x6070
mov ebp, 0x181c0
jmp 0x403238
mov eax, dword [esp + 0x14]
movzx edx, byte [eax + ecx]
mov bl, byte [ecx]
add edx, edi
movzx eax, bl
add eax, edx
cdq
mov edi, 0x181c0
idiv edi
add ecx, 4
mov al, byte [edx + esi]
mov byte [edx + esi], bl
mov bl, byte [ecx - 3]
mov byte [ecx - 4], al
mov eax, dword [esp + 0x1c]
movzx edi, byte [eax + ecx - 4]
add edi, edx
movzx eax, bl
add eax, edi
cdq
mov edi, 0x181c0
idiv edi
mov al, byte [edx + esi]
mov byte [edx + esi], bl
mov bl, byte [ecx - 2]
mov byte [ecx - 3], al
mov eax, dword [esp + 0x18]
movzx edi, byte [eax + ecx - 4]
add edi, edx
movzx eax, bl
add eax, edi
cdq
mov edi, 0x181c0
idiv edi
mov al, byte [edx + esi]
mov byte [edx + esi], bl
mov bl, byte [ecx - 1]
mov byte [ecx - 2], al
mov eax, dword [esp + 0x20]
movzx edi, byte [eax + ecx - 4]
add edi, edx
movzx eax, bl
add eax, edi
cdq
mov edi, 0x181c0
idiv edi
mov edi, edx
mov al, byte [edi + esi]
mov byte [edi + esi], bl
mov byte [ecx - 1], al
dec dword [esp + 0x10]
jne 0x403234
mov ecx, dword [esp + 0x188f0]
xor edi, edi
test ecx, ecx
jle 0x40335b
mov ebx, dword [esp + 0x188fc]
mov eax, dword [esp + 0x188ec]
sub eax, ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], ecx
lea eax, [ebp + 1]
cdq
mov ecx, 0x181c0
idiv ecx
push 0
mov ebp, edx
movzx eax, byte [esi + ebp]
add eax, edi
cdq
idiv ecx
mov edi, edx
lea edx, [esp + 0x30]
push edx
call fcn.00402d10
mov al, byte [esi + ebp]
mov cl, byte [edi + esi]
mov byte [edi + esi], al
mov byte [esi + ebp], cl
movzx eax, byte [edi + esi]
movzx ecx, cl
add eax, ecx
cdq
mov ecx, 0x181c0
idiv ecx
mov eax, dword [esp + 0x14]
mov cl, byte [eax + ebx]
mov dl, byte [edx + esi]
xor dl, cl
lea ecx, [esp + 0x2c]
push ecx
mov byte [ebx], dl
call fcn.00402c20
mov eax, dword [esp + 0x10]
inc ebx
dec eax
mov dword [esp + 0x10], eax
jne 0x4032f6
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x188d8
ret